Hi,
when i upgrade my xcode to 8.1, i encountered two problems
- I can not run anymore my moe project with android studio on the iOS simulator, it throws exception.
- In the moe menu “Open Project In Xcode” option does not work anymore.
The exception thrown is below:
android studio: 2.2.2
gradle version: 2.14.1
xcode : 8.1
Simulator: Iphone 6 (10.1)
moe: 1.2.3
Exception:
/Users/user/Documents/Myapp/gradlew moeLaunch -Pmoe.launcher.options=no-build,config:Debug -Pmoe.launcher.simulators=56B56A1E-4A6E-4A21-89EC-69FA1544FCB3
Incremental java compilation is an incubating feature.
:ios:moeLaunch2016-10-28 00:46:42.711 simlauncher[14464:326968] +[SimDeviceSet defaultSet]: unrecognized selector sent to class 0x104a1d118
2016-10-28 00:46:42.711 simlauncher[14464:326968] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘+[SimDeviceSet defaultSet]: unrecognized selector sent to class 0x104a1d118’
*** First throw call stack:
(
0 CoreFoundation 0x00007fffa5e396fb __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffba640a2a objc_exception_throw + 48
2 CoreFoundation 0x00007fffa5eb9c04 +[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x00007fffa5dacf03 forwarding + 1059
4 CoreFoundation 0x00007fffa5daca58 _CF_forwarding_prep_0 + 120
5 simlauncher 0x000000010098c21d getSimDevice + 53
6 simlauncher 0x000000010098bdbb moe_main + 569
7 simlauncher 0x000000010098bb5c main + 275
8 libdyld.dylib 0x00007fffbaf1d255 start + 1
9 ??? 0x0000000000000004 0x0 + 4
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Command failed: [null]
FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:ios:moeLaunch’.Process exited with non-zero exit value
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 6.305 secs