-
Notifications
You must be signed in to change notification settings - Fork 1
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
Downgrade platform requirement and link frameworks #1
base: main
Are you sure you want to change the base?
Conversation
81fe5d4
to
a495c67
Compare
@@ -4,8 +4,7 @@ | |||
version = "1.8"> | |||
<BuildAction | |||
parallelizeBuildables = "YES" | |||
buildImplicitDependencies = "YES" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is more of an annoyance thing. With this set to automatic the version = "1.8"
will switch back and other across machines.
@@ -5,7 +5,7 @@ import PackageDescription | |||
|
|||
let package = Package( | |||
name: "LibFido2Swift", | |||
platforms: [.macOS(.v13)], | |||
platforms: [.macOS(.v10_15)], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keeping this at minimum possible value is usually best for adoption
@@ -18,7 +18,12 @@ let package = Package( | |||
.target( | |||
name: "LibFido2Swift", | |||
dependencies: ["LibCrypto", "libfido2", "LibCbor"], | |||
path: "LibFido2Swift" | |||
path: "LibFido2Swift", | |||
linkerSettings: [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is the explicit linking
a495c67
to
79c1dd5
Compare
79c1dd5
to
ac05b0c
Compare
ae8d7eb
to
91327db
Compare
Thanks for this! Good idea on the GitHub releases I can get that set up. And just lmk whenever this is ready to merge |
⛔️Don't merge this yet. I don't know it actually solved my problem.⛔️
I'm having serious issues linking this package to another Swift Package which doesn't make sense to me.
Part 1 of implementing Implement Security Key Auth into xcodes CLI tool.
Reference: XcodesOrg/XcodesApp#617
Since the CLI tool is a swift package and not an Xcode project we need to Explicitly link these binary dependencies to your library. This allows the linker down stream to work correctly.
Let me know if you have any questions. Also if this is going to be a "true" dependency it would be great to get releases setup on GitHub so we don't reference commit hashes.