Skip to content

XCFramework artifacts in CircleCI#4189

Merged
aboedo merged 7 commits into
mainfrom
andy/revenuecatui_xcframework_artifacts
Aug 16, 2024
Merged

XCFramework artifacts in CircleCI#4189
aboedo merged 7 commits into
mainfrom
andy/revenuecatui_xcframework_artifacts

Conversation

@aboedo

@aboedo aboedo commented Aug 15, 2024

Copy link
Copy Markdown
Member

Follow up to #4172
Adds the xcframework as a circleci artifact

Also fixes a code signing issue when archiving RevenueCatUI.xcframework

linear ticket: SDK-3555

@aboedo aboedo added the ci label Aug 15, 2024
@aboedo aboedo self-assigned this Aug 15, 2024
@aboedo

aboedo commented Aug 15, 2024

Copy link
Copy Markdown
Member Author

good news: artifacts code works.
bad news: xcframework didn't archive correctly in CI. Will try to debug, maybe a merge conflict from the latest round of rebase or something, it was working fine this morning

@aboedo

aboedo commented Aug 16, 2024

Copy link
Copy Markdown
Member Author

I don't wanna be the "works on my machine ™️ " guy, but it does work on my machine, so I'm digging into what's happening in CI

@aboedo

aboedo commented Aug 16, 2024

Copy link
Copy Markdown
Member Author

It's always code signing. Fixed some issues, hopefully that'll be it

@aboedo

aboedo commented Aug 16, 2024

Copy link
Copy Markdown
Member Author

FINALLY passing, I'll clean up and open for review

@aboedo

aboedo commented Aug 16, 2024

Copy link
Copy Markdown
Member Author

Confirmed that I could build in CI, then download the xcframework, put it into a brand new app, set up RC on it, show a paywall, and archive the app

@aboedo aboedo marked this pull request as ready for review August 16, 2024 14:45
MTL_FAST_MATH = YES;
OTHER_SWIFT_FLAGS = "";
PRODUCT_BUNDLE_IDENTIFIER = com.revenuecat.RevenueCatUIDev;
PRODUCT_BUNDLE_IDENTIFIER = com.revenuecat.RevenueCatUI;

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The stuff in this file was preventing CI from archiving the XCFramework correctly, but it did work on my machine because I had the profiles installed for it and it was set to auto manage.

The setup in this PR matches the one we've had forever for the RevenueCat.xcframework

@aboedo aboedo requested a review from a team August 16, 2024 14:58

@vegaro vegaro left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense!

@aboedo aboedo merged commit e34bacd into main Aug 16, 2024
@aboedo aboedo deleted the andy/revenuecatui_xcframework_artifacts branch August 16, 2024 15:00
joshdholtz added a commit that referenced this pull request Aug 22, 2024
**This is an automatic release.**

### New Features
* Price rounding logic (#4132) via James Borthwick (@jamesrb1)
### Bugfixes
* [Customer Center] Migrate to List style (#4190) via Cody Kerns
(@codykerns)
* [Paywalls] Improve locale consistency (#4158) via Josh Holtz
(@joshdholtz)
* Set Paywalls Tester deployment target to iOS 15 (#4196) via James
Borthwick (@jamesrb1)
* [Customer Center] Hide Contact Support button if URL can't be created
(#4192) via Cesar de la Vega (@vegaro)
* Fix the setting for SKIP_INSTALL in Xcode project (#4195) via Andy
Boedo (@aboedo)
* [Customer Center] Improving customer center buttons (#4165) via Cody
Kerns (@codykerns)
* Revert workaround for iOS 18 beta 5 SwiftUI crash (#4173) via Mark
Villacampa (@MarkVillacampa)
* [Paywalls] Make iOS version calculation lazy (#4163) via Mark
Villacampa (@MarkVillacampa)
* [Paywalls] Observe `PurchaseHandler` when owned externally (#4097) via
James Borthwick (@jamesrb1)
### Other Changes
* [Customer Center] Clean up colors in WrongPlatformView and
NoSubscriptionsView (#4204) via Cesar de la Vega (@vegaro)
* Fix failing `all-tests` and retry more flaky tests (#4188) via Josh
Holtz (@joshdholtz)
* Compatibility content unavailable improvements (#4197) via James
Borthwick (@jamesrb1)
* Create lane to enable customer center (#4191) via Cesar de la Vega
(@vegaro)
* XCFramework artifacts in CircleCI (#4189) via Andy Boedo (@aboedo)
* [Customer Center] CustomerCenterViewModel checks whether the app is
the latest version (#4169) via JayShortway (@JayShortway)
* export RevenueCatUI xcframework (#4172) via Andy Boedo (@aboedo)
* Corrects references from ManageSubscriptionsButtonStyle to
ButtonsStyle. (#4186) via JayShortway (@JayShortway)
* Speed up carthage installation tests (#4184) via Andy Boedo (@aboedo)
* Customer center improvements (#4166) via James Borthwick (@jamesrb1)
* replace `color(from colorInformation:)` global with extension (#4183)
via Andy Boedo (@aboedo)
* Fix tests in main (#4174) via Andy Boedo (@aboedo)
* Enable customer center tests (#4171) via James Borthwick (@jamesrb1)
* [Customer Center] Initial implementation (#3967) via Cesar de la Vega
(@vegaro)

---------

Co-authored-by: Josh Holtz <me@joshholtz.com>
nyeu pushed a commit that referenced this pull request Oct 2, 2024
Follow up to #4172
Adds the xcframework as a circleci artifact

Also fixes a code signing issue when archiving
`RevenueCatUI.xcframework`

linear ticket: SDK-3555
nyeu pushed a commit that referenced this pull request Oct 2, 2024
**This is an automatic release.**

### New Features
* Price rounding logic (#4132) via James Borthwick (@jamesrb1)
### Bugfixes
* [Customer Center] Migrate to List style (#4190) via Cody Kerns
(@codykerns)
* [Paywalls] Improve locale consistency (#4158) via Josh Holtz
(@joshdholtz)
* Set Paywalls Tester deployment target to iOS 15 (#4196) via James
Borthwick (@jamesrb1)
* [Customer Center] Hide Contact Support button if URL can't be created
(#4192) via Cesar de la Vega (@vegaro)
* Fix the setting for SKIP_INSTALL in Xcode project (#4195) via Andy
Boedo (@aboedo)
* [Customer Center] Improving customer center buttons (#4165) via Cody
Kerns (@codykerns)
* Revert workaround for iOS 18 beta 5 SwiftUI crash (#4173) via Mark
Villacampa (@MarkVillacampa)
* [Paywalls] Make iOS version calculation lazy (#4163) via Mark
Villacampa (@MarkVillacampa)
* [Paywalls] Observe `PurchaseHandler` when owned externally (#4097) via
James Borthwick (@jamesrb1)
### Other Changes
* [Customer Center] Clean up colors in WrongPlatformView and
NoSubscriptionsView (#4204) via Cesar de la Vega (@vegaro)
* Fix failing `all-tests` and retry more flaky tests (#4188) via Josh
Holtz (@joshdholtz)
* Compatibility content unavailable improvements (#4197) via James
Borthwick (@jamesrb1)
* Create lane to enable customer center (#4191) via Cesar de la Vega
(@vegaro)
* XCFramework artifacts in CircleCI (#4189) via Andy Boedo (@aboedo)
* [Customer Center] CustomerCenterViewModel checks whether the app is
the latest version (#4169) via JayShortway (@JayShortway)
* export RevenueCatUI xcframework (#4172) via Andy Boedo (@aboedo)
* Corrects references from ManageSubscriptionsButtonStyle to
ButtonsStyle. (#4186) via JayShortway (@JayShortway)
* Speed up carthage installation tests (#4184) via Andy Boedo (@aboedo)
* Customer center improvements (#4166) via James Borthwick (@jamesrb1)
* replace `color(from colorInformation:)` global with extension (#4183)
via Andy Boedo (@aboedo)
* Fix tests in main (#4174) via Andy Boedo (@aboedo)
* Enable customer center tests (#4171) via James Borthwick (@jamesrb1)
* [Customer Center] Initial implementation (#3967) via Cesar de la Vega
(@vegaro)

---------

Co-authored-by: Josh Holtz <me@joshholtz.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants