Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
iOS debugger build failed
-
Hello,
if i try to build a custom debugger the build fails with the following error message.
A build of a normal debug or ad hoc app works.normal/armv7/Reachability.o
/tmp/monaca/58a39d0aff2af2310b113d45/project/platforms/ios/Salespad/Plugins/com-ugrokit-cordova-ugrokit/libUGrokItApi.a(Reachability.o)
ld: 4 duplicate symbols for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)- postBuild -
Remove working directories…
Build Error: Error: Sandbox Exec Error: [ ** BUILD FAILED **
The following build commands failed:
Ld /private/tmp/monaca/58a39d0aff2af2310b113d45/project/platforms/ios/build/device/Salespad.app/Salespad normal armv7
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/private/tmp/monaca/58a39d0aff2af2310b113d45/project/platforms/ios/cordova/build-debug.xcconfig,-project,Salespad.xcodeproj,-target,Salespad,-configuration,Debug,-destination,platform=iOS,build,CONFIGURATION_BUILD_DIR=/private/tmp/monaca/58a39d0aff2af2310b113d45/project/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/private/tmp/monaca/58a39d0aff2af2310b113d45/project/platforms/ios/build/sharedpch
]Any ideas?
Best regards,
Tobias
- postBuild -
-
It’s hard to understand from a partial log. Did you use any external Cordova Plugin?
-
The “Custom Debugger Build” and the custom plugin for the ugrokit RFID scanner are using Reachability.o from apple to check if there is an internet connection.
During the iOS build the linker fails when Reachability shoud be linked a second time.
Is this a general cordova iOS problem? That only one plugin is allowed to link Apple default classes?