Hello,
an application which was running on the simulator without problems could not be installed on the iPhone 6. Signing was not the problem. And I could install and Xcode-Obj-C-apps on the iPhone without any problem.
I could reproduce the problem with the simplest possible MOE app (just created a default Androis project and added a default MOE module).
I noticed that in spite of the error the app seems to be installed and is able to run. Of course - debugging on the device isn’t possible in the current situation.
I would highly appreciate any hint/help how to solve the problem.
Here are the log messages showing the bug/failure:
Incremental java compilation is an incubating feature.
Using already downloaded SDK: /Users/bernert/.moe/moe-sdk-1.3.3
:ios:compileJava UP-TO-DATE
:ios:processResources UP-TO-DATE
:ios:classes UP-TO-DATE
:ios:moeMainProGuard UP-TO-DATE
:ios:moeMainRetrolambda UP-TO-DATE
:ios:moeGenerateUIObjCInterfaces
:ios:moeMainDex UP-TO-DATE
:ios:moeMainReleaseArm64Dex2Oat UP-TO-DATE
:ios:moeMainResourcePackager UP-TO-DATE
:ios:moeMainStartupProvider UP-TO-DATE
:ios:moeMainReleaseArm64IphoneosXcodeProvider
:ios:moeMainReleaseArmDex2Oat UP-TO-DATE
:ios:moeMainReleaseArmv7IphoneosXcodeProvider
:ios:moeMainReleaseArmv7sIphoneosXcodeProvider
:ios:moeMainReleaseIphoneosXcodeBuild
:ios:moeLaunch
Waiting for iOS Device…
Uploading:
- FileUpload@6% CodeResources
- FileUpload@12% application.jar
- FileUpload@18% 01J-lp-oVM-view-Ze5-6b-2t3.nib
- FileUpload@25% Info.plist
- FileUpload@31% UIViewController-01J-lp-oVM.nib
- FileUpload@37% BYZ-38-t0r-view-8bC-Xf-vdC.nib
- FileUpload@43% Info.plist
- FileUpload@50% UIViewController-BYZ-38-t0r.nib
- FileUpload@56% embedded.mobileprovision
- FileUpload@62% CodeResources
- FileUpload@68% Info.plist
- FileUpload@75% MOE
- FileUpload@81% Info.plist
- FileUpload@87% PkgInfo
- FileUpload@93% preregister.txt
- FileUpload@100% proj
Installing:
- Upgrade@5% CreatingStagingDirectory
- Upgrade@15% ExtractingPackage
- Upgrade@20% InspectingPackage
- Upgrade@20% TakingInstallLock
- Upgrade@30% PreflightingApplication
- Upgrade@30% InstallingEmbeddedProfile
- Upgrade@40% VerifyingApplication
- Upgrade@50% CreatingContainer
- Upgrade@60% InstallingApplication
- Upgrade@70% PostflightingApplication
- Upgrade@80% SandboxingApplication
- Upgrade@90% GeneratingApplicationMap
- Upgrade failed Unknown error
- Upgrade@0% null
ERROR: Failed to upgradeonly on device, Unknown error
Command failed: [/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/java, -Dfile.encoding=UTF-8, -Duser.country=DE, -Duser.language=de, -Duser.variant, -jar, /Users/bernert/.moe/moe-sdk-1.3.3/tools/ios-device.jar, --udid=9da92657f18ba43d898cbbb3b68e69b31b2dc1be, --app-path=/Users/bernert/Desktop/MyApplication/ios/build/moe/xcodebuild/Release-iphoneos/proj.app, --wait-for-device, --launch-arg=-args, --install-mode=upgradeonly]
:ios:moeLaunch FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:ios:moeLaunch’.
Process exited with non-zero exit value
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED