-
Notifications
You must be signed in to change notification settings - Fork 295
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
Xcode 12.5 - Fix SPM binary dependency explicit requirement #636
Conversation
…ataCollector and BraintreeDataCollector targets instead of their own public product libraries
…Xcode 12.4 support
…s and KountDataCollector
e5fd3ae
to
8968262
Compare
My only hesitation with this is that since Xcode 12.5 requires Big Sur, merchants who use SPM but can't upgrade to Big Sur (for whatever reason) won't be able to upgrade their Braintree integrations. |
I understand this concern. My first pass on this PR was how do we maintain support for XCode 12.4 as well as introduce the 12.5 fixes for merchants who can update. Then I thought ... nah, merchants can figure out how to upgrade if they want to get these fixes. We can only offer so many workarounds to these package manager bugs, and if Apple released a fix it is OK if we are tightly coupled to whatever version Apple provides that fix in. Let me know if that makes sense! |
Update - we are still waiting on GH Actions to release Mac OS 11 to their CI. |
You should do what we're going to try to do: host our own private runner to point the GH action to. |
@scannillo Since this is effecting the drop in component as well, Is there any provided workaround for the Drop in project? Maybe even a branch of the drop in repo that has SPM pointing to this branch until GH Actions release macOS 11 |
Signed-off-by: Samantha Cannillo <samantha.cannillo@getbraintree.com>
…ement Signed-off-by: Samantha Cannillo <samantha.cannillo@getbraintree.com>
Signed-off-by: Samantha Cannillo <samantha.cannillo@getbraintree.com>
…S version since BigSur isn't available yet) Signed-off-by: Samantha Cannillo <samantha.cannillo@getbraintree.com>
Signed-off-by: Sarah Koop <skoop@paypal.com>
Signed-off-by: Sarah Koop <skoop@paypal.com>
Signed-off-by: Sarah Koop <skoop@paypal.com>
Signed-off-by: Sarah Koop <skoop@paypal.com>
…ase.yml Signed-off-by: Sarah Koop <skoop@paypal.com>
cec7a10
to
ae79f18
Compare
Signed-off-by: Sarah Koop <skoop@paypal.com>
…in READMEs Signed-off-by: Sarah Koop <skoop@paypal.com>
Signed-off-by: Sarah Koop <skoop@paypal.com>
CHANGELOG.md
Outdated
* Re-add `BraintreeCore` dependency to `PayPalDataCollector` for Swift Package Manager archive issue workaround (fixes #679) | ||
* Remove SPM product libraries for `KountDataCollector` and `PPRiskMagnes` (this was a workaround for an Xcode bug discussed in #576; bug resolved in Xcode 12.5) |
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.
* Re-add `BraintreeCore` dependency to `PayPalDataCollector` for Swift Package Manager archive issue workaround (fixes #679) | |
* Remove SPM product libraries for `KountDataCollector` and `PPRiskMagnes` (this was a workaround for an Xcode bug discussed in #576; bug resolved in Xcode 12.5) | |
* Swift Package Manager | |
* Re-add `BraintreeCore` dependency to `PayPalDataCollector` for Swift Package Manager archive issue workaround (fixes #679) | |
* Remove SPM product libraries for `KountDataCollector` and `PPRiskMagnes` (this was a workaround for an Xcode bug discussed in #576; bug resolved in Xcode 12.5) |
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.
Might be nice to group both of these under Swift Package Manager
.
Also, maybe we should add a note in the changelog calling out that merchants using SPM can delete the Kount run script and remove the explicit dependencies on KountDataCollector
and PPRiskMagnes
?
And shouldn't CardinalMobile
be listed here too?
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.
Good callouts - I made an update, let me know what you think!
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.
Looks good!
Summary of changes
PayPalDataCollector
orBraintreeDataColletor
) to get the target and its binary dependencylibKountDataCollector.a
framework.Notes
Checklist
Authors
@scannillo