Skip to content

fix(ios): link FirebaseCore into Expo app target under SPM - #9211

Draft
russellwheatley wants to merge 2 commits into
mainfrom
feature/cprn-301-ios-spm-dynamic-linkage-app-target-never-gets-firebasecore
Draft

fix(ios): link FirebaseCore into Expo app target under SPM#9211
russellwheatley wants to merge 2 commits into
mainfrom
feature/cprn-301-ios-spm-dynamic-linkage-app-target-never-gets-firebasecore

Conversation

@russellwheatley

Copy link
Copy Markdown
Member

Fixes #9158.

Expo prebuild --clean still failed iOS link with undefined _OBJC_CLASS_$_FIRApp after #9164. The app-target helper ran in CocoaPods post_install, before integrate_user_project adds [CP] Embed Pods Frameworks, so every native target was skipped.

  • Land yarn test-expo:ios:link as a red closer for that signature
  • Run user-project SPM hooks from post_integrate so FirebaseCore actually links into the Expo app target

Expo documented path (SPM on, dynamic frameworks) still fails iOS link
with missing app-target FirebaseCore after #9164. Land the red closer
before chasing duplicate-symbol work.
Expo prebuild --clean has no [CP] Embed Pods Frameworks until
integrate_user_project. Running the app-target helper from post_integrate
lets FIRApp resolve on the documented dynamic path.
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.

useFrameworks: static + forceStaticLinking rejected with "SPM + static linkage is not supported" on RNFBApp/RNFBMessaging 26.1.0 (Expo 54.0.36)

1 participant