- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 874
fix: App crashes on launch and SwiftUI preview when built with Xcode 16 due to unregistered Parse subclasses #1811
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
          
     Merged
      
      
    Conversation
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
    | Thanks for opening this pull request!
 | 
      
        
      
      
  
    2 tasks
  
| Codecov ReportAll modified and coverable lines are covered by tests ✅ 
 Additional details and impacted files@@             Coverage Diff             @@
##           master    #1811       +/-   ##
===========================================
+ Coverage   64.24%   82.81%   +18.56%     
===========================================
  Files         201      282       +81     
  Lines       23233    30717     +7484     
===========================================
+ Hits        14926    25438    +10512     
+ Misses       8307     5279     -3028     ☔ View full report in Codecov by Sentry. | 
      
        
      
      
  
    4 tasks
  
              
                    mtrezza
  
              
              approved these changes
              
                  
                    Oct 14, 2024 
                  
              
              
            
            
| Confirmed to work, #1792 (comment), #1792 (comment) | 
    
  parseplatformorg 
      pushed a commit
      that referenced
      this pull request
    
      Oct 14, 2024 
    
    
      
  
    
      
    
  
## [4.1.2](4.1.1...4.1.2) (2024-10-14) ### Bug Fixes * App crashes on launch and SwiftUI preview when built with Xcode 16 due to unregistered Parse subclasses ([#1811](#1811)) ([d363a78](d363a78))
| 🎉 This change has been released in version 4.1.2 | 
    
  mman 
      added a commit
        to mman/Parse-SDK-iOS-OSX
      that referenced
      this pull request
    
      Nov 13, 2024 
    
    
      
  
    
      
    
  
…16 due to unregistered Parse subclasses (parse-community#1811)
    
  mman 
      added a commit
        to mman/Parse-SDK-iOS-OSX
      that referenced
      this pull request
    
      Dec 4, 2024 
    
    
      
  
    
      
    
  
…16 due to unregistered Parse subclasses (parse-community#1811)
      
        
      
      
  
    4 tasks
  
      
        
      
      
  
    4 tasks
  
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
      
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
New Pull Request Checklist
Issue Description
App crashes on app startup when built with Xcode 16:
Closes: #1792
Approach
Starting Xcode 16, Apple adds this new build setting in Xcode: ENABLE_DEBUG_DYLIB, enabled by default.
Per Apple's doc:
When getting class names from a binary, we should check on the "NAME.debug.dylib" binary file as well, instead of assuming the "NAME" binary file.
TODOs before merging