Skip to content

add MobileCoreServices framework #338

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 1 commit into from
Oct 11, 2022
Merged

Conversation

tautvilas
Copy link
Contributor

@tautvilas tautvilas commented Oct 6, 2022

Add MobileCoreServices framework (fixes #327)

@PierreCapo
Copy link
Contributor

Hello @tautvilas many thanks for the PR 👏

Could you just amend your commit with a long description about Why this change is needed (scenario and the fix)? I can fairly see someone in the future trying to understand why it is in the codebase, and a long git commit could help for the maintenance while checking the codebase history.

this fixes IOS Build error: Undefined symbol: _kUTTypeJPEG, Undefined symbol: _kUTTypePNG
these symobls are defined in MobileCoreServices library, so the lib must
be linked in the podspec

the build error can be reproduced when using use_frameworks! in project
Podfile that has react-native-image-resizer as a dependency
@tautvilas
Copy link
Contributor Author

Hey @PierreCapo thanks, I did that

@taboulot taboulot merged commit 8c46a21 into bamlab:master Oct 11, 2022
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 Build error: Undefined symbol: _kUTTypeJPEG, Undefined symbol: _kUTTypePNG
3 participants