【发布时间】:2014-12-15 09:23:44
【问题描述】:
尽管XCode 在相同设置下可以毫无问题地构建,但我无法为该设备构建我的项目。
这是构建命令:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace /path/to/workspace/myProject.xcworkspace -scheme myScheme -configuration Debug -destination id=myDeviceIdentifier build
这是我得到的错误:
xcodebuild: error: The run destination [device name] is not valid for Running the scheme 'myScheme'.
[device name] doesn't match any of myProject.app's targeted device families. You can expand myProject.app's targeted device families to support [device name].
我确实检查了项目和所有子项目的目标设备系列,没问题。
从项目中删除大量文件引用后,问题出现的频率会降低。
你们中的一些人是否遇到过同样的问题,你知道如何解决它吗?
【问题讨论】:
标签: ios xcode6 xcodebuild xcode6.1