You need to make sure there is no storekit configration used in your scheme, otherwise the xcode env will be applied.
Topic:
App & System Services
SubTopic:
StoreKit
Tags: