I am trying to setup my MacBook, so I can develop NativeScript apps for iOS. My app is pretty basic, and runs on my Dell laptop environment. I cloned my project on my MacBook, where I’d previously installed XCode, Node, NativeScript, etc. (I can create and run hello world on the MacBook).
When I try tns emulate ios in bash, or via ‘Launch on iOS’ in Visual Studio Code, I get the same error: Command xcodebuild failed with exit code 66. It also goes on to tell me that …/platforms/ios/spsequipment.xcodeproj does not exist. Here’s what I have tried:
- tns doctor (it ran for awhile and did a ton of stuff)
- sudo npm install xcodeproj (quick but it seemed to do something)
- sudo gem install xcodeproj
The error still appears. I’ve closed out and re-opened bash, as well as Visual Studio Code. What is causing this? I’m assuming there’s something environmental I need to install or set…but I don’t have the basic knowledge to figure it out and Googling the error turns up answers related to cordova, etc. I’m lost.