Reason: Incompatible library version: libimobiledevice.dylib requires version 8.0.0 or later, but liblzma.5.dylib provides version 6.0.0
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at org.moe.ios.device.launcher.Main.loadNativeLibraries(Main.java:51)
at org.moe.ios.device.launcher.Main.main(Main.java:94)
FAILED
Mac Version: 10.13.1, I want to test directly on the mac (not remote)
MOS Version: 1.4.1
In the forum some people suggest to install the correct library on my mac. That is not possible for me, i am not the admin of he mac and the admin do not alow library changes.
Any other solution to test my app on the device?
Is there no solution to it?
See related comments in the thread: MOE 1.4.0 with Xcode 9 support is available for testing
If you don’t have Homebrew already installed, here are the steps to resolve this:
Edit: Just noticed you mentioned you don’t have admin access, it should be possible to install Homebrew as a non-admin user. This SuperUser answer suggests it is possible: https://superuser.com/a/881681
Thanks for the answer!
I installed xz on my system. Now i have the problem that installing PreflightingApplication needs very long time. 30 minutes until now. So i thing it is stuck on this.
Is this normal or do i have here a problem.
I want to test my app on an IPad with iOS 11.2.2 installed.
Starting a Gradle Daemon, 4 busy and 2 incompatible Daemons could not be reused, use --status for details
Using already downloaded SDK: /Users/xxx/.moe/moe-sdk-1.4.1
:ios:compileJava UP-TO-DATE
:ios:processResources NO-SOURCE
:ios:classes UP-TO-DATE
:ios:moeMainProGuard UP-TO-DATE
:ios:moeMainRetrolambda UP-TO-DATE
:ios:moeGenerateUIObjCInterfaces UP-TO-DATE
:ios:moeMainDex UP-TO-DATE
:ios:moeMainDebugArm64Dex2Oat UP-TO-DATE
:ios:moeMainResourcePackager UP-TO-DATE
:ios:moeMainStartupProvider UP-TO-DATE
:ios:moeMainDebugArm64IphoneosXcodeProvider
:ios:moeMainDebugArmDex2Oat UP-TO-DATE
:ios:moeMainDebugArmv7IphoneosXcodeProvider
:ios:moeMainDebugArmv7sIphoneosXcodeProvider
:ios:moeMainDebugIphoneosXcodeBuild
:ios:moeLaunch
Waiting for iOS Device…
Uploading:
- FileUpload@5% LaunchScreen.strings
- FileUpload@11% Main.strings
- FileUpload@16% preregister.txt
- FileUpload@22% CodeResources
- FileUpload@27% application.jar
- FileUpload@33% MOS
- FileUpload@38% UIViewController-BYZ-38-t0r.nib
- FileUpload@44% BYZ-38-t0r-view-8bC-Xf-vdC.nib
- FileUpload@50% Info.plist
- FileUpload@55% 01J-lp-oVM-view-Ze5-6b-2t3.nib
- FileUpload@61% UIViewController-01J-lp-oVM.nib
- FileUpload@66% Info.plist
- FileUpload@72% CodeResources
- FileUpload@77% MOE
- FileUpload@83% Info.plist
- FileUpload@88% embedded.mobileprovision
- FileUpload@94% Info.plist
- FileUpload@100% PkgInfo
Installing:
- Upgrade@5% CreatingStagingDirectory
- Upgrade@15% ExtractingPackage
- Upgrade@20% InspectingPackage
- Upgrade@20% TakingInstallLock
- Upgrade@30% PreflightingApplication
Now i fam inally able to test my app on ios devices.
The problem was in the xcode project i set development target to 11.2. My device runs with ios 11.1.
I changed the setting in xcode project to 11.1 and it worked!
Thangs for all the help!