iziz / libPhoneNumber-iOS

iOS port from libphonenumber (Google's phone number handling library)
Apache License 2.0
2.36k stars 465 forks source link

Latest version on Cocoa pods incorrect? #339

Open nathan-fiscaletti opened 3 years ago

nathan-fiscaletti commented 3 years ago

Why is the latest version on github 1.0.2 but the latest version available on cocoa pods 0.9.15?

tukestolo commented 3 years ago

I got this question to. The cocoa is not updated ?

LowAmmo commented 3 years ago

In addition, we see a compile error when building with cocoapods -

 The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99.

I believe this can be fixed by just adding to the podspec -

s.platform = :ios, '13.0'

-Thanks!

AMORFATI-TRL commented 3 years ago

it's because the podspec file is invalid

[!] Failed to load 'libPhoneNumber-iOS' podspec: 
[!] Invalid `libPhoneNumber-iOS.podspec` file: syntax error, unexpected '<'
<!DOCTYPE html>
^

you can directly point to the git in the meantime till somebody fixes it pod 'libPhoneNumber-iOS', :git => 'https://github.com/iziz/libPhoneNumber-iOS'

ls-philippe-casgrain commented 3 years ago

you can directly point to the git in the meantime till somebody fixes it pod 'libPhoneNumber-iOS', :git => 'https://github.com/iziz/libPhoneNumber-iOS'

This won't work if you are using spec.dependency unfortunately. It only works in a Podfile, not a podspec 😞

adrian-niculescu commented 3 years ago

Any progress about this? All users of this great library would love to see the latest changes available through CocoaPods.

adrian-niculescu commented 2 years ago

HI! Is this abandoned?

adrian-niculescu commented 2 months ago

Thanks for publishing version 1.2.0 to both CocoaPods and Swift Package Manager!