I got it running. Looks like it was a very rare bug with xcode and/or moe-gradle-plugin.
This is what I did.
- I created a fresh libGDX 1.9.8 project and run ./gradlew moeIpaBuild
I got the same error as above.
- I run ./gradlew moeIpaBuild --info to get more info about the subtasks which get called
Turns out the last task producing the error was causes by this subtask:
Starting process ‘command ‘xcrun’’. Working directory: /Users/tom/development/game/ios-moe Command: xcrun xcodebuild -exportArchive -archivePath /Users/tom/development/game/ios-moe/build/archive.xcarchive -exportPath /Users/tom/development/game/ios-moe/build -exportOptionsPlist /Users/tom/development/game/ios-moe/build/moe/export_options.plist\
- I manually run the command above adding -allowProvisioningUpdates to the end.
xcodebuild -exportArchive -archivePath /Users/tom/development/game/ios-moe/build/archive.xcarchive -exportPath /Users/tom/development/game/ios-moe/build -exportOptionsPlist /Users/tom/development/game/ios-moe/build/moe/export_options.plist -allowProvisioningUpdates
This time the task got executed.
Now comes the fun part. I run ./gradlew moeIpaBuild in my main project and this time everything worked. Kinda looks like a system/xcode-wide flag is now set and things work as expected.