Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/22.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jsf-2/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Objective c xcodebuild被测试目标上的文本卡住了_Objective C_Testing_Literals_Xcodebuild - Fatal编程技术网

Objective c xcodebuild被测试目标上的文本卡住了

Objective c xcodebuild被测试目标上的文本卡住了,objective-c,testing,literals,xcodebuild,Objective C,Testing,Literals,Xcodebuild,我正试图在我的项目上集成测试,但我遇到了一个问题,当我在测试代码中添加文本时,xcodebuild在没有任何消息的情况下被卡住了。它将永远等待此消息: Touch /Users/serluca/Library/Developer/Xcode/DerivedData/my_app-glgzugfganivsggqoytrqgbvxlhi/Build/Products/Debug-iphonesimulator/RCAnalyticsTests.xctest cd /Users/serluca/Wo

我正试图在我的项目上集成测试,但我遇到了一个问题,当我在测试代码中添加文本时,xcodebuild在没有任何消息的情况下被卡住了。它将永远等待此消息:

Touch /Users/serluca/Library/Developer/Xcode/DerivedData/my_app-glgzugfganivsggqoytrqgbvxlhi/Build/Products/Debug-iphonesimulator/RCAnalyticsTests.xctest
cd /Users/serluca/Workspace/rc-app
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/serluca/bin"
/usr/bin/touch -c /Users/serluca/Library/Developer/Xcode/DerivedData/my_app-glgzugfganivsggqoytrqgbvxlhi/Build/Products/Debug-iphonesimulator/RCAnalyticsTests.xctest
如果我从XCode执行测试,它会工作,有什么建议吗? 这是我正在使用的命令:

xcodebuild -workspace 'my-workspace' -scheme 'my-scheme' -configuration "Debug" -destination 'platform=iOS Simulator,id=B0059CD3-FE9D-4DBE-9A8A-CBE7EE595D9A' -sdk iphonesimulator9.2 -verbose clean build test