Post

Replies

Boosts

Views

Activity

Reply to Crash on iOS 15.5 using XCode 14.1
I isolated the issue with a simple HelloWorld. The crash is systematic in release mode if the release method is called from a static library (with arc off). I can't attach a zip file here... but here below the code that is crashing if embedded in a static library: #import "HelloStatLib.h" @implementation HelloStatLib - (void)echoStatLibInfo {     NSString *myObj;     myObj = [[NSString alloc] initWithString:@"hello from static lib"];     NSLog(@"obj says %@ from static lib", myObj);     [myObj release];     NSLog(@"obj is released from static lib!"); } @end
Dec ’22
Reply to Crash on iOS 15.5 using XCode 14.1
I also precise that the crash happens only in release mode (like in the first post). I was able to remove the crashes by changing all objective C release calls by autorelease. [myObj release] --> [myObj autorelease] I am not very satisfied with this as release should work with iOS 15 release mode. What is strange is that I tried a very simple program which just allocs and releases a NSString and it does not crash. So there is a surrounding context for the issue to happen. I am using Qt (5.14.2), the issue maybe comes from it. I keep posted if I find a solution.
Nov ’22
Reply to Crash on iOS 15.5 using XCode 14.1
I have similar issue. My app was built with Xcode 13.4.1. I updated to build with Xcode 14.1 (sdk 16.1) and now the application is running only on iPad OS 16. It is crashing with iPad OS 15 which is not expected (min deployment target is set to 15). The trace I have: dyld[8624]: Symbol not found: _objc_release_x19   Referenced from: /private/var/containers/Bundle/Application/F3B8E263-FFDF-49CF-AFE0-422BBDC42ACF/terminal_chart_card_test.app/terminal_chart_card_test   Expected in: /usr/lib/libobjc.A.dylib Symbol not found: _objc_release_x19   Referenced from: /private/var/containers/Bundle/Application/F3B8E263-FFDF-49CF-AFE0-422BBDC42ACF/terminal_chart_card_test.app/terminal_chart_card_test   Expected in: /usr/lib/libobjc.A.dylib Program ended with exit code: 9 Thread 1#0 0x0000000107ede9b4 in __abort_with_payload () #1 0x0000000107ee3dec in abort_with_payload_wrapper_internal () #2 0x0000000107ee3e1c in abort_with_payload () #3 0x0000000107eb83c0 in dyld4::halt(char const*) () #4 0x0000000107eb5a7c in dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) () #5 0x0000000107eb4170 in start () It seems a system dylib or framework fails to load on iPad OS 15 but I don't know which one. Since I have some auto tests running I am trying to isolate the culprit... By chance did you progress on the issue ? JD
Nov ’22