iOS Question Build problem

mauro vicamini

Active Member
Licensed User
Longtime User
Hi Everyone,
I'm doing some little changes on some text on an iOS application that I've developed one year ago.
I've renewed the hosted builder server and successuflly recreated the b4i-bridge on my iPhone.
Now when I'm trying to test the app on the B4I Bridge the builder fails saying at the end:

B4X:
      ___79-[GMSExternalCacheAdapter loadTileForTileCoords:dataVersion:completionHandler:]_block_invoke in GoogleMaps
  "_kGMSWillTakeScreenshotNotification", referenced from:
      -[GMSCALayer renderInContext:] in GoogleMaps
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Showing first 200 notices only
Showing first 200 errors only


Error: ** BUILD FAILED **


The following build commands failed:
    Ld Payload/Revolution.app/Revolution normal armv7
(1 failure)
Attached there is the long full message.

What could it be the reason? I've to update something since last year? I don't have touched nothing except some text strings.
It seems that google maps library doesn't works for iOS 7. In this case how could use it also on iOS 7 like it was last year?

Please help me!

Thanks for the attention.
 

Attachments

  • build_error.txt
    172.3 KB · Views: 206

mauro vicamini

Active Member
Licensed User
Longtime User
Hi Erel,
I've tried as have you have wrote but now the builder says:
B4X:
Ld Payload/Revolution.app/Revolution normal armv7
    cd /Users/administrator/Documents/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:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.1.sdk -L/Users/administrator/Documents/UploadedProjects/<user id>/Payload -L../../Libs -F/Users/administrator/Documents/UploadedProjects/<user id>/Payload -F../../Libs -filelist /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/Revolution.LinkFileList -miphoneos-version-min=7.0 -Xlinker -object_path_lto -Xlinker /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/Revolution_lto.o -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -ObjC -lCore_v4 -framework Foundation -framework CoreGraphics -framework UIKit -liHttp -liSQL -liRandomAccessFile -liNetwork -liStringUtils -liLocation -liEncryption -liHUD -liGoogleMaps -liTableView -liJSON -framework AVFoundation -lsqlite3 -lz -framework CoreLocation -framework CoreData -framework CoreBluetooth -framework Accelerate -framework CoreText -framework GLKit -framework ImageIO -lc++ -licucore -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -framework GoogleMaps -framework GoogleMapsBase -framework GoogleMapsCore -liDebug2 -Xlinker -dependency_info -Xlinker /Users/administrator/Documents/UploadedProjects/<user id>/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/Revolution_dependency_info.dat -o /Users/administrator/Documents/UploadedProjects/<user id>/Payload/Revolution.app/Revolution
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_$_B4IResumableSub", referenced from:
      _OBJC_CLASS_$_B4IDebugResumableSub in libiDebug2.a(B4IDebugResumableSub.o)
  "_OBJC_METACLASS_$_B4IResumableSub", referenced from:
      _OBJC_METACLASS_$_B4IDebugResumableSub in libiDebug2.a(B4IDebugResumableSub.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/Revolution.app/Revolution normal armv7
(1 failure)
 
Upvote 0
Top