Posts under Developer Tools & Services topic

Post

Replies

Boosts

Views

Activity

Unable to use API key to create new app in CI
Hi, We run an app house where we're creating a new app through our store for clients every few weeks. We've been using the Apple ID login through fastlane to create new apps in our CI, however we find having to log in to multiple machines every few weeks very frustrating, as it requires 2fa, and always seems to happen right when the system admins are on leave. We've tried to use the API key instead however creating apps doesn't appear to be supported, as we get a 403 error stating we can't use create. This was with the App manager role. Is it at all possible to crate an app using the api key, turn off the timeout on the ID Login or, automate this so we don't need to log in every few weeks?
0
0
70
Apr ’25
Device token for DeviceCheck API
Hi all, I'm trying to integrate Apple’s DeviceCheck API into my Flutter iOS app. I already have everything set up on the backend — the Apple private key, key ID, team ID, and DeviceCheck capability. The backend is generating and signing the JWT correctly and making requests to Apple. However, I’m currently stuck on the frontend (Flutter): 👉 How can I generate the device_token required by the DeviceCheck API (via DCDevice.generateToken) in a Flutter iOS app? I understand that DCDevice.generateToken() must be called from native Swift code. I previously attempted to use a MethodChannel to bridge this in Swift, but would prefer not to write or maintain native Swift code if possible. I've looked for a prebuilt Flutter package to handle this, but nothing exists or is up-to-date on pub.dev. Main Question: Is there any Apple-supported way to generate the device_token for DeviceCheck from a Flutter app without writing Swift code manually? If not, is DCDevice.generateToken() the only possible approach, and must I implement this via Swift and Flutter platform channels? Thanks!
0
0
193
Apr ’25
Workbench Ad Tester not returning preview URLs
Apologies if this isn't tagged right but dev tools and services seemed the most appropriate since this is related to the workbench Ad Tester tool. I'm seeing a behavior where the preview link is not being generated. Specifically, I am seeing a POST request to the following URL consistently fail: https://iadworkbench.apple.com/adtester/api/v1/ads/previewLink?orgId=1127861 Variations/scenarios I have tried so far: All possible ad format choices on all possible devices All options for the placement type Both third party and uploaded creative sources Uploaded creative sources appear to be failing to upload as well A simple div with a "hello world" content fails as a third party creative source Multiple apple accounts I created a new account specifically to test if my primary apple ID was experiencing issues with this Multiple browsers I have tried multiple versions of Chrome/Firefox/Safari I tested with and without browser extensions to determine whether an extension was interfering or not Clearing session/local storage along with cookies I also created new profiles in browsers to verify that I was getting a fresh browser environment In all of these cases, the API request to generate a preview link is consistently failing with a 500 error code. It's worth noting that the web preview option works, but this isn't a truly accurate test environment and can't be solely relied on when testing ad content. I don't know exactly when this started happening as I have not used it in the last couple of weeks but I have used the workbench ad tester extensively in the past the same way I have been trying with my current test without issue. That coupled with the fact that the request for the preview link consistently fails in all of the test scenarios I've outlined above leads me to believe there is a problem with the API that is responsible for generating the preview links.
0
0
245
Apr ’25
xcstrings CFBundleName value changes after building different target
Hi, I followed Xcode’s recommendation and migrated to the new strings format (*.strings → *.xcstrings) using the Migrate to String Catalog option. My project has two build targets: MyAppName MyAppNameVFSCopy Every time I build one or the other target, the value in the .xcstrings file changes under CFBundleName > en > stringUnit > value, switching between MyAppName and MyAppNameVFSCopy. As a result, Git detects a change in source control each time, which is quite annoying. How can I prevent this from happening? After building MyAppNameVFSCopy target, the "value" is MyAppNameVFSCopy "CFBundleName" : { "comment" : "Bundle name", "extractionState" : "extracted_with_value", "localizations" : { "en" : { "stringUnit" : { "state" : "new", "value" : "MyAppNameVFScopy" } } } } After building MyAppName target, the "value" changes to MyAppName "CFBundleName" : { "comment" : "Bundle name", "extractionState" : "extracted_with_value", "localizations" : { "en" : { "stringUnit" : { "state" : "new", "value" : "MyAppName" } } } } Deleting CFBundleName from *.xcstrings file didn't help. CFBundleName is automatically created again after building target. Both targets has it's on plist file. In those files: <key>CFBundleName</key> <string>${PRODUCT_NAME}</string> Attaching full xcstrings file InfoPlist.xcstrings
1
0
81
May ’25
Xcode 16.3 Compile fails
After updating to 16.3, my project now fails to compile with the diagnostic: "Command SwiftCompile failed with a nonzero exit code". This is a SwiftUI document project with two local packages, the second of which is a rather large one with 112 SwiftUI files. It is this second package that is failing. There are no issues when compiling with 16.2. Without diagnostics I'm having a bit of difficulty in determining the cause. My thought is to regress the commits unit 16.3 gives a success, or shows issues. Although I'm not catching a similar issue in the forums, I'm seeing other problems with 16.3. Has anyone else had such build failure isolated to 16.3? Any advice on other ways to approach this problem? Thanks in advance
5
0
333
Apr ’25
Recording WKWebView
I am trying to record the requests and responses in a WKWebView, but instruments does not seem to record them. Is this to be expected? The webView is set to inspectable, and I am using the HTTP Traffic instrument. All the requests the app is doing are recorded, but neither the original request for the webView, nor subsequent traffic is recorded. When I use Safari to inspect the webView, all I see is the last page (even when I start the inspector before the first request is made). How can I see these requests?
0
0
159
May ’25
How to install codes from Playground on iPhone
Hi there, I'm currently learning how to write some code using Swift Playgrounds on my Mac, and I'm wondering if there's a way to install the code I create onto my iPhone, like a regular app. I've searched online quite a bit but haven't found any clear or definitive answers. Many resources mention a "Run on iPhone" option in Swift Playgrounds, but I don't see that button in my version. I even installed Xcode and connected my iPhone to my Mac, following the instructions I found, but the "Run on iPhone" option still doesn't appear in Playgrounds. I've updated my Mac, iPhone, and Playgrounds to the latest version. Thank you for your help!
1
0
154
Apr ’25
App crashing on startup
I am a developer working on an iOS enterprise application. When I deployed the release version to my device, it crashes upon startup. It works fine in debug mode on my device. The app is an upgraded version of Xamarin Form to .NET MAUI. I have attached a crash report. I would appreciate any help/insights on how to resolve. --John
2
0
127
Apr ’25
none of the input catalogs contained a matching stickers icon set or app icon set named "Assets.xcassets"
Hi, in XCode and iOS app. Tried to add Icon, got image size errors. reuploaded with correct sizes and started getting this error. Tried all the solutions from forums, didn't work. Restarted Mac Deleted Assets.xcassets and recreated with AppIcon and AccemntColor Copied "Assets.xcassets" from new dummy Project to main one. I don't have info.plist file Could you please help. Thanks, Bhanu
0
0
102
Apr ’25
Apple Developer Program Enrollment Application Not Processing (South Africa)
Hi Apple Developer Team, I’m a developer based in South Africa. I initially submitted my enrollment for the Apple Developer Program (Individual) last week Thursday (May 2nd, 2025). The enrollment was then withdrawn by Apple, asking me to re-apply - which I did. Unfortunately, the same issue persists. I entered valid payment details during the re-application. No payment has been deducted. The enroll button on the Apple Developer app remains disabled. It has now been 5 days without resolution. We’ve even gone to the extent of verifying our banking setup and confirming that our card is enabled for international payments. Out of frustration, I have now withdrawn all enrollment applications. Please advise on how I can proceed based on the Case ID I have submitted. This delay is affecting our iOS launch, and I would really appreciate guidance on the way forward. Thank you.
0
0
103
May ’25
Developer Account Enrollment Delayed Over a Month After Re-Submission – No Updates
Hi everyone, I’m experiencing a frustrating delay with my Apple Developer Program enrollment and I’m hoping someone here can help or escalate the issue. I had previously completed the enrollment process and was approved, but after opening the Apple Developer app on my iPad, the entire progress reset for some reason. I was forced to start the process again from scratch, including submitting all required documents. Last time, my documents were verified and approved within 7 days. However, this time, it’s been over a month since I submitted my documents and there's been no progress. I contacted Apple Developer Support, but they responded saying it would take an “undetermined amount of time,” without providing any explanation, timeline, or guidance. That’s extremely concerning, especially since I’ve already gone through this once before. This delay is affecting my ability to move forward with game releases and business plans. I’m more than willing to provide any additional documentation if needed, but I’m currently stuck with no idea what’s going on. Can someone from the Apple team please: Check the status of my enrollment using Enrollment ID: 772673548 Let me know if there are any issues that require action from my side Or help escalate this for review? Any help or guidance would be greatly appreciated. Thank you, Shamsad M
0
0
127
Apr ’25
Locked Company Developer Account – Immediate Assistance Required
I am the sole administrator of a paid company Apple Developer account, and as of today I’m completely locked out everywhere: I cannot sign in to App Store Connect, developer.apple.com, or even account.apple.com. Every login attempt returns either “Please verify your account information and try again” or “This account is locked and can’t be used.” I have never changed my password, Two-Factor Authentication is enabled and delivering codes, there are no pending agreements or banking/tax forms, and I see no unrecognized devices in my account. I’ve tried multiple networks, browsers, and devices, and I’ve already contacted Apple Support—yet no explanation or resolution has been provided. This total lockout is preventing our app submissions from moving forward and putting our entire release schedule at risk. I need: A clear, specific reason why my corporate Developer account has been locked. Any immediate steps or known workarounds to restore full access. Advice from anyone who has faced the same unexplained lockout.
0
0
193
May ’25
Preview on real device without showing the canvas
I am using my real device and the Xcode Preview which works pretty fine. I do not want to show an empty canvas pane all the time. But when hiding the canvas, the preview pauses. I tried the refresh shortkey (OPT + CMD + P), too, while canvas is invisible. Why must the canvas be visible even there is no content besides "Previewing on iPhone from..." Info? I hope there is a workaround to hide the canvas while pushing to real devices.
1
0
71
May ’25
DriverKit XCode compilation errors
I'm working on dext project (c++), Base SDK and Supported Platforms are set to DriverKit. #include causes errors: error "The iostreams library is not supported since libc++ has been configured without support for localization." error "<locale.h> is not supported since libc++ has been configured without support for localization." Also it's not possible to define custom log object: undeclared identifier 'os_log_create'. <os/log.h> included and os_log function is compiled correct. macOS as additional SDK did not help. Thanks a lot for any hint.
1
0
524
Apr ’25
ModifyPromo 409: State Error
When calling modifypromo, I keep getting this error: error: HTTP status code 409, body { "errors" : [ { "id" : "7aeb5c20-576d-4500-ad65-525d298d2093", "status" : "409", "code" : "STATE_ERROR", "title" : "The request cannot be fulfilled because of the state of another resource.", "detail" : "Cannot invoke "com.apple.its.pricing.api.model.Country.countryCodeISO2A()" because the return value of "com.apple.its.pricing.api.model.offers.AdHocOfferProduct.country()" is null" } ] } My request is: Where id is the encrypted values needed { "data": { "attributes": {}, "relationships": { "prices": { "data": [ { "id": "id", "type": "subscriptionPromotionalOfferPrices" } ] } }, "type": "subscriptionPromotionalOffers", "id": "id" }, "included": [ { "attributes": {}, "id": "subscriptionPromotionalOfferPrices", "relationships": { "subscriptionPricePoint": { "data": { "id": "id", "type": "subscriptionPricePoints" } }, "territory": { "data": { "id": "USA", "type": "territories" } } } } ] }
2
0
125
Apr ’25
Xcode Energy Impact Zero
When testing Energy Impact on Xcode, it shows zero, and other data is normal
Replies
0
Boosts
0
Views
51
Activity
Apr ’25
Unable to use API key to create new app in CI
Hi, We run an app house where we're creating a new app through our store for clients every few weeks. We've been using the Apple ID login through fastlane to create new apps in our CI, however we find having to log in to multiple machines every few weeks very frustrating, as it requires 2fa, and always seems to happen right when the system admins are on leave. We've tried to use the API key instead however creating apps doesn't appear to be supported, as we get a 403 error stating we can't use create. This was with the App manager role. Is it at all possible to crate an app using the api key, turn off the timeout on the ID Login or, automate this so we don't need to log in every few weeks?
Replies
0
Boosts
0
Views
70
Activity
Apr ’25
Device token for DeviceCheck API
Hi all, I'm trying to integrate Apple’s DeviceCheck API into my Flutter iOS app. I already have everything set up on the backend — the Apple private key, key ID, team ID, and DeviceCheck capability. The backend is generating and signing the JWT correctly and making requests to Apple. However, I’m currently stuck on the frontend (Flutter): 👉 How can I generate the device_token required by the DeviceCheck API (via DCDevice.generateToken) in a Flutter iOS app? I understand that DCDevice.generateToken() must be called from native Swift code. I previously attempted to use a MethodChannel to bridge this in Swift, but would prefer not to write or maintain native Swift code if possible. I've looked for a prebuilt Flutter package to handle this, but nothing exists or is up-to-date on pub.dev. Main Question: Is there any Apple-supported way to generate the device_token for DeviceCheck from a Flutter app without writing Swift code manually? If not, is DCDevice.generateToken() the only possible approach, and must I implement this via Swift and Flutter platform channels? Thanks!
Replies
0
Boosts
0
Views
193
Activity
Apr ’25
Where is the `Metal-cpp-extensions` download website?
Hi, I really appreciate the C++ binding provided. I got the metal-cpp source code from the website at Getting Started. However, I could not find the same for metal-cpp-extensions. Is it not available or do we have to always extract it from the sample code? Thanks.
Replies
1
Boosts
0
Views
262
Activity
May ’25
Workbench Ad Tester not returning preview URLs
Apologies if this isn't tagged right but dev tools and services seemed the most appropriate since this is related to the workbench Ad Tester tool. I'm seeing a behavior where the preview link is not being generated. Specifically, I am seeing a POST request to the following URL consistently fail: https://iadworkbench.apple.com/adtester/api/v1/ads/previewLink?orgId=1127861 Variations/scenarios I have tried so far: All possible ad format choices on all possible devices All options for the placement type Both third party and uploaded creative sources Uploaded creative sources appear to be failing to upload as well A simple div with a "hello world" content fails as a third party creative source Multiple apple accounts I created a new account specifically to test if my primary apple ID was experiencing issues with this Multiple browsers I have tried multiple versions of Chrome/Firefox/Safari I tested with and without browser extensions to determine whether an extension was interfering or not Clearing session/local storage along with cookies I also created new profiles in browsers to verify that I was getting a fresh browser environment In all of these cases, the API request to generate a preview link is consistently failing with a 500 error code. It's worth noting that the web preview option works, but this isn't a truly accurate test environment and can't be solely relied on when testing ad content. I don't know exactly when this started happening as I have not used it in the last couple of weeks but I have used the workbench ad tester extensively in the past the same way I have been trying with my current test without issue. That coupled with the fact that the request for the preview link consistently fails in all of the test scenarios I've outlined above leads me to believe there is a problem with the API that is responsible for generating the preview links.
Replies
0
Boosts
0
Views
245
Activity
Apr ’25
xcstrings CFBundleName value changes after building different target
Hi, I followed Xcode’s recommendation and migrated to the new strings format (*.strings → *.xcstrings) using the Migrate to String Catalog option. My project has two build targets: MyAppName MyAppNameVFSCopy Every time I build one or the other target, the value in the .xcstrings file changes under CFBundleName > en > stringUnit > value, switching between MyAppName and MyAppNameVFSCopy. As a result, Git detects a change in source control each time, which is quite annoying. How can I prevent this from happening? After building MyAppNameVFSCopy target, the "value" is MyAppNameVFSCopy "CFBundleName" : { "comment" : "Bundle name", "extractionState" : "extracted_with_value", "localizations" : { "en" : { "stringUnit" : { "state" : "new", "value" : "MyAppNameVFScopy" } } } } After building MyAppName target, the "value" changes to MyAppName "CFBundleName" : { "comment" : "Bundle name", "extractionState" : "extracted_with_value", "localizations" : { "en" : { "stringUnit" : { "state" : "new", "value" : "MyAppName" } } } } Deleting CFBundleName from *.xcstrings file didn't help. CFBundleName is automatically created again after building target. Both targets has it's on plist file. In those files: <key>CFBundleName</key> <string>${PRODUCT_NAME}</string> Attaching full xcstrings file InfoPlist.xcstrings
Replies
1
Boosts
0
Views
81
Activity
May ’25
Xcode 16.3 Compile fails
After updating to 16.3, my project now fails to compile with the diagnostic: "Command SwiftCompile failed with a nonzero exit code". This is a SwiftUI document project with two local packages, the second of which is a rather large one with 112 SwiftUI files. It is this second package that is failing. There are no issues when compiling with 16.2. Without diagnostics I'm having a bit of difficulty in determining the cause. My thought is to regress the commits unit 16.3 gives a success, or shows issues. Although I'm not catching a similar issue in the forums, I'm seeing other problems with 16.3. Has anyone else had such build failure isolated to 16.3? Any advice on other ways to approach this problem? Thanks in advance
Replies
5
Boosts
0
Views
333
Activity
Apr ’25
Recording WKWebView
I am trying to record the requests and responses in a WKWebView, but instruments does not seem to record them. Is this to be expected? The webView is set to inspectable, and I am using the HTTP Traffic instrument. All the requests the app is doing are recorded, but neither the original request for the webView, nor subsequent traffic is recorded. When I use Safari to inspect the webView, all I see is the last page (even when I start the inspector before the first request is made). How can I see these requests?
Replies
0
Boosts
0
Views
159
Activity
May ’25
How to install codes from Playground on iPhone
Hi there, I'm currently learning how to write some code using Swift Playgrounds on my Mac, and I'm wondering if there's a way to install the code I create onto my iPhone, like a regular app. I've searched online quite a bit but haven't found any clear or definitive answers. Many resources mention a "Run on iPhone" option in Swift Playgrounds, but I don't see that button in my version. I even installed Xcode and connected my iPhone to my Mac, following the instructions I found, but the "Run on iPhone" option still doesn't appear in Playgrounds. I've updated my Mac, iPhone, and Playgrounds to the latest version. Thank you for your help!
Replies
1
Boosts
0
Views
154
Activity
Apr ’25
App crashing on startup
I am a developer working on an iOS enterprise application. When I deployed the release version to my device, it crashes upon startup. It works fine in debug mode on my device. The app is an upgraded version of Xamarin Form to .NET MAUI. I have attached a crash report. I would appreciate any help/insights on how to resolve. --John
Replies
2
Boosts
0
Views
127
Activity
Apr ’25
none of the input catalogs contained a matching stickers icon set or app icon set named "Assets.xcassets"
Hi, in XCode and iOS app. Tried to add Icon, got image size errors. reuploaded with correct sizes and started getting this error. Tried all the solutions from forums, didn't work. Restarted Mac Deleted Assets.xcassets and recreated with AppIcon and AccemntColor Copied "Assets.xcassets" from new dummy Project to main one. I don't have info.plist file Could you please help. Thanks, Bhanu
Replies
0
Boosts
0
Views
102
Activity
Apr ’25
Apple Developer Program Enrollment Application Not Processing (South Africa)
Hi Apple Developer Team, I’m a developer based in South Africa. I initially submitted my enrollment for the Apple Developer Program (Individual) last week Thursday (May 2nd, 2025). The enrollment was then withdrawn by Apple, asking me to re-apply - which I did. Unfortunately, the same issue persists. I entered valid payment details during the re-application. No payment has been deducted. The enroll button on the Apple Developer app remains disabled. It has now been 5 days without resolution. We’ve even gone to the extent of verifying our banking setup and confirming that our card is enabled for international payments. Out of frustration, I have now withdrawn all enrollment applications. Please advise on how I can proceed based on the Case ID I have submitted. This delay is affecting our iOS launch, and I would really appreciate guidance on the way forward. Thank you.
Replies
0
Boosts
0
Views
103
Activity
May ’25
Developer Account Enrollment Delayed Over a Month After Re-Submission – No Updates
Hi everyone, I’m experiencing a frustrating delay with my Apple Developer Program enrollment and I’m hoping someone here can help or escalate the issue. I had previously completed the enrollment process and was approved, but after opening the Apple Developer app on my iPad, the entire progress reset for some reason. I was forced to start the process again from scratch, including submitting all required documents. Last time, my documents were verified and approved within 7 days. However, this time, it’s been over a month since I submitted my documents and there's been no progress. I contacted Apple Developer Support, but they responded saying it would take an “undetermined amount of time,” without providing any explanation, timeline, or guidance. That’s extremely concerning, especially since I’ve already gone through this once before. This delay is affecting my ability to move forward with game releases and business plans. I’m more than willing to provide any additional documentation if needed, but I’m currently stuck with no idea what’s going on. Can someone from the Apple team please: Check the status of my enrollment using Enrollment ID: 772673548 Let me know if there are any issues that require action from my side Or help escalate this for review? Any help or guidance would be greatly appreciated. Thank you, Shamsad M
Replies
0
Boosts
0
Views
127
Activity
Apr ’25
Locked Company Developer Account – Immediate Assistance Required
I am the sole administrator of a paid company Apple Developer account, and as of today I’m completely locked out everywhere: I cannot sign in to App Store Connect, developer.apple.com, or even account.apple.com. Every login attempt returns either “Please verify your account information and try again” or “This account is locked and can’t be used.” I have never changed my password, Two-Factor Authentication is enabled and delivering codes, there are no pending agreements or banking/tax forms, and I see no unrecognized devices in my account. I’ve tried multiple networks, browsers, and devices, and I’ve already contacted Apple Support—yet no explanation or resolution has been provided. This total lockout is preventing our app submissions from moving forward and putting our entire release schedule at risk. I need: A clear, specific reason why my corporate Developer account has been locked. Any immediate steps or known workarounds to restore full access. Advice from anyone who has faced the same unexplained lockout.
Replies
0
Boosts
0
Views
193
Activity
May ’25
How do I leave the software beta program?
I want to leave the iOS beta program. Please apple, remove me. Also How can I get removed from the iOS beta software program? I mean leave the iOS Beta Software Program
Replies
1
Boosts
0
Views
117
Activity
Apr ’25
Preview on real device without showing the canvas
I am using my real device and the Xcode Preview which works pretty fine. I do not want to show an empty canvas pane all the time. But when hiding the canvas, the preview pauses. I tried the refresh shortkey (OPT + CMD + P), too, while canvas is invisible. Why must the canvas be visible even there is no content besides "Previewing on iPhone from..." Info? I hope there is a workaround to hide the canvas while pushing to real devices.
Replies
1
Boosts
0
Views
71
Activity
May ’25
DriverKit XCode compilation errors
I'm working on dext project (c++), Base SDK and Supported Platforms are set to DriverKit. #include causes errors: error "The iostreams library is not supported since libc++ has been configured without support for localization." error "<locale.h> is not supported since libc++ has been configured without support for localization." Also it's not possible to define custom log object: undeclared identifier 'os_log_create'. <os/log.h> included and os_log function is compiled correct. macOS as additional SDK did not help. Thanks a lot for any hint.
Replies
1
Boosts
0
Views
524
Activity
Apr ’25
ModifyPromo 409: State Error
When calling modifypromo, I keep getting this error: error: HTTP status code 409, body { "errors" : [ { "id" : "7aeb5c20-576d-4500-ad65-525d298d2093", "status" : "409", "code" : "STATE_ERROR", "title" : "The request cannot be fulfilled because of the state of another resource.", "detail" : "Cannot invoke "com.apple.its.pricing.api.model.Country.countryCodeISO2A()" because the return value of "com.apple.its.pricing.api.model.offers.AdHocOfferProduct.country()" is null" } ] } My request is: Where id is the encrypted values needed { "data": { "attributes": {}, "relationships": { "prices": { "data": [ { "id": "id", "type": "subscriptionPromotionalOfferPrices" } ] } }, "type": "subscriptionPromotionalOffers", "id": "id" }, "included": [ { "attributes": {}, "id": "subscriptionPromotionalOfferPrices", "relationships": { "subscriptionPricePoint": { "data": { "id": "id", "type": "subscriptionPricePoints" } }, "territory": { "data": { "id": "USA", "type": "territories" } } } } ] }
Replies
2
Boosts
0
Views
125
Activity
Apr ’25
Are this settings correct ?
My app has a Watch app companion, and a Widget. are this settings correct to distribute these to TestFlight and Apple Store ?
Replies
0
Boosts
0
Views
52
Activity
Apr ’25
Apple developer membership pending
I bought the membership almost 2 days ago and have heard no response since. Is this normal and how long can i expect to wait. I need this urgently.
Replies
0
Boosts
0
Views
86
Activity
May ’25