Skip to content

Conversation

@xavi-999
Copy link

@xavi-999 xavi-999 commented Nov 22, 2025

Fixes #656

The ios/AppsFlyerLib-Swift.h header 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

Copilot AI review requested due to automatic review settings November 22, 2025 09:26
Copilot finished reviewing on behalf of xavi-999 November 22, 2025 09:28
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.h file, 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.

@Lucienzera
Copy link

Fixes #656

The ios/AppsFlyerLib-Swift.h header 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

Hey, atm if i were to delete this file. During build time it should be generated automatically?

@xavi-999
Copy link
Author

Hey @Lucienzera
Correct, this file should be generated by the machine which is building the application, it should not be commited to the remote repository.

If you delete the file, your machine will generate the headers for your specific build, and everything will work fine

@Lucienzera
Copy link

Hey @Lucienzera

Correct, this file should be generated by the machine which is building the application, it should not be commited to the remote repository.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iOS Release build fails with 'unsupported Swift architecture' error in version 6.17.7

2 participants