-
Notifications
You must be signed in to change notification settings - Fork 331
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
Fix Carthage #3978
Fix Carthage #3978
Conversation
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, but maybe we can allow-list revenueCatUI too?
# Carthage builds all schemes including ones we don't need, so let's nuke them before proceeding | ||
schemes_directory = "Carthage/Checkouts/purchases-root/RevenueCat.xcodeproj/xcshareddata/xcschemes" | ||
Dir.glob("#{schemes_directory}/*.xcscheme").each do |file_path| | ||
next if File.basename(file_path) == "RevenueCat.xcscheme" |
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.
does this mean that we're skipping the test for RevenueCatUI?
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.
RevenueCatUI scheme is only defined in the Package file, which is ignored by Carthage.
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.
Oh wait that might be wrong, it's there but not shown? Anyway, this is the directory it searches, so it shouldn't affect RevenueCatUI.
jamesborthwick@Jamess-MacBook-Pro-2 xcschemes % ls -l
total 48
-rw-r--r--@ 1 jamesborthwick staff 4978 13 Apr 14:02 BackendIntegrationTests.xcscheme
-rw-r--r--@ 1 jamesborthwick staff 3591 13 Apr 14:02 ReceiptParser.xcscheme
-rw-r--r--@ 1 jamesborthwick staff 7220 14 Jun 14:47 RevenueCat.xcscheme
-rw-r--r--@ 1 jamesborthwick staff 2609 20 Jun 10:21 RevenueCatUIDev.xcscheme
**This is an automatic release.** ### Dependency Updates * Bump fastlane from 2.220.0 to 2.221.0 (#3971) via dependabot[bot] (@dependabot[bot]) * Bump rexml from 3.2.6 to 3.2.8 (#3907) via dependabot[bot] (@dependabot[bot]) * Bump fastlane-plugin-revenuecat_internal from `8ec0072` to `5f55466` (#3938) via dependabot[bot] (@dependabot[bot]) ### Other Changes * Fix cocoapods installation tests (#3981) via Toni Rico (@tonidero) * Remove carthage from CI and update release jobs to use xcode 15 and M1 (#3927) via Cesar de la Vega (@vegaro) * Bring back offline integration tests on M1 (#3976) via Toni Rico (@tonidero) * Fix Carthage (#3978) via James Borthwick (@jamesrb1) * Revert "Run offline backend integration tests on M1 machines (#3961)" (#3974) via Toni Rico (@tonidero) * Run offline backend integration tests on M1 machines (#3961) via Toni Rico (@tonidero) * Xcode project with RevenueCatUI + Tests (#3960) via James Borthwick (@jamesrb1) * Clone to spm using fastlane (#3926) via James Borthwick (@jamesrb1) * finishTransactions/ObserverMode -> PurchasesAreCompletedBy (#3947) via James Borthwick (@jamesrb1) * Switch tests for iOS 12 and 13 to M1 (#3958) via Toni Rico (@tonidero) * Fix prepare next version job (#3939) via Toni Rico (@tonidero)
Deletes all non-"RevenueCat" schemes in the project's shared folder (currently `BackendIntegrationTests.xcscheme `, `ReceiptParser.xcscheme ` and `RevenueCatUIDev.xcscheme `, which I assume are not needed by Carthage, so this should save a bit of time over what it was doing before too because it won't spend time on them.
**This is an automatic release.** ### Dependency Updates * Bump fastlane from 2.220.0 to 2.221.0 (#3971) via dependabot[bot] (@dependabot[bot]) * Bump rexml from 3.2.6 to 3.2.8 (#3907) via dependabot[bot] (@dependabot[bot]) * Bump fastlane-plugin-revenuecat_internal from `8ec0072` to `5f55466` (#3938) via dependabot[bot] (@dependabot[bot]) ### Other Changes * Fix cocoapods installation tests (#3981) via Toni Rico (@tonidero) * Remove carthage from CI and update release jobs to use xcode 15 and M1 (#3927) via Cesar de la Vega (@vegaro) * Bring back offline integration tests on M1 (#3976) via Toni Rico (@tonidero) * Fix Carthage (#3978) via James Borthwick (@jamesrb1) * Revert "Run offline backend integration tests on M1 machines (#3961)" (#3974) via Toni Rico (@tonidero) * Run offline backend integration tests on M1 machines (#3961) via Toni Rico (@tonidero) * Xcode project with RevenueCatUI + Tests (#3960) via James Borthwick (@jamesrb1) * Clone to spm using fastlane (#3926) via James Borthwick (@jamesrb1) * finishTransactions/ObserverMode -> PurchasesAreCompletedBy (#3947) via James Borthwick (@jamesrb1) * Switch tests for iOS 12 and 13 to M1 (#3958) via Toni Rico (@tonidero) * Fix prepare next version job (#3939) via Toni Rico (@tonidero)
It deletes all non-RevenueCat schemes which I assume are not needed by Carthage, so this should save a bit of time over what it was doing before too because it won't spend time on them.
https://app.circleci.com/pipelines/github/RevenueCat/purchases-ios/19899/workflows/a895e06e-305d-439d-9f99-3047a0375594