phonegap-parse-plugin
phonegap-parse-plugin copied to clipboard
Build failed with cordova biuld ios
Hi. Any help will be appreciate
I installed the plugin, but it can be build for ios, this is the error message:
$ cordova build ios
ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed: Ld build/emulator/UAL.app/UAL normal i386 (1 failure) Error: /Users/superedmundo/Documents/Projects/UAL/platforms/ios/cordova/build: Command failed with exit code 65 at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23)
I'm having the same issue and messages above. App compiles fine until I add the plugin.
Got the same issue here. Try this: http://stackoverflow.com/questions/15457136/parse-for-ios-errors-when-trying-to-run-the-app
Same ^ More deets in the issue I just added (comes from FacebookSDK dependency)
@gsinnott can you help me? how exactly i must add FacebookSDK dependency?
For those who are still having this problem, have a look at this answer by Nate Lee: http://stackoverflow.com/a/23924252 (this solution doesn't require the FacebookSDK, if you don't need it)
If anyone still has this problem on ios i solved it by installing adding plugin a https://github.com/Wizcorp/phonegap-facebook-plugin/blob/master/platforms/ios/README.md
I'm still having issues with this. Is there any other way of solving the issue without having to add the Facebook plugin? As I need to register the app with Facebook and get an ID which seems like a lot of overkill if I don't actually use the Facebook plugin for anything
@mapierce as suggested in the StackOverflow link(http://stackoverflow.com/a/23924252) remove the -ObjC linker flag in the .xcodeproject "If you're not using a library which requires the -ObjC linker flag, you can remove -ObjC from your project: Build Settings > Other Linker Flags > remove -ObjC"