Skip to Content
0
Apr 18 at 05:35 AM

Project building is failing with ruby -e "require 'xcodeproj';

331 Views Last edit Apr 18 at 07:47 PM 2 rev

While building the project we are getting the below error. Can you please help with this.

Command failed: ruby -e "require 'xcodeproj'; Xcodeproj::Config.new('/Users/garvitsingh/SAM Dev/platforms/ios/plugins-debug.xcconfig').merge(Xcodeproj::Config.new('/Users/garvitsingh/SAM Dev/node_modules/@nativescript-rtl/ui/platforms/ios/build.xcconfig')).save_as(Pathname.new('/Users/garvitsingh/SAM Dev/platforms/ios/plugins-debug.xcconfig'))"

/Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in `require': cannot load such file -- xcodeproj (LoadError)

from /Library/Ruby/Site/2.6.0/rubygems/core_ext/kernel_require.rb:85:in `require'

from -e:1:in `<main>'

Error: Failed to run tns prepare ios