Posts under Developer Tools & Services topic

Post

Replies

Boosts

Views

Activity

SwiftTesting
I am using Swift Testing for TDD my project. I have a struct that contains an array of 65536 UInt8's along with other properties. I am testing methods that modify the properties of the struct including the contents of the array. In just one of my test files, any test fails (there are several in the file), the entire contents of the struct, including the array, are printed to the console. In another test file they are not. I'm don't think there are any differences to the test setup in the two files. Any idea what's going on? I'm able get the program to skip the dump to the console by copying the properties I want to test to local let constants and testing those. Thanks
1
0
346
Feb ’25
CoreBluetooth Scan not working when OS upgraded to 18.3.1
Hi, I currently have an app that connect to an arduno via CoreBluetooth. However, the app no longer discovers the arduino when the operating system was upgraded to iOS 18.3.1, however on iOS version 17.6.1 the ardiuno was discoverable I was able to test this theory on two different phones each with different iOS versions. I see that it is failing to find the peripheral at the scan however the logs indicate that the central state is powered on. Why are my peripherals no longer being discovered with this update? and what is the solution?
3
0
303
Mar ’25
Enrollment Stuck
I have enrolled for being a developer 4 days ago. My Enrollment ID: R2V23J5GYP. I have received an order acknowledgment email on 6th of March but there have been no updates since then. I am still seeing 'complete your purchase' in the main page. What should I do to get through? I would greatly appreciate it if anyone could help me solve this problem as soon as possible. Thank you.
1
0
166
Mar ’25
No renew button in developer app, signed in a account holder
I'm trying to renew my developer program membership which got expired 10 days ago. I couldnt find the renew button anywhere on the developer app both in Mac and iPhone. Why is it very hard for a simple program renewal? Why cant this be done on a browser from anywhere? Seriously frustrating, I have been trying to reach support through email but no response yet it's been almost a week and also there is no way to reach through phone.
2
0
314
Mar ’25
How to make RealityKit both parent and child entities accessible to UI tests?
I have a SwiftUI RealityKit app, and I am writing UI tests for it. The app has entities that have children. All entities have an accessibilityComponent so that they can be found by UI tests. If I set isAccessibilityElement = true for the parent, the UI tests find the parent. If I set isAccessibilityElement = false for the parent, and isAccessibilityElement = true for the child, the UI tests find the child. If I set isAccessibilityElement = true for the parent as well as for the child, the UI tests find only the parent. How can I make parent and child entities both be accessible by the UI tests?
0
0
286
Feb ’25
How to build an iOS app using the command line on macOS Sonoma?
Hello, Now we support Apple applications and we are building applications on Mac laptops with regular updates. Our goal is to build an iOS app entirely through the command line using xcodebuild and other tools from Xcode Command Line Tools on a server with _macOS Sonoma (14.6.1) without a graphical user interface (only the command line)!!! We need to build and regularly update iOS applications on clients and our accounts and we are looking for a solution to fully automate the login process for these accounts. Our goal is to automate these processes on a server without involving a customer. Here’s what I need help with building and signing the app: What are the proper commands to build and sign the app using xcodebuild and put this application in Apple Store? Server has: xcode-select -version xcode-select version 2408. xcodebuild -version Xcode 16.1 Build version 16B40. In the first step, the certificates have been added to the keychain. We have two keychains. We can check it by running the command: security list-keychains: ` "/Users/ec2-user/Library/Keychains/login.keychain-db" "/Library/Keychains/System.keychain".` All certificates are kept in login.keychain-db. We can check it: security find-identity -p codesigning -v Answer is: `'Some hash "Apple Distribution: Name. (TEAM ID)"'.` Profision file is kept in /Users/ec2-user/Library/MobileDevice/Provisioning\ Profiles/. In the first step, we have added a cordova platform with iOS 11 version. Command is: cordova platform add ios. We tried to create a sign archive with automation but we couldn't do it because we got an error. Our command is xcodebuild \ -workspace "path/to/Packet-name Test.xcworkspace" \ -scheme "Packet-name Test" \ -sdk iphoneos \ -configuration Release \ -archivePath "./Packet-name Test.xcarchive" \ CODE_SIGN_STYLE=Automatic \ DEVELOPMENT_TEAM=XXXXXXXXXX \ -allowProvisioningUpdates \ archive We get errors: /Users/ec2-user/buildApps/MyNewApplication/packet-name.test/platforms/ios/Packet-name Test.xcodeproj: error: No Accounts: Add a new account in Accounts settings. (in target 'Packet-name Test' from project 'Packet-name Test') /Users/ec2-user/buildApps/MyNewApplication/packet-name.test/platforms/ios/Packet-name Test.xcodeproj: error: No profiles for 'packet-name.test' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'packet-name.test'. (in target 'Packet-name Test' from project 'Packet-name Test') We've read about this error so the decision is to create one-time passwords for this. Certainly last error is about a problem with login, but how we can fix it we don't know because we will be using different accounts for different applications. As a result, we have to use one-time passwords for different accounts. We would appreciate detailed instructions, example commands, and references to documentation that might address this workflow.
1
0
347
Feb ’25
Apple Development Enrollment Payment
Hi, Yesterday I enrolled in the Apple Developer Program through the app (like the website said) and it seemed to work fine. I went through everything in the app and then I had to pay for the service, so I did. (the invoice says Apple Developer Program (Automatic Renewal): $96.99 + VAT). I can see this transaction on my bank statement as well. After finishing the the Developer app said "Wait for an email" or something similar for a day until now it says "Enrollment through the apple developer app is not available for this apple account". I found this odd so I logged in to my account in a browser (on a PC) to see what's up and there it still says if I click my name "Pending". The weird thing is that there is this banner that says "Purchase your membership." and a link to complete my purchase??? As if I did not purchase it yesterday. So in desperation I decided to see what's up and went through this process on my PC now and it took down my order and I got a prompt in the browser to wait 2 days (48 hours). Will I get charged twice? Also this time it prompted the price: $99.
2
0
329
Feb ’25
code signing error
We are encountering a persistent code signing error with in-app purchase capabilities in our iOS app. Despite having the com.apple.developer.in-app-purchase entitlement properly configured in the app's entitlements file and the In-App Purchase capability enabled in both Xcode and the App ID configuration in the Apple Developer Portal, we continue to receive the error: "The provisioning profile 'iOS Team Provisioning Profile: does not include the com.apple.developer.in-app-purchase entitlement." We have attempted multiple solutions including: Regenerating provisioning profiles Cleaning and rebuilding the project Switching between automatic and manual signing Removing and re-adding the in-app purchase capability Verifying all entitlements and capabilities configurations The error persists despite the entitlement being correctly set in the entitlements file and the capability being enabled in the App ID. This appears to be an issue with how the provisioning profile is being generated or how the entitlement is being recognized by Xcode's code signing system.
1
0
263
Feb ’25
I can´t enrollment to developer promram "Your enrollment could not be completed"
I have a problem with the enrollment to Apple Developer program, because the page show the message "Your enrollment in the Apple Developer Program could not be completed at this time", I have 1 week watting for any news for the Send Files to Apple Support but not yet any new news. What I can do about this case?
0
0
229
Mar ’25
Denied Enrollment in Apple Developer Program Without Explanation – Seeking Guidance
Hello, I am reaching out to the community because I am facing an issue with my Apple Developer Program enrollment that I cannot resolve. I attempted to enroll in the program through both the Developer app and the website, but my application was denied without any explanation. When I contacted Apple Support, I was told that the decision is final and that no further clarification would be provided. To ensure there were no issues on my end: My Apple ID profile is complete and accurate. All required information was submitted during the enrollment process. (Including my credit card and photos of my passport) I have no prior violations of Apple’s Terms of Service or any history with banned accounts. (And my current account is 10 years old or more) Despite this, my application was rejected outright, and I feel this decision lacks transparency. As a developer who has invested significant time and resources into creating apps for the Apple ecosystem, this situation is both frustrating and disheartening. The lack of explanation also makes it impossible to identify what went wrong or how to address it. I have already tried: Contacting Apple Support directly – they reiterated that the decision is final. Double-checking my account details and region settings – everything matches. Searching for similar cases online – but found no actionable solutions. This experience feels unfair, especially since I have complied with all requirements and have not been given any opportunity to appeal or rectify potential misunderstandings. If anyone has faced a similar situation or has advice on how to proceed, please share your insights. Is there an escalation path within Apple? Should I consider legal action due to the lack of transparency in this process? I am committed to resolving this issue but feel stuck without any clear direction from Apple. Any help or guidance would be greatly appreciated! Thank you in advance for your support. Best regards, Antonio
2
0
316
Feb ’25
Help! Developer Program payment and activation
I made my first payment on 27 Feb 2025, but it was not activated after 48 hours I contacted developer support and they said they would cancel the registration and asked me to resubmit and try again 03 Mar 2025 I resubmitted the enrollment application 05 Mar 2025 I received the enrollment request has been accepted Then I successfully paid by credit card, but it still shows Your purchase may take up to 48 hours to process. 06 Mar 2025: The chargeback shows it's been canceled I re-paid today. New Order Number: W1305861066 Enrollment ID: 7Z3FUQR4WV Request help to activate my developer Thank you
1
0
391
Mar ’25
I have a bone to pick with Xcode
Despite Xcode being the one and most used IDE for iOS, it is far from perfect. I have used many tools in my career and here are some features, that would make it much better or what I miss from other IDEs. I encourage others to chip in discussion and lets all hope, Apple starts to improve Xcode. Will put each issue in separate comment below. Slow debugger: not sure what bloat Xcode has or what it is doing, but sometimes it can take more than 10 seconds from breakpoint firing to actually see values. Moreover when debugging SwiftUI or something objC I have to drill down to see value of property or use po and p command and hope it works. SwiftUI views and states are a big pain to debug, to see what is changing a value I have to always use didSet trick or some other black magic. Is it too hard to make it easier? Breakpoints with condition can take up to 1 minute to load and I have M1 Max MBP. Just tried cursor IDE few days ago and breakpoints are much faster and without too much bloat in variable inspector.
7
0
361
Feb ’25
Help! 😭 Developer Program payment and activation
I made my first payment on 27 Feb 2025, but it was not activated after 48 hours I contacted developer support and they said they would cancel the registration and asked me to resubmit and try again 03 Mar 2025 I resubmitted the enrollment application 05 Mar 2025 I received the enrollment request has been accepted Then I successfully paid by credit card, but it still shows Your purchase may take up to 48 hours to process. 06 Mar 2025: The chargeback shows it's been canceled I re-paid today. New Order Number: W1305861066 Enrollment ID: 7Z3FUQR4WV Request help to activate my developer😭 Thank you
1
0
299
Mar ’25
Enrollment form error handling
I don't want to throw anyone under the bus here, but I think the error handling for the D-U-N-S number verification step could be improved. Shown on page: The information you entered did not match your D&B profile. Before submitting your information, check your D&B profile. If you've recently changed your legal entity name, update your D&B profile. This message is confusing when the only information provided is the company name, which exactly matches the D&B profile. We get more information about the error in console than what is shown on the page: "resultCode": 20010, "resultString": "Your organizations information is not complete.", "userString": "Your organizations information is not complete.", "requestUrl": "https://developer.apple.com/services-enrollment/validateDunsDetails", Displaying a clearer error message in line with this would greatly improve user understanding of what went wrong.
0
0
185
Feb ’25
Gathering Required Information for Troubleshooting Xcode Previews or Swift Previews Issues
Hi, You're here because your project has issues related to Xcode Previews or Swift Previews. The issue you're experiencing may be the result of any of the following: An error in your SwiftUI app, Xcode previews, or on-device previews. A configuration error in your Xcode project, including any third-party dependencies or packages. A system issue in the operating system, SwiftUI, or in Xcode Previews. Based on your request, I need more information about your SwiftUI app when rendering Xcode Previews or on-device previews. Specifically, I’ll need the diagnostics Swift Previews generates to make sure I understand the error encountered by the preview system. Please create a report in Feedback Assistant to share the details requested in the instructions below. For issues with macOS, Mac Catalyst, on-device iOS, or on-device visionOS previews, perform the following steps to gather diagnostics: Download and install the Swift Previews logging profile for your device. Reproduce the error while previewing on device, taking note of the timestamp when the error occurred. Attach the Previews diagnostics, sysdiagnose from your Mac, a sysdiagnose from the previewing iOS or visionOS device. For issues with Xcode Previews, perform the following steps to gather diagnostics: Download and install the Swift Previews logging profile for your device. Reproduce the error in Xcode Previews, if you haven’t already done so. If an error banner appears in the canvas, click the "Diagnostics" button within the banner, then go to Step 5; otherwise, continue to Step 4. If the error banner is missing, navigate to the menu in Xcode: Editor > Canvas > Diagnostics In the presented sheet, click the "Generate Report" button. Attach a zip file containing the diagnostic report to your bug report (it will be named something like previews-diagnostics-0123456789.zip). Submitting your feedback Before you submit to Feedback Assistant, please confirm the following information is included in your feedback: with the Swift Previews logging profile installed, attach the sysdiagnose logs gathered after reproducing the issue the Previews diagnostics generated by Xcode timestamp identifying when the issue was reproduced focused sample Xcode project that reproduces the issue (if applicable) screenshots or videos of the error (optional) Please include all requested information to prevent delays in my investigation. After your submission to Feedback Assistant is complete, please respond to your original Forums post with the Feedback ID. Once received, I can begin my investigation and determine if this issue is caused by an error within your SwiftUI app, a configuration issue within your Xcode project, or an underlying issue in the operating system, SwiftUI, in Xcode Previews, or on-device previews. Cheers, Paris X Pinkney |  WWDR | DTS Engineer
0
0
498
Feb ’25
Unresponsive Developer Support
My business is trying to renew our Apple Account. On renewal we get a message saying we’ll receiving an enrollment status email soon - we are yet to receive one and it’s been over a week. Our Apps have since been removed from the App Store. We have multiple cases open with Developer Support, the only response to date was with a number to call. That number was for consumer support and thus couldn’t help. How can we get hold of someone to assist? This is having a massive impact on our business.
0
0
131
Feb ’25
Is DEXT Driver supporting these Networking Features?
I would like to know if macOS DEXT supports the following networking features: Tx/Rx Multiqueue, RSS, RSC, NS/ARP offload, PTP or packet timestamping and TSN. I couldn't find relevant documentation for these features in the Apple Developer Documentation. If they are supported, could you let me know which features are supported and how to find the corresponding official Apple documentation? Thanks
9
0
747
Mar ’25