经常遇到此类问题,在网上查来查去都说是权限问题,按照步骤一步步来,也未能解决问题。本质上就是权限问题
/Users/xinfulicai/Library/Developer/Xcode/DerivedData/Unity-iPhone-eergmgqfyidfaoajudjuphqjkfxh/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForProfiling-iphoneos/Unity-iPhone.build/Script-033966F41B18B03000ECD701.sh: /Users/xinfulicai/Downloads/Xcode/MapFileParser.sh: /bin/sh: bad interpreter: Operation not permitted
Command PhaseScriptExecution failed with a nonzero exit code
此命令删除元数据文件,允许您执行可执行文件。com.apple.quarantine
$ xattr -rd com.apple.quarantine [directory containing the executables]
$ xattr -rd com.apple.quarantine /android-sdk/
按照此博文顺利解决