Skip to content
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 15: fixed release build #3034

Merged
merged 1 commit into from
Aug 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,16 @@ commands:
bundle exec fastlane update_carthage_commit

jobs:
spm-release-build:
spm-release-build-xcode-14:
<<: *base-job
steps:
- checkout
- run:
name: SPM Release Build
command: swift build -c release --target RevenueCat
no_output_timeout: 30m

spm-release-build-xcode-15:
<<: *base-job
steps:
- checkout
Expand Down Expand Up @@ -891,8 +900,10 @@ workflows:
jobs:
- lint:
xcode_version: '14.3.0'
- spm-release-build:
- spm-release-build-xcode-14:
xcode_version: '14.3.0'
- spm-release-build-xcode-15:
xcode_version: '15.0.0'
- spm-xcode-14-1:
xcode_version: '14.1.0'
- spm-custom-entitlement-computation-build:
Expand Down
8 changes: 4 additions & 4 deletions Sources/Purchasing/Purchases/Purchases.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1389,6 +1389,10 @@ internal extension Purchases {
return self.paymentQueueWrapper.sk1Wrapper != nil
}

var storeKit2Setting: StoreKit2Setting {
return self.systemInfo.storeKit2Setting
}

#if DEBUG

/// - Returns: the parsed `AppleReceipt`
Expand Down Expand Up @@ -1454,10 +1458,6 @@ internal extension Purchases {
return self.backend.offlineCustomerInfoEnabled
}

var storeKit2Setting: StoreKit2Setting {
return self.systemInfo.storeKit2Setting
}

var publicKey: Signing.PublicKey? {
return self.systemInfo.responseVerificationMode.publicKey
}
Expand Down