Skip to content

Fixed iOS Build Issues with Static Frameworks #1195

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
merged 2 commits into from
May 29, 2025

Conversation

subhankarmaiti
Copy link
Contributor

Description

This PR addresses critical issues that were preventing successful builds for users on iOS:

  1. Enhanced Swift header imports in A0Auth0.mm to work correctly with static frameworks. The implementation now uses preprocessor directives to check for the header file in different locations:
    • First tries importing from the module path <A0Auth0/A0Auth0-Swift.h>
    • Falls back to the local import "A0Auth0-Swift.h" if the module import is not available

Issues Resolved

Testing Done

  • Verified that pod installation works successfully with the updated bundler version
  • Confirmed that builds complete successfully in projects using static frameworks

@subhankarmaiti subhankarmaiti requested a review from a team as a code owner May 28, 2025 14:49
@subhankarmaiti subhankarmaiti changed the title Fixed iOS Build Issues with Ruby Gems and Static Frameworks Fixed iOS Build Issues with Static Frameworks May 28, 2025
@NandanPrabhu NandanPrabhu self-requested a review May 29, 2025 08:35
@subhankarmaiti subhankarmaiti merged commit d62d1f4 into beta May 29, 2025
4 checks passed
@subhankarmaiti subhankarmaiti deleted the SDK-6031-ios-static-linking branch May 29, 2025 09:51
@mkhbragg mkhbragg mentioned this pull request Jun 4, 2025
6 tasks
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.

3 participants