Open mypark opened 6 years ago
this error is not related to this framework, this is Cocoapods issue;
add this to your podfile:
install! 'cocoapods',
:deterministic_uuids => false
@luna-moonfang that fixes the warning. What is the effect of doing that?
didn't work for me
I came across this issue a few times recently. Although unrelated to this lib, it could be resolved by upgrading cocoapods
:
sudo gem install cocoapods
It's caused by duplicate files in different directories. Sometimes Xcode might make mistake and duplicate files when you move files to another directory.
My solution to find these duplicate files,
grep -E '[a-zA-Z+]+\.(h|m|swift)' -o duplicateUUIDs.txt | sort | uniq -d
Another method to find duplicate files
find . -path ./.git -prune -o -type f -exec basename {} + | sort | uniq -d
where -path ./.git -prune -o
means to exclude .git directory when finding
I had the same error and it was because when using an earlier version of image-crop-picker I added QBImagePickerController and RSKImageCropper to my pod file. Removing that solved it.
add this to your podfile:
install! 'cocoapods', :deterministic_uuids => false
Which section in the PodFile?
I placed it likes this and i worked:
platform :ios, '10.0'
install! 'cocoapods',
:deterministic_uuids => false
target 'Traver' do
config = use_native_modules!
use_react_native!(:path => config["reactNativePath"])
target 'TraverTests' do
inherit! :complete
# Pods for testing
end
In my case, I used Firebase, but the error occurred when I installed the firebase internal package separately and then installed the firebase again.
(e.g, yarn add @react-native-firebase/app @react-native-firebase/auth react-native-firebase)
and now There is no error when I remove @react-native-firebase/app @react-native-firebase/auth
Check the duplicate package.
Version
Platform
Expected behaviour
pod install shows no errors
Actual behaviour
Having this in the pod file
generates these warnings
Also get a build error React/RCTDefines.h file not found
Steps to reproduce
pod install this podfile on a new project