Skip to content

Revert "SPM: added APPLICATION_EXTENSION_API_ONLY flag to RevenueCat and ReceiptParser (#2217)"#2225

Merged
NachoSoto merged 1 commit into
mainfrom
remove-unsafe-flags
Jan 18, 2023
Merged

Revert "SPM: added APPLICATION_EXTENSION_API_ONLY flag to RevenueCat and ReceiptParser (#2217)"#2225
NachoSoto merged 1 commit into
mainfrom
remove-unsafe-flags

Conversation

@NachoSoto

Copy link
Copy Markdown
Contributor

This reverts commit 02c2bce.

Unfortunately this breaks SPM integration under some conditions (see #2223):

error: The package product 'RevenueCat' cannot be used as a dependency of this target because it uses unsafe build flags. (in target 'PurchaseTester' from project 'PurchaseTester')

I haven't been able to reproduce this locally, but better to remove this for now until SPM adds a way to set this flag without using unsafe flags.

…eCat` and `ReceiptParser` (#2217)"

This reverts commit 02c2bce.

Unfortunately this breaks SPM integration under some conditions (see #2223):
> error: The package product 'RevenueCat' cannot be used as a dependency of this target because it uses unsafe build flags. (in target 'PurchaseTester' from project 'PurchaseTester')

I haven't been able to reproduce this locally, but better to remove this for now until `SPM` adds a way to set this flag without using unsafe flags.
@NachoSoto NachoSoto merged commit f23fb34 into main Jan 18, 2023
@NachoSoto NachoSoto deleted the remove-unsafe-flags branch January 18, 2023 20:13
NachoSoto pushed a commit that referenced this pull request Jan 19, 2023
**This is an automatic release.**

### Bugfixes
* `Purchases`: avoid potential crash when initializing in the background
(#2231) via NachoSoto (@NachoSoto)
### Other Changes
* `PurchaseTester`: ignore errors when restoring purchases (#2228) via
NachoSoto (@NachoSoto)
* `PurchaseTester`: fixed `isPurchasing` state when purchasing fails
(#2229) via NachoSoto (@NachoSoto)
* `PurchaseTester`: setting `changelog` when submitting to `TestFlight`
(#2232) via NachoSoto (@NachoSoto)
* Revert "`SPM`: added `APPLICATION_EXTENSION_API_ONLY` flag to
`RevenueCat` and `ReceiptParser` (#2217)" (#2225) via NachoSoto
(@NachoSoto)
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.

3 participants