Skip to content
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

Incompatibility with RN 0.74.1 #110

Closed
Daniel3711997 opened this issue May 7, 2024 · 4 comments
Closed

Incompatibility with RN 0.74.1 #110

Daniel3711997 opened this issue May 7, 2024 · 4 comments

Comments

@Daniel3711997
Copy link

Daniel3711997 commented May 7, 2024

  • How did you link to the library (autolinking, manual, rn link, cocoapods)? autolinking
  • What version of React Native? 0.74.1
  • What version of the library? 6.5.16-0
  • iOS version? 17.4
  • Did the problem happen after updating React Native? Yes
  • Are you using the library for the first time? No
  • It's a bug? Provide a link to a minimal reproduction case. (Unfortunately i can't do that)

The error:

Target 'AppName' (project 'ProjectName') has copy command from '/Users/USERNAME/Documents/projects/PROJECT/ios/PROJECT/PrivacyInfo.xcprivacy' to '/Users/USERNAME/Library/Developer/Xcode/DerivedData/PROJECT-gxjbrfjixsucspftqxzmnoqyuqyt/Build/Intermediates.noindex/ArchiveIntermediates/PROJECT/InstallationBuildProductsLocation/Applications/PROJECT.app/PrivacyInfo.xcprivacy'

ALSO added the pod: pod 'IQKeyboardManagerSwift', :git => 'https://github.com/douglasjunior/IQKeyboardManager.git', :branch => 'react-native-keyboard-manager'

This looks to be the same problem like: react-native-async-storage/async-storage#1085

@douglasjunior
Copy link
Owner

douglasjunior commented May 7, 2024

I think that this is a problem with the RN cocoapods script (changed in this commit facebook/react-native@4be1faf) that copy the PrivacyInfo to the .app executable, because in version 0.74.0 works fine.

Take a look at the Sample project

@douglasjunior
Copy link
Owner

Let's wait for version 0.74 to become stable to analyze the problem more closely.

@douglasjunior
Copy link
Owner

I found and fix an issue with the IQKeyboardManagerSwift fork, please run this command and try it again:

cd ios
pod update IQKeyboardManagerSwift

Make sure to keep the pod in Podfile:

pod 'IQKeyboardManagerSwift', :git => 'https://github.com/douglasjunior/IQKeyboardManager.git', :branch => 'react-native-keyboard-manager'

@Daniel3711997
Copy link
Author

Solved, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants