https://ton.twimg.com/syndication/twitterkit/ios/3.1.1/Twitter-Kit-iOS.zip
我通过此链接手动安装 TwitterKit 3.1.1。
但无法加载到模拟器,“无法安装此应用。”
也无法加载到设备(iPhone),“应用安装失败。无法写入设备。”
如何解决?
请指点...
最佳答案
此问题源于 ishkawa 提到的不正确设置.我想完整地发布整个错误,以防其他人遇到问题:
来自: ~/Library/Logs/CoreSimulator/coresimulator.log:
: installApplication:withOptions:error::Error Domain=IXUserPresentableErrorDomain Code=1 “此时无法安装此应用程序。” UserInfo={NSLocalizedDescription=此时无法安装此应用程序。, NSUnderlyingError=0x7f83c58969c0 {Error Domain=MIInstallerErrorDomain Code=11 "Bundle at path/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 在其 Info.plist 中缺少或无效的 CFBundleExecutable"UserInfo= {LegacyErrorString=MissingBundleExecutable,FunctionName=-[MIExecutableBundle _validateWithError:],SourceFileLine=78,NSLocalizedDescription=Bundle at path/Users/userName/Library/Developer/CoreSimulator/Devices/08FE45B1-C973-45B4-816F-443BD6060102/data/图书馆/Caches/com.apple.mobile.installd.staging/temp.9KckPp/extracted/Payload/TwitterPart2.app/Frameworks/TwitterCore.framework 在其 Info.plist 中缺少或无效的 CFBundleExecutable}}}
问题在于 TwitterCore 是嵌入的。
- 打开应用的 Xcode 项目或工作区。
- 转到应用目标的常规配置页面。
- 从嵌入式二进制文件部分删除 TwitterCore.framework。
关于iOS twitterkit 3.1.3(3.1.1) 手动安装。 "This app was unable to be installed.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46444690/