ahmedelkhyary / hyperpay

MIT License
6 stars 18 forks source link

Pod Install Issue #31

Closed arsallion313786 closed 1 year ago

arsallion313786 commented 1 year ago

when i write this piece of code for pod install for iOS

pod 'hyperpay_sdk', :git => 'https://github.com/ahmedelkhyary/hyperpay_sdk.git' $static_framework = ['hyperpay_plugin'] pre_install do |installer| Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {} installer.pod_targets.each do |pod| if $static_framework.include?(pod.name) def pod.build_type; Pod::BuildType.static_library end end end end

got this error [!] CocoaPods could not find compatible versions for pod "hyperpay_sdk": In Podfile: hyperpay_plugin (from .symlinks/plugins/hyperpay_plugin/ios) was resolved to 0.0.2, which depends on hyperpay_sdk (~> 4.12.0)

hyperpay_sdk (from `https://github.com/ahmedelkhyary/hyperpay_sdk.git`)
ahmedelkhyary commented 1 year ago

@arsallion313786

Hi bro

Make sure u use last version 2.0.4 and try to delete lock file and make pod install again

arsallion313786 commented 1 year ago

@ahmedelkhyary bro In flutter i have added plugin as hyperpay_plugin: and for iOS i have added first time

arsallion313786 commented 1 year ago

@ahmedelkhyary bro thanks i have fixed this issue what i do first i remove hyperpay_plugin: from pubspect.yaml file than install pod on iOS side than its installed successfully.

arsallion313786 commented 1 year ago

Now i am closing this issue