【发布时间】:2017-05-02 14:34:14
【问题描述】:
我有一个在桌面上运行的 NativeScript 项目。当我将它克隆到我的笔记本电脑时,我在运行 tns run ios --emulator 后收到以下错误消息:
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
【问题讨论】:
标签: ios xcode nativescript