react-native
react-native copied to clipboard
chore(iOS): refactor `RCTImageUtils`, `RCTTextView` & `RCTParagraphComponentView.mm` to use UTType
Summary:
This PR refactors RCTImageUtils, RCTTextView & RCTParagraphComponentView.mm to use UTType because of deprecation warning from iOS 15 and above
Changelog:
[IOS] [CHANGED] - Refactor RCTImageUtils, RCTTextView & RCTParagraphComponentView.mm to use UTType
Test Plan:
Make sure that RNTester builds and runs correctly
Actually, CI is failing with
ld: Undefined symbols:
_UTTypeFlatRTFD, referenced from:
-[RCTTextView copy:] in RCTTextView.o
_UTTypeUTF8PlainText, referenced from:
-[RCTTextView copy:] in RCTTextView.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Ld /Users/runner/Library/Developer/Xcode/DerivedData/HelloWorld-czqnsntrjgyngsfxcbfgwyssconw/Build/Intermediates.noindex/Pods.build/Release-iphonesimulator/React-RCTText.build/Objects-normal/arm64/Binary/RCTText normal arm64 (in target 'React-RCTText' from project 'Pods')
It's likely that we have to add a framework to the React-RCTText.podspec file. Could you look into it?
Sure!
@cipolleschi I've added missing framework, looks like everything builds correctly 🙌
@cipolleschi is there anything that needs to be done to get this PR merged? 👀
@krozniata nothing on your side. We need to wait for our internal partners that they migrate their apps away from iOS 13. I can check internally what's the status and let you know.
@cipolleschi got it, thanks for update!
This PR is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.
not stale