iOS Question Google Maps - Minimum Project

Alberto Iglesias

Well-Known Member
Licensed User
Longtime User
This is a minimum project to google maps and still not working, now I got a strange error:


_OBJC_CLASS_$_CTTelephonyNetworkInfo"



I delete from this example the folder "Special/GoogleMaps.bundle" for for decrease the size of file to upload here.

Someone have any ideas how to fix this?

Thank you

Alberto Iglesias

BTW:
i'm using my local builder with:

* B4i v4.8.1
* Builder 4.6
  • iGoogleMaps: 1.40
  • libiGoogleMaps, size=167984, modified=08/17/2017 16:03:02
 

Attachments

  • GoogleMapsError.zip
    2.4 KB · Views: 196

Alberto Iglesias

Well-Known Member
Licensed User
Longtime User
B4i Version: 4.81
Parsing code. (0.00s)
Compiling code. (0.03s)
Compiling layouts code. (0.01s)
Compiling debugger engine code. (1.01s)
Building Xcode project (0.25s)
Sending data to remote compiler. Error
Out: Build settings from command line:
ARCHS = arm64
CODE_SIGN_IDENTITY = iPhone Developer: Alberto Iglesias (4NQ6Z8AU9X)
CONFIGURATION_BUILD_DIR = /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = Google Maps
PROVISIONING_PROFILE = a822fd96-bf65-4622-b7c5-baeef232e959

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

Check dependencies

Write auxiliary files
write-file /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Google\ Maps-all-target-headers.hmap
write-file /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Google\ Maps.hmap
write-file /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Google\ Maps-project-headers.hmap
write-file /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Google\ Maps-own-target-headers.hmap
write-file /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Google\ Maps-all-non-framework-target-headers.hmap
/bin/mkdir -p /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64
write-file /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/Google\ Maps.LinkFileList
write-file /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Google\ Maps-generated-files.hmap

Create product structure
/bin/mkdir -p /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/Payload/Google\ Maps.app

CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_main.o B4iProject/b4i_main.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/iglesias/Development/B4i-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/iglesias/.nvm/versions/node/v7.2.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch arm64 -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/9z/xpght2g16kj5v2qq0d9_tr2w0000gp/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 -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 -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=8.0 -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -iquote /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Google\ Maps-generated-files.hmap -I/Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Google\ Maps-own-target-headers.hmap -I/Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Google\ Maps-all-target-headers.hmap -iquote /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Google\ Maps-project-headers.hmap -I/Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/Payload/include -I/Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/arm64 -I/Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_main.d --serialize-diagnostics /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_main.dia -c /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/B4iProject/b4i_main.m -o /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_main.o

CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.o B4iProject/main.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/iglesias/Development/B4i-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/iglesias/.nvm/versions/node/v7.2.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch arm64 -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/9z/xpght2g16kj5v2qq0d9_tr2w0000gp/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 -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 -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=8.0 -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -iquote /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Google\ Maps-generated-files.hmap -I/Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Google\ Maps-own-target-headers.hmap -I/Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Google\ Maps-all-target-headers.hmap -iquote /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Google\ Maps-project-headers.hmap -I/Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/Payload/include -I/Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/arm64 -I/Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.d --serialize-diagnostics /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.dia -c /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/B4iProject/main.m -o /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.o

CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/LS_1.o B4iProject/LS_1.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/iglesias/Development/B4i-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/iglesias/.nvm/versions/node/v7.2.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch arm64 -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/9z/xpght2g16kj5v2qq0d9_tr2w0000gp/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 -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 -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=8.0 -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -iquote /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Google\ Maps-generated-files.hmap -I/Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Google\ Maps-own-target-headers.hmap -I/Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Google\ Maps-all-target-headers.hmap -iquote /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Google\ Maps-project-headers.hmap -I/Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/Payload/include -I/Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/arm64 -I/Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/Payload -F../../Libs -MMD -MT dependencies -MF /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/LS_1.d --serialize-diagnostics /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/LS_1.dia -c /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/B4iProject/LS_1.m -o /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/LS_1.o

Ld Payload/Google\ Maps.app/Google\ Maps normal arm64
cd /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>
export IPHONEOS_DEPLOYMENT_TARGET=8.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/iglesias/.nvm/versions/node/v7.2.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk -L/Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/Payload -L../../Libs -F/Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/Payload -F../../Libs -filelist /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/Google\ Maps.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=8.0 -Xlinker -object_path_lto -Xlinker /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/Google\ Maps_lto.o -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -ObjC -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/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/Google\ Maps_dependency_info.dat -o /Users/iglesias/Development/B4i-MacServer/UploadedProjects/<user id>/Payload/Google\ Maps.app/Google\ Maps
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_CTTelephonyNetworkInfo", referenced from:
objc-class-ref in GoogleMaps
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 Payload/Google\ Maps.app/Google\ Maps normal arm64
(1 failure)
 
Upvote 0

Alberto Iglesias

Well-Known Member
Licensed User
Longtime User
Upvote 0
Top