1. Command CopyPNGFile failed with a nonzero exit code
最近升级xcode之后出现的新问题 (xcode12.5)
Can't exec "xcrun": No such file or directory at /Applications/Xcode.app/Contents/Developer/usr/bin/copypng line 17. Use of uninitialized value $PNGCRUSH in scalar chomp at /Applications/Xcode.app/Contents/Developer/usr/bin/copypng line 18. sh: dirname: command not found Use of uninitialized value $args[0] in system at /Applications/Xcode.app/Contents/Developer/usr/bin/copypng line 89. Can't exec "": No such file or directory at /Applications/Xcode.app/Contents/Developer/usr/bin/copypng line 89. Use of uninitialized value $args[0] in join or string at /Applications/Xcode.app/Contents/Developer/usr/bin/copypng line 91. ERROR: Failed to run -q -iphone -f 0 -rem text /Users/admin/workSpace/projectname/projectname/file/AVPlayer/player_pause@2x.png /Users/admin/Library/Developer/Xcode/DerivedData/projectname-dhraqsmbiestqzhicfztskktllab/Build/Products/Debug-iphonesimulator/XueLeCloud.app/player_pause@2x.png Command CopyPNGFile failed with a nonzero exit code
将放置图片的文件夹改为 Player.bundle
2. TestFlight 需在iOS13以上才能下载(date:21/06/16)
2.1 已有TestFlight ,更新一下即可(会提示你下载一个近期适合你的版本),如果一直点击下载无法下载的话,可以FQ试试
2.2 没有TestFlight,如果该账号已经下载过TestFlight,可以在已购项目中找到TestFlight,重新下载即可。
如果该账号之前没有下载过TestFlight,暂时不知道怎么下载(不过借别人下载过的账号登录下载也是可以的)