Search code examples
iosxcode5ibm-mobilefirstxcodebuild

Worklight - error: property 'callbackId' not found on object of type 'CDVInvokedUrlCommand *'


I have a "worklight" project with iPhone Environment. Using Ant Task i have generated the native iPhone folder. I am tying to compile and package the native iPhone project using command line tool xcodebuild. It gives me the following error.

 error: property 'callbackId' not found on object of type 'CDVInvokedUrlCommand *'

But if i open the native iPhone project in Xcode and try to build and archive it works fine. I am not sure why my command line xcodebuild for the same fails.

Thanks in advance.


Solution

  • This issue was resolved by upgrading the Worklight Studio and Server installations to Worklight 6.2.0.02 (Fix Pack 2). After upgrading the Ant task script then properly compiled the native project.