https://ton.twimg.com/syndication/twitterkit/ios/3.1.1/Twitter-Kit-iOS.zip
我通过这个链接手动安装TwitterKit 3.1.1。
但是无法加载到模拟器,“这个应用程序无法安装。”
也不能加载到设备(IPhone),“应用程序安装失败。无法写入设备。”
怎么修呢?
请指点..。
发布于 2017-12-19 23:15:30
这个问题源于石川提到的不正确的设置。我想把整个错误全部张贴出来,以防其他人遇到这个问题:
来自:~/Library/Logs/CoreSimulator/coresimulator.log:
:installApplication:withOptions: Error ::Error Domain=IXUserPresentableErrorDomain Code=1“此应用程序此时无法安装。”此时无法安装/Users/userName/Library/Developer/CoreSimulator/Devices/08FE45B1-C973-45B4-816F-443BD6060102/data/Library/Caches/com.apple.mobile.installd.staging/temp.9KckPp/extracted/Payload/TwitterPart2.app/Frameworks/TwitterCore.framework {NSLocalizedDescription=This应用程序。,路径UserInfo=中的NSUnderlyingError=0x7f83c58969c0 {Error Domain=MIInstallerErrorDomain Code=11 "Bundle“在其Info.plist”UserInfo={LegacyErrorString=MissingBundleExecutable,FunctionName=-MIExecutableBundle _validateWithError:,SourceFileLine=78“中丢失或无效。路径/Users/userName/Library/Developer/CoreSimulator/Devices/08FE45B1-C973-45B4-816F-443BD6060102/data/Library/Caches/com.apple.mobile.installd.staging/temp.9KckPp/extracted/Payload/TwitterPart2.app/Frameworks/TwitterCore.framework中的NSLocalizedDescription=Bundle在其Info.plist}}中丢失或无效的CFBundleExecutable
问题是TwitterCore被嵌入了。
发布于 2017-11-27 06:30:19
我猜你不小心嵌入了TwitterCore。在我的例子中,从嵌入式二进制文件中删除TwitterCore解决了这个问题。
事实上,文献资料说:
确认您正确设置了项目。
https://stackoverflow.com/questions/46444690
复制相似问题