iOS Question Build Failed on Release build

rossco_pb

Member
Licensed User
Longtime User
First attempt to create a Release build and fails with error snippet below. Builds Debug ok. Appears to be an issue with duplicate symbols. B4i version 2.31 building on local Mac 2.30. Any help appreciated. Cheers

UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/ECCalcMonitor
duplicate symbol l041 in:
../../Libs/libCore.a(B4IViewWrapper.o)
../../Libs/libCore.a(B4ILayoutBuilder.o)
duplicate symbol l042 in:
../../Libs/libCore.a(B4IViewWrapper.o)
../../Libs/libCore.a(B4ILayoutBuilder.o)
duplicate symbol l021 in:
../../Libs/libCore.a(B4IDateTime.o)
../../Libs/libCore.a(B4IMediaPlayer.o)
ld: 3 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Error: ** BUILD FAILED **


The following build commands failed:
Ld build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/ECCalcMonitor normal arm64
(1 failure)
 

rossco_pb

Member
Licensed User
Longtime User
I see some other similar posts about upgrading xcode so will do that and see if still a problem

Upgraded to xcode 6.4 and issue no longer evident. Odd given the errors appear to relate to symbols in the B4i libcore.a but whatever, it seems to work now :)
 
Upvote 0

Bryanne Vega

Member
Licensed User
Longtime User
Negative, it was on 32 i tried changing it to 64 did not helped.

B4X:
ld: 71 duplicate symbols for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Error: ** BUILD FAILED **


The following build commands failed:
   Ld Payload/****\ My.app/*****\ ******normal armv7
(1 failure)
 
Upvote 0
Top