Nativescript: Not working after upgrading to last MAC OS - Catalina

Created on 27 Dec 2019  路  1Comment  路  Source: NativeScript/NativeScript

After I upgraded to last MAC sistem I get this error when try to run ios with comand

tns debug ios --bundle --provision 4a6905a8-b946 --no-hmr

Command failed: ruby -e "require 'xcodeproj'; Xcodeproj::Config.new('mobile/platforms/ios/plugins-debug.xcconfig').merge(Xcodeproj::Config.new('mobile/node_modules/nativescript-ng-ripple/platforms/ios/build.xcconfig')).save_as(Pathname.new('mobile/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:inrequire'
from -e:1:in `

'

Anyone know what is an issue?

Most helpful comment

In the docs it's written to install xcodeproj via sudo gem install xcodeproj.

I installed ruby via brew and put ruby in my path variable to omit to install anything with sudo.

>All comments

In the docs it's written to install xcodeproj via sudo gem install xcodeproj.

I installed ruby via brew and put ruby in my path variable to omit to install anything with sudo.

Was this page helpful?
0 / 5 - 0 ratings