Fix iOS build crash#660
Conversation
There was a problem hiding this comment.
Pull request overview
This PR removes the auto-generated Swift bridging header ios/AppsFlyerLib-Swift.h from source control to fix iOS build crashes. The file should be generated by each consuming application during the build process rather than being committed to the repository, as it contains architecture-specific code that can cause conflicts across different build environments.
Key changes:
- Removes the entire 331-line
AppsFlyerLib-Swift.hfile, which is auto-generated by Swift 5.9.2 for Objective-C interoperability
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Hey, atm if i were to delete this file. During build time it should be generated automatically? |
|
Hey @Lucienzera If you delete the file, your machine will generate the headers for your specific build, and everything will work fine |
Thank you for this. So weird they made this change without any annoucement. |
|
Fixed in v6.17.8, thanks! |
Fixes #656
The
ios/AppsFlyerLib-Swift.hheader build file should not be present in this repository, it should be generated by each consumer upon building the application with the SDK.Deleting the file fixes the build failure for all iOS architectures, reported in #656