手动更改 xcode 签名,确定 xcode 可以编译通过,但是使用命令行就失败,提示 writeDictToFile 失败,并引起崩溃堆栈信息。请问是什么原因?@xdf
xctest-client.js:171:14 [master] pid:14817 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
xctest-client.js:170:14 [master] pid:14817 writeDictToFile:1269 open failed for /var/folders/ls/m44l9ppn3sl0wzbrk075_j4w0000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/1b402c998dff8e6a0fd9216971dfd19f/adce3347d3ed9dfc3366c620e14b149d11096ed7/ManifestCache.plist : No such file or directoryxctest-client.js:171:14 [master] pid:14817 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
xctest-client.js:170:14 [master] pid:14817 MDMCacheDirectoryManifest:1364 writeDictToFile failed to write to /var/folders/ls/m44l9ppn3sl0wzbrk075_j4w0000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/1b402c998dff8e6a0fd9216971dfd19f/adce3347d3ed9dfc3366c620e14b149d11096ed7/ManifestCache.plist : No such file or directoryxctest-client.js:171:14 [master] pid:14817 please check project: /usr/local/lib/node_modules/macaca-ios/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
xctest-client.js:170:14 [master] pid:14817 2016-12-02 16:51:32.952 xcodebuild[14826:486580] Error Domain=com.apple.dtdevicekit Code=-402620395 "App installation failed" UserInfo={NSLocalizedFailureReason=A valid provisioning profile for this executable was not found., com.apple.dtdevicekit.stacktrace=(
0 DTDeviceKitBase 0x000000010dc5337b DTDKCreateNSError + 113
1 DTDeviceKitBase
#105 楼 @xdf 我使用的 xcode7.2,不是 xcode 8,安装 Carthage 并 update 之后,仍然无法运行模拟器 sample。从 log 来看,应该是 xcode 编译存在问题:>> xctest-client.js:170:14 [master] pid:2464 2016-12-01 15:14:30.956 xcodebuild[2478:57797] Connection peer refused channel request for "dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface"; channel canceled
[求助] WebDriverAgent 编译不通过,错误如下:
error: unknown warning option '-Wno-double-promotion'; did you mean '-Wno-documentation'? [-Werror,-Wunknown-warning-option]
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1