iOS Question Google Map

ivanomonti

Expert
Licensed User
Longtime User
B4X:
Sub mappaInitializa

   Dim l,t,w,h As Double
   
   l = 0
   t = 80%y
   w = 100%x
   h = 150
   
   mappa.Initialize("Mappa","1234567890")
   Page1.RootPanel.AddView(mappa,l,t,w,h)
   
End Sub

Error

B4X:
Application_Start
Error occurred on line: 86 (main)
GoogleMaps.bundle requires Google Maps SDK for iOS to be part of your target under 'Copy Bundle Resources'
Stack Trace: (
  CoreFoundation       <redacted> + 150
  libobjc.A.dylib      objc_exception_throw + 38
  CoreFoundation       <redacted> + 0
  B4i Example          +[GMSServices mapsBundle] + 166
  B4i Example          -[GMSAsyncInitServices sharedInitWithSync:] + 38
  B4i Example          -[GMSAsyncInitServices initSync] + 64
  B4i Example          +[GMSServices sharedServicesSync] + 132
  B4i Example          -[GMSMapView sharedInitWithServices:camera:] + 96
  B4i Example          -[GMSMapView initWithFrame:camera:] + 96
  B4i Example          +[GMSMapView mapWithFrame:camera:] + 72
B4i Example          -[B4IGoogleMap Initialize:::] + 246
CoreFoundation       <redacted> + 68
CoreFoundation       <redacted> + 300
B4i Example          +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1936
B4i Example          -[B4IShell runVoidMethod] + 210
B4i Example          -[B4IShell raiseEventImpl:method:args::] + 2002
B4i Example          -[B4IShellBI raiseEvent:event:params:] + 1280
B4i Example          __33-[B4I raiseUIEvent:event:params:]_block_invoke + 74
libdispatch.dylib    <redacted> + 10
libdispatch.dylib    <redacted> + 22
libdispatch.dylib    <redacted> + 712
CoreFoundation       <redacted> + 8
CoreFoundation       <redacted> + 1512
CoreFoundation       CFRunLoopRunSpecific + 476
CoreFoundation       CFRunLoopRunInMode + 106
GraphicsServices     GSEventRunModal + 136
UIKit                UIApplicationMain + 1440
B4i Example          main + 116
libdyld.dylib        <redacted> + 2
)
 

ivanomonti

Expert
Licensed User
Longtime User

Thank
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…