9

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.

Raphael Oliveira
  • 7,751
  • 5
  • 47
  • 55

3 Answers3

10

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".

vegitojor
  • 101
  • 2
  • 2
    For my case, `General` > `Frameworks, Libraies, and Embedded Content` make it from *Embed & Sign* to **Do Not Embed**. Seems that if you want to embed a framework, it must have `info.plist`. – Ting Yi Shih Apr 29 '20 at 08:23
2

For my case, I just enabled the "copy only when installing" checkbox in the "build phase" > "embed framework".

The screenshot

Vyacheslav
  • 26,359
  • 19
  • 112
  • 194
1

Had the same problem, it was as simple as to set the frameworks to "Do not embed"

enter image description here

Thx to: https://developer.apple.com/forums/thread/126598

Red
  • 1,425
  • 1
  • 10
  • 15