diff --git a/lib/motion/project/template/ios/config.rb b/lib/motion/project/template/ios/config.rb index 1afdaee6..d18f350f 100644 --- a/lib/motion/project/template/ios/config.rb +++ b/lib/motion/project/template/ios/config.rb @@ -456,10 +456,10 @@ EOS - (void)appLaunched:(id)notification { - // Give a bit of time for the simulator to attach... - [self performSelector:@selector(runSpecs) withObject:nil afterDelay:0.3]; // unregister observer to avoid duplicate invocation [[NSNotificationCenter defaultCenter] removeObserver:self name:UIApplicationDidBecomeActiveNotification object:nil]; + // Give a bit of time for the simulator to attach... + [self performSelector:@selector(runSpecs) withObject:nil afterDelay:0.3]; } - (void)runSpecs diff --git a/vm b/vm index f85eebc4..0c2d1aa3 160000 --- a/vm +++ b/vm @@ -1 +1 @@ -Subproject commit f85eebc4f4c7f7c55bd04fbc0433930686bb4695 +Subproject commit 0c2d1aa351fdec06c6481474827e043b1d2581c2