fix: fix ios build with use_frameworks static#771
fix: fix ios build with use_frameworks static#771vonovak merged 8 commits intoreact-native-documents:mainfrom
Conversation
🦋 Changeset detectedLatest commit: 43e6a9d The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Hello, and thank you for the PR! okay, let's give this a go! |
|
@jeongshin the build fails with can you pls take a look at it? Thank you! |
|
|
I'm trying to fix the build issue, but I think the build fails even before I can fix the header problem. I fixed the headers generation issue but stuck on the other problems. I'll take a look for details on upcoming weekend. I don't have much time on weekdays... 🙏. Thanks! |
|
Hi @jeongshin thank you ! Build is success for me too. |
Support static framework linking by checking for <RateApp/RateApp-Swift.h> before falling back to "RateApp-Swift.h". This prevents build failures when using `use_frameworks! :linkage => :static` in Podfile. Ref: react-native-documents/document-picker#771 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Support static framework linking by checking for <RateApp/RateApp-Swift.h> before falling back to "RateApp-Swift.h". This prevents build failures when using `use_frameworks! :linkage => :static` in Podfile. Closes huextrat#460 Ref: react-native-documents/document-picker#771 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Support static framework linking by checking for <RateApp/RateApp-Swift.h> before falling back to "RateApp-Swift.h". This prevents build failures when using `use_frameworks! :linkage => :static` in Podfile. Closes #460 Ref: react-native-documents/document-picker#771 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
## [2.0.1](v2.0.0...v2.0.1) (2026-03-16) ### Bug Fixes * **ios:** add __has_include guard for Swift bridging header ([#461](#461)) ([765657f](765657f)), closes [react-native-documents/document-picker#771](react-native-documents/document-picker#771)
Hi Thanks for great library.
This may fix this issue.
I tested on my app with linking static and it works.
Thank you.