Post not yet marked as solved
Post marked as unsolved with 0 replies, 2,368 views
I have written a framework for iOS (using swift) and push it to a private pod spec repo.
The new application that using this framework works fine on simulator & device, and as soon as I want to install it in my current project. But when I did, I got an error message and this app could not launched.
These errors can be resumed as follows:
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
frame #0: 0x000000010a0453e8 dyld`__abort_with_payload + 8
frame #1: 0x000000010a04cca4 dyld`abort_with_payload_wrapper_internal + 100
frame #2: 0x000000010a04ccd4 dyld`abort_with_payload + 12
frame #3: 0x0000000109ff8e1c dyld`dyld::halt(char const*) + 608
frame #4: 0x0000000109ff8ee0 dyld`dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 196
frame #5: 0x00000001875e9fa0 libdyld.dylib`dyld_stub_binder + 60
* frame #6: 0x0000000121e4c8f8 TripiFlightKit`TripiFlightKit.TripiFlightKit.callFlightSDK(params: Swift.Dictionary<Swift.String, Any>, delegate: TripiFlightKit.TripiFlightKitDelegate, completion: (Swift.Optional<Swift.Error>, Swift.Optional<__C.UIViewController>) -> ()) -> () + 376
frame #7: 0x0000000121e52714 TripiFlightKit`TripiFlightKit.TripiFlightSDK.callFlightSDK(params: Swift.Dictionary<Swift.String, Any>, delegate: TripiFlightKit.TripiFlightKitDelegate, completion: (Swift.Optional<Swift.Error>, Swift.Optional<__C.UIViewController>) -> (), openPayment: Swift.Optional<(__C.UIViewController, Swift.Int, Swift.String, Swift.Double) -> ()>) -> () + 248
frame #8: 0x0000000121e52e8c TripiFlightKit`dispatch thunk of TripiFlightKit.TripiFlightSDK.callFlightSDK(params: Swift.Dictionary<Swift.String, Any>, delegate: TripiFlightKit.TripiFlightKitDelegate, completion: (Swift.Optional<Swift.Error>, Swift.Optional<__C.UIViewController>) -> (), openPayment: Swift.Optional<(__C.UIViewController, Swift.Int, Swift.String, Swift.Double) -> ()>) -> () + 20
frame #9: 0x0000000126a81458 TripiFlightPaymentKit`TripiFlightPaymentKit.TripiFlightPaymentSDK.callFlightSDK(params: Swift.Dictionary<Swift.String, Any>, delegate: TripiFlightPaymentKit.TripiFlightPaymentSDKDelegate, completion: (Swift.Optional<Swift.Error>, Swift.Optional<__C.UIViewController>) -> ()) -> () + 352
frame #10: 0x0000000126a826ac TripiFlightPaymentKit`dispatch thunk of TripiFlightPaymentKit.TripiFlightPaymentSDK.callFlightSDK(params: Swift.Dictionary<Swift.String, Any>, delegate: TripiFlightPaymentKit.TripiFlightPaymentSDKDelegate, completion: (Swift.Optional<Swift.Error>, Swift.Optional<__C.UIViewController>) -> ()) -> () + 20
And here is crash log:
Incident Identifier: 5FF387E3-DE0B-4B6F-8AEC-B8EB245F688E
CrashReporter Key: 0822873b87a57baf681ec14fcf6d5dd79e6252ac
Hardware Model: iPhone11,6
Process: Develop [76495]
Path: /private/var/containers/Bundle/Application/0C955572-1BF8-4E48-A233-36F9A8E80B79/Develop.app/Develop
Identifier: vn.***.ios.develop
Version: 210524.1 (6.13.0)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: vn.***.ios.develop [3038]
Date/Time: 2021-06-25 11:14:21.3391 +0700
Launch Time: 2021-06-25 11:13:55.6262 +0700
OS Version: iPhone OS 14.6 (18F72)
Release Type: User
Baseband Version: 3.04.01
Report Version: 104
Exception Type: EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Description: DYLD, missing lazy symbol called
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 dyld 0x0000000108411f80 0x1083b8000 + 368512
1 dyld 0x00000001084198c8 0x1083b8000 + 399560
2 dyld 0x00000001084198dc 0x1083b8000 + 399580
3 dyld 0x00000001083bd310 0x1083b8000 + 21264
4 libdyld.dylib 0x0000000196cbf224 0x196ca8000 + 94756
5 libdyld.dylib 0x0000000196cbedbc 0x196ca8000 + 93628
6 TripiFlightKit 0x00000001203a48f8 0x11f888000 + 11651320
7 TripiFlightKit 0x00000001203aa714 0x11f888000 + 11675412
8 TripiFlightKit 0x00000001203aae8c 0x11f888000 + 11677324
9 TripiFlightPaymentKit 0x0000000124fd9458 0x124fd4000 + 21592
10 TripiFlightPaymentKit 0x0000000124fda6ac 0x124fd4000 + 26284
11 TripiFlightConnector 0x000000011f800ff0 0x11f7fc000 + 20464
12 TripiFlightConnector 0x000000011f8010d4 0x11f7fc000 + 20692
13 HestiaIOS 0x000000010d34196c 0x10d33c000 + 22892
14 HestiaIOS 0x000000010d341f54 0x10d33c000 + 24404
15 HestiaIOS 0x000000010d3425ac 0x10d33c000 + 26028
16 Janus 0x000000010f46504c 0x10f444000 + 135244
17 Janus 0x000000010f44f9a4 0x10f444000 + 47524
18 Janus 0x000000010f44faf4 0x10f444000 + 47860
19 TekCoreNetwork 0x000000011ea7b950 0x11ea6c000 + 63824
20 TekCoreNetwork 0x000000011ea7ba7c 0x11ea6c000 + 64124
21 TekCoreNetwork 0x000000011ea7c514 0x11ea6c000 + 66836
22 TekCoreNetwork 0x000000011ea7be80 0x11ea6c000 + 65152
23 TekCoreNetwork 0x000000011ea7d11c 0x11ea6c000 + 69916
24 Alamofire 0x00000001089fa854 0x108910000 + 960596
25 Alamofire 0x0000000108933c48 0x108910000 + 146504
26 libdispatch.dylib 0x0000000196c65a84 0x196c63000 + 10884
27 libdispatch.dylib 0x0000000196c6781c 0x196c63000 + 18460
28 libdispatch.dylib 0x0000000196c75c70 0x196c63000 + 76912
29 CoreFoundation 0x0000000196ff4398 0x196f51000 + 668568
30 CoreFoundation 0x0000000196fee270 0x196f51000 + 643696
31 CoreFoundation 0x0000000196fed360 0x196f51000 + 639840
32 GraphicsServices 0x00000001ae62b734 0x1ae628000 + 14132
33 UIKitCore 0x0000000199a68584 0x198e9e000 + 12363140
34 UIKitCore 0x0000000199a6ddf4 0x198e9e000 + 12385780
35 Develop 0x00000001024e1d38 0x102474000 + 449848
36 libdyld.dylib 0x0000000196ca9cf8 0x196ca8000 + 7416
I have tried to chase error but I can't find it out. Please help me. Thanks!
[Full Crash log](https://developer.apple.com/forums/content/attachment/ad8ccc2e-6f03-46ab-bdc0-43a23f0d1c0e)