If PhoneGap functionality is not required, you can make a few modifications to
remove all references to the PhoneGap library that is linked to the Hybrid Web Container.
Leaving PhoneGap in place does not cause any issues, but
does
increase
overall application size by about 400KB.
- In Xcode, open the
WorkflowAppDelegate.h
file and comment out this line:
- In the Build Settings tab, for the Workflow project under Other Linker
Flags, remove libPhoneGap.a for all build
configurations.
- Under Warning Linker Flags remove
libPhoneGap.a for all build configurations.
- In the Workflow Project
Navigator remove
references to these files:
- In Xcode, in the Workflow Project Navigator, remove the reference to the
www directory.
- In Xcode, in the Workflow Project Navigator, remove the reference to the
Capture.bundle directory.
- Clean and rebuild the Workflow project for all configurations.