Could you share your IDE log?
I am not sure which log to share. If I try to run the project the log is related to the absence of emulators:
Preformatted text:moeLaunchInvalid UDID string ‘’.
If I open the Run/Debug Configurations the following error within a pop-up appears:
Failed to populate list of simulators
Wow. Awesome, thanks! Will wait for fix.
For now I use Xcode 10.3 . Able to debug app. To change simulator device I modify .idea/workspace.xml.
In your Intellij/AS, open the Run/Debug Configurations dialog, make sure the error is popped up (if not, just reopen your project), then click the “Help” menu then “Show log in Finder(Explorer?)” and attach the file (make sure to remove any sensitive data from the log, or just copy-paste the part around the last stack trace).
The error persists even after switching back to Xcode 10.3?
Yes. I think it is because I have latest Android studio installed. I am not able to modify configuration. I still see “Failed to populate list of simulators” when I open Edit configuration window. Also not able to save configuration. It says that I need to select module. But modules dropdown is empty. I thought it is what your version is also going to fix. But I have two XCode versions now. So maybe that`s the reason.
Interesting… Could you also send me a copy of your Android Studio log?
Could you try this and see if that solve the problem?
Yeah, the plugin solved. By the way, I didn’t know that there was a Community Edition of the plugin, as soon as I removed the legacy one and installed the Community Edition everything worked. Thanks!
I updated plugins and now I can chose and change device. Also I leaved only XCode 11 and debug works from AS.
There is only one issue left. When I change simulator and save configuration I still see error “Please select a module”. It is not urgent since device is updated in config. Log attached. idea.log (1001.5 KB)
Ok I did find an issue in this plugin and I’ll make a fix ASAP.
I happy that MOE got a new breath with community. Unfortunately I do not have a time to participate yet. But I can help with issue reporting .
Ok for now a temporary solution is go to Preference -> Build, Execution, Deployment -> Gradle, select
Generate *.iml files for modules imported from Gradle
then reimport the gradle project, and the plugin should start working again. I’ll make this option selected by default in the next release.
MOE Intellij & Gradle Plugin Community Edition release 1.4.6 - Xcode 11 support
Weird. I do not have this option
Could you send me the ‘.idea/gradle.xml’ file in your project?
Also you could try deleting this file, then select File -> Sync Project with Gradle Files, then select File -> Invalidate Cache / Restart -> Invalidate and Restart and see if that solves the problem.
Could you try:
- Right click the root project
- Select Refresh Gradle project
Wow. This one worked!
Also there is one more thing in MOE after updating to latest XCode. After generating bindings in some classes I see build error: “cannot find symbol class Block_modifyAnimationsWithRepeatCountAutoreversesAnimations”. So every time I remove generated modifyAnimationsWithRepeatCountAutoreversesAnimations method.
Well to fix this require rebuild the SDK against the latest iOS SDK which I currently don’t have much free time to do (and properly test it). So I guess you just have to delete it every time you generate a new binding