我得到以下错误:
/Users/avivelkayam/Library/Developer/Xcode/DerivedData/ProjectName-evucwwryclirvdbauuppyncmdfyp/Build/Intermediates.noindex/TrendyPalCustomer.build/Debug-iphoneos/ProjectName.build/Script-F4E471CC20FB2640005A6092.sh: line 2: /Users/avivelkayam/TrendyPal: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code
我试着取出和重新安装可可荚,但没有成功。有什么想法吗?
在我的案例中,它与Podfile和UITest依赖关系有关,在我删除UITestpods后,问题得到了解决。
以下是有问题的Podfile:
target 'YourApp' do
use_frameworks!
inhibit_all_warnings!
# Pods for YourApp
pod 'Whathever'
target 'YourAppTests' do
inherit! :search_paths
# Pods for testing
end
target 'YourAppUITests' do
inherit! :search_paths
# Pods for testing
end
end
这是一个固定的:
target 'YourApp' do
use_frameworks!
inhibit_all_warnings!
# Pods for YourApp
pod 'Whathever'
target 'YourAppTests' do
inherit! :search_paths
# Pods for testing
end
end
target 'YourAppUITests'
然后再次运行pod install