【发布时间】:2017-03-18 22:41:25
【问题描述】:
所以这是一个全新的 Mac Air.. 运行 Sierra。
当我跑步时 离子构建 ios
我明白了
** 构建失败 **
以下构建命令失败: CompileC /Users/foo/Library/Developer/Xcode/DerivedData/homepocket-gtpsstxtfgknjdgahozlqhgfgmmi/Build/Intermediates/homepocket.build/Debug-iphonesimulator/homepocket.build/Objects-normal/x86_64/AppDelegate.o homepocket/Classes/AppDelegate.m普通 x86_64 目标-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC /Users/foo/Library/Developer/Xcode/DerivedData/homepocket-gtpsstxtfgknjdgahozlqhgfgmmi/Build/Intermediates/homepocket.build/Debug-iphonesimulator/homepocket.build/Objects-normal/x86_64/MainViewController.o homepocket/Classes/MainViewController.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(2 次失败)
错误:命令的错误代码 65:xcodebuild with args: -xcconfig,/Users/foo/workspace/myproject_mobile/myproject/platforms/ios/cordova/build-debug.xcconfig,-workspace,myproject.xcworkspace,-scheme ,myproject,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone 5s,build,CONFIGURATION_BUILD_DIR=/Users/foo/workspace/myproject_mobile/myproject/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR =/Users/foo/workspace/myproject_mobile/myproject/platforms/ios/build/sharedpch
我通过苹果商店安装了最新的 xcode。 我通过 xcode ide 将机器设置为开发模式。 我已经通过 xcode 运行了仿真。 我可以成功地“离子构建 android”以及模拟。 我还运行了 sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
因为我看到 错误:xcode-select:错误:工具“xcodebuild”需要 Xcode,但活动开发者目录“/Library/Developer/CommandLineTools”是命令行工具实例
.. 请注意,所有这些都是来自 Apple 的新盒子。
【问题讨论】:
标签: ios xcode macos ionic-framework build