简体   繁体   English

.plist文件丢失但当前存在,因此无法运行应用

[英]Can't run app due to .plist file missing but its present

在此处输入图片说明

在此处输入图片说明 As per the error message I verified that .plist is available and i verified that the executable file name also present. 根据错误消息,我验证了.plist可用,并且验证了可执行文件的名称也存在。

I tried with simulator to same problem. 我尝试用模拟器来解决同样的问题。

I restarted Xcode and I cleaned my project but still same problem. 我重新启动了Xcode并清理了项目,但仍然存在相同的问题。

I didn't faced this problem before, I think you guys can help me. 我以前没有遇到过这个问题,我想你们可以帮助我。 Thanks! 谢谢!

I think that you accidentally have erased this key from your info.plist 我认为您不小心从info.plist中删除了此密钥

Executable File : $(EXECUTABLE_NAME)

在此处输入图片说明

this is the cause of your problem 这是你问题的原因

I hope this helps you 我希望这可以帮助你

Go to YourTarget > Build Settings > Packaging > Info.plist File and check here the path to your .plist file. 转到YourTarget > Build Settings > Packaging > Info.plist File然后在此处检查.plist文件的路径。

Also it would be helpful to clear your derived data folder, and re-build project again. 同样,清除derived data文件夹并再次重新生成项目也将很有帮助。

  1. delete info.plist then re include it to the last location same folder by dragging and add to targets 删除info.plist,然后通过拖动并添加到目标将其重新包含到同一文件夹的最后一个位置
  2. try shift+command+option+k this cleans your build folder. 尝试使用shift+command+option+k清理您的构建文件夹。
  3. check these link1 link2 .. 检查这些link1 link2 ..

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 应用程序因Info.plist文件麦克风中缺少目的字符串而被拒绝,但我无法在info.plist中添加说明 - App got rejected for missing Purpose String in Info.plist File Microphone, but I can't add the description in info.plist 由于来自appstore的Info.plist文件中缺少目的字符串,拒绝响应本机iOS应用程序 - Rejected react native iOS app due to Missing Purpose String in Info.plist File from appstore 应用因缺少info.plist键而被拒绝 - App rejected due to missing info.plist key 应用程序被拒绝:缺少Info.plist密钥“NSBluetoothPeripheralUsageDescription”但框架不存在 - App rejected: Missing Info.plist key “NSBluetoothPeripheralUsageDescription” but framework is not present 无法读取plist文件 - Can't Read plist File 仅观看由于缺少 HealthKit info.plist 键而被拒绝的应用程序二进制文件 - Watch only app binary rejected due to missing HealthKit info.plist keys 由于缺少 Info.plist,xcarchive 格式错误 - xcarchive malformed due to missing Info.plist 无法保存和加载plist文件 - Can't save and load plist file 无法在真实设备上更新plist文件 - Can't update plist file on real device 无法填写xcode项目,因为缺少info.plist - can't complie xcode project because missing info.plist
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM