phonegap-parse-plugin icon indicating copy to clipboard operation
phonegap-parse-plugin copied to clipboard

Build failed with cordova biuld ios

Open superedmundo opened this issue 10 years ago • 8 comments

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)

superedmundo avatar May 31 '14 00:05 superedmundo

I'm having the same issue and messages above. App compiles fine until I add the plugin.

mariuscwium avatar Jun 05 '14 08:06 mariuscwium

Got the same issue here. Try this: http://stackoverflow.com/questions/15457136/parse-for-ios-errors-when-trying-to-run-the-app

mrzmyr avatar Jun 14 '14 18:06 mrzmyr

Same ^ More deets in the issue I just added (comes from FacebookSDK dependency)

gsautr avatar Jul 31 '14 12:07 gsautr

@gsinnott can you help me? how exactly i must add FacebookSDK dependency?

vomchik avatar Aug 08 '14 15:08 vomchik

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)

ryan-nylander avatar Oct 14 '14 23:10 ryan-nylander

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

barmmie avatar Nov 17 '14 00:11 barmmie

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 avatar Jul 28 '15 09:07 mapierce

@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"

diegoserranoa avatar Jul 28 '15 22:07 diegoserranoa