Comments (2)
Hi @roostr, when using Carthage to add any framework you have to add a build phase to strip the frameworks. On your application target "Build Phases" settings tab, add a "New Run Script Phase" by pressing the + button with the content /usr/local/bin/carthage copy-frameworks
. You also need to add the paths to the frameworks you want to use under "Input Files":
$(SRCROOT)/Carthage/Build/iOS/Purchases.framework
$(SRCROOT)/Carthage/Build/iOS/Purchases.framework
This script is a workaround for an App Store bug where apps with frameworks that contain binary images for the iOS simulator are automatically rejected.
This tutorial is very good https://www.raywenderlich.com/416-carthage-tutorial-getting-started and has more information around this.
Cheers!
from purchases-ios.
Thanks @vegaro!
I did forget this step. I had later fixed it, but I forgot to remove it from my "Embed Frameworks" step. So it looks like I was embedding it twice, and one of those was the unstripped binary.
All's well now, thank you! 🙌
from purchases-ios.
Related Issues (20)
- BUG: @objc public func package(identifier: String?) -> Package? doesn't recognize my identifier and only use $rc_weekly HOT 6
- Clicking the Restore Purchase button in Paywalls doesn't get the user information HOT 5
- Paywall with 'displayCloseButton: true' not closing automatically after successful purchase HOT 28
- Opening terms or privacy link from paywall opens in a sidebar on iPad HOT 5
- Subscriptions in PayWalls Show wrong information! HOT 7
- Cannot get the active entitlements in `Sandbox` environment when having same type of entitlements in `Prod`. HOT 3
- PaywallViewController does not auto dismiss on restore purchase success HOT 7
- NonSubscriptionTransaction.transactionIdentifier Does not match StoreTransaction.identifier HOT 3
- Paywall shows in English despite iPhone being set to German HOT 8
- Control PaywallView dismiss HOT 6
- Paywall bug for visionOS, Template 4, not enough room for "Monthly" split over two lines HOT 1
- RevenueCat randomly can't fetch offerings for ONE of my devices (iPadOS 17.4 beta) HOT 9
- ErrorCode description should be localized HOT 3
- Invalid reason on xcprivacy report file: Privacy Accessed API Types USERDEFAULT HOT 3
- purchases-ios stuck fetching in Xcode HOT 4
- SPM install takes forever HOT 17
- /v1/receipts api returns status_code 529 HOT 7
- Paywall language changes on every app re-install HOT 6
- "can't find package" error. HOT 4
- Add support for the native macOS platform to the RevenueCat Paywalls HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from purchases-ios.