iOS run failed
Closed this issue · 2 comments
I am getting the following error when I run ios command:
...
duplicate symbol OBJC_METACLASS$_BFMeasurementEvent in:
Millimetre/Plugins/com.parse.cordova.core.pushplugin/Bolts.framework/Bolts(BFMeasurementEvent.o)
Millimetre/Plugins/com.phonegap.plugins.facebookconnect/FacebookSDK.framework/FacebookSDK(BFMeasurementEvent.o)
ld: 91 duplicate symbols for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
Ld build/device/Millimetre.app/Millimetre normal armv7
(1 failure)
Error code 65 for command: xcodebuild with args: -xcconfig,/Users/herve76/Desktop/Millimetre Code_Camera_Issue_Reoslved/platforms/ios/cordova/build-debug.xcconfig,-project,Millimetre.xcodeproj,ARCHS=armv7 armv7s arm64,-target,Millimetre,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 armv7s arm64,CONFIGURATION_BUILD_DIR=/Users/herve76/Desktop/Millimetre Code_Camera_Issue_Reoslved/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/herve76/Desktop/Millimetre Code_Camera_Issue_Reoslved/platforms/ios/build/sharedpch
ERROR running one or more of the platforms: Error: /Users/herve76/Desktop/Millimetre Code_Camera_Issue_Reoslved/platforms/ios/cordova/run: Command failed with exit code 2
You may not have the required environment or OS to run this project
@jsappme The problem is a conflict with your com.phonegap.plugins.facebookconnect plugin. I think it's been updated in the latest Facebook and Parse SDKs Here is more detall http://stackoverflow.com/questions/27526949/parse-and-facebook-sdk-duplicate-symbol
You might of figured this issued by now, but thanks for the heads up! You can try updating the SDK in ../Frameworks/Bolts.framework + Parse.framework and see if it works. You can find the latest SDKs here: https://parse.com/docs/downloads.
Otherwise you can chose your favourite plugin or try renaming stuff. Either way, good luck!