Xcode 8.1 Upgrade

Hi,
when i upgrade my xcode to 8.1, i encountered two problems

  1. I can not run anymore my moe project with android studio on the iOS simulator, it throws exception.
  2. 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

We have a patch in the works for Xcode 8.1 support, we will create a new 1.2.x release shortly.

Best Regards,
Gergely

1 Like

thanks for that good news.

Dear kurul,

we cannot reproduce your second issue. Did Android Studio bring up any exceptions, error messages, etc., when you tried to open the project in Xcode?

No, there is no log or any exception in android studio,
in fact it is not so important for me, i can reach xcode project from finder.
If you did not encounter with that problem, maybe my project configuration causes, i dont know.
Thanks.

Dear kurul,

we just released Multi-OS Engine 1.2.4. It should fix Xcode 8.1 related issues.

Hi,

1.2.4 released alrady ?

Thanks

Hi Ivan,

yes it was, see above.

Best Regards,
Gergely

Hi,

How do i update the eclipse version ? There;'s no respond when I click look for update.

Thanks

Hi,

you only need to update the Gradle plugin dependency in your build.gradle file to pull down the new SDK. The Eclipse plugin does not need an update for Xcode 8.1 support.

Best Regards,
Gergely