Failed to load Info.plist from bundle

38,794

Solution 1

I had tried all suggestion and none of them work Then I tried to Reset content and Setting of simulator and it worked for me. :)

Solution 2

Simply

Just quit the simulator and open it again and it should works fine

Solution 3

If you're still running into this issue after trying all the reset, checkout this answer to a similar question: https://stackoverflow.com/a/61846384/1341768

In your podfile replace:

use_frameworks! 

with :

use_frameworks! :linkage => :static

Solution 4

None of the above suggestions worked for me.

Changed the Embed setting for the complained framework to Do Not Embed resolved the issue. :)

Build Settings

Solution 5

1: Remove app from simulator,

2: Product > Clean ,

3: Simulator > Hardware > Reboot ,

It solved my problem. In case it doesn't resolved, change your bundle identifier.

Share:
38,794
Chanchal Raj
Author by

Chanchal Raj

Updated on July 05, 2022

Comments

  • Chanchal Raj
    Chanchal Raj almost 2 years

    Cannot run app. Failed to load Info.plist from bundle error occurs. When I CMD+K clean the project, it runs fine. But I have to clean the project every time I make changes and run the app.

    enter image description here

    Following is the screenshot of my podfile: enter image description here

  • Chanchal Raj
    Chanchal Raj over 7 years
    But I am not using CoreData.
  • Brooks Hanes
    Brooks Hanes about 7 years
    FWIW this is not in the simulated phone itself, but in the Mac menu while you're running the Simulator app, up near the Apple in the upper left portion of your screen: Click "Simulator" then "Reset Content and Settings..."
  • ArdenDev
    ArdenDev almost 7 years
    In addition to resetting the contents in simulator, also shutdown Xcode and clean the derived data folder. That worked for me.
  • Chanchal Raj
    Chanchal Raj almost 7 years
    I did already mention in the question that I am already cleaning the project and it solves the problem temporarily i.e. I need to do it every time and it's not a permanent solution.
  • Chanchal Raj
    Chanchal Raj almost 7 years
    I did already mention in the question that I am already cleaning the project and it solves the problem temporarily i.e. I need to do it every time and it's not a permanent solution. Even trying reset the content and settings of the simulator solves the problem temporally.
  • Aashish
    Aashish almost 7 years
    Well, this error occurs due to 'RealmSwift'. When you try to write in realm in certain directory, this error occurs, due to the conflicts in overwriting in realm.
  • Vinay Krishna Gupta
    Vinay Krishna Gupta almost 7 years
    Check your Bundle Identifier too. I corrected it and it solved my problem.
  • nefarianblack
    nefarianblack over 6 years
    this happened to me when I changes the BundleID of the app. Resetting content did the trick.
  • anticafe
    anticafe over 5 years
    I try but it still doesn't resolve this issue. FYI, my build is based on React-Native.
  • ugur
    ugur over 4 years
    removing from Build Phases->Embedded Frameworks worked for me.
  • Mahdieh Shavandi
    Mahdieh Shavandi over 2 years
    Thanks a lot ! This should be the accepted answer
  • Erik Escobedo
    Erik Escobedo about 2 years
    30 minutes?!! More like my entire morning :C