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.
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- Get the NSRange for the visible text after scroll
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Swift - hide pickerView after value selected
- How do you detect key up / key down events from a
- didBeginContact:(SKPhysicsContact *)contact not in
- Attempt to present UIAlertController on View Contr
Simply
Just quit the simulator and open it again and it should works fine
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
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.
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. :)
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
Remove the app from the Simulator worked well.