Wrapper not found in ':ios'

I am new to Multi-os engine.

When I am creating a new engine module ios, it is giving me error 'wrapper not found in ‘:ios’.

gradle versions:
classpath ‘com.android.tools.build:gradle:4.0.1’

wrapper:
distributionUrl=https://services.gradle.org/distributions/gradle-6.1.1-all.zip

Screen Shot 2020-09-24 at 4.22.33 PM

Any help will be highly appreciated!

There seems to be some bugs in the plugin, I’ll look into it soon. For now you can manually fix this by:

  1. Open the file .idea/gradle.xml, remove the entire GradleProjectSettings that has externalProjectPath set to your ios module:
    image
  2. (Optional) Remove the rootProject.name = xxxxx line (if there is one) from the settings.gradle file.
  3. Reopen the project in AS, and everything should be working properly.

Now, I have this issue when I click on run ‘ios’ I get, ‘Execution failed for task ‘:ios:moeMainDebugIphonesimulatorXcodeBuild’.’ Screen Shot 2020-10-02 at 10.58.48 PM

Also, when I click on ios configuration the module is empty under project of ‘ios’

Screen Shot 2020-10-02 at 11.01.42 PM

Please help

Thank you.

Make sure you are using the latest moe gradle plugin. Your project is created with an old MOE intellij plugin which by default uses an out-dated moe gradle plugin.

1 Like