dapriett / nativescript-google-maps-sdk

Cross Platform Google Maps SDK for Nativescript
MIT License
244 stars 169 forks source link

iOS + M1 - not works #485

Open wontroba666 opened 2 years ago

wontroba666 commented 2 years ago

hello, did anyone manage to use this package on the new M1? Unfortunately, it does not work for me, I have already lost a lot of time.

is there any alternative? I will be grateful for your help

dlcole commented 2 years ago

What kind of problems are you seeing?

wontroba666 commented 2 years ago

after installing Google Maps, Xcode 13 throws an error right at the start and keeps the app on Splashscreen. once removed, it goes back into action.

on the previous macbook with x xcode 12 i did not have this situation

Runtime initialization took 187ms 2021-12-02 15:26:49.837294+0100 appname[76107:561321] ***** Fatal JavaScript exception - application has been terminated. ***** 2021-12-02 15:26:49.837561+0100 appname[76107:561321] NativeScript encountered a fatal error: Uncaught Error: The specified module does not exist: . at require(:1:137) 2021-12-02 15:26:49.844973+0100 appname[76107:561321] *** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Uncaught Error: The specified module does not exist: . at require(:1:137) ', reason: '(null)' *** First throw call stack: ( 0 CoreFoundation 0x00000001138f9bb4 __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00000001119a2be7 objc_exception_throw + 48 2 NativeScript 0x000000010f0953ee _ZN3tns21NativeScriptException15OnUncaughtErrorEN2v85LocalINS1_7MessageEEENS2_INS1_5ValueEEE + 880 3 NativeScript 0x000000010f47d0f4 _ZN2v88internal14MessageHandler25ReportMessageNoExceptionsEPNS0_7IsolateEPKNS0_15MessageLocationENS0_6HandleINS0_6ObjectEEENS_5LocalINS_5ValueEEE + 356 4 NativeScript 0x000000010f47cf53 _ZN2v88internal14MessageHandler13ReportMessageEPNS0_7IsolateEPKNS0_15MessageLocationENS0_6HandleINS0_15JSMessageObjectEEE + 883 5 NativeScript 0x000000010f3b319f _ZN2v88internal7Isolate21ReportPendingMessagesEv + 751 6 NativeScript 0x000000010f2f06a5 _ZN2v88internal12_GLOBAL__N_16InvokeEPNS0_7IsolateERKNS1_12InvokeParamsE + 2085 7 NativeScript 0x000000010f2efe53 _ZN2v88internal9Execution4CallEPNS0_7IsolateENS0_6HandleINS0_6ObjectEEES6_iPS6_ + 227 8 NativeScript 0x000000010f1029a5 _ZN2v88Function4CallENS_5LocalINS_7ContextEEENS1_INS_5ValueEEEiPS5_ + 405 9 NativeScript 0x000000010f05e4b9 _ZN3tns14ModuleInternal9RunModuleEPN2v87IsolateENSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEE + 227 10 NativeScript 0x000000010f059182 _ZN3tns7Runtime13RunMainScriptEv + 86 11 NativeScript 0x000000010f08a332 +[NativeScript start:] + 540 12 appname 0x0000000102526f9a main + 634 13 dyld 0x000000010c71ae1e start_sim + 10 14 ??? 0x00000002040d54fe 0x0 + 8657917182 15 ??? 0x0000000000000003 0x0 + 3 ) libc++abi: terminating with uncaught exception of type NSException dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/user/Library/Developer/Xcode/DerivedData/appname-djlwzkflwqqgkiafecfovngmdkgd/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMTLCapture.dylib DYLD_FRAMEWORK_PATH=/Users/user/Library/Developer/Xcode/DerivedData/appname-djlwzkflwqqgkiafecfovngmdkgd/Build/Products/Debug-iphonesimulator *** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Uncaught Error: The specified module does not exist: . at require(:1:137) ', reason: '(null)' terminating with uncaught exception of type NSException CoreSimulator 776.4 - Device: iPhone 13 (06C13402-50A6-4D80-AB51-DC28578D236D) - Runtime: iOS 15.0 (19A339) - DeviceType: iPhone 13 (lldb)

res0 commented 2 years ago

@wontroba666 I have managed to run it using Rosetta Terminal