-
Notifications
You must be signed in to change notification settings - Fork 29
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
Bump to Xcode 14.3 and swift 5.8 #198
Conversation
README.md
Outdated
@@ -11,7 +11,7 @@ As the SDK is moved to general availability, we will be adding a contribution gu | |||
|
|||
## Support | |||
|
|||
The PayPal iOS SDK supports a minimum deployment target of iOS 14+ and requires Xcode 14.0+ and macOS Monterey 12. See our [Client Deprecation policy](https://developer.paypal.com/braintree/docs/guides/client-sdk/deprecation-policy/ios/v5) to plan for updates. | |||
The PayPal iOS SDK supports a minimum deployment target of iOS 14+ and requires Xcode 14.3+ and macOS Monterey 13. See our [Client Deprecation policy](https://developer.paypal.com/braintree/docs/guides/client-sdk/deprecation-policy/ios/v5) to plan for updates. |
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.
The PayPal iOS SDK supports a minimum deployment target of iOS 14+ and requires Xcode 14.3+ and macOS Monterey 13. See our [Client Deprecation policy](https://developer.paypal.com/braintree/docs/guides/client-sdk/deprecation-policy/ios/v5) to plan for updates. | |
The PayPal iOS SDK supports a minimum deployment target of iOS 14+ and requires Xcode 14.3+ and macOS Ventura 13. See our [Client Deprecation policy](https://developer.paypal.com/braintree/docs/guides/client-sdk/deprecation-policy/ios/v5) to plan for updates. |
Can't figure out why Build/Swift Package Manager is failing. This is the step where the SPMTest Xcode project This is the error I see:
=> So far, I've found correcting capitalization in build.yml file and using macOS-13 instead of macOS-latest with Swift version 5.7 passed the pipeline. I don't know why bumping the version to 5.8 causes error, same one above. If I specify Swift 5.8 Will try 14.3.1 with 5.8 This also caused an error Output: User defaults from command line: Build settings from command line: Resolve Package Graph Fetching from https://github.com/paypal/paypal-ios Fetching from https://github.com/paypal/paypalcheckout-ios (cached) Creating working copy of package ‘paypal-ios’ Checking out bumpXcode14_3 of package ‘paypal-ios’ Creating working copy of package ‘paypalcheckout-ios’ Checking out 1.1.0 of package ‘paypalcheckout-ios’ product 'paypalcheckout-ios' required by package 'paypal-ios' target 'PayPalNativePayments' not found. xcodebuild: error: Could not resolve package dependencies: Error: Process completed with exit code 74. |
This line in the README needs to be updated, and this PR also needs a CHANGELOG entry |
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.
👏 nice work troubleshooting the build failures!
Note for future reference. The issue was when we bumped the Swift version to 5.8, the deprecated function parameters for fetching paypalcheckout-ios didn't work properly. ( References: |
Summary of changes
Checklist
Authors