What is your Worklight version?
Please make sure you are using the latest available Worklight version. Using the latest Worklight version, v6.0.0.1.20130926, I have:
- Created a new Worklight project
- Added the iPhone environment
- Edited the iphone element in application-descriptor.xml with
<encryptWebResources enabled="true"/>
- Built, deployed and launched in Xcode
- Ran in the iOS Simulator