-
-
Notifications
You must be signed in to change notification settings - Fork 871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Automatic loading of PFObject
subclasses not working on Xcode 16
#1808
Conversation
Thanks for opening this pull request!
|
@mapierce Your PR adds a But what happens at runtime? Does the issue #1792 not happen at all when the app is archived in release mode? |
@mman Correct it doesn't happen in release mode. |
PFObject
subclasses not working on Xcode 16 / iOS 18
PFObject
subclasses not working on Xcode 16 / iOS 18PFObject
subclasses not working on Xcode 16
Fixing timeout in #1810 before merging this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this ready for merge?
Hey @mtrezza seems I'm still getting a timeout on two jobs there. I have no ability to re-run them if you wouldn't mind |
@mapierce How should we proceed with this PR? |
New Pull Request Checklist
Issue Description
Closes: #1792
Xcode 16 changes the default setting for Enable Debug Dylib Support to
YES
which adds a suffix of.debug.dylib
to the target at runtime meaning the standard call ofobjc_copyClassNamesForImage
with the image name will not find anything while the scheme is running in Debug mode.Approach
Adding the suffix based on the scheme build configuration fixes the issue to find the target at runtime and makes
objc_copyClassNamesForImage
work as expected.