nativescript Starting iOS Simulator Cannot read property 'state' of undefined -


i'm trying follow nativescript setup on os x: http://docs.nativescript.org/angular/tutorial/ng-chapter

tns doctor tells me: no issues detected.

but when run tns run ios --emulator after build error:

starting ios simulator cannot read property 'state' of undefined 

what setup missing?

i had same problem, opened in xcode , realised didn't have simulators installed.

try either or both of these see if can build in xcode: open platforms/ios/*.xcworkspace/ open platforms/ios/*.xcodeproj/

... , if problem same mine, fix in xcode this...

xcode menu -> preferences -> downloads tab -> download newest ios simulator

for me worked downloading ios 9.1.


Comments

Popular posts from this blog

c# - Class in a list -

mysql - Django database model for my website -

ios - How to run a segue on itself OR another viewController -