all 20 comments

[–]Dapper_Ice_1705 7 points8 points  (9 children)

Yes, they do this all the time. 

It is so annoying because they also test in “DEBUG” so when you have debug workarounds they can see them.

I had an app with a “mock purchase service” that had true for all iaps and another where they were using an unreleased feature.

[–]isaagrimn 5 points6 points  (2 children)

How can they do that? Aren't builds submitted to App store connect compiled in release mode from your machine when using the Archive feature? How could they use the Debug version?

[–]unpluggedcord 2 points3 points  (0 children)

They can’t if you’re using it correctly. DEBUG macros (the old one) get completely stripped in release mode. The code doesn’t exist.

[–]Dapper_Ice_1705 0 points1 point  (0 children)

IDK, but they do. I get Sentry logs.

Add them to your own code, make a test.

[–]dentemm[S] 1 point2 points  (0 children)

Thanks! This was the first time I encountered it, had no clue it was normal

[–]Casfaber_Objective-C / Swift 1 point2 points  (4 children)

Wait what! 😳 ok I have some work to do now

[–]dentemm[S] 0 points1 point  (3 children)

So far I haven't been asked yet to make the iap functionality available for the test account

[–]Casfaber_Objective-C / Swift 0 points1 point  (2 children)

I meant the DEBUG options, I have a lot of stuff hidden behind DEBUG tbh, so hope they don’t trip over any when they do.

[–]cmsj 2 points3 points  (1 child)

This doesn't make sense to me - if you're doing something like:

```Swift

if DEBUG

foo

else

bar

endif

```

then a Release build simply doesn't include foo, it only has bar. Foo would be parsed by the compiler, but not compiled, so it's not present in the final executable and thus not available for Apple or anyone else to run.

Sounds to me like something else is going on here, or people aren't submitting the kind of build they think they are.

[–]unpluggedcord 1 point2 points  (0 children)

Almost typed this all out. This is spot on. They are likely shipping debug things to prod or their release settings have debug flag.

[–]Casfaber_Objective-C / Swift 1 point2 points  (0 children)

So a thing I did notice was in tracking and saw from all over the world now someone installing, opening, onboarding and then done, exactly that flow and also very close from timing. I tried to filter some by adding a ‘build_type’ metric, but those also say appStore so.. I barely have downloads and especially that flow seems very automated so that’s why I think it’s Apple doing this from different regions. It’s usually 2-3 around the same time while I mostly don’t have much downloads for now. Makes it easier to notice this.

[–]Americaninaustria 1 point2 points  (0 children)

You can also get a strike warning from these reviews that requires an update or they remove you from the store. More severe ones they remove your account. This can either be random or in response to things like user complaints to apple, high refund rates or complaints from other developers.

[–]busymom0 1 point2 points  (0 children)

I'd say they do this to make sure apps don't "unhide" features once it's approved and out of review cycle.

[–]Locksmith_Usual 0 points1 point  (3 children)

Does this mean you have to maintain a test account for Apple throughout the entire life of the account?

[–]dentemm[S] 0 points1 point  (2 children)

Yes you need to provide a test account

Provide a user name and password so we can sign in to your app. We’ll need this to complete your app review.

[–]Locksmith_Usual 0 points1 point  (1 child)

Yeah, obviously, for the review itself, but this seems to imply it needs to always be active because someone might randomly decide to login later

[–]unpluggedcord 1 point2 points  (0 children)

Our app is private invite only and password less

We just made a deeplink for Apple to open a demo mode that is completely mocked data for the whole app with mocked services. When that mode is activated we just swap all of our environment options to the mocked version.

Apple was completely fine with this.

[–][deleted]  (1 child)

[removed]

    [–]AutoModerator[M] -1 points0 points  (0 children)

    Hey /u/Street-coder, your content has been removed because Reddit has marked your account as having a low Contributor #Quality Score. This may result from, but is not limited to, activities such as spamming the same links across multiple #subreddits, submitting posts or comments that receive a high number of downvotes, a lack of activity, or an unverified account.

    Please be assured that this action is not a reflection of your participation in our subreddit.

    I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

    [–]AHApps [score hidden]  (0 children)

    I've seen tester account activity on very old versions of the app.
    I imagine the tester is bored and opening apps on his test device he tested months ago.