Post

Replies

Boosts

Views

Activity

Reply to Determining development/production environment for DeviceCheck
I asked Developer Technical Support about this, and they suggested that I should use "#ifdef DEBUG". I am not convinced that that is a sensible approach. (Surely people test non-debug build before shipping, right?) There is a stack overflow question about this: https://stackoverflow.com/questions/3426467/how-to-determine-at-run-time-if-app-is-for-development-app-store-or-ad-hoc-dist The most popular idea there is to inspect the embedded.mobileprovision file. Has anyone here done that?
Topic: App & System Services SubTopic: General Tags:
Mar ’22
Reply to How are IAP receipts supposed to work when an iOS app runs on an Arm Mac?
Hi @webcompanist, Still experiencing the "incorrectHash" issue today. I posted this thread when receipt validation was not working on macOS 11.0. At some point it got fixed by Apple, either in macOS 11.1 or in a server-side change around that time. Now, more than a year later, I believe that it may have stopped working again. Perhaps due to a macOS update. )Or maybe I have managed to screw up my code somehow.) In my development environment it seems to not work on macOS 12.2.1. Looking at my diagnostics, it may be not working for customers on macOS 12.2 and macOS 11.5 - but it's also possible that those diagnostics are coming from people with cracked apps. Can anyone else report whether they have app receipt validation working with iOS-on-macOS ("Designed for iPad") with newish versions of macOS?
Topic: App & System Services SubTopic: StoreKit Tags:
Mar ’22
Reply to identifierForVendor change when offload app?
I disagree with MobileTen. I don't think the page that he links to says anything about offloading. Offloading is a relatively new feature in iOS. If the identifierForVendor changed during offloading, many apps that predated offloading (including one of mine!) would have had problems as a result. I have not seen any such problems, which makes me think that the identifierForVendor does not change. But I could be wrong; users do not always report problems. Anyone else have any experience to share? (Of course the safe thing to do is to assume that it can change at any time.)
Topic: Privacy & Security SubTopic: General Tags:
Mar ’22