Reputation: 143
I generated a AWS Mobile hub iOS Swift application and tried to add Google Maps SDK using Cocoapods but after doing that It generates this Error
After searching several times I deleted the -ObjC linker flag and just added -force_load then it started giving Missing File or Directory error. How can I fix this.
I'm running on XCode 8.2, AWS Mobile hub project is Swift 2.3
PS: I tried adding use_frameworks! in Podfile.
Upvotes: 0
Views: 138
Reputation: 847
Instead of using the -ObjC flag, you need to use the -force_load flag specifically for the Google Maps SDK. if you use the -ObjC flag, it will require all libraries to be force loaded even if they are not used in your app.
Thanks, Rohan
Upvotes: 1