Libgdx Deployment - App crash on splash immediatly

Hey,

I have a problem with my game written in libgdx. I can run the app over xcode in debug mode. But as soon as I try to run the Release build or test it over testflight the app crashes immediatly at the start splash screen. The Xcode output is:

2017-05-17 22:30:15.228087+0200 fatflatcat[3483:874804] [DYMTLInitPlatform] platform initialization successful
art I 3483 874750 /Volumes/SSD/Android/moe-final/aosp/art/runtime/parsed_options.cc:449] setting boot class path to /var/containers/Bundle/Application/2AA62FEE-71A9-495E-840E-5CB27C222C27/fatflatcat.app/application.jar:/var/containers/Bundle/Application/2AA62FEE-71A9-495E-840E-5CB27C222C27/fatflatcat.app
art E 3483 874750 /Volumes/SSD/Android/moe-final/aosp/art/runtime/gc/heap.cc:357] Could not create image space with image file ‘/var/containers/Bundle/Application/2AA62FEE-71A9-495E-840E-5CB27C222C27/fatflatcat.app/image.art’. Attempting to fall back to imageless running. Error was: Image file size does not equal end of bitmap: size=7831552 vs. 3915776.
art W 3483 874750 /Volumes/SSD/Android/moe-final/aosp/art/runtime/runtime.cc:892] Failed to open .dex from file ‘/var/containers/Bundle/Application/2AA62FEE-71A9-495E-840E-5CB27C222C27/fatflatcat.app/application.jar’: Entry not found
art W 3483 874750 /Volumes/SSD/Android/moe-final/aosp/art/runtime/runtime.cc:888] Skipping non-existent dex file ‘/var/containers/Bundle/Application/2AA62FEE-71A9-495E-840E-5CB27C222C27/fatflatcat.app’
art F 3483 874750 /Volumes/SSD/Android/moe-final/aosp/art/runtime/class_linker.cc:453] Check failed: 0U != boot_class_path.size() (0U=0, boot_class_path.size()=0)
NATIVE BACKTRACE:
0 MOE 0x00000001042beb54 _ZN3art7Runtime5AbortEv + 120
1 MOE 0x00000001042f4a78 _ZN3art10LogMessageD2Ev + 644
2 MOE 0x0000000104200330 _ZN3art11ClassLinker16InitWithoutImageENSt3__16vectorINS1_10unique_ptrIKNS_7DexFileENS1_14default_deleteIS5_EEEENS1_9allocatorIS8_EEEE + 9028
3 MOE 0x00000001042c074c _ZN3art7Runtime4InitERKNSt3__16vectorINS1_4pairINS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPKvEENS7_ISC_EEEEb + 4632
4 MOE 0x00000001042bf4f8 _ZN3art7Runtime6CreateERKNSt3__16vectorINS1_4pairINS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPKvEENS7_ISC_EEEEb + 88
5 MOE 0x00000001041f66ac JNI_CreateJavaVM + 420
6 MOE 0x00000001045897d4 dalvikvm + 476
7 MOE 0x00000001041cc284 moevm + 2016
8 libdyld.dylib 0x000000018cb4959c + 4

art F 3483 874750 /Volumes/SSD/Android/moe-final/aosp/art/runtime/runtime.cc:464]Runtime aborting…
Aborting thread:
“main” prio=5 tid=1 Runnable (still starting up)
| group="" sCount=0 dsCount=0 obj=0x0 self=0x105819800
| sysTid=874750 nice=-1 cgrp=default sched=1/31 handle=0x1b3484b40
| state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
| stack=0x16fc1c000-0x16fc24000 stackSize=1008KB
| held mutexes= “abort lock” “mutator lock”(shared held)
(no managed stack frames)
Dumping all threads without appropriate locks held: thread list lock
All threads:
DALVIK THREADS (1):
“main” prio=5 tid=1 Runnable (still starting up)
| group="" sCount=0 dsCount=0 obj=0x0 self=0x105819800
| sysTid=874750 nice=-1 cgrp=default sched=1/31 handle=0x1b3484b40
| state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
| stack=0x16fc1c000-0x16fc24000 stackSize=1008KB
| held mutexes= “abort lock” “mutator lock”(shared held)
(no managed stack frames)

art W 3483 874750 /Volumes/SSD/Android/moe-final/aosp/art/runtime/barrier.cc:96] Attempted to destroy barrier with non zero count -1
(lldb)

I hope you can help me. I wanted to release within the next days thought everything is fine.

libgdx version is 1.9.7-Snapshot
moe-gradle 1.3.6
proguard level all -> don’t work on debug and release
proguard level app > works on debug

After a lot of research and going through the git history the error were this lines in xcode project file:

“OTHER_LDFLAGS[arch=*]” = (
“$(inherited)”,
“${MOE_OTHER_LDFLAGS}”,
“$(LIBGDX_NATIVES)”,
);

I removed them and everything works as expected