-
Notifications
You must be signed in to change notification settings - Fork 345
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
Swift-tools-version bump to 5.0 #140
Conversation
@vvghost1 thanks for the fix. What are the steps to reproduce the "deployment target version error" in Xcode 12? I just want to check that the bug exists locally and confirm that it goes away with your update. Thanks 👍 |
@evgenyneu sorry for delayed answer. Steps to reproduce (using Xcode 12, swift-tools-version:5.x):
Now, if you will try to build generated project for iOS Simulator, you will have error "Compiling for iOS 9.0, but module 'KeychainSwift' has a minimum deployment target of iOS 14.x" |
Thanks for instructions, yes I can reproduce the issue. The recommended way of adding KeychainSwift package to an Xcode project is by using the menu File > Packages > Add Package Dependency. This does not result in any errors for me, I just tested in Xcode 12.3, both for a Mac and iOS app, see project attached. Do you think you can use this approach, or do you still need to create Xcode project from command line? |
@evgenyneu thank you for attention to this issue! I have already found a workaround, and, moreover, I had investigated that |
Hello! What about current status with Xcode 13.2.1? |
It'sI'm using it in a native Swift (UIKit) app (version 19.0.0 -SPM). It works fine (latest Xcode/Swift 5.5). Have you encountered any issues? I generally don't run prerelease Xcode, unless there's an explicit reason. |
That's also the problem because SPM sees this lib as version 19.0.0 which is wrong because on GitHub there is a release 2.0.1. The mismatch is because
Yeah, it works fine but Xcode displays a yellow warning because it wants to update this package into Swift 5. It's just outdated.
I see but Xcode 13.2.1 was released on AppStore about 1 week ago. |
Ah. I see. I have 13.2.1. I was wondering if there was an issue with a prerelease. I see that stupid warning. I was wondering what caused it. That release is a few years old, and very much out of date. It should probably be deleted, or a bunch of new releases, set to various tags, should be added (at least the 19.0.0 tag). Thanks! |
Done |
This fixes minimum deployment target version error when project generated in Xcode 12