dapriett / nativescript-google-maps-sdk

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

Undefined symbols for architecture i386 #406

Open mansurov1024 opened 4 years ago

mansurov1024 commented 4 years ago

After recent update of nativescript I have following message:

Done! Running time: 5.40816 sec Saving metadata generation's stderr stream to: /Users/user/NativeScriptProjects/HelloWorld2/platforms/ios/build/Debug-iphonesimulator/metadata-generation-stderr-x86_64.txt ~/NativeScriptProjects/HelloWorld2/platforms/ios Undefined symbols for architecture i386: "___isPlatformVersionAtLeast", referenced from: -[UIView(GMSSafeAreaSupport) gms_safeAreaInsets] in GoogleMaps -[GMSScreenInfo initWithUIScreen:] in GoogleMaps -[GMSx_QTMCollectionViewController viewDidLoad] in GoogleMaps -[GMSx_QTMCollectionViewController viewDidLayoutSubviews] in GoogleMaps -[GMSx_QTMCollectionViewStyleController contentViewInsetsForCellWithAttribute:] in GoogleMaps -[GMSx_QTMCollectionViewStyleController setInsetsContentViewsToSafeArea:] in GoogleMaps -[GMSx_QTMCollectionViewStyleController insetsAtSectionIndex:] in GoogleMaps ... ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) note: Using new build systemnote: Planning buildnote: Constructing build description BUILD FAILED

Environment: Xcode 10.1.0 Can't install newest xcode while I have old mac.

How to reproduce?

  1. tns create HelloWorld --template tns-template-blank-ng
  2. tns plugin add nativescript-google-maps-sdk
  3. tns debug ios
hmicn commented 4 years ago

I got the same issue here

public-virtualys commented 4 years ago

Same here. Newer Xcode fixes the problem ?

alexisconsuegra commented 4 years ago

I just have the same issue Xcode 10.1. Is this plugin no longer supported?

ju4nj3 commented 3 years ago

Change this line in node_modules/nativescript-google-maps-sdk/platforms/ios/Podfile to:

pod 'GoogleMaps', '<= 2.7.0'

gerlis18 commented 3 years ago

Change this line in node_modules/nativescript-google-maps-sdk/platforms/ios/Podfile to:

pod 'GoogleMaps', '<= 2.7.0'

Thanks @ju4nj3 it worked for me on Xcode 11.2.1.