本机脚本 Ios
NativeScript Ios
正在尝试 运行 本机脚本上的 iOS 模拟器,但始终无法打开应用程序...
这是它一直给我的错误:
Command failed: /bin/sh -c ruby -e "require 'xcodeproj'; Xcodeproj::Config.new('/Users/nanle/Documents/development/groceryTest/sample-Groceries/platforms/ios/plugins-debug.xcconfig').merge(Xcodeproj::Config.new('/Users/nanle/Documents/development/groceryTest/sample-Groceries/app/App_Resources/iOS/build.xcconfig')).save_as(Pathname.new('/Users/nanle/Documents/development/groceryTest/sample-Groceries/platforms/ios/plugins-debug.xcconfig'))"
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- xcodeproj (LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from -e:1:in `'
您缺少 xcodeproj,请尝试使用
安装它
sudo gem install xcodeproj
正在尝试 运行 本机脚本上的 iOS 模拟器,但始终无法打开应用程序...
这是它一直给我的错误:
Command failed: /bin/sh -c ruby -e "require 'xcodeproj'; Xcodeproj::Config.new('/Users/nanle/Documents/development/groceryTest/sample-Groceries/platforms/ios/plugins-debug.xcconfig').merge(Xcodeproj::Config.new('/Users/nanle/Documents/development/groceryTest/sample-Groceries/app/App_Resources/iOS/build.xcconfig')).save_as(Pathname.new('/Users/nanle/Documents/development/groceryTest/sample-Groceries/platforms/ios/plugins-debug.xcconfig'))" /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- xcodeproj (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require' from -e:1:in `'
您缺少 xcodeproj,请尝试使用
安装它sudo gem install xcodeproj