iOS Question SOLVED: Error Build Release App (build commands failed)

Cadenzo

Active Member
Licensed User
Longtime User
I cannot anymore build release with hosted builder. I get this error:
Sending data to remote compiler. Error
Out: Build settings from command line:
ARCHS = armv7 arm64

B4i Version: 6.50
Parsing code. (0.27s)
Building folders structure. (0.55s)
Compiling code. (0.23s)
Compiling layouts code. (0.03s)
Building Xcode project (1.92s)
Sending data to remote compiler. Error
Out: Build settings from command line:
ARCHS = armv7 arm64
CODE_SIGN_IDENTITY = iPhone Distribution: H...
CONFIGURATION_BUILD_DIR = /Users/administrator/Documents/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = AppAssionato
PROVISIONING_PROFILE = 72ec8ec8-...

note: Using new build system
note: Planning build
note: Constructing build description
CreateBuildDirectory /Users/administrator/Documents/UploadedProjects/<user id>/build (in target 'B4iProject' from project 'B4iProject')
cd /Users/administrator/Documents/UploadedProjects/<user id>
builtin-create-build-directory /Users/administrator/Documents/UploadedProjects/<user id>/build

...


Ld /Users/administrator/Documents/UploadedProjects/<user id>/Payload/AppAssionato.app/AppAssionato normal arm64 (in target 'B4iProject' from project 'B4iProject')
cd /Users/administrator/Documents/UploadedProjects/<user id>
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-ios8.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk -L/Users/administrator/Documents/UploadedProjects/<user id>/Payload -L../../Libs -F/Users/administrator/Documents/UploadedProjects/<user id>/Payload -F../../Libs -filelist /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/AppAssionato.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -object_path_lto -Xlinker /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/AppAssionato_lto.o -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -ObjC -lCore -framework Foundation -framework CoreGraphics -framework UIKit -liCustomDialog -liSQL -liUI8 -liHUD -liHttp -liXUI -liGameView -lxCustomListView -liStringUtils -liFirebaseAnalytics -liFirebaseNotifications -liJSON -liRandomAccessFile -framework AVFoundation -lsqlite3 -framework FIRAnalyticsConnector -framework FirebaseAnalytics -framework FirebaseCore -framework FirebaseCoreDiagnostics -framework FirebaseInstanceID -framework GoogleAppMeasurement -framework GoogleUtilities -framework nanopb -framework FirebaseMessaging -framework Protobuf -lz -liBitmapCreator -liDateUtils -liDebug2 -Xlinker -dependency_info -Xlinker /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/AppAssionato_dependency_info.dat -o /Users/administrator/Documents/UploadedProjects/<user id>/Payload/AppAssionato.app/AppAssionato
ld: warning: Could not find or use auto-linked framework 'FBLPromises'
Undefined symbols for architecture arm64:
"_FBLPromiseErrorDomain", referenced from:
___60-[FIRSecureStorage getObjectForKey:eek:bjectClass:accessGroup:]_block_invoke in FirebaseInstallations(FIRSecureStorage.o)
"_OBJC_CLASS_$_FBLPromise", referenced from:
objc-class-ref in FirebaseInstallations(FIRInstallationsIDController.o)
objc-class-ref in FirebaseInstallations(FIRInstallationsAPIService.o)
objc-class-ref in FirebaseInstallations(FIRInstallationsIIDStore.o)
objc-class-ref in FirebaseInstallations(FIRInstallationsIIDTokenStore.o)
objc-class-ref in FirebaseInstallations(FIRInstallationsStore.o)
objc-class-ref in FirebaseInstallations(FIRSecureStorage.o)
ld: symbol(s) not found 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 /Users/administrator/Documents/UploadedProjects/<user id>/Payload/AppAssionato.app/AppAssionato normal arm64
(1 failure)


The following build commands failed:
Ld /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/Binary/AppAssionato normal armv7
(1 failure)

Never had this problem before. May be, I should mention, that I use #ProvisionFile: AppAssionato.mobileprovision for explicit App Id, because the app uses FireBase Messengner
 
Last edited:

Cadenzo

Active Member
Licensed User
Longtime User
Solved! I had to update the Firebase SDK, as explained here. I could not find this hint in the error description, but I wandered, why other apps without this library had no problems. So I checked, if this lib is uptodate and found the hint in the forum. Couldn't the IDE catch the version numbers and show a warning, if a used lib is not uptodate?
 
Upvote 0
Top