Improve app size and runtime performance

RSS for tag

Discuss the WWDC22 Session Improve app size and runtime performance

Posts under wwdc2022-110363 tag

3 Posts

Post

Replies

Boosts

Views

Activity

Is there a way to turn off the new objc stubs optimizations in Xcode 14?
My app depends on some precompiled libraries that aren't built with Xcode 14 and I'm running into linker errors when building for device like the following: Undefined symbol: _objc_msgSend$CGColor Undefined symbol: _objc_msgSend$CGImage Undefined symbol: _objc_msgSend$CGPointValue Undefined symbol: _objc_msgSend$CGRectValue Undefined symbol: _objc_msgSend$CPUArchForCPUType:subType: Undefined symbol: _objc_msgSend$HTTPBody Undefined symbol: _objc_msgSend$HTTPCookieRepresentationForDomain: Undefined symbol: _objc_msgSend$HTTPHeaders Undefined symbol: _objc_msgSend$HTTPMaximumConnectionsPerHost Undefined symbol: _objc_msgSend$HTTPMethod Can I turn off this optimization?
4
0
3k
Feb ’23
Is there a way to turn off the new dyld improvements in Xcode 14?
I'm having trouble with websockets. I think this is caused by new dyld improvements (You can check the improvements via this link.). Where can I find linker flags to disable them? Thanks. libsp.dylib`spd_checkin_socket.cold.1: 0x226af4364 <+0>: adrp x8, 141669 0x226af4368 <+4>: adrp x9, 0 > 0x226af436c <+8>: add x9, x9, #0xa3f ; "Linked against modern SDK, VOIP socket will not wake. Use Local Push Connectivity instead" 0x226af4370 <+12>: str x9, [x8, #0x400] -> 0x226af4374 <+16>: brk #0x1
2
1
1.8k
Oct ’22
Is there a way to turn off the new objc stubs optimizations in Xcode 14?
My app depends on some precompiled libraries that aren't built with Xcode 14 and I'm running into linker errors when building for device like the following: Undefined symbol: _objc_msgSend$CGColor Undefined symbol: _objc_msgSend$CGImage Undefined symbol: _objc_msgSend$CGPointValue Undefined symbol: _objc_msgSend$CGRectValue Undefined symbol: _objc_msgSend$CPUArchForCPUType:subType: Undefined symbol: _objc_msgSend$HTTPBody Undefined symbol: _objc_msgSend$HTTPCookieRepresentationForDomain: Undefined symbol: _objc_msgSend$HTTPHeaders Undefined symbol: _objc_msgSend$HTTPMaximumConnectionsPerHost Undefined symbol: _objc_msgSend$HTTPMethod Can I turn off this optimization?
Replies
4
Boosts
0
Views
3k
Activity
Feb ’23
Is there a way to turn off the new dyld improvements in Xcode 14?
I'm having trouble with websockets. I think this is caused by new dyld improvements (You can check the improvements via this link.). Where can I find linker flags to disable them? Thanks. libsp.dylib`spd_checkin_socket.cold.1: 0x226af4364 <+0>: adrp x8, 141669 0x226af4368 <+4>: adrp x9, 0 > 0x226af436c <+8>: add x9, x9, #0xa3f ; "Linked against modern SDK, VOIP socket will not wake. Use Local Push Connectivity instead" 0x226af4370 <+12>: str x9, [x8, #0x400] -> 0x226af4374 <+16>: brk #0x1
Replies
2
Boosts
1
Views
1.8k
Activity
Oct ’22
Where to find the session "App Startup Time: Past, Present, and Future"?
See title.
Replies
0
Boosts
0
Views
712
Activity
Jun ’22