Post

Replies

Boosts

Views

Activity

How to get base territory for subscriptions with App Store Connect API?
Hello all, In the App Store Connect API: Apps have /v1/appPriceSchedules/{id}/baseTerritory. IAPs have /v1/inAppPurchasePriceSchedules/{id}/baseTerritory. ...but: Auto-renewing subscriptions don't have a corresponding endpoint for getting the base territory However, the App Store Connect website does indeed require you to set a base territory when creating new auto-renewable subscriptions. Why's that? More importantly, what's the best way of determining what to use for a base territory? Thank you!!
0
0
298
Feb ’25
App Store Connect API - Can't modify subscription price that's close to its effective date
Hello, I'm using the App Store Connect API to check and modify subscription prices. I know there can be only 1 outstanding future price change for subscription pricing, so I check for any scheduled future price changes (after today's date) and then delete them before setting new ones. This works 95% of the time -- except in the last little bit before the date changes. For example, if it is 1 hour before midnight and tomorrow's date is when the scheduled price change goes into effect, when I try to delete, I'll get something like this: The request failed with response code 409 ENTITY_ERROR. There is a problem with the request entity. Cannot delete Subscription Price with id . Only future price changes can be deleted. If I look at the same subscription in App Store Connect, it will still show it as a future price change, and won't show the usual buttons to modify or delete it. However, in App Store Connect, I can still hit the "+" button to create a new price change and it will successfully delete and replace the pending price change, which will then appear with the usual Delete and Edit buttons. My first thought was that maybe it was a timezone issue, but if I go to put the new pricing into effect, that request fails with an error like this: "errors" : [ { "id" : "5a51c570-1f38-4fa0-b490-9fa979f4aecf", "status" : "409", "code" : "STATE_ERROR", "title" : "The request cannot be fulfilled because of the state of another resource.", "detail" : "Must delete future price change before creating a new price change." } ] So... my questions are: Is this expected behavior? How can App Store Connect replace the pending price change in the final hours but I can't do it with the API? As a workaround, is there a set amount of time before the price change goes into effect where the prices should no longer be editable? Thanks!
0
0
352
Feb ’25
Xcode 13 beta source control -- can't change branches with submodules
I've got a project repo that includes some submodules. In one of my submodules, I checked out a different commit. Neither the original repo nor the submodule have any changes. Once you get in this situation, you cannot change branches. For example, I am in "develop" branch, and I want to switch to "main". In Xcode, I control-click the "main" branch and choose "Check-out". This fails with an error that says, "The working copy has conflicting, uncommitted changes. Commit or discard the changes and try again." However, if I go to the Source Control menu and choose "Discard All Changes...", I get an error, "Cannot Discard Changes. There are no uncommitted changes in the working copies for this project." The Source Control Navigator, under Changes, under Local Changes, shows the submodule with a "?" as the status. It looks to me that Xcode 13 is confused by the submodule -- in one spot setting that changes exist, in another, acting as if there are no changes. Am I missing something?
1
0
2.1k
Jun ’21
App Store Connect API - Historical pricing for app, IAPs, subscriptions
Hello! I'm using the App Store Connect API and am trying to find out if there is a way to get historical pricing for apps, in-app purchases, and/or subscriptions? I see https://developer.apple.com/documentation/appstoreconnectapi/get-v1-apppriceschedules-_id_, as well as similar APIs for in-app purchases and subscriptions, but those don't appear to return (or give a way to return) anything historical. Thanks!
1
0
359
Feb ’25
Base territory for app, in-app purchase
Hello! I'm using the App Store Connect API to get some pricing information for my apps and in-app purchases. If I'm understand correctly, I first need to get the base territory and then get pricing schedules for that territory, and the process looks to be the same across both App information and In-App Purchase information, even though those each use different API endpoints. My question is about Base Territory. I thought that was a thing that's the same across an entire App Store Connect team, but I see these two APIs: (1) Read the base territory for an app's price schedule and (2) Read the selected base territory for an in-app purchase price schedule The fact that both of these exist implies that IAPs can have a different base territory than the app itself, and that different apps can have different base territories, or even that different IAPs in the same app could have different base territories. Is that actually true? Or, do both APIs exist for convenience - so that if you're dealing with an IAP you can use that API instead of the app API, for example? The reason I'm asking is that I'd like to be as efficient as possible with API calls. Right now, in order to get prices for all apps in my account and all IAPs, I believe I need to call: To fetch all pricing information: /v1/apps - Get list of all apps For each app: /v1/appPriceSchedules/{appId}/baseTerritory - Get base territory /v1/appPriceSchedules/{appId}/manualPrices?filter[territory]={territoryId} - Get prices for base territory /v1/apps/{appId}/inAppPurchasesV2?include=iapPriceSchedule - Get IAPs /v1/apps/{appId}/subscriptionGroups?include=subscriptions - Get auto-renewable subscriptions For each IAP: If type is NOT non-renewing subscription: /v1/inAppPurchasePriceSchedules/{iapId}/baseTerritory - Get base territory /v1/inAppPurchasePriceSchedules/{iapId}/manualPrices?filter[territory]={territoryId} - Get prices If type IS non-renewing subscription OR auto-renewable subscription: /v1/subscriptions/{iapId}/prices?filter[territory]={territoryId} - Get subscription prices This is getting what we want, but hat's a LOT of API calls. Are there steps here we can shortcut or cut out? I'm looking for the current, manually-set prices for everything. Thanks very much!
1
0
446
Feb ’25
SceneKit keyed blend shape animation imported from Collada (.dae) file (created in Maya) not playing
I'm using Maya to create animations to use in SceneKit.I'm exporting as COLLADA file (.dae) using Maya's built-in FBX DAE exporter.Animations on the node transform all work perfectly. For example, if we have an animation of the translation, rotation, or scale -- or a combination of those -- the animation imports correctly with the node.However, when I import an animation based on keyed blend shape inputs, the animation doesn't play.Within Xcode, if I click on the .dae and start looking at attributes, the node is there and has the blend shape (geometry morpher) attached, and it is manipulable.Additionally, an animation is listed, and if I look at attributes within the node, the animation is listed there as well.If I iterate through the SCNNode's animationKeys property, an animation is there and it has the correct amount of time associated with it. But I can't seem to get it to work.On the Xcode side of things, I have tried:Saying "Update" when prompted to update the .dae file within Xcode.Not updating the .dae file when promptedApplying Jon Allee's Collada Morph Adjuster to the .dae file, before giving it to Xcode.Loading as SCNSceneSource instead of SCNSceneOn the Maya side of things, I've tried several variations on the creation/export process:Tried the "remove single key" checkbox (with and without)Tried the "bake animation" setting in the export windowTried checking and unchecking "Deformed models" and "Blend Shapes"Under the Collada option in the export window, I've tried with and without "Single Matrix" checked. I usually check "Single Matrix" now or I get a bunch of animations within Xcode. However, checking or not checking this option does not appear to have any effect on SceneKit's behavior. The transform animations work either way, and the blend shape animations don't work either way.I've also looked at dozens of Stack Overflow questions carefully -- this is not a duplicate question, as well as ones in Apple's forums and am pretty out of ideas.I put together a quick sample project that demonstrates both the working and non-working, and includes the source Maya files as well as a couple of explainer videos.I'm using:Maya 2018.2 (Cut ID: 201711281015-8e846c9074)Xcode 9.3 (9E145)macOS High Sierra 10.13.4iOS 11.3.1Thanks!
3
0
4.2k
Jan ’21
No accounts with App Store Connect access - unable to authenticate with app store connect
Suddenly today I'm getting this error when I click "Distribute App" in Xcode 12.5: No App Store Connect account: No accounts with App Store Connect access have been found for the team "XXXXXXXXXXXX". App Store Connect access is required for App Store Connect distribution. Then it lists my several accounts below, and next to each, under "Issue", it says "Unable to authenticate with App Store Connect". I can login to AppStoreConnect via the website, with no issues, and my account is the account owner. There are no updated terms or developer agreements etc to accept and no banking or tax info to update. I tried deleting the account from Xcode and re-adding it. It adds without trouble, but then fails at this point. Ideas?
2
0
5.9k
Jul ’21
Fetching app version release dates with App Store Connect API
What App Store Connect API endpoint(s) do I need to use to get the release dates of an app's various app versions? On App Store Connect itself, I can navigate to a given app and select "History", on the left side under General. See screenshot: In the screenshot, you can clearly see that version 1.9 became Ready for Distribution on Nov 12, 2024 at 3:28 AM, and that version 1.10 became Ready for Distribution on February 18, 2025 at 8:10 AM. However, I haven't been able to find to get any of these detailed status history via the App Store Connect API. Specifically I'm looking for release, or "go live", dates for the various versions of a given app. I'd have expected one of these API endpoints, or some combination thereof, to include this information in some way, but I'm just not finding it: GET https://api.appstoreconnect.apple.com/v1/apps/{id}/appStoreVersions GET https://api.appstoreconnect.apple.com/v1/appStoreVersions/{id} GET https://api.appstoreconnect.apple.com/v1/apps/{id}/builds GET https://api.appstoreconnect.apple.com/v1/apps/{id}/reviewSubmissions I've submitted FB16730940 and also via TSI.
2
0
304
Aug ’25
Xcode 16.3 - very slow to run on simulator
Build and run on simulator is suddenly very slow since Xcode 16.3. The build is normal, but the run part launches the simulator and sits and waits 5, 10, 15, sometimes 20 seconds before anything happens. During that time, the screen is blank on the simulator and the console output is blank in Xcode. What's going on here? Is there a fix or work-around? EDIT: If I turn off the debugger, so it just runs without attaching it, the launch happens instantly.
3
1
155
Jul ’25
DYLD_PRINT_STATISTICS not working / Xcode 13.0 beta / iOS 15.0 beta 8
Hello! I'm working on a new app, and DYLD_PRINT_STATISTICS=1 is not working - i.e., not producing any output. Build platform: MacBook Pro (15-inch, 2018) macOS Monterey, 12.0 beta 6 (21A5506j) Xcode 13.0 beta 5 (13A5212g) Test device: iPad 8th generation iPadOS 15.0 beta 8 (19A5340a) I'm setting it as usual in Product -> Scheme -> Edit Scheme, then going to "Run" tab on the left and choosing "Arguments" on the top. In that screen I enter "DYLD_PRINT_STATISTICS" for Name and "YES" for Value. Nothing prints. I also tried: Using "1" for Value instead of "YES" Entering "DYLD_PRINT_STATISTICS=YES" as Name and leaving Value blank Entering "DYLD_PRINT_STATISTICS=1" as Name and leaving Value blank Every combination of the above, but as command-line arguments instead of environment variables. Also, I tried "DYLD_PRINT_APIS" as Name and "YES" as Value, and that works normally. What's going on here? Is it something with the all-SwiftUI lifecycle? An issue with the beta macOS/Xcode/iPadOS? Thanks!
4
1
6.8k
Mar ’22
ERROR: Unrecognized attribute string flag '?' in attribute string "T@"NSString",?,R,C" for property debugDescription
Hello, I'm seeing many errors like this in the Xcode debug console when I build and run my app: ERROR: Unrecognized attribute string flag '?' in attribute string "T@"NSString",?,R,C" for property debugDescription The app project makes heavy use of Logger(), and I suspect it is related to that logging in some way, but I haven't been able to narrow down the issue to specific log calls. I have Category, Subsystem and Timestamp enabled in the Xcode console, but none of those are displayed for this output. What causes this? Or how can I better narrow down the source?
4
3
999
Feb ’25
Xcode 10.0 diagnosticd high CPU w/iPhone XR Simulator
Hi All,I've got the new 2018 MacBook Pro 15" (15,1) running High Sierra 10.13.6 and the Xcode 10.0 (10A255) release version and am having the following recurring issue.I've got an iOS project that I'm running in the simulator. In this case I'm actually running XCTests. The total tests run for about 4 seconds.At this point, Xcode looks like it's idle, but my fans spin up to full speed and Activity Monitor shows me: diagnosticd 170% cpu diagnosticd 82% cpu notifyd 78% cpu SpringBoard 78% cpuSometimes it shows diagnosticd higher like 350% CPU, but always diagnosticd is the highest.The computer doesn't seem to be doing anything. Both Xcode and Simulator are responsive.If I close the simulator, these disappear and the fans spin back down.This happens 100% of the time with the iPhone XR simulator, but doesn't seem to happen at all with any of the others, including the XS and XS Max.Anyone else seeing this?
5
0
6.0k
Oct ’23
Can't upload app: No accounts with App Store Connect access have been found
Getting this error suddenly tonight:No App Store Conect Account:No accounts with App Store Connect access have been found for the team "<MY TEAM>". App Store Connect access is required for App Store distribution.Then below it lists my Apple ID and says "No App Store Connect access for the team".Nothing has changed and it worked a week ago.I'm the owner of my company, the "agent" account in member center and admin on app store connect.Any solution to this?I had a similar problem maybe 6 months ago that randomly went away on its own at some point, but was stuck with it for a week or more at the time.
6
0
8.1k
Mar ’23