I am getting “Xcode project is not up to date, update it with task moeUpdateXcodeSettings” during a build. I then try to run “./gradlew moeUpdateXcodeSettings -Pmoe.forced.update”, but I get the following error:
Error:FAILURE: Build failed with an exception.
- What went wrong:
Task './gradlew' not found in root project ‘MyProject’.
It does indeed look like gradlew is in the root of the project. I’m running it from the “Execute Gradle Task” button in the gradle projects tab. Is this the correct place to do so?
The issue that has me trying to run these is because I created a UIViewController in java, but when I open the project in Xcode, I cannot find a corresponding .m file to wire up Outlets and Actions in.