Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
17060 Discussions

Cordova Build Error (iOS and Android)

Ivan_M_1
Beginner
875 Views

Hi,

I was trying to build cordova ios and android app but I got error.
The log files are attached.

Legacy build is working fine for ios and android.

Can anybody help?

0 Kudos
3 Replies
Amrita_C_Intel
Employee
875 Views

Are you running this app on app preview or building it for device? Can you zip your project and send so that I can test from my end?

0 Kudos
John_H_Intel2
Employee
875 Views

Looks like you are using a FB plugin that is creating duplicate symbols. You can not include both the Facebook connect and the intel facebook plugin, its one or the other.

duplicate symbol _OBJC_METACLASS_$_FBRequest in:
    .../corporattraining/platforms/ios/build/corporattraining.build/Release-iphoneos/corporattraining.build/Objects-normal/arm64/FBRequest.o
    corporattraining/Plugins/com.phonegap.plugins.facebookconnect/FacebookSDK.framework/FacebookSDK(FBRequest.o)
ld: 41 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **

0 Kudos
Ivan_M_1
Beginner
875 Views

That was the problem ... thank you

0 Kudos
Reply