Worklight Studio 6.2.0.01 in Ubuntu not creating .xcodeproj - ios

I'm using Worklight Studio 6.2.0.01 in Eclipse Luna and Ubuntu 14.04 (Also tested it in Ubuntu 12.02 and Eclipse Kepler).
I've followed the following steps to create a hybrid application with the iOS environment:
Create a Worklight Project
Create a Worklight hybrid application
New Worklight environment (iPad)
Run as -> Build All Environments
Run as -> Run on worklight development server
There are no errors in Worklight nor Server console
Problem: the native folder inside apps\my-app\ipad\native contains only 2 folders, and there's no [project].xcodeproj.
Resources (empty)
www
Native Resources -> Resources (empty)

Tested in Ubuntu and the iPhone environment's native folder was properly created.
As you wrote in your question, please double-check again with these more-precise steps:
Close Eclipse
Make sure you delete the tmp\wlBuildResources folder
Open Eclipse
Make sure the above folder is re-created
Create a project + app + iphone environment

Related

How to deploy MobileFirst CLI application to an IOS device?

I am using MobileFirst CLI 7.1. I want to deploy my MobileFirst CLI application to an IOS device. How can I do that?
I navigated to the iphone environment and tried to double click the .xcodeproj. In the XCODE I see that the project is still being shown as library.
I am getting this following error when I try to deploy the application,
. I have gone through stackoverflow questions. None of them were helpful.
I want to know how can I target remote server. (In Studio we had an option to deploy to remote environment.)
You already asked the second question: How to deploy MobileFirst CLI application to an android device?. The answer is still the same:
Also I want to know how can I target remote server. (In Studio we had an option to deploy to remote environment.)
In the Studio you did not have the option to "deploy to a remote server". You had the option to configure the application to point to a remote server (the properties you can edit in the worklight.plist(for iOS) / wlclient.properties file (for Android).
This feature does not exist in the CLI. After building the project, in case you want it to point to a different server, edit the properties in said file(s) to point to the remote server.
The first question is unclear.
I have done the following and was able to launch the project in Xcode and run the app in the iOS Simulator:
mfp create myproject
cd myproject
mfp add hybrid
added an app called "test"
mfp add environment iphone
mfp push
opened the project folder and navigated to apps\test\iphone\native, followed by double-clicking on the .xcodeproj file. The project opened in Xcode successfully and I then clicked on the Run button, and the app launched in the iOS Simulator.

BlackBerry 6 and 7 application development failure

I have successfully setup all the IBM mobile first environment. I then created a mobile app named "BB6APP" with the BlackBerry 6/7 environment.
When trying to run the application build in Studio, I get the following error:
Failed to deploy application 'BB6APP' to MobileFirst Server:
FWLSE3051E: Invalid payload. See additional messages for details.
image of error
Using IBM MobileFirst Platform Studio 7.0.0.00-20151001-1558 I am unable to confirm this. I successfully created a new project, add an application and to the application added the BlackBerry 6/7 environment.
Note that this environment is deprecated - meaning that most likely in the next MobileFirst Platform Foundation release it will be removed.
Try to start over in a new Eclipse workspace
Try to delete the wlBuildResources folder from your TMP directory
Make sure the location you have your Eclipse workspace has full permissions for your user.

How to solve "invalid project" for webworks for blackberry 10

i have installed webworks for blackberry 10 in widows 8, but i am not able to open up projects from the web tool. i am always getting the "invalid project" error. Any one have an idea on how to solve this
The format of your project must be compatible with the SDK. If you created an old project using version 1.0 of the WebWorks SDK for BB10, then it is not compatible. Version 2.0 introduced major changes to align with Cordova, which made changes to how project folders are structured.
You can fix this by first creating a default project using the new format, copying in your existing assets, and then open that project using the GUI:
Ensure the BlackBerry 10 WebWorks SDK 2.0 is correctly installed.
Open a command prompt (windows) or terminal (mac) and run the following command:
webworks create <your source folder>\YourApp
Replace the default YourApp\www folder with the \www folder from your existing project
Use the Web tool to open the YourApp project
Hope that helps.

IBM Worklight 6.1 - How to open the iOS app in Xcode?

I have installed Worklight 6.1.0 in Eclipse Kepler in OS X 10.9.2.
I wish to create a hybrid application in iPhone environment. Generally, creating an iPhone mobile application requires Xcode and iOS SDK. I don't know how to link Xcode with worklight. Any tutorials or documentation?
Sure, plenty of tutorials, see: IBM Worklight Getting Started training modules.
The steps are:
Create new Worklight project
Add an application
Add the iPhone and/or iPad environment
You can now:
Right-click on the iPhone folder and select Run As > Xcode project
This will build and deploy the app to the Worklight Server + open the generated iOS project in Xcode
Or:
Right-click on the app folder and select Run As > Run on Worklight Development Server
This will build and deploy the app to the Worklight Server.
Navigate to the iphone\package folder and copy from it the generated, zipped, Xcode project
You can now paste it somewhere, like on the Desktop, extract it and double-click the .xcodeproj file to open the project in Xcode
You do not need to link any SDKs. Worklight does most of the job for you. It generates a fully functioning Xcode project containing your web app within, hence a Worklight Hybrid app.
The above does not replace reading the training material!

IBM Worklight 6.1 - Failed re-generating the iPhone native folder

I've recently upgraded from Worklight 6.0 to 6.1 and I'm trying to get an update from a 6.1 Worklight Server from an iPhone that has a version built from 6.0 on it. This does not seem to work, so I figured I must manually deploy a version on the iPhone that was built from 6.1 in order to get the update. So I deleted the native folder under iPhone so that when I build it would regenerate itself, but I got the following error on build:
iphone build failed: com.worklight.builder.sourcemanager.handlers.ios.settings.IOSAddRemoveSettingsRefHandler - cannot update content of pbxproj file
My Worklight Studio version: 6.1.0.00-20131219-1900
The platform version in my application-description is also 6.1.0.00-20131219-1900.
I was able to rebuild the Android version and redeploy on my phone and successfully get updates.
Any ideas what the problem could be? I thought that if I deleted the native folder I should be able to always generate a new one by building.
Try the following:
Close Eclipse
Locate your temp folder (Windows, OS X, Linux)
Delete the wlBuildResources folder
Open Eclipse
Re-build

Resources