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

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -