IBM Worklight - How to resolve "WebWorks SDK source file was not found" error? - ibm-mobilefirst

I am using Worklight 6 on Windows 7.
I've installed the WebWorks SDK for BlackBerry and also set the environment path for the WebWorks SDK.
When trying to build my application (that has the blackberry10 environment) the following error is shown:
W: WebWorks SDK source file was not found. Make sure to set it in
application-decsriptor.xml: Replace it with path to WebWorks

The path to the BB10 SDK has got nothing to do with application-descriptor.xml file so I don't quite understand why would it complain about it there.
Here is a question with this same error; The problem in this case was about using an incorrect SDK version:
IBM Worklight 6.0 - "WebWorks SDK source file was not found" error
For BlackBerry 6 and 7, use: https://developer.blackberry.com/bbos/html5/downloads/?os=mac#smartphones
For BlackBerry 10, use: https://developer.blackberry.com/html5/downloads/?os=mac#blackberry10
Also note that Worklight does not officially support BB10 WebWorks SDK 2.0 beta.
So make sure to use the previous version (1.0.4.11 - direct download link), perhaps it will help in solving this.
I would also make sure that your WEBWORKS_HOME environment variable indeed points to the correct location; In my - working - setup it points to: C:\Program Files\Research In Motion\BlackBerry 10 WebWorks SDK 1.0.4.11

Related

Can't install CloudBees SDK onto Windows 8

I seem to have some problems initialising the CloudBees SDK locally to be able to run a simple application.
I've downloaded the SDK, added the required paths; everything ok up to the point where I am trying to execute the bees run command from my newly created application folder.
The error I get seems related to the JDK installation on my computer - JAVA_HOME is pointing to C:\Program Files\Java\jre7 and not to jdk .
I've checked all the local PATHS and they seem ok.
By the way I am using Windows 8.0 Enterprise 64 bit.
Fully uninstalling Java from my system followed by installing only the 64bit version and recreating System paths seems to have fixed the problem.

I have Installed the Titanium studio.Ink In Windows from appcelerator website but unable to run app like Kitchen sink?

I have also tried to install Android sdk & updates but its end up showing that java jdk not installed as I have Installed the JDK earlier
and In the Console Part-->
Titanium Command-Line Interface,CLI version 3.1.1,Titanium SDK version 3.1.1.GA
Copyright (c) 2012-2013,Appcelerator,Inc. All Rights Reserved.
[ERROR] : "Missing Java SDK.Please make sure Java SDK is on your PATH
What To DO !!
Check whether java is in your path. If not install JDK and JRE and try once again
This is the method to set environmental variables and plz make sure that you are using javasdk 1.6 instead of 1.7
http://java.com/en/download/help/path.xml
Thanks

Failed to build the worklight project in xcode

I am new to Worklight and trying out various examples hosted on IBM worklight website for better understanding.
I have installed Eclipse Juno and IBM Worklight Studio kit on Mac OS X 10.6.8
I already had xcode 4.2 installed on Mac OS X 10.6.8
I had downloaded HelloWorklight example from http://www.ibm.com/developerworks/mobile/worklight/getting-started.html#basics and following http://public.dhe.ibm.com/software/mobile-solutions/worklight/docs/v506/02_02_Previewing_your_application_on_iOS.pdf for guidlines.
The example is successfully build in Eclipse and deployed to Worklight Server, it can be previewed on Worklight Console as well. Now I tried to Run as Xcode from Eclipse, example was successfully exported to Xcode but when I say Run in xcode, build fails. I see 2 issues under CordovaLib in Xcode, CDVLocation.m with Alert(Implicit conversion from enumeration type 'UIDeviceOrientation' to different enumeration type 'UIInterfaceOrientation') and CDVAccelerometer.m with Error(Receiver type 'CDVAccelerometer' for instance message does not declare a method with selector 'returnAccelInfo').
Please help me with above issues. If I am correct then it seems that library packaged by Worklight fails to compile in xcode.
Any kind of help would be appreciated.
Thanks
Worklight supports OS X 10.7 and above, and Xcode 4.5 and above; At the very least make sure your Xcode version is up to date and try again with Worklight 5.0.6 and fresh sample applications that match this Worklight version.

Compiling libogg using Xcode 4

I've just downloaded libogg from http://www.xiph.org/downloads/ (http://downloads.xiph.org/releases/ogg/libogg-1.3.0.tar.gz) and I'm now trying to compile the Ogg.xcodeproj project provided in that package. When I try to build, I get the following error:
The run destination My Mac 64-bit is not valid for Running the scheme 'Ogg'.
The scheme 'Ogg' contains no buildables that can be built for the SDKs supported by the run destination My Mac 64-bit. Make sure your targets all specify SDKs that are supported by this version of Xcode.
I get a similar error if I attempt to build the static library instead of the framework:
The run destination My Mac 64-bit is not valid for Running the scheme 'libogg (static)'.
The scheme 'libogg (static)' contains no buildables that can be built for the SDKs supported by the run destination My Mac 64-bit. Make sure your targets all specify SDKs that are supported by this version of Xcode.
Again, this is just opening the project in Xcode 4.3.2 for the first time and attempting to build. I've made no changes to the project file at all.
Can anyone point me in the direction of a solution to get this to compile?
In my case, the Xcode project was linking against an old SDK on an old architecture (OS X 10.5 PPC, whereas I have OS X 10.8 Mountain Lion x64).
To fix this in Xcode 5, select the top-level project in Xcode (the top-most node in the project folder pane, with the blue "A" icon) followed by the Project. Change Architectures to something suitable for your current system, such as Native Architecture of Build machine and change Base SDK to an SDK currently installed in your Xcode environment, such as OS X 10.8.
Here is a screenshot of my project to help you find those settings (following the highlighted parts: kisshelper > kisshelper > Architectures):

iPhone 3.0 SDK, how to test on a 2.2.1 device?

I just installed the latest iPhone SDK 3.0. After I seleced the active SDK as Simulator 3.0 at the drop down overview, the "target" field no longer shows me the 2.2.1 SDK, and defaults to 3.0, resulting in I cannot test on my 2.2.1 device.
What actions should I follow to fix this? Even in the target property my base SDK still appears as device 2.2.1.
You cannot run an iPhone application compiled for 3.0 on a device running anything other than 3.0 as it is not backwards-compatible with 2.2.1. You'll need to upgrade your device in order to run 3.0 apps on it.
More specific to the most recent release of the SDK, there is an entry in the release notes that states that this version does not let you compile against any SDK except the 3.0 SDK. I believe the last version that allowed you to do that was 3.0b2. You'll need to roll back to that one or earlier if you want to compile using the 2.2.1 SDK.
The setting you may want is the "iPhone OS Deployment Target" at the bottom of the Deployment section of the Info window for your project.
You can leave the "Base SDK" setting set to 3.0, and set the "Deployment Target" to an earlier version like 2.2.1.
search for "Target an earlier iPhone OS release" in
https://web.archive.org/web/20100901153956/https://developer.apple.com/iphone/library/documentation/Xcode/Conceptual/iphone_development/120-Running_Applications/running_applications.html
Then it's up to you to make sure your application doesn't try to use OS 3.0 features on an OS 2.2 device. (use weak references to any OS 3.0-only frameworks, check OS version before doing things that only work on some versions, etc.)
Right click on your project and select "Get Info".
Then from the "Base SDK for All Configuration", select "iPhone Device 2.2.1" and the options will be available again.
Jetzdax