Application started crashing on device when we build application from Xcode 9, the application is working fine on the simulator but crashes on the device. Below are the device crash logs
Crash logs
Sep 22 18:57:33 iPhone ReportCrash(CrashReporterSupport)[324] <Notice>:
Process: Checkout [323]
Path:
/private/var/containers/Bundle/Application/13FD366C-4D41-4BC9-B958-
151CDC9E62F3/Checkout.app/Checkout
OS Version: iPhone OS 10.3.3 (14G60)
Sep 22 18:57:33 iPhone ReportCrash(CrashReporterSupport)[324] <Notice>:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Description: DYLD, Library not loaded:
@rpath/libclang_rt.ubsan_ios_dynamic.dylib | Referenced from:
/private/var/containers/Bundle/Application/13FD366C-4D41-4BC9-B958-
151CDC9E62F3/Checkout.app/Frameworks/Valid.framework/Base | Reason:
image not found
Embed swift library flag is true and application successfully compiled on machine its crashing as soon as we launch app on device.