【发布时间】:2017-01-11 17:23:49
【问题描述】:
在尝试归档 iOS 项目时,我的 Xcode 开始出现异常。
- 所有文件都在原来的位置
- 我试图返回上一个提交
- 尝试重启 Xcode
- 我也尝试过清理构建并手动删除整个构建文件夹
- 在项目设置中更改这些
Asset Catalog App Icon Set Name和Asset Catalog Launch Image Set Name - 重建 Images.xcassets
这些都没有帮助,我仍然看到同样的错误。
错误总是发生在构建过程的最后阶段(Compile asset catalogs),。
Xcode 控制台:
CompileAssetCatalog build/Build/Intermediates/ArchiveIntermediates/reactproject/InstallationBuildProductsLocation/Applications/reactproject.app build/Build/Intermediates/reactproject/Images.xcassets
cd /Users/user/Developer/reactproject/ios
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/usr/bin/actool --output-format human-readable-text --notices --warnings --export-dependency-info /Users/user/Developer/reactproject/ios/build/Build/Intermediates/ArchiveIntermediates/reactproject/IntermediateBuildFilesPath/reactproject.build/Release-iphoneos/reactproject.build/assetcatalog_dependencies --output-partial-info-plist /Users/user/Developer/reactproject/ios/build/Build/Intermediates/ArchiveIntermediates/reactproject/IntermediateBuildFilesPath/reactproject.build/Release-iphoneos/reactproject.build/assetcatalog_generated_info.plist --app-icon AppIcon --launch-image LaunchImage --compress-pngs --enable-on-demand-resources YES --sticker-pack-identifier-prefix com.example.reactproject.sticker-pack. --target-device iphone --target-device ipad --minimum-deployment-target 8.0 --platform iphoneos --product-type com.apple.product-type.application --compile /Users/user/Developer/reactproject/ios/build/Build/Intermediates/ArchiveIntermediates/reactproject/InstallationBuildProductsLocation/Applications/reactproject.app /Users/user/Developer/reactproject/ios/build/Build/Intermediates/reactproject/Images.xcassets
/* com.apple.actool.errors */
/Users/user/Developer/reactproject/ios/build/Build/Intermediates/reactproject/Images.xcassets: error: None of the input catalogs contained a matching app icon set named "AppIcon".
/Users/user/Developer/reactproject/ios/build/Build/Intermediates/reactproject/Images.xcassets: error: None of the input catalogs contained a matching launch image set named "LaunchImage".
/* com.apple.actool.notices */
/Users/user/Developer/reactproject/ios/build/Build/Intermediates/reactproject/Images.xcassets: warning: Failed to read file attributes for "/Users/user/Developer/reactproject/ios/build/Build/Intermediates/reactproject/Images.xcassets"
Failure Reason: No such file or directory
/* com.apple.actool.compilation-results */
/Users/user/Developer/reactproject/ios/build/Build/Intermediates/ArchiveIntermediates/reactproject/IntermediateBuildFilesPath/reactproject.build/Release-iphoneos/reactproject.build/assetcatalog_generated_info.plist
【问题讨论】:
标签: ios xcode build xcode8 asset-catalog