Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library fails to build on iOS Simulator-i386 #36

Closed
adeds opened this issue May 12, 2022 · 1 comment
Closed

Library fails to build on iOS Simulator-i386 #36

adeds opened this issue May 12, 2022 · 1 comment

Comments

@adeds
Copy link

adeds commented May 12, 2022

Im getting this output when trying to build for ios simulator

(similar with this issue #32 but different ios simulator)

ld: warning: directory not found for option '-F/Users/mycompany/Documents/myProject/googlemaps'
ld: warning: ignoring file /Users/mycompany/Library/Developer/Xcode/DerivedData/MyApp-dyxcihfvbqpmphdmhvfxbrijpiux/Build/Products/Release-iphonesimulator/GoogleMapsBase.framework/GoogleMapsBase, building for iOS Simulator-i386 but attempting to link with file built for iOS Simulator-x86_64
ld: warning: ignoring file /Users/mycompany/Library/Developer/Xcode/DerivedData/MyApp-dyxcihfvbqpmphdmhvfxbrijpiux/Build/Products/Release-iphonesimulator/GooglePlaces.framework/GooglePlaces, building for iOS Simulator-i386 but attempting to link with file built for iOS Simulator-x86_64
ld: warning: ignoring file /Users/mycompany/Library/Developer/Xcode/DerivedData/MyApp-dyxcihfvbqpmphdmhvfxbrijpiux/Build/Products/Release-iphonesimulator/GoogleMapsM4B.framework/GoogleMapsM4B, building for iOS Simulator-i386 but attempting to link with file built for iOS Simulator-x86_64
ld: warning: ignoring file /Users/mycompany/Library/Developer/Xcode/DerivedData/MyApp-dyxcihfvbqpmphdmhvfxbrijpiux/Build/Products/Release-iphonesimulator/GoogleMapsCore.framework/GoogleMapsCore, building for iOS Simulator-i386 but attempting to link with file built for iOS Simulator-x86_64
ld: warning: ignoring file /Users/mycompany/Library/Developer/Xcode/DerivedData/MyApp-dyxcihfvbqpmphdmhvfxbrijpiux/Build/Products/Release-iphonesimulator/GoogleMaps.framework/GoogleMaps, building for iOS Simulator-i386 but attempting to link with file built for iOS Simulator-x86_64
Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_GMSCameraPosition", referenced from:
      objc-class-ref in Presentation.o
  "_OBJC_CLASS_$_GMSCircle", referenced from:
      objc-class-ref in Presentation.o
  "_OBJC_CLASS_$_GMSMapView", referenced from:
      objc-class-ref in Presentation.o
  "_OBJC_CLASS_$_GMSMarker", referenced from:
      objc-class-ref in Presentation.o
  "_OBJC_CLASS_$_GMSServices", referenced from:
      objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@Dave861
Copy link

Dave861 commented May 13, 2022

Please close this as it is completely the same issue. This Google Maps version doesn't support Apple Sillicon natively and that's what crashes the simulator, any simulator that is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants