Target "buildIOS" started.
Task "exec" started.
Running command: /Volumes/X5/WeX5/model/Native/.workspace/C72C1959B91000017D181C1F120BC5E0/build/platforms/ios/cordova/build --debug --device
ERROR building one of the platforms: Error: /Volumes/X5/WeX5/model/Native/.workspace/C72C1959B91000017D181C1F120BC5E0/build/platforms/ios/cordova/build: Command failed with exit code 2
You may not have the required environment or OS to build this project
dyld: Library not loaded: @rpath/XCTest.framework/Versions/A/XCTest
Referenced from: /Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation
Reason: no suitable image found. Did find:
/Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework/Versions/A/../../../../Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks//XCTest.framework/Versions/A/XCTest: open() failed with errno=22
Error: /Volumes/X5/WeX5/model/Native/.workspace/C72C1959B91000017D181C1F120BC5E0/build/platforms/ios/cordova/build: Command failed with exit code 2
****ERROR****: Task "exec" finished with error.
****ERROR****: Target "buildIOS" finished with error.
****ERROR****: Build finished with error.
****ERROR****: 错误信息: exec returned: 1
****ERROR****: 如不能确定具体问题,可参考常见问题: http://wex5.com/cn/bbs/thread-82002-1-1.html
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
/Library/Developer/CommandLineTools 这个工具是xcode自带的吗 我在系统里找不到这个路径的工具
Target "buildIOS" started.
Task "exec" started.
Running command: /Users/x5/Desktop/WeX5_V3.5-mac/model/Native/.workspace/C72C1959B91000017D181C1F120BC5E0/build/platforms/ios/cordova/build --debug --device
ERROR building one of the platforms: Error: /Users/x5/Desktop/WeX5_V3.5-mac/model/Native/.workspace/C72C1959B91000017D181C1F120BC5E0/build/platforms/ios/cordova/build: Command failed with exit code 2
You may not have the required environment or OS to build this project
dyld: Library not loaded: @rpath/XCTest.framework/Versions/A/XCTest
Referenced from: /Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework/Versions/A/IDEFoundation
Reason: no suitable image found. Did find:
/Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework/Versions/A/../../../../Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks//XCTest.framework/Versions/A/XCTest: open() failed with errno=22
Error: /Users/x5/Desktop/WeX5_V3.5-mac/model/Native/.workspace/C72C1959B91000017D181C1F120BC5E0/build/platforms/ios/cordova/build: Command failed with exit code 2
****ERROR****: Task "exec" finished with error.
****ERROR****: Target "buildIOS" finished with error.
****ERROR****: Build finished with error.
****ERROR****: 错误信息: exec returned: 1
****ERROR****: 如不能确定具体问题,可参考常见问题: http://wex5.com/cn/bbs/thread-82002-1-1.html