Skip to content

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

@gh-clement-taboulot gh-clement-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