iOS Question First compilation trial on Local Mac

Serdar K.

Member
Licensed User
Hi,

I use B4A for a while on my projects, thanks for the nice IDE product family again.

I had bought a bundle and don't want to buy a developer ID yet, so i bought a second hand Mac Computer for build processes, which i could use later on, after getting a developer account.

I just try to compile an empty default B4i project for testing (as B4i just fills the template).

Now, i have all tools installed, since it is an older version of Mac, it runs MacOS elCapitan and the maximum version of XCode i could run is 8.2 . So i installed it and it works. I installed B4iBuilder on mac, run the server, got response from test URL. On PC side, i have tried B4i V5.30 and B4i V5.50 Beta versions and i keep getting the error log below :

B4i Version: 5.50 BETA #1
Parsing code. (0.00s)
Building folders structure. (0.04s)
Compiling code. (0.01s)
Compiling layouts code. (0.00s)
Compiling debugger engine code. (0.96s)
Building Xcode project (0.27s)
Sending data to remote compiler. Error
Out: Build settings from command line:
ARCHS = x86_64
CODE_SIGNING_REQUIRED = NO
CONFIGURATION_BUILD_DIR = /Applications/B4iBuildServer/UploadedProjects/<user id>/Payload
PRODUCT_NAME = B4i Example
SDKROOT = iphonesimulator10.2

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

Check dependencies

Create product structure
/bin/mkdir -p /Applications/B4iBuildServer/UploadedProjects/<user id>/Payload/B4i\ Example.app

CompileC build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/b4i_main.o B4iProject/b4i_main.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Applications/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/fj/c_x2f8tj4yv0_zymz82t10nm0000gn/C/org.llvm.clang/ModuleCache/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 -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DB4I_VERSION=11 -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=8.0 -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Applications/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-generated-files.hmap -I/Applications/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-own-target-headers.hmap -I/Applications/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-all-target-headers.hmap -iquote /Applications/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-project-headers.hmap -I/Applications/B4iBuildServer/UploadedProjects/<user id>/Payload/include -I/Applications/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/x86_64 -I/Applications/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources -F/Applications/B4iBuildServer/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Applications/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/b4i_main.d --serialize-diagnostics /Applications/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/b4i_main.dia -c /Applications/B4iBuildServer/UploadedProjects/<user id>/B4iProject/b4i_main.m -o /Applications/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/b4i_main.o

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 /Applications/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/fj/c_x2f8tj4yv0_zymz82t10nm0000gn/C/org.llvm.clang/ModuleCache/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 -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DB4I_VERSION=11 -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=8.0 -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -fobjc-abi-version=2 -fobjc-legacy-dispatch -iquote /Applications/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-generated-files.hmap -I/Applications/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-own-target-headers.hmap -I/Applications/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-all-target-headers.hmap -iquote /Applications/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-project-headers.hmap -I/Applications/B4iBuildServer/UploadedProjects/<user id>/Payload/include -I/Applications/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/x86_64 -I/Applications/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources -F/Applications/B4iBuildServer/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Applications/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/main.d --serialize-diagnostics /Applications/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/main.dia -c /Applications/B4iBuildServer/UploadedProjects/<user id>/B4iProject/main.m -o /Applications/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/main.o

Ld Payload/B4i\ Example.app/B4i\ Example normal x86_64
cd /Applications/B4iBuildServer/UploadedProjects/<user id>
export IPHONEOS_DEPLOYMENT_TARGET=8.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/iPhoneSimulator10.2.sdk -L/Applications/B4iBuildServer/UploadedProjects/<user id>/Payload -L../../Libs -F/Applications/B4iBuildServer/UploadedProjects/<user id>/Payload -F../../Libs -filelist /Applications/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/B4i\ Example.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=8.0 -Xlinker -object_path_lto -Xlinker /Applications/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/B4i\ Example_lto.o -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -ObjC -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Applications/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example.app.xcent -lCore -framework Foundation -framework CoreGraphics -framework UIKit -framework AVFoundation -liDebug2 -Xlinker -dependency_info -Xlinker /Applications/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/B4i\ Example_dependency_info.dat -o /Applications/B4iBuildServer/UploadedProjects/<user id>/Payload/B4i\ Example.app/B4i\ Example
ld: framework not found FileProvider for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Error: ** BUILD FAILED **


The following build commands failed:
Ld Payload/B4i\ Example.app/B4i\ Example normal x86_64
(1 failure)
I am sure that this has a simple explanation but i am using Mac the first time on my life, and also B4i is a new start for me.

I would like to use a little help here.

Thanks and regards,
Serdar
 

Serdar K.

Member
Licensed User
I have to solve my problem on this OS version, which means on this XCode version, because newer versions won't be installed on my machine.

I have seen that even older versions like Xcode 7 or similar were supported by B4iBuilder on the forum.
If there is a way to get older versions of B4i and B4iBuilder, i would like to use them.
Any suggestions in that case?

It is OK for me to use this until Apple prevents them. In a few months i will have Apple developer license,
and then I can use hosted MacBuilder anyway.
 

Serdar K.

Member
Licensed User
Hi Erel, Thank you.
I will be trying to update my system using unofficial ways, but since i'm not sure that this is a good idea,
i will be sending this e-mail to get the appropriate versions.

Thanks for your support.

Best regards,
Serdar
 
Top