-
Notifications
You must be signed in to change notification settings - Fork 77
Build errors in CordovaPluginFileDemo #29
Comments
we need to setup the workspace's build location to be relative to the workspace. In File -> Workspace Settings..., click Advanced... in Build tab to open the Build Location settings. Select Custom -> Relative to Workspace, and leave the default value as it is. And we need to build for "iOS Device" to trigger Xcode to create the directory "Debug-iphoneos". |
I'm considering to add search paths for both simulator and device build, or write a script to do the embedding work, which could make the setup less painful. |
Unfortunately the above remedies about workspace settings and build for iOS device had already been applied and the error still occurs. I can't find cdvlocalstorage.m anywhere in the local clone. Yesterday it was present in a time-machine backup. |
The directory third-party/cordova-ios contained no entries. I manually copied the files from my backup and the resultant build has no errors--only the 4 warnings I mentioned earler. The app does not run on my iOS device. NSLog only reports the issue with splashscreen images not found which comes from the splashscreen plugin. The initial index page is not displayed. |
The third-party/cordova-ios is an submodule, and this file demo also depends on another submodule in third-party/Icenium/sample-file. so you need to run |
The text was updated successfully, but these errors were encountered: