Posts under Developer Tools & Services topic

Post

Replies

Boosts

Views

Activity

Broken Xcode 16 autocomplete using Tab
I've recently upgraded to Xcode 16 and noticed a change in how the Tab key functions during autocomplete. (not-replied-but-closed post: https://discussions.apple.com/thread/255762888) Previously, pressing Tab would extend the typed text up to the first point of choice. For example, we have two classes: NSViewController and NSViewCoordinator BEFORE, typing: "NSV" + Tab used to complete to NSViewCo Now, in Xcode 16, pressing Tab selects the first suggestion by default, instead of completing up to the choice point. That is very inconvenient because very often I want just see all possible cases with some prefix...without need of typing all prefix manually. Seems there is no way to restore the previous behavior and that looks very very sad. I have reverse engineered Xcode 16...and what I get? They just install new CodeCompletion handler instead of old one without any chance to configure this behaviour by settings or UserDefaults =\ Hope this thread would raise votes and attract Xcode devs here
0
1
309
Feb ’25
There is a problem installing the iwatch app. It has been installing
We have recently developed the iwatch app. We will package the APP + iwatch app and publish it in testfight for test download. However, we often find that after the mobile app is downloaded, the iwatch app is also on the iwatch System application inside display. Click install is always in the installation. It has not been installed. Especially when the phone we tested is paired with several watches. Or delete the mobile APP and download it again to recover. But some situations still cannot be recovered. May I ask why it is always installed? We have confirmed that there is no problem with the network, and the pairing connection between the watch and the mobile phone is normal. This problem has caused us a lot of trouble. I wonder if this will happen in the app store. Please give the official reply
0
0
411
Feb ’25
Developer Program Enrollment Payment debited but no account yet
I recently made the enrollment for developer program and make the payment on Apple developer website. I saw the payment amount is debited from my account. But the developer program is not approved. When I contacted the developer support, they said Apple did not receive the money and you have to enroll again. So, I asked my Bank to make sure the payment is processed or not. The bank said it is already processed and they even sent me reference number and approval number. Even I sent the screenshot of those information, but the support guy keeps saying they did not receive it but without any helpful information to troubleshoot the issue at all. I am really amazed a company such as Apple has such terrible customer support. Now, I have to request payment dispute to my bank about it. If I do not get my money back, I will tag Apple CEO on x.com and post about it every day with a schedular script.
0
0
369
Dec ’24
How to let instruments - app launch template wait for process to launch , rather than actively launch by instruments
Hi there, How to let instruments - app launch template wait for process to launch , rather than actively launch by instruments? I need to profile the app launch performance when clicking a push notification or cold launch via a url link. How to let instruments to wait for the process and collect the data? Currently, I tried the command xctrace record --template "App Launch" --attach MyApp --device-name 'Phone-Dev' --output mytrace.trace But it soon failed with 'Cannot find process matching name: MyApp'. How to make it work?
0
0
509
Jan ’25
App review delay for critical bug fix in Trizz app
Is there anyone here who can provide an answer, or is it related to someone who belongs to the App Review department at Apple? We uploaded an app to the App Store and discovered a bug that disables activity. We uploaded an update with the bug fix and now we are waiting for Apple to review the latest version and approve uploading it to the store. Thousands of users are waiting and leaving us. Losses of a lot of money and more importantly - a bad user experience. If there is anyone here who can help us, or knows someone who can speed up the process, we are more than happy!!! It is critical and urgent. And yes, we signed up for Apple's fast track program... It didn't help. Thanks!
0
0
153
Jan ’25
Xcode 16.3 beta: Unable to specify package traits for testing
Swift 6.1 introduces package traits, which are great. But sometimes one might want to have a trait that is not enabled by default, and in such cases you will still want to be able to unit test them. Can we get an option, perhaps in the test plan configuration, that would allow us to specify traits that should be enabled when compiling for testing, even if those traits are not enabled by default? Bonus points if we could have multiple test plans that each build with a different set of traits, and running all the tests would cause the package to be built multiple times, so that all possible combinations of traits could be properly unit tested.
0
2
338
Feb ’25
Fetch Changes not working Xcode 16.2
I have cloned a private repo from GitHub and for the most part it seems to be working fine. e.g. commit, push and pull are working. However, Fetch Changes doesn't seem to work at all. It pops up a brief message as if it is working, but the status of my local branch under the Source Control Navigator -> Repositories does not get updated. Even after a push, the status still tells me I am ahead on the local branch. If I add a new file on the GitHub website, Fetch Changes will not see it and the repository status remains unchanged. All of these changes are immediately visible in 'Fork' (3rd party Git GUI). If I restart Xcode the status is updated correctly, but it does not keep up with further changes. Anything I can do other than avoid using Xcode for GitHub tasks? Update: This might just be a problem with the Source Control Navigator views not updating. I just found that if I change branch, the "Repositories" section will not reflect the branch change until I exit and re-enter that view. e.g. click on "Changes" and back into "Repositores" to see the update. That workaround does not impact the out of date repo status though (how many commits am I ahead or behind). Seems very buggy...
0
2
329
Jan ’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
174
Feb ’25
Cannot assign build target to usdz file
I’m working in the app playground and want to add my usdz file but when i drag drop the file to my main folder i cannot add target to it which leads to a resource not found error while I build my app. It was working on a normal xcode project but while transitioning to app playground it is not working. How can I fix this issue?
0
0
387
Jan ’25
Cannot Enroll in Developer Program.
I'm trying to enrol in the apple developer program for the first time. When I sign in and attempt to enrol, it says “Your enrollment could not be completed.” - I am over the Age of 18 in Australia. My account is attached to a family account if that matters, but I am an Adult in the family. As far as I am concerned I have not done anything illegitmate on my account. My AppleID has always paid ontime etc. Just spoke to someone on the phone at Apple Developer Support. Firstly they were very unfriendly, don't know their name and sounded like they didn't want to be there. I said what my issue was, they had a look at my account and said "It says there is an issue with this apple ID and Support cannot be provided within Apple Developer Program for this AppleID" - I asked if this could be escalated and she audibly sighed and said "No" - I said may I speak to a supervisor - Spoke to the Supervisor and they said they can't help me and it just says We can't provide Apple Developer support to this AppleID and he kept repeating this. - I have not done anything illigetimate on my AppleID as far as I know. He also said can't verify my identity, even though I have never verified my identity. What do I do?
0
0
261
Jan ’25
Instruments showing incorrect values
Hello, I’m encountering an issue with the Instruments app while running a benchmark on an M2 Ultra Mac Studio. Despite being certain that GPU activities involving memory read and write operations are occurring, all related performance counters consistently return 0. Interestingly, this problem does not occur when using the same code on an M1 MacBook Air, where the counters behave as expected. What could be causing this discrepancy? Any insights or suggestions would be greatly appreciated. Thank you!
0
0
477
Jan ’25
Xcconfig variables doesn't get loaded automatically in project settings
Hi, I am using xcode build that receive it's configuration using xcconfig files, those add some new definitions to the project, like the location of openssl library. If xcode environment variable include prefix that matches one of the fields in the project settings, it is automatically referred to as if you added it to that field. for example : the var HEADER_SEARCH_PATHS_openssl_libopenssl has value (openssl headers' path) that should be automatically added to the field Headers Search Paths under project settings. For some reason it stopped working for me and i'm not sure why (i've tried to release the xcconfig files). any idea why ? Thanks !
0
1
342
Jan ’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
284
Feb ’25
Not Getting any update on Developer account
I am facing a problem. I have enrolled developer program on 7th may, 25. It says will take 2 days but I haven't received any confirmation. Again I submitted information on 11th February, 25 but still haven't received any email about confirmation or rejection. I tried to contact apple support. They created ticket for me. But haven't received any further information from them. It seems like I am a ghost and apple is not seeing me. Can anyone tell me what is the problem. Thank you
0
0
303
Feb ’25
Create C++ static library with Swift interoperability for iOS. How?
Hello all! My application written with C++ for iOS. Want to make some functionality in static library for the purpose of reuse it in different C++ projects. Want to make universal library for using StoreKit2. Global idea is to wrap StoreKit2 Swift out with CPP interoperability. Now trying to make clear for my self how to create C++ static library with Swift interoperability for iOS in XCode. There are only Objective-C option when you creating static library in XCode for iOS. Is it correct: Create Static Library with Objective-C in XCode Remove all default Objective-C files Add C++ files Add C++/Swift interoperability in build settings Add swift classes Beside all of it some questions: When C++ static library contain Swift code with interoperability will it require some special settings for project (Swift standard lib or some other settings)? Or it could be used like any other C++ libraries? What is the optimal build settings in this case to reduce dependencies when using it different projects? Is there any examples of the same approach for iOS development?
0
0
379
Jan ’25
WTF Apple News Review Wait Times?
I work at a well-established university with a business journal that is over 25 years old. We have been waiting now for almost four months to have our Apple News account reviewed. In what world is this OK? No ability to communicate with anyone or have any updates except to log in once a month to see the 'under review' message still there. Seriously?
0
0
296
Feb ’25