nativescript sqlite插件赢得';我不能在iOS上运行

nativescript sqlite插件赢得';我不能在iOS上运行,ios,sqlite,nativescript,Ios,Sqlite,Nativescript,在iOS上运行我的nativescript应用程序时遇到问题。我正在我的应用程序中使用nativescript sqlite插件,该插件在android上运行正常,但在iOS上甚至无法构建应用程序。以下是输出: john-imac:nextra-test johnt$ tns emulate ios Successfully prepared plugin nativescript-insomnia for ios. Successfully prepared plugin nativescri

在iOS上运行我的nativescript应用程序时遇到问题。我正在我的应用程序中使用
nativescript sqlite
插件,该插件在android上运行正常,但在iOS上甚至无法构建应用程序。以下是输出:

john-imac:nextra-test johnt$ tns emulate ios
Successfully prepared plugin nativescript-insomnia for ios.
Successfully prepared plugin nativescript-sqlite for ios.
Processing node_modules failed. Error: Command failed: /bin/sh -c ruby -e "require 'xcodeproj'; Xcodeproj::Config.new('/Users/johnt/Dropbox/NativeScript/nextra-test/platforms/ios/plugins-debug.xcconfig').merge(Xcodeproj::Config.new('/Users/johnt/Dropbox/NativeScript/nextra-test/node_modules/nativescript-sqlite/platforms/ios/build.xcconfig')).save_as(Pathname.new('/Users/johnt/Dropbox/NativeScript/nextra-test/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:inrequire'
from -e:1:in `

有人有什么想法吗?

我发现了这个问题。我没有安装正确的
gem

您可以使用
sudo gem install xcodeproj安装