[英]Can't run the app on iPhone Simulator because of missing files
I've got a project with several cocoapods dependendencies. 我有一个具有几个cocoapods相关性的项目。 One of them is OpenSSL-Universal
. 其中之一是OpenSSL-Universal
。 It worked for a while until a couple of days ago. 它工作了一段时间,直到几天前。
I have cocoapods 1.7.2
and Xcode 10.2.1
and when I try to run the app on a Simulator, I get this error: 我有cocoapods 1.7.2
和Xcode 10.2.1
,当我尝试在模拟器上运行应用程序时,出现以下错误:
This app could not be installed at this time. 目前无法安装此应用。
Failed to load Info.plist from bundle at path /Users/trevisil/Library/Developer/CoreSimulator/Devices/7362482B-3AF1-4419-A7FE-EB52AB22DCDC/data/Library/Caches/com.apple.mobile.installd.staging/temp.QmfWcQ/extracted/Payload/Lifepots.app/Frameworks/OpenSSL.framework 无法从路径/Users/trevisil/Library/Developer/CoreSimulator/Devices/7362482B-3AF1-4419-A7FE-EB52AB22DCDC/data/Library/Caches/com.apple.mobile.installd.staging/temp的捆绑包加载Info.plist .QmfWcQ /提取/有效载荷/Lifepots.app/Frameworks/OpenSSL.framework
I've tried to: 我试图:
Any other suggestion? 还有其他建议吗?
Now try to pod deintegrate
and then pod integrate
现在尝试将pod deintegrate
pod integrate
,然后将pod integrate
Close Xcode 关闭Xcode
Open terminal, select project directory and type command pod deintegrate
打开终端,选择项目目录并键入命令 pod deintegrate
After above process completed in terminal type pod integrate
or pod install
在终端 类型 pod integrate
或pod install
中完成上述过程之后
run
project
重新打开Xcode并run
project
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.