未能加载信息。plist从包

时间:2023-02-05 14:10:52

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.

无法运行app。无法加载信息。从bundle错误中产生plist。当我CMD+K清理项目时,它运行良好。但是每次我做更改并运行应用程序时,我都要清理项目。

未能加载信息。plist从包

Following is the screenshot of my podfile: 未能加载信息。plist从包

下面是我的播客截图:

8 个解决方案

#1


58  

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

我尝试了所有的建议,但没有一个有效,然后我尝试重置内容和模拟器的设置,它对我有效。:)

#2


10  

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

只要退出模拟器,再打开它,它就会正常工作

#3


6  

1: Remove app from simulator,

1:从模拟器上删除app,

2: Product > Clean ,

2:产品>清洁,

3: Simulator > Hardware > Reboot ,

3:模拟器>硬件>重新启动,

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

它解决了我的问题。如果没有解决,请更改bundle标识符。

#4


1  

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.

这个错误是由“RealmSwift”导致的。当您试图在某个目录中写入领域时,由于与领域的重写冲突而发生此错误。

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

您可能希望在模拟器中重置内容和设置,并尝试使用Cmd+Shift+选项+K清理Xcode中的构建文件夹

#5


0  

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://*.com/a/24042126/5387768

更新:这个解决方案适合我:https://*.com/a/24042126/5387768

#6


0  

Remove the app from the Simulator worked well.

从模拟器中删除应用程序运行良好。

#7


0  

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.

如果重置模拟器不起作用。试着从iPhone6升级到iPhone5s。然后在iPhone6模拟器中运行,重新设置模拟器。它将开始工作。

#8


0  

Don't do anything. Just go to 'Product' -> 'Clean', and then Command + R, It works !

不做任何事。只需进入“Product”->“Clean”,然后命令+ R,就可以了!

#1


58  

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

我尝试了所有的建议,但没有一个有效,然后我尝试重置内容和模拟器的设置,它对我有效。:)

#2


10  

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

只要退出模拟器,再打开它,它就会正常工作

#3


6  

1: Remove app from simulator,

1:从模拟器上删除app,

2: Product > Clean ,

2:产品>清洁,

3: Simulator > Hardware > Reboot ,

3:模拟器>硬件>重新启动,

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

它解决了我的问题。如果没有解决,请更改bundle标识符。

#4


1  

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.

这个错误是由“RealmSwift”导致的。当您试图在某个目录中写入领域时,由于与领域的重写冲突而发生此错误。

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

您可能希望在模拟器中重置内容和设置,并尝试使用Cmd+Shift+选项+K清理Xcode中的构建文件夹

#5


0  

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://*.com/a/24042126/5387768

更新:这个解决方案适合我:https://*.com/a/24042126/5387768

#6


0  

Remove the app from the Simulator worked well.

从模拟器中删除应用程序运行良好。

#7


0  

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.

如果重置模拟器不起作用。试着从iPhone6升级到iPhone5s。然后在iPhone6模拟器中运行,重新设置模拟器。它将开始工作。

#8


0  

Don't do anything. Just go to 'Product' -> 'Clean', and then Command + R, It works !

不做任何事。只需进入“Product”->“Clean”,然后命令+ R,就可以了!