iOS Question Error in in use googlemap

webhost.company

Active Member
Licensed User
Longtime User
Hello
I did use googlemap in windows 7
Now i change windows and install b4i in windows 10 and try to show googlemap example in simulator in My MacBook
But it get error now,
Note I can show googlemap already
 

webhost.company

Active Member
Licensed User
Longtime User
This error
B4i version: 4.00 BETA #1
Parsing code. (0.01s)
Compiling code. (0.03s)
Compiling layouts code. (0.00s)
Compiling debugger engine code. (1.22s)
Building Xcode project (0.10s)
Sending data to remote compiler. Error
Out: Build settings from command line:
ARCHS = armv7
CODE_SIGN_IDENTITY = iPhone
CONFIGURATION_BUILD_DIR = /Users/rock/Documents/Programming/B4i/1- MacServer/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = B4i Example
PROVISIONING_PROFILE = e620c8d7-84f5-413e-890a-87d1e9febf6a
=== BUILD TARGET B4iProject OF PROJECT B4iProject WITH CONFIGURATION Release ===
Check dependencies
Write auxiliary files
write-file /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-own-target-headers.hmap
write-file /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-all-non-framework-target-headers.hmap
write-file /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-project-headers.hmap
/bin/mkdir -p /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7
write-file /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/B4i\ Example.LinkFileList
write-file /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-generated-files.hmap
write-file /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example.hmap
write-file /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-all-target-headers.hmap
Create product structure
/bin/mkdir -p /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/Payload/B4i\ Example.app
ProcessInfoPlistFile Payload/B4i\ Example.app/Info.plist B4iProject/B4iProject-Info.plist
cd "/Users/rock/Documents/Programming/B4i/1- MacServer/UploadedProjects/<user id>"
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/rock/Documents/Programming/AndroidSDK_Mac/platform-tools:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Frameworks/Mono.framework/Versions/Current/Commands"
builtin-infoPlistUtility /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/B4iProject/B4iProject-Info.plist -genpkginfo /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/Payload/B4i\ Example.app/PkgInfo -expandbuildsettings -format binary -platform iphoneos -o /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/Payload/B4i\ Example.app/Info.plist
CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.o B4iProject/b4i_main.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd "/Users/rock/Documents/Programming/B4i/1- MacServer/UploadedProjects/<user id>"
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/rock/Documents/Programming/AndroidSDK_Mac/platform-tools:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Frameworks/Mono.framework/Versions/Current/Commands"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -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/cj/z8kd35j15bb7m_cg5vjb8kw80000gn/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 -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=7.0 -fvisibility=hidden -Wno-sign-conversion -iquote /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-generated-files.hmap -I/Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-own-target-headers.hmap -I/Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-all-target-headers.hmap -iquote /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-project-headers.hmap -I/Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/Payload/include -I/Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/armv7 -I/Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.d --serialize-diagnostics /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.dia -c /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/B4iProject/b4i_main.m -o /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.o
CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.o B4iProject/main.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd "/Users/rock/Documents/Programming/B4i/1- MacServer/UploadedProjects/<user id>"
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/rock/Documents/Programming/AndroidSDK_Mac/platform-tools:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Frameworks/Mono.framework/Versions/Current/Commands"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -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/cj/z8kd35j15bb7m_cg5vjb8kw80000gn/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 -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=7.0 -fvisibility=hidden -Wno-sign-conversion -iquote /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-generated-files.hmap -I/Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-own-target-headers.hmap -I/Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-all-target-headers.hmap -iquote /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/B4i\ Example-project-headers.hmap -I/Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/Payload/include -I/Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/armv7 -I/Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.d --serialize-diagnostics /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.dia -c /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/B4iProject/main.m -o /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.o
Ld Payload/B4i\ Example.app/B4i\ Example normal armv7
cd "/Users/rock/Documents/Programming/B4i/1- MacServer/UploadedProjects/<user id>"
export IPHONEOS_DEPLOYMENT_TARGET=7.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/rock/Documents/Programming/AndroidSDK_Mac/platform-tools:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Frameworks/Mono.framework/Versions/Current/Commands"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -L/Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/Payload -L../../Libs -F/Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/Payload -F../../Libs -filelist /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/B4i\ Example.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=7.0 -Xlinker -no_deduplicate -ObjC -fobjc-arc -fobjc-link-runtime -lCore -framework Foundation -framework CoreGraphics -framework UIKit -liGoogleMaps -framework AVFoundation -framework CoreData -framework CoreLocation -framework CoreBluetooth -framework Accelerate -framework CoreText -framework GLKit -framework ImageIO -lc++ -licucore -lz -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -framework GoogleMaps -framework GoogleMapsBase -framework GoogleMapsCore -liDebug2 -Xlinker -dependency_info -Xlinker /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/B4i\ Example_dependency_info.dat -o /Users/rock/Documents/Programming/B4i/1-\ MacServer/UploadedProjects/<user id>/Payload/B4i\ Example.app/B4i\ Example
ld: warning: ignoring file ../../Libs/GoogleMaps.framework/GoogleMaps, file was built for unsupported file format ( 0x56 0x65 0x72 0x73 0x69 0x6F 0x6E 0x73 0x2F 0x43 0x75 0x72 0x72 0x65 0x6E 0x74 ) which is not the architecture being linked (armv7): ../../Libs/GoogleMaps.framework/GoogleMaps
ld: warning: ignoring file ../../Libs/GoogleMapsBase.framework/GoogleMapsBase, file was built for unsupported file format ( 0x56 0x65 0x72 0x73 0x69 0x6F 0x6E 0x73 0x2F 0x43 0x75 0x72 0x72 0x65 0x6E 0x74 ) which is not the architecture being linked (armv7): ../../Libs/GoogleMapsBase.framework/GoogleMapsBase
ld: warning: ignoring file ../../Libs/GoogleMapsCore.framework/GoogleMapsCore, file was built for unsupported file format ( 0x56 0x65 0x72 0x73 0x69 0x6F 0x6E 0x73 0x2F 0x43 0x75 0x72 0x72 0x65 0x6E 0x74 ) which is not the architecture being linked (armv7): ../../Libs/GoogleMapsCore.framework/GoogleMapsCore
ld: warning: object file (../../Libs/libiGoogleMaps.a(B4IGoogleMap.o)) was built for newer iOS version (8.0) than being linked (7.0)
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_GMSCameraPosition", referenced from:
objc-class-ref in libiGoogleMaps.a(B4IGoogleMap.o)
"_OBJC_CLASS_$_GMSMapView", referenced from:
objc-class-ref in libiGoogleMaps.a(B4IGoogleMap.o)
"_OBJC_CLASS_$_GMSMarker", referenced from:
objc-class-ref in libiGoogleMaps.a(B4IGoogleMap.o)
"_OBJC_CLASS_$_GMSMutablePath", referenced from:
objc-class-ref in libiGoogleMaps.a(B4IGoogleMap.o)
"_OBJC_CLASS_$_GMSPath", referenced from:
objc-class-ref in libiGoogleMaps.a(B4IGoogleMap.o)
"_OBJC_CLASS_$_GMSPolyline", referenced from:
objc-class-ref in libiGoogleMaps.a(B4IGoogleMap.o)
"_OBJC_CLASS_$_GMSServices", referenced from:
objc-class-ref in libiGoogleMaps.a(B4IGoogleMap.o)
"_OBJC_CLASS_$_GMSUISettings", referenced from:
objc-class-ref in libiGoogleMaps.a(B4IGoogleMap.o)
ld: symbol(s) not found 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/B4i\ Example.app/B4i\ Example normal armv7
(1 failure)
 
Upvote 0

webhost.company

Active Member
Licensed User
Longtime User
I download new version framework and solved compile
But it again get error below
CoreData: Failed to load optimized model at path '/Users/rock/Library/Developer/CoreSimulator/Devices/88E156B9-1844-4D5A-B74D-E09C41754D1C/data/Containers/Bundle/Application/1DBC5C06-8601-4E45-93EB-2E4BF060C07B/B4i Example.app/GoogleMaps.bundle/GMSCacheStorage.momd/Storage.omo'
 
Upvote 0
Top