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

 

posted on 2023-04-26 15:21  懂事长qingzZ  阅读(1213)  评论(0编辑  收藏  举报