Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GoogleMaps SDK - Failed to load Info.plist

I'm following the instructions to manually install GoogleMaps and GooglePlaces SDKs (v3.0.3) and after dragging the frameworks, adding to the project target, and copying the bundle resources, the project successfully builds but fails to install on the simulator with the following error:

Failed to load Info.plist from bundle at path 
/Users/raphaeloliveira/Library/Developer/CoreSimulator/
Devices/DF9C1649-ED71-47D9-9E36-28F53FF59B24/data/Library/Caches/
com.apple.mobile.installd.staging/
temp.xSOM90/extracted/MyApp.app/Frameworks/GoogleMapsBase.framework

The downloaded zip files indeed don't include a plist on the framework folder which is odd. I noticed that the bundle resources for the GooglePlaces SDK does contain an Info.plist but that doesn't seem to suffice, even when dragger under .framework/. Has anyone experienced this and found a solution or workaround?

PS: cleaning, deleting derived data, restarting simulator and XCode workarounds don't work.

like image 457
Raphael Oliveira Avatar asked Feb 03 '23 20:02

Raphael Oliveira


1 Answers

I had the same problem with SpotifySDK. And I solved it as indicated in the comment. It has to be in "Linked Frameworks and Libraries", but not in "Embedded Binaries". You both find them in "build phases".

like image 163
vegitojor Avatar answered Feb 06 '23 09:02

vegitojor