React-native-image-crop-picker: Pod Install Issue

Created on 16 Jul 2018  路  6Comments  路  Source: ivpusic/react-native-image-crop-picker

Version

Tell us which versions you are using:

  • "react": "16.4.1",
  • "react-native": "0.56.0",
  • "react-native-image-crop-picker": "^0.20.3"

Platform

Tell us to which platform this issue is related

  • iOS

2018-07-16 6 53 32

Most helpful comment

I am having this same issue. @inkweon7269 any luck?

All 6 comments

I am having this same issue. @inkweon7269 any luck?

@inkweon7269 do you tried targeting to version 9.0 of ios?

@oxbits, @inkweon7269 I dont know if this will help you, but i have a similar problem because of the Pods that i was using in my project. You can try something like my podfile on your project. Hope it helps!

`# Uncomment the next line to define a global platform for your project

platform :ios, '9.0'

target 'project' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!

# Pods for project
pod 'Firebase/Core'
pod 'Firebase/Messaging'
pod 'Firebase/DynamicLinks', '~> 5.3.0'
# Explicitly include Yoga if you are using RN >= 0.42.0
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
pod 'React', :path => '../node_modules/react-native', :subspecs => [
'Core',
'CxxBridge', # Include this for RN >= 0.47
'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
'RCTText',
'RCTNetwork',
'RCTWebSocket',
'RCTImage',
'RCTActionSheet',
'RCTAnimation',
'RCTGeolocation',
'RCTLinkingIOS',
'RCTSettings',
'RCTVibration',
]

# Third party deps podspec link
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
pod 'react-native-fast-image', :path => '../node_modules/react-native-fast-image'
pod 'RNImageCropPicker', :path => '../node_modules/react-native-image-crop-picker'

target '####ProjectTarget' do
inherit! :search_paths
# Pods for testing
end

# very important to have, unless you removed React dependencies for Libraries
# and you rely on Cocoapods to manage it
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == "React"
target.remove_from_project
end
end
end
end
`

Deleting node_modules, pods and doing a pod install helped me too.

鍦╞uild phases=>link binary with libraries涓坊鍔爐hird-party鍗冲彲

@MateusAndrade Thanks. Now, I can run it in IOS as well 馃拑

I experienced the same error and fixed it by changing my platform to 12.0 like so:

platform :ios, '12.0'
Was this page helpful?
0 / 5 - 0 ratings

Related issues

aterribili picture aterribili  路  3Comments

althurzard picture althurzard  路  3Comments

pavsidhu picture pavsidhu  路  3Comments

manojshrimalla picture manojshrimalla  路  3Comments

leelandclay picture leelandclay  路  3Comments