ひょっとしてCocoapodsを使っていますか ?
現在、実行スクリプトがすべてのアセットを見つけて大きなアーカイブにコンパイルする原因となる未解決の問題があります。これは、すべてのターゲットに対して望ましくない可能性があります。Copy Pods Resources
post_install
これが修正されるまで、簡単な解決策は次のようにフックを追加することPodfile
です:
# Fix broken copy-resources phase per https://github.com/CocoaPods/CocoaPods/issues/1546.
post_install do |installer|
installer.project.targets.each do |target|
scriptBaseName = "\"Pods/Target Support Files/#{target.name}/#{target.name}-resources\""
sh = (<<-EOT)
if [ -f #{scriptBaseName}.sh ]; then
if [ ! -f #{scriptBaseName}.sh.bak ]; then
cp #{scriptBaseName}.sh #{scriptBaseName}.sh.bak;
fi;
sed '/WRAPPER_EXTENSION/,/fi\\n/d' #{scriptBaseName}.sh > #{scriptBaseName}.sh.temp;
sed '/*.xcassets)/,/;;/d' #{scriptBaseName}.sh.temp > #{scriptBaseName}.sh;
rm #{scriptBaseName}.sh.temp;
fi;
EOT
`#{sh}`
end
end
上記のコード スニペットの功績は、問題スレッドのすべての親切な人々に送られます!