-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
About s.dependency
Depends on the modified third-party library URL address.
#8550
Comments
dependency's requirements can't be a git unless version_requirements.all? { |req| req.is_a?(String) }
version_requirements.each do |requirement|
if requirement.is_a?(Hash)
if !requirement[:path].nil?
raise Informative, 'Podspecs cannot specify the source of dependencies. The `:path` option is not supported.'\
' `:path` can be used in the Podfile instead to override global dependencies.'
elsif !requirement[:git].nil?
raise Informative, 'Podspecs cannot specify the source of dependencies. The `:git` option is not supported.'\
' `:git` can be used in the Podfile instead to override global dependencies.'
end
end
end
raise Informative, "Unsupported version requirements. #{version_requirements.inspect} is not valid."
end you may publish a pre-release version if QBImagePickerController is in development |
Correct. this is not supported currently and there are no plans to do so. Sorry I am going to close this one. |
Ok, thanks !
|
Seems to be a popular problem @dnkoutso , e.g. for this particular pod that @Jinxiansen mentions (QBIMAGEPICKERCONTROLLER) there are 6 different versions of it on cocoapods.org, suggesting this is more frequent than not... |
Hi @Jinxiansen, |
+1 |
I used a repository
QBImagePickerController
, but it hasn't been maintained for 3 years. I forked a source and modified it, but it is a dependency of my other third-party repository.When I write like this:
s.dependency 'QBImagePickerController', :git => 'https://github.com/laoyuegou/QBImagePicker.git'
The execution failed, prompting:
[!] Failed to load 'RNImageCropPicker' podspec: [!] Invalid
RNImageCropPicker.podspecfile: [!] Unsupported version requirements.
So, how can I configure it? 🤔
Thank you very much! ☕️
The text was updated successfully, but these errors were encountered: