PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/apple/Library/Developer/Xcode/DerivedData/ADOperatePro-aitcsxljjddxiyelsuthklrghbjf/Build/Intermediates.noindex/ADOperatePro.build/Debug-iphonesimulator/ADOperatePro.build/Script-3CE7C54F72AF8C188035571F.sh (in target 'ADOperatePro' from project 'ADOperatePro') cd /Users/apple/Desktop/JZ/ADOperatePro/adoperatepro/ADOperatePro /bin/sh -c /Users/apple/Library/Developer/Xcode/DerivedData/ADOperatePro-aitcsxljjddxiyelsuthklrghbjf/Build/Intermediates.noindex/ADOperatePro.build/Debug-iphonesimulator/ADOperatePro.build/Script-3CE7C54F72AF8C188035571F.sh /Users/apple/Library/Developer/Xcode/DerivedData/ADOperatePro-aitcsxljjddxiyelsuthklrghbjf/Build/Intermediates.noindex/ADOperatePro.build/Debug-iphonesimulator/ADOperatePro.build/Script-3CE7C54F72AF8C188035571F.sh: line 2: /Users/apple/Desktop/JZ/ADOperatePro/adoperatepro/ADOperatePro/../ADPodsPro/Pods/Target Support Files/Pods-ADOperatePro/Pods-ADOperatePro-frameworks.sh: Permission denied Command PhaseScriptExecution failed with a nonzero exit code 解决 方案 1. xcode左下角 搜 Pods-ADOperatePro-frameworks.sh Show in finder Pods-ADUserPro-frameworks.sh Pods-ADOperatePro-resources.sh 打开终端, 进入 目录 Pods-ADUserPro-frameworks.sh Pods-ADOperatePro-resources.sh 终端操作 以下代码 chmod a+x Pods-ADUserPro-frameworks.sh的路径 chmod a+x /Users/apple/Desktop/JZ/ADOperatePro/adoperatepro/ADPodsPro/Pods/Target\ Support\ Files/Pods-ADOperatePro/Pods-ADOperatePro-frameworks.sh chmod a+x Pods-ADOperatePro-resources.sh的路径 chmod a+x /Users/apple/Desktop/JZ/ADOperatePro/adoperatepro/ADPodsPro/Pods/Target\ Support\ Files/Pods-ADOperatePro/Pods-ADOperatePro-resources.sh
参考:
https://juejin.cn/post/6966479451622375461