我有一个我正在桌面上运行的NativeScript项目。当我把它克隆到我的笔记本电脑,我收到以下错误消息我运行tns run ios --emulator
后:命令xcodebuild失败,退出代码65 - NativeScript
Build settings from command line:
ARCHS = i386 x86_64
CODE_SIGN_IDENTITY =
CONFIGURATION_BUILD_DIR = /mypath/exampleproject/platforms/ios/build/emulator
ONLY_ACTIVE_ARCH = NO
SDKROOT = iphonesimulator10.3
SHARED_PRECOMPS_DIR = /mypath/exampleproject/platforms/ios/build/sharedpch
VALID_ARCHS = i386 x86_64
xcodebuild: error: The workspace named "exampleproject" does not contain a scheme named "exampleproject". The "-list" option can be used to find the names of the schemes in the workspace.
Command xcodebuild failed with exit code 65
难道是一个命名的事情吗?我开始为项目命名一件事,然后改变了它,但因为这些问题而改回原来的样子。我将它克隆到我的桌面到不同的文件夹,并运行tns run ios --emulator
并得到相同的问题,所以它绝对不是硬件问题。
我一直在回顾以下问题here,但似乎解决方案已经集成到我正在运行的NativeScript版本中。
笔记本:
NativeScript version 2.5.4
OS Version Sierra 10.12.1