44

While testing beta versions of our iOS apps we've been recently seeing an alert with the following text only "[Environment: Sandbox]"

My guess is that this is a bug in the app store process but I don't know for sure.

Has anyone encountered the issue? Do you have any idea why?

Tom Susel
  • 3,111
  • 1
  • 22
  • 23

12 Answers12

23

Update: Most probably a temporary Apple glitch. Our customers start calling, reporting this problem as well.

Update 2: Seems to be fixed now.

enter image description here

This started happening all of the sudden earlier today. The weird thing is that we are using an AdHoc/Enterprise build in which we can't use the IAPs. To me this looks a bit like a server/time-related issue on Apple's side. Weird. The weirdest thing is that the app is a "production" build, not a debug build.

I suspect this is a temporary thing as it suddenly started happening and (hopefully) will go away again.

Interestingly an older production build that worked fine before, suddenly starts displaying this alert all the time whenever it starts. I can reproduce this on all my devices, so it doesn't seem to have anything to do with the build itself.

As soon as I log out of the "iTunes and App Store" panel in system settings, this stops happening. So I suspect there is something going on with the App Store/iTunes infrastructure.

BastiBen
  • 18,671
  • 10
  • 51
  • 82
  • Seeing the same issue with a live App Store build. – Kamchatka Oct 29 '14 at 08:19
  • @Kamchatka: I guess it will be the same case here. Just wait and see if it will go away. Otherwise try rebooting the device and see if that helps. Definitely was an Apple issue originally. – BastiBen Nov 03 '14 at 11:57
5

I had this same problem, I think its just an alert to let you know that you're signed in with a real AppleID account but you are using the sandbox app store, and so can't purchase anything.

You can fix it by signing out of your current AppleID account (Settings > iTunes & App Store > Click on your AppleID > Sign Out).

JDx
  • 2,517
  • 3
  • 20
  • 32
3

I had this as well all day long. According to the thread on the Apple forum (https://devforums.apple.com/message/800016#800016), it should be fixed now.

OK, we've made an update on the server which should fix this issue. Please post here if you're still seeing a problem with this empty alert coming up.

Roeland Weve
  • 489
  • 3
  • 7
2

I noticed the same at our app. Seems it comes from the call:

[[SKPaymentQueue defaultQueue] addTransactionObserver:self];

When I delete the line the alert is not shown.

holger.meyer
  • 135
  • 2
1

Another confirmation, this has to be a temporary apple bug, my existing apps started to produce the same, also my current project in which I disabled all Storekit functionalities and now it's gone.

Skrew
  • 1,492
  • 14
  • 15
0

I've an idea it might be to do with TestFlightApp, if all of you are using that.

Stuart
  • 19
0

We only get this alert for apps with release configuration, that are IAP-ready - that means, they link the StoreKit.framework and have registered a transaction observer to the default payment queue - but do not have a IAP-product set up in iTunesConnect. Simply setting one up should be a temporary solution for App Store apps. Of course, this is no option for enterprise apps.

Some users are already complaining in the Apple Support Communities about this problem https://discussions.apple.com/message/21696486?searchText=environment%20sandbox#21696486

So we can expect Apple will fix this problem within the next hours/days.

Sven Driemecker
  • 3,241
  • 1
  • 18
  • 22
0

A temporary workaround for us has been to put the device in airplane mode, or log out of the store. Airplane mode seems easier for testers than logging out and back in, but may interfere with other things.

NoelHunter
  • 936
  • 9
  • 17
0

this issue is because of invalid test user account. Just create a test user account in itunesconnect and login using that account in device. It will fix the issue. It happens, when you use inAppPurchase without a valid test user account.

:-)

Suran
  • 1,151
  • 1
  • 14
  • 21
0

Airplane mode is fine solution, but not permanent. If you can't do anything with your device, even turn on the Airplane mode, try to lock your device and then turn on the Airplane mode. Unlock your device and stay in Airplane mode for a couple of minutes. Then once turned off, the message will disappear for some time.

0

I recommend going into Setting -> Celluar Data and disabling access to whichever app you suspect is causing this. This is a better solution than Airplane mode because it at least allows you to access your other applications with little interruption. You just have to stay off of wifi.

Da Rod
  • 511
  • 4
  • 10
-4

First,log out game center. And then use ifundbox or itools to enter this address: /var/mobile/Library/Caches/ Find this file and backup: com.apple.mobile.installation.plist

copy it to your PC and delete these code:

<key>ProfileValidated</key>
<true/>
<key>SignerIdentity</key>
<string>TDMTANF Bypass</string> 

And then replace this file.

Log on game center,and everything recovered.

By the way:All of you are the 5.1.1 version,right?