Commit b5d67f42b7

b5d67f42b7f7e009eb60a80857a306414117969f

parent: 024f611fbb

Unsigned

cmc <hello@cleberg.net> · 2026-07-20 19:08 UTC

test: add StoreKit configuration for local IAP testing

Adds DomainDig.storekit mirroring the App Store Connect setup: one
subscription group with Pro+ at level 1 and Pro at level 2, using the
corrected product IDs.

Wires it into the Run action so purchases resolve locally against
StoreKit instead of the App Store, and disables the
DOMAIN_DIG_FORCE_PRO_PLUS launch argument, which bypasses StoreKit
entirely and would mask whether the purchase path works.

Prices in the configuration are local-testing placeholders and do not
need to match App Store Connect.

Layout: unified · split

DomainDig.storekit added +135
@@ -0,0 +1,135 @@
1{
2 "identifier" : "A1B2C3D4",
3 "nonRenewingSubscriptions" : [
4
5 ],
6 "products" : [
7
8 ],
9 "settings" : {
10 "_applicationInternalID" : "6763610682",
11 "_developerTeamID" : "",
12 "_failTransactionsEnabled" : false,
13 "_lastSynchronizedDate" : 0,
14 "_locale" : "en_US",
15 "_storefront" : "USA",
16 "_storeKitErrors" : [
17
18 ]
19 },
20 "subscriptionGroups" : [
21 {
22 "id" : "20250720",
23 "localizations" : [
24
25 ],
26 "name" : "DomainDig Pro",
27 "subscriptions" : [
28 {
29 "adHocOffers" : [
30
31 ],
32 "codeOffers" : [
33
34 ],
35 "displayPrice" : "49.99",
36 "familyShareable" : true,
37 "groupNumber" : 1,
38 "internalID" : "2000000001",
39 "introductoryOffer" : null,
40 "localizations" : [
41 {
42 "description" : "Everything in Pro, plus ownership history, DNS history, extended subdomains, domain pricing, and reputation data.",
43 "displayName" : "DomainDig Pro+ (Annually)",
44 "locale" : "en_US"
45 }
46 ],
47 "productID" : "domaindig.proplus.annually",
48 "recurringSubscriptionPeriod" : "P1Y",
49 "referenceName" : "DomainDig Pro+ (Annually)",
50 "subscriptionGroupID" : "20250720",
51 "type" : "RecurringSubscription"
52 },
53 {
54 "adHocOffers" : [
55
56 ],
57 "codeOffers" : [
58
59 ],
60 "displayPrice" : "4.99",
61 "familyShareable" : true,
62 "groupNumber" : 1,
63 "internalID" : "2000000002",
64 "introductoryOffer" : null,
65 "localizations" : [
66 {
67 "description" : "Everything in Pro, plus ownership history, DNS history, extended subdomains, domain pricing, and reputation data.",
68 "displayName" : "DomainDig Pro+ (Monthly)",
69 "locale" : "en_US"
70 }
71 ],
72 "productID" : "domaindig.proplus.monthly",
73 "recurringSubscriptionPeriod" : "P1M",
74 "referenceName" : "DomainDig Pro+ (Monthly)",
75 "subscriptionGroupID" : "20250720",
76 "type" : "RecurringSubscription"
77 },
78 {
79 "adHocOffers" : [
80
81 ],
82 "codeOffers" : [
83
84 ],
85 "displayPrice" : "29.99",
86 "familyShareable" : true,
87 "groupNumber" : 2,
88 "internalID" : "2000000003",
89 "introductoryOffer" : null,
90 "localizations" : [
91 {
92 "description" : "Unlimited tracked domains, automated monitoring, local alerts, workflows, and advanced exports.",
93 "displayName" : "DomainDig Pro (Annually)",
94 "locale" : "en_US"
95 }
96 ],
97 "productID" : "domaindig.pro.annually",
98 "recurringSubscriptionPeriod" : "P1Y",
99 "referenceName" : "DomainDig Pro (Annually)",
100 "subscriptionGroupID" : "20250720",
101 "type" : "RecurringSubscription"
102 },
103 {
104 "adHocOffers" : [
105
106 ],
107 "codeOffers" : [
108
109 ],
110 "displayPrice" : "2.99",
111 "familyShareable" : true,
112 "groupNumber" : 2,
113 "internalID" : "2000000004",
114 "introductoryOffer" : null,
115 "localizations" : [
116 {
117 "description" : "Unlimited tracked domains, automated monitoring, local alerts, workflows, and advanced exports.",
118 "displayName" : "DomainDig Pro (Monthly)",
119 "locale" : "en_US"
120 }
121 ],
122 "productID" : "domaindig.pro.month",
123 "recurringSubscriptionPeriod" : "P1M",
124 "referenceName" : "DomainDig Pro (Monthly)",
125 "subscriptionGroupID" : "20250720",
126 "type" : "RecurringSubscription"
127 }
128 ]
129 }
130 ],
131 "version" : {
132 "major" : 4,
133 "minor" : 0
134 }
135}
DomainDig.xcodeproj/xcshareddata/xcschemes/DomainDig.xcscheme +4 −1
@@ -54,9 +54,12 @@
5454 <CommandLineArguments>
5555 <CommandLineArgument
5656 argument = "DOMAIN_DIG_FORCE_PRO_PLUS"
57 isEnabled = "YES">
57 isEnabled = "NO">
5858 </CommandLineArgument>
5959 </CommandLineArguments>
60 <StoreKitConfigurationFileReference
61 identifier = "../../../DomainDig.storekit">
62 </StoreKitConfigurationFileReference>
6063 </LaunchAction>
6164 <ProfileAction
6265 buildConfiguration = "Release"