iOS Question Local builder error

MarcelloCSI

Active Member
Licensed User
Hi Everyone,
I'm trying to compile my App with the local mac compiler, using OSX (lastest version) and XCode (9.4.1).

Normally i use the hosted builder to compile the App but now i have to test it with different devices. Xcode provides nice simulators.

Compiling with local builder gives me this error.

B4i Versione: 5.00
Analisi del Codice. (0.10s)
Compilazione del codice. (0.83s)
Compilazione del codice di layouts (0.03s)
Compilazione del codice debugger. (3.71s)
Compilazione Progetto Xcode (0.18s)
Invio dati a compilatore remoto. Error
Out: Build settings from command line:
ARCHS = x86_64
CODE_SIGNING_REQUIRED = NO
CONFIGURATION_BUILD_DIR = /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/Payload
PRODUCT_NAME = Infinite
SDKROOT = iphonesimulator11.4

=== BUILD TARGET B4iProject OF PROJECT B4iProject WITH CONFIGURATION Release ===

Check dependencies

Write auxiliary files
write-file /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Infinite-project-headers.hmap
write-file /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Infinite.hmap

Create product structure
/bin/mkdir -p /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/Payload/Infinite.app

CompileC build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/main.o B4iProject/main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/4m/74s855gd07vbk9_w9tw8bddw0000gn/C/org.llvm.clang/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DB4I_VERSION=9 -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=11.0 -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Infinite-generated-files.hmap -I/Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Infinite-own-target-headers.hmap -I/Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Infinite-all-target-headers.hmap -iquote /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Infinite-project-headers.hmap -I/Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/Payload/include -I/Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/x86_64 -I/Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources -F/Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/main.d --serialize-diagnostics /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/main.dia -c /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/B4iProject/main.m -o /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/main.o

CompileC build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/b4i_applicationcustom.o B4iProject/b4i_applicationcustom.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/var/folders/4m/74s855gd07vbk9_w9tw8bddw0000gn/C/org.llvm.clang/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DB4I_VERSION=9 -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=11.0 -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Infinite-generated-files.hmap -I/Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Infinite-own-target-headers.hmap -I/Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Infinite-all-target-headers.hmap -iquote /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Infinite-project-headers.hmap -I/Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/Payload/include -I/Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/x86_64 -I/Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources -F/Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/b4i_applicationcustom.d --serialize-diagnostics /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/b4i_applicationcustom.dia -c /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/B4iProject/b4i_applicationcustom.m -o /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/b4i_applicationcustom.o

****

Many many many other files error like the one above

***

The one below is the only one different in the log

****

Ld Payload/Infinite.app/Infinite normal x86_64
cd /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>
export IPHONEOS_DEPLOYMENT_TARGET=11.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.4.sdk -L/Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/Payload -L../../Libs -F/Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/Payload -F../../Libs -filelist /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/Infinite.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=11.0 -Xlinker -object_path_lto -Xlinker /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/Infinite_lto.o -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -ObjC -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Infinite.app-Simulated.xcent -lCore -framework Foundation -framework CoreGraphics -framework UIKit -liHUD -liSQL -liRandomAccessFile -liEncryption -liFirebaseAnalytics -liFirebaseNotifications -liNetwork -liPhone -liUI8 -liXUI -liCustomListView -liReleaseLogger -liBarcode -liCustomDialog -framework AVFoundation -lsqlite3 -lz -framework FirebaseAnalytics -framework FirebaseInstanceID -framework GoogleInterchangeUtilities -framework GoogleSymbolUtilities -framework GoogleUtilities -framework FirebaseMessaging -framework GoogleIPhoneUtilities -framework MessageUI -framework CoreMotion -liDebug2 -Xlinker -dependency_info -Xlinker /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/Infinite_dependency_info.dat -o /Users/marcelloquaglia/Desktop/B4iBuildServer/UploadedProjects/<user id>/Payload/Infinite.app/Infinite
ld: framework not found FirebaseAnalytics
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Error: ** BUILD FAILED **


The following build commands failed:
Ld Payload/Infinite.app/Infinite normal x86_64
(1 failure)
Thanks in advance,
Marcello
 

MarcelloCSI

Active Member
Licensed User
B4X:
id>/Payload/Infinite.app/Infinite
ld: framework not found FirebaseAnalytics
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Check that you've initialized the FirbasebaseAnalytics Library before any other Firebase library even when it's not needed.
How can i do that?

Are you saying to initialize in the code?
 
Top