问题
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.
回答1:
Try the following:
- Close Eclipse
- Locate your temp folder (Windows, OS X, Linux)
- Delete the
wlBuildResources
folder - Open Eclipse
- Re-build
来源:https://stackoverflow.com/questions/21008162/ibm-worklight-6-1-failed-re-generating-the-iphone-native-folder