Failed to load Info.plist from bundle
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. :)
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.
Chanchal Raj
Updated on July 05, 2022Comments
-
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. -
Chanchal Raj over 7 yearsBut I am not using CoreData.
-
Brooks Hanes about 7 yearsFWIW 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 almost 7 yearsIn addition to resetting the contents in simulator, also shutdown Xcode and clean the derived data folder. That worked for me.
-
Chanchal Raj almost 7 yearsI 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 almost 7 yearsI 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 almost 7 yearsWell, 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 almost 7 yearsCheck your Bundle Identifier too. I corrected it and it solved my problem.
-
nefarianblack over 6 yearsthis happened to me when I changes the BundleID of the app. Resetting content did the trick.
-
anticafe over 5 yearsI try but it still doesn't resolve this issue. FYI, my build is based on React-Native.
-
ugur over 4 yearsremoving from Build Phases->Embedded Frameworks worked for me.
-
Mahdieh Shavandi over 2 yearsThanks a lot ! This should be the accepted answer
-
Erik Escobedo about 2 years30 minutes?!! More like my entire morning :C