-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
ios : duplicate symbol '_OBJC_CLASS_$_TOActivityCroppedImageProvider' #108
Comments
Please try to refer to the solutions below. Hope it will be useful: |
@baronha Thanks for the respons. I tried all these for the past 2 days, but nothing worked. |
Have you tried this yet? |
@baronha I already added the Swift file and headers. the second link which u shared says add pod 'RNCharts', :path => '../node_modules/react-native-charts-wrapper', |
Absolutely OK. You should try that! |
@baronha what should i try? adding what in place of RNCharts? |
Wait. I think this error is mainly in your Flipper configuration. Show me your Podfile |
`require_relative '../node_modules/react-native/scripts/react_native_pods' platform :ios, min_ios_version_supported project 'AppName', { flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled(['Debug', 'StageDebug', 'Release', 'StageRelease'], { 'Flipper' => '0.193.0' }) linkage = ENV['USE_FRAMEWORKS'] target 'AppName' do flags = get_default_flags() use_react_native!( pod 'FirebaseCore', :modular_headers => true target 'AppNameTests' do post_install do |installer| target 'share' do
end permissions_path = '../node_modules/react-native-permissions/ios' pod 'Permission-AppTrackingTransparency', :path => "#{permissions_path}/AppTrackingTransparency/Permission-AppTrackingTransparency.podspec" |
@sarafhbk I think if you use this library it is not necessary to use additional |
@baronha after removing the pod 'react-native-image-crop-tools', :path => '../node_modules/react-native-image-crop-tools' also the error still remains. i use this package because i need a standalone image cropper for edit image feature. |
standalone image cropper will be deployed in the future in react-native-multiple-image-picker@latest. |
@baronha yes i did delete the pods, pod.lock and pod install still the same issue. I think the issue might be both packages use TOActivityCroppedImageProvider in common. |
@baronha do u suggest anything? im stuck with this issue for a very long time. everytime i had to change the version for ios and then make builds |
this error say that you have duplicate class named like TOActivityCroppedImageProvider, let search and find another lib use this class.
|
ios build error after updating from 0.4.10 -> 1.0.0.
i tried all these steps
delete pod lock , remove pods and pod install
remove derived data
clean build
but no luck..
`duplicate symbol 'OBJC_CLASS$_TOActivityCroppedImageProvider' in:
/Users/saraf/Library/Developer/Xcode/DerivedData/UrduReader-hfoqbatrmtjnvkcmihfuiugtxjva/Build/Products/StageDebug-iphonesimulator/CropViewController/libCropViewController.a(TOActivityCroppedImageProvider.o)
/Users/saraf/Library/Developer/Xcode/DerivedData/UrduReader-hfoqbatrmtjnvkcmihfuiugtxjva/Build/Products/StageDebug-iphonesimulator/TOCropViewController/libTOCropViewController.a(TOActivityCroppedImageProvider.o)
duplicate symbol 'OBJC_METACLASS$_TOActivityCroppedImageProvider' in:
.......
.......
ld: 157 duplicate symbols for architecture x86_64`
The text was updated successfully, but these errors were encountered: