ios NativeScript命令失败

bgibtngc  于 2023-05-30  发布在  iOS
关注(0)|答案(1)|浏览(206)

命令失败:ruby -e“require 'xcodeproj'; sourceConfig = Xcodeproj::Config.new('/Volumes/Macintosh HD - Data/WORK/ns-js/platforms/ios/plugins-debug. xcconfig')targetConfig = Xcodeproj::Config.new('/Volumes/Macintosh HD - Data/WORK/ns-js/App_Resources/iOS/build. xcconfig')if(sourceConfig.attributes.key?('IPHONEOS_DEPLOYMENT_TARGET')&& targetConfig.attributes.key?('IPHONEOS_DEPLOYMENT_TARGET'))sourceConfig.attributes.delete('IPHONEOS_DEPLOYMENT_TARGET')end sourceConfig.merge(targetConfig).保存_as(Pathname.new('/Volumes/Macintosh HD - Data/WORK/ns-js/platforms/ios/plugins-debug. xcconfig'))”/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require': cannot load such file -- xcodeproj (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require' from -e:1:in `'

我为Mac安装了所有ns依赖项。安装了ns-ts和ns-vue,得到了相同的错误。帮我解决这个问题

sc4hvdpw

sc4hvdpw1#

我还没有测试过Ruby 2.6,但我们看到ruby 2.7.2p137取得了成功

相关问题