Thank you, running these commands helped me narrow down several issues.
First the moeListSimulators command returned errors, until I plugged my iPhone in my Mac, which unlocked all the simulators. I have no idea why they were “locked” before, but as soon as I plugged the iPhone in (it’s a brand new one) simulators started appearing in IntelliJ, and the command stopped returning an error. Weird, but at least that’s one thing solved.
When I try moeLaunch, with my device plugged in, it successfully starts trying to installing it on the phone. However, I get stuck at this step :
- Upgrade@5% CreatingStagingDirectory
- Upgrade@15% ExtractingPackage
- Upgrade@20% InspectingPackage
- Upgrade@20% TakingInstallLock
- Upgrade@30% PreflightingApplication
- Upgrade@30% InstallingEmbeddedProfile
- Upgrade@40% VerifyingApplication
> Building 95% > :ios-moe:moeLaunch
It never goes past this step. Any idea ?
When I try the moeLaunch with -Pmoe.launcher.simulators=XXXXXX with one of the simulators, it successfully installed and started the app on a simulator, so yay ! That’s great
However, it’s totally fucked on IntelliJ. Neither with device or with simulator is working, I think the configuration is just screwed actually. Whether I try with simulator or device, I get :
/path_to_my_app/ios-moe/build/moe/xcodebuild/XcodeBuild-main-debug-iphoneos.properties (No such file or directory)
Intellij runs this command :
/Users/maxime/Documents/Games/OneTap/gradlew moeLaunch -Pmoe.launcher.options=no-build,no-install-on-target,config:Debug -Pmoe.launcher.devices=afdf405747afad492d42274328b2d3b13e991775