chore: remove swiftsettings from bdk-swift #449
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This removes the flag to suppress warnings on
bdk-swift
.The motivation for this PR is to let
bdk-swift
work as a locally imported package, and work stably as a remote package.Notes to the reviewers
We originally added this flag in PR 365 as the solution to the problem were
bdk-swift
users were getting many warnings in their project frombdk-swift
. This was around the time of Xcode 13/14 and the correct solution.However over the past few months I've seen a bunch of issues and weird behavior like in
ldk-swift
where the package would just error out, and being a blocker for anyone to even pull in the package I opened and resolved it; I didn't see that extreme of behavior inbdk-swift
but kept monitoring it.One bad behavior we did get in
bdk-swift
was if you were to use it as a local package Xcode wouldn't let you unless you commented it out this line of code manually, which is pretty frustrating and is whyldk-node
just removed that code in a PR recently.So my suggestion/solution for now its to remove it as well, and then monitor the situation to see if anything in Xcode changes that makes me feel comfortable if we put a fix in that it will remain stable.
An alternative solution is to put the line of code removed from bdk-ff
Package.swift
in the bdk-ffiPackage.swift.txt
, but at this point I’d rather wait on that since whatever change caused this in Xcode is not documented so they might keep changing things and potentially break whatever we fix.Changelog notice
Checklists
All Submissions:
cargo fmt
andcargo clippy
before committingNew Features:
Bugfixes: