Failed to load Info.plist from bundle

2019-03-22 11:22发布

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

8条回答
爷的心禁止访问
2楼-- · 2019-03-22 11:35

Simply

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

查看更多
The star\"
3楼-- · 2019-03-22 11:38

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 with realm.

You may want to Reset Content & Settings in simulator and also try cleaning your build folder in Xcode using Cmd+Shift+Option+K

查看更多
冷血范
4楼-- · 2019-03-22 11:41

If resetting the Simulator did't work. Try to change simulator like from iPhone6 to iPhone5s. Then later run in iPhone6 simulator and reset the Simulator again. It will start working.

查看更多
小情绪 Triste *
5楼-- · 2019-03-22 11:45

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. :)

查看更多
Ridiculous、
6楼-- · 2019-03-22 11:55

It is annoying. Temporary I remove app on simulator then rebuild project work but still waiting for a better solution This problem likely to a problem with core data i have meet in the past.

Update: this solution work for me: https://stackoverflow.com/a/24042126/5387768

查看更多
7楼-- · 2019-03-22 11:57

Remove the app from the Simulator worked well.

查看更多
登录 后发表回答