Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WARNING: xcodeproj is not installed or is not configured properly

My nativescript project won't run, getting the error mentioned above. The Xcode command Line Tools is set.

Things i tried but didn't fix the problem:

sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
sudo xcode-select --reset
ns doctor ios

As you might have guessed, I have Xcode installed from the app store and I've also installed cocoapods and xcodeproj. This is the only warning that I get.

Any suggestions?

https://i.stack.imgur.com/byIaE.png

https://i.stack.imgur.com/TehVB.png

like image 395
Alexander H. Hausken Avatar asked May 15 '21 21:05

Alexander H. Hausken


1 Answers

Much like the cocoapods install, I had to direct where xcodeproj needed to be installed.

After running this:

sudo gem install -n /usr/local/bin xcodeproj

The issue resolved.

like image 165
David Avatar answered Nov 15 '22 04:11

David