Closed tcurdt closed 4 years ago
Thank you for reporting the problem. I will try to fix it as soon as possible.
I solved the problem. SPM should work now. Unfortunately, due to the limitations of SPM, I can't attach the file Plural.stringsdict
which is responsible for the correct plural form.
Thanks! That sound like good and bad news :)
Could you elaborate on the Plural.stringsdict
problem a bit?
I use this file to find the right plural form for each language and region. Without this file my library will return form for "other" each time. I have no idea how I can attach this file using SPM.
OK - I guess that's the problem then https://bugs.swift.org/browse/SR-2866 :-/ https://forums.swift.org/t/swift-pm-bundles-and-resources/13981/34
Here is a propsal https://forums.swift.org/t/draft-proposal-package-resources/29941
Here is a propsal https://forums.swift.org/t/draft-proposal-package-resources/29941
I will try to solve the problem as soon as possible https://forums.swift.org/t/accepted-with-modifications-se-0271-package-manager-resources/31021
Any info about this? (as plural formatting not working :( )
Now You can use plurals :)
🎉 Congrats
🚀 L10n-swift (5.6.1) successfully published
📅 March 2nd, 20:08
🌎 https://cocoapods.org/pods/L10n-swift
Short description of the issue.
Swift PM fails to resolve the dependency to L10n-swift
What did you expect to happen?
It should install just like it does with other libraries. (example: Alamofire, PinLayout)
What happened instead?
The dependency does not get resolved and
swift package
aborts with an error.How to reproduces this problem?
Package.swift
Environment.
L10n-swift version: 5.5.1
Xcode version: Xcode 10.3, Build version 10G8
Swift version: Apple Swift version 5.0.1 (swiftlang-1001.0.82.4 clang-1001.0.46.5)
Platform(s):
Installation method: