0

I am getting the "Found an unexpected Mach-O header code: 1918975009" warning while archiving the project. I am using GoogleMaps framework and copying the GoogleMaps.Bundle to Copy Bundle Resources.

Referring to this I tried to remove the binary from Copy bundle resources but the application will get crash prompting exception: *** Terminating app due to uncaught exception 'GMSException', reason: 'Google Maps SDK for iOS requires GoogleMaps.bundle to be part of your target under 'Copy Bundle Resources'' Please help if I am mistaking anywhere.

Community
  • 1
  • 1
TechSavy
  • 797
  • 2
  • 8
  • 22

1 Answers1

1

As mentioned in comment, managing libraries via Cocoapods can resolve the issue. It manages the include path, linker flags and the bundled files automatically.

Raptor
  • 53,206
  • 45
  • 230
  • 366