my application does not compile with simulator after updating B4i ide to version 4.30, using local Mac in version 4.30 except on real device.
Using Hosted Mac compiles successfully, but I need to test on simulator 11
I created a new B4iBuilderServer and version 4.30 when I ran the tests. I also updated iGoogleAnalytics and iGoogleMaps by following these tips ....
Below a part of the issue reported by B4i
Using Hosted Mac compiles successfully, but I need to test on simulator 11
I created a new B4iBuilderServer and version 4.30 when I ran the tests. I also updated iGoogleAnalytics and iGoogleMaps by following these tips ....
iGoogleAnalytics:
If you are using a local builder then you should download the SDK: https://developers.google.com/analytics/devguides/collection/ios/v3/sdk-download and copy libGoogleAnalyticsServices.a to the Libs folder.
I do download this file -> GoogleAnalyticsServicesiOS_3.17.zip
Below a part of the issue reported by B4i
B4X:
B4i Version: 4.30
Parsing code. (0.36s)
Compiling code. (1.78s)
Compiling layouts code. (0.11s)
Compiling debugger engine code. (19.32s)
Building Xcode project (1.02s)
Sending data to remote compiler. Error
Out: Build settings from command line:
ARCHS = x86_64
CODE_SIGNING_REQUIRED = NO
CONFIGURATION_BUILD_DIR = /Users/tucano/Documents/B4iBuildServer/UploadedProjects/<user id>/Payload
PRODUCT_NAME = INFRANOTE
SDKROOT = iphonesimulator10.0
=== BUILD TARGET B4iProject OF PROJECT B4iProject WITH CONFIGURATION Release ===
Check dependencies
...
...
Ld Payload/INFRANOTE.app/INFRANOTE normal x86_64
cd /Users/tucano/Documents/B4iBuildServer/UploadedProjects/<user id>
export IPHONEOS_DEPLOYMENT_TARGET=7.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.0.sdk -L/Users/tucano/Documents/B4iBuildServer/UploadedProjects/<user id>/Payload -L../../Libs -F/Users/tucano/Documents/B4iBuildServer/UploadedProjects/<user id>/Payload -F../../Libs -filelist /Users/tucano/Documents/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/INFRANOTE.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=7.0 -Xlinker -object_path_lto -Xlinker /Users/tucano/Documents/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/INFRANOTE_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/tucano/Documents/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/INFRANOTE.app.xcent -lCore -framework Foundation -framework CoreGraphics -framework UIKit -liSQL -liHUD -liPhone -liHttp -liStringUtils -liRandomAccessFile -liEncryption -liJSON -liNetwork -liStore -liTableView -liLocation -liAnalytics -liGoogleMaps -framework AVFoundation -lsqlite3 -framework MessageUI -framework CoreMotion -lz -framework StoreKit -framework CoreLocation -framework CoreData -framework SystemConfiguration -lsqlite3 -lGoogleAnalyticsServices -framework CoreBluetooth -framework Accelerate -framework CoreText -framework GLKit -framework ImageIO -lc++ -licucore -framework OpenGLES -framework QuartzCore -framework GoogleMaps -framework GoogleMapsBase -framework GoogleMapsCore -liDebug2 -Xlinker -dependency_info -Xlinker /Users/tucano/Documents/B4iBuildServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/x86_64/INFRANOTE_dependency_info.dat -o /Users/tucano/Documents/B4iBuildServer/UploadedProjects/<user id>/Payload/INFRANOTE.app/INFRANOTE
ld: warning: ignoring file ../../Libs/libiTableView.a, missing required architecture x86_64 in file ../../Libs/libiTableView.a (3 slices)
ld: warning: ignoring file ../../Libs/libiGoogleMaps.a, missing required architecture x86_64 in file ../../Libs/libiGoogleMaps.a (3 slices)
ld: warning: object file (../../Libs/libiHUD.a(MMBProgressHUD.o)) was built for newer iOS version (8.0) than being linked (7.0)
ld: warning: object file (../../Libs/libiHUD.a(iHUD.o)) was built for newer iOS version (8.0) than being linked (7.0)
ld: warning: object file (../../Libs/libiPhone.a(B4IMessageComposer.o)) was built for newer iOS version (7.1) than being linked (7.0)
ld: warning: object file (../../Libs/libiPhone.a(B4IClipboard.o)) was built for newer iOS version (7.1) than being linked (7.0)
ld: warning: object file (../../Libs/libiPhone.a(B4ISettings.o)) was built for newer iOS version (7.1) than being linked (7.0)
ld: warning: object file (../../Libs/libiPhone.a(iPhone.o)) was built for newer iOS version (7.1) than being linked (7.0)
ld: warning: object file (../../Libs/libiPhone.a(B4IMotion.o)) was built for newer iOS version (7.1) than being linked (7.0)
ld: warning: object file (../../Libs/libiPhone.a(B4IDocumentInteraction.o)) was built for newer iOS version (7.1) than being linked (7.0)
ld: warning: object file (../../Libs/libiPhone.a(B4ITTS.o)) was built for newer iOS version (7.1) than being linked (7.0)
ld: warning: object file (../../Libs/libiPhone.a(B4IActivityViewController.o)) was built for newer iOS version (7.1) than being linked (7.0)
ld: warning: object file (../../Libs/libiHttp.a(iHttp.o)) was built for newer iOS version (7.1) than being linked (7.0)
ld: warning: object file (../../Libs/libiEncryption.a(iEncryption.o)) was built for newer iOS version (8.0) than being linked (7.0)
ld: warning: object file (../../Libs/libiJSON.a(iJSON.o)) was built for newer iOS version (7.1) than being linked (7.0)
ld: warning: object file (../../Libs/libiStore.a(iStore.o)) was built for newer iOS version (8.0) than being linked (7.0)
ld: warning: object file (../../Libs/libiLocation.a(B4IGeocoder.o)) was built for newer iOS version (7.1) than being linked (7.0)
ld: warning: object file (../../Libs/libiLocation.a(iLocation.o)) was built for newer iOS version (7.1) than being linked (7.0)
ld: warning: object file (../../Libs/libiAnalytics.a(iAnalytics.o)) was built for newer iOS version (9.2) than being linked (7.0)
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_B4ICameraPosition", referenced from:
objc-class-ref in b4i_meulocal.o
"_OBJC_CLASS_$_B4IGoogleMap", referenced from:
objc-class-ref in b4i_meulocal.o
"_OBJC_CLASS_$_B4ITableView", referenced from:
objc-class-ref in b4i_cadastrar.o
objc-class-ref in b4i_codigos_municipios.o
objc-class-ref in b4i_consultar_infracao.o
objc-class-ref in b4i_meulocal.o
ld: symbol(s) not found 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/INFRANOTE.app/INFRANOTE normal x86_64
(1 failure)