Posts under Developer Tools & Services topic

Post

Replies

Boosts

Views

Activity

A Summary of the WWDC25 Group Lab - Developer Tools
At WWDC25 we launched a new type of Lab event for the developer community - Group Labs. A Group Lab is a panel Q&A designed for a large audience of developers. Group Labs are a unique opportunity for the community to submit questions directly to a panel of Apple engineers and designers. Here are the highlights from the WWDC25 Group Lab for Developer Tools. Will my project codebase be used for training when I use Xcode's intelligent assistant powered by cloud-based models? When using ChatGPT without logging in, your data will not be used to improve any models. If you log in to a ChatGPT account, this is based on your ChatGPT account settings, which allows you to opt-out (it defaults to on). When using Xcode with accounts for other model providers, you should check with the policies of your provider. And finally, at no point will any portion of your codebase be used to train or improve any Apple models. We'd love to make our SwiftUI Previews (and soon, Playgrounds) as snappy as possible. Is there any way to skip certain build steps, such as running linters? It seems the build environment is exactly the same (compared to a debug build), but maybe there's a trick. Starting with Xcode 16, SwiftUI previews use the exact same build artifacts as the regular build. The new Playgrounds support in Xcode 26 uses these build artifacts too. Shell script build phases are the most common thing that introduces extra build time, so as a first step, try turning off all shell script build phases (like linters) to get an idea if that’s the issue. If those build phases add significant time to your build, consider moving some of those phases into asynchronous steps, such as running linters before committing instead of on every build. If you do need a shell script build phase to run during your build, make sure to explicitly define the input and output files, as that is a huge way to improve your build performance. Are we able to provide additional context for the models, like coding standards? Documentation for third party dependencies? Documentation on your own codebase that explains things like architecture and more? In general, Xcode will automatically search for the right context based on the question and the evolving answer, as the model can interact multiple times with your project as it develops an answer. This will automatically pick up the coding style of the code it sees, and can include files that contain architecture comments, etc. Beyond automatic context, you can manually attach other documents, even if they aren't in your project. For example, you could make a file with rules and ideas and attach it, and it will influence the response. We are very aware of other kinds of automatic context like rule files, etc, though Xcode does not support these at this time. Once ChatGPT is enabled for Coding Intelligence in Xcode 26, and I sign into my existing ChatGPT account, will the ChatGPT Coding Intelligence model in Xcode know about chat conversations on Xcode development done previously in the ChatGPT Mac app? Xcode does not use information from other conversations, and conversations started in Xcode are not accessible in the web UI or ChatGPT app. Is there a plan to make SwiftUI views easier to locate and understand in the view hierarchy like UIKit views? SwiftUI uses a declarative paradigm to define your user interface. That allows you to specify what you want, with the system translating that into an efficient representation at runtime. Unlike traditional AppKit and UIKit, seeing the runtime representation of SwiftUI views isn't sufficient in order to understand why it's not doing what you want. This year, we introduced a SwiftUI Instrument that shows why things are happening, like view re-rendering. Is it possible to use the AI chat with ChatGPT Enterprise? My company doesn't allow us to use the general ChatGPT, only the enterprise version they have setup that prevents data from being leaked Yes, Xcode 26 supports logging into any existing ChatGPT account, including enterprise accounts. If that does not meet your needs, you can also setup a local server that implements the popular chat completions REST API to talk to your enterprise account how you need. Now that Icon Composer is here, how does it complement or replace existing vector design tools such as Sketch for icon design? Icon Composer complements your existing vector design tools. You should continue to create your shapes, gradients, and layers in another tool like Sketch, and compose the exported SVG layers in Icon Composer. Once you bring your layers into Icon Composer, you can then use it to influence the translucency, blur, and specular highlights for your icon. What’s one feature or improvement in the new Xcode that you personally think developers will love, but might not immediately discover? Maybe something tucked away or quietly powerful that’s flown under the radar so far? One feature we're particularly excited about is the new power profiler for iOS, which gives you further insights into the energy consumption of your app beyond what was possible with the energy instrument previously. You can learn more about how to use this instrument and how it can help you greatly reduce your apps battery usage in the documentation, as well as the session Profile and optimize power usage in your app. There were also improvements in accessibility this year with Voice Control, where you can naturally speak your Swift code to Xcode, and it understands the Swift syntax as you speak. To see it in action, take a look at the demonstration in What’s new in Xcode 26. We have a software advisory council that is very sensitive to having our private information going to the cloud in any form. What information do you have to help me guide Xcode and Apple Intelligence through the acceptance process? One thing you can do is configure a proxy for your enterprise that implementing the popular Chat Completions API endpoint protocol. When using a model provider via URL, you can use your proxy endpoint to inspect the network traffic for anything that you do not want sent outside of your enterprise, and then forward the traffic through the proxy to your chosen model provider. Are there list of recommended LLMs to use with Xcode via Intelligence/Local? I've tried Gemma3-12B, but.. I hope there are better options? Apple doesn't have a published list of recommended local models. This is a fast-moving space, and so a recommendation would become out of date very quickly as new models are released. We encourage you to try out the local model support in Xcode 26 with models that you find meet your needs, and let us and the community know! (continued below)
1
0
655
Jul ’25
Been waiting for Apple Dev ID review since August 1
Been waiting for Apple Developer ID review since August 1. I've emailed weekly, asking for updates. I've called the Apple Developer support line. I've talked to multiple representatives. The most I can get out of anyone is that "The account application is being reviewed, you just have to wait, there is literally nothing more you can do. Just wait." For months now, that has been the response. Anyone know how to go about expediting, or what the next realistic step is here? I've been told that the request has been escalated as far up as it can be, but still getting no motion here. I asked if I should have someone else in my company submit the application, and asked if I should cancel my current application, and was told that I should not, as that would 'reset the timer' and I could end up waiting months more. Really at a loss here as to how to proceed. Anyone else run into this sort of issue, and eventually got a resolution? Any thoughts would be much appreciated! Thanks!
2
1
408
Nov ’24
Apple Developer Program Nightmare: Stuck in Verification Limbo with Zero Support
Joining the Apple Developer Program has been an absolute nightmare. I submitted my application form days ago, armed with every piece of identification imaginable—driver’s license, passport, you name it—ready to verify my identity. But here I am, still waiting, with zero communication or updates from Apple. The lack of support is truly baffling. Apple, a company that prides itself on “seamless user experience,” has left developers completely in the dark with a removed phone support option, leaving us with no direct way to reach a real human for help. We’re left floundering through the approval process with no accountability or means to expedite anything. For a company that relies on developers to keep their ecosystem thriving, this level of support (or rather, lack thereof) is insulting. I honestly don’t know what else Apple expects from us. We’re ready to pay, contribute, and build apps that keep the App Store alive. The least they could do is provide basic customer service. Apple, if you're listening, you need to fix this. Developers deserve respect and timely support, not silence and frustration. This is not what we signed up for, and it’s certainly not what we expected from one of the biggest tech companies in the world.
0
1
260
Nov ’24
Testing Apple Pay
I'm trying to integrate Apple Pay into PayPal Checkout and have followed their instructions and all is looking good. I imagined that I could test in the PayPal Sandbox with a live card (as per GooglePay) but when testing the "oncancel" callback is called. My question is, is it a requirement to have a Developer Account setup with test card numbers to test Apple Pay or can you test with live cards in the Sandbox?
0
0
156
Nov ’24
Enrollment Issues with Apple Developer Program - Seeking Assistance
Hello Apple Developer Community, I've been struggling to enroll in the Apple Developer Program for several weeks now, and I'm hoping someone here might have faced similar issues or has some advice: Apple ID Creation: Initially, I couldn't sign up for an Apple ID using my preferred email, so I had to resort to using a Gmail account, which eventually worked. Payment and Reversal: After managing to create an ID, I proceeded with the payment for the Developer Program. Everything appeared to go through smoothly, but a few days later, the charges were reversed, and my registration status showed as "pending." Support Challenges: I've contacted Apple Support multiple times. Each attempt involved using different emails and credit cards as suggested, but to no avail. The support team mentioned they couldn't access or provide information on developer enrollments directly, advising to use the developer support email for further help. Unfortunately, I haven't received any response from the developer support email address. Has anyone else encountered this issue? Here are my questions: Has anyone successfully resolved a similar enrollment payment reversal issue? Are there known workarounds or additional steps I should take before or after payment to ensure enrollment goes through? Is there a more direct way to get in touch with developer support, perhaps through a different channel? Any insights or shared experiences would be greatly appreciated. Thanks in advance for any help you can provide! Best Regards, HorseHookup
0
0
308
Nov ’24
Localization Issue with Multiple Build Targets in Xcode - One Target Not Recognizing Localizable.strings File
Hello Apple Developer Community, I'm experiencing an issue with localization in my Xcode project that has two build targets, "Build X" and "Build Y." Both targets are set up to support the same language, but they each have slightly different wording, which is why I've created separate Localizable.strings files for each build target. Here's an overview of my setup: Project Structure I have a Localizable folder with two subfolders: Localizable/OrdnerX/Localizable.strings (for Build X) Localizable/OrdnerY/Localizable.strings (for Build Y) Configuration In the File Inspector, I’ve assigned each Localizable.strings file to its corresponding build target: OrdnerX/Localizable.strings is linked to Build X OrdnerY/Localizable.strings is linked to Build Y Under Build Phases, I verified that each build target references the correct Localizable.strings file. The paths are all correctly set, so each target should know where to find its respective localization file. Problem When I build and run Build X, everything works perfectly. The app displays the correct localized strings from OrdnerX/Localizable.strings. However, when I switch to Build Y, the app fails to find the localized strings from OrdnerY/Localizable.strings, and I’m left with placeholder text instead. I’ve double-checked the configurations for both build targets multiple times, and they appear identical. The Localizable.strings files for both targets are configured in exactly the same way, but Build Y just doesn’t seem to recognize its assigned localization file. Has anyone encountered a similar issue, or can anyone suggest potential fixes? I’d appreciate any advice on what might be causing this discrepancy. Thank you in advance!
0
0
141
Nov ’24
macOS Sequoia doesn't respect Full Disk Access for UITests-Runner
We develop and test App for macOS. We start to see system alert - "UlTests-Runner" would like to access data from other apps on each UITest run. Our test suite does cleanup of files generated by App so we need access outside of UITests-Runner sandbox. We enabled Full Disk Access for UITests-Runner at Settings -> Privacy & Security -> Full Disk Access but unfortunately still see this alert. Is there any way to permanently remove/hide this alert or remove sandbox for 'UITests-Runner' since we want to run tests on CI and having this alert is not an option? Note: everything works fine on previous versions of macOS. Environment: macOS - 15.1 (24B83) Xcode - Version 16.1 (16B40)
0
1
447
Nov ’24
3 weeks no response from apple
I have been waiting for 3 weeks now to get enrolled in the Apple Developer Program. My app is already very delayed, I am very disappointed by the fact that Apple states that it only takes 2 business days. I can't find anywhere to contact them here in Denmark, sadly and they don't respond via their contact form. Very frustrating experience. Anyone in a similar situation?
0
0
182
Nov ’24
WidgetKit with SwiftData on macOS
Xcode: 16.1 macOS: Sequoia When I run widget preview, I got the following errors CoreData: error: Store failed to load. <NSPersistentStoreDescription: 0x156237310> (type: SQLite, url: file:///Users/user/Library/Group%20Containers/group.com.app.name/Library/Application%20Support/default.store) with error = Error Domain=NSCocoaErrorDomain Code=256 "The file couldn’t be opened." UserInfo={reason=Unknown failure to access file: 1} with userInfo { reason = "Unknown failure to access file: 1"; } Unresolved error loading container Error Domain=NSCocoaErrorDomain Code=256 "The file couldn’t be opened." UserInfo={reason=Unknown failure to access file: 1} with this code let sharedModelContainer: ModelContainer = { let schema = Schema([Company.self, Person.self]) do { return try ModelContainer(for: schema, configurations: [.init(isStoredInMemoryOnly: false)]) } catch { fatalError("error: \(error)") } }() Does anyone know why this happens and how to fix this?
5
0
1k
Nov ’24
When application merges libswift_concurrency.dylib is duplicated in app binary
Environment: Xcode 16.1 Swift version: 6.0.2 Inside of an Xcode project, if I declare a framework and an application. The framework is mergeable and the application merges the framework by configuring MERGE_BINARY_TYPE to Manual (or automatic it's independent). If SWIFT_VERSION is set to 6.0.X and deployment target is set to iOS 15< the build is going to fail because of this error Duplicate linked dylib '@rpath/libswift_Concurrency.dylib' in '/Users/**/Library/Developer/Xcode/DerivedData/GSPackage-dvnngsrgctfovgfbvwdlsscfycyq/Build/Products/Debug-iphonesimulator/DummyApp.app/DummyApp.debug.dylib' If I'm checking the generated artifact and inspect all of it's @rpath with otool it's giving me the following: otool -L /Users/****/Library/Developer/Xcode/DerivedData/Dummy-gbccsjwxeajftsafghxzaqksgfim/Build/Products/Debug-iphonesimulator/Dummy.app/Dummy.debug.dylib | grep @rpath @rpath/Dummy.debug.dylib (compatibility version 0.0.0, current version 0.0.0) @rpath/libswift_Concurrency.dylib (compatibility version 1.0.0, current version 0.0.0, weak) @rpath/libswift_Concurrency.dylib (compatibility version 1.0.0, current version 0.0.0, weak) A radar is already opened with the ID: FB15693702
0
0
563
Nov ’24
Is it possible to change the Xcode template type?
I've got a few years old app which was created using an Xcode template type of app. I'd like to split the model part of the code (model as in model-view-controller) out into a framework. Removed the view/controller source files to leave the model code is quick and easy, however the model code is large and complex with a couple of hundred of source files. Rather than create a new Xcode template type of framework and move the source files into there, is it possible to simply just change the template type of the existing project from app to framework?
1
0
302
Nov ’24
'Expand macro' menu option does nothing
I somehow broke my Xcode, it does not expand macros anymore. What I have tried: create new project clean the project remove derived data remove contents of ~/Library/org.swift.swiftpm/security What I have not tried: remove Xcode completely and re-install it (will have to re-setup everything, so don't want to resort to it) Xcode version is 16.1. The 'Add File' button has everything grayed-out, so I can't upload a video here, and 'YouTube' website is not a valid URL here for some reason. Has anyone else faced a similar problem?
1
0
307
Nov ’24
Is it possible to include source code from an app extension in a framework?
If I have an XCode project that generates a framework when built, then I've noticed that its possible to add new additional targets to the project of type app extension. However if I add some source code to an app extension and regenerate the framework, then that source code is not accessable from the resulting framework (i.e. if the framework is included into an app, then the app code doesn't have visibility of the code that was added to the extension in the framework). Is this something which is possible to achieve? Ideally I would like to package the main source code that constitutes the framework content, along with the source code for a few extensions into a single framework, so that the app(s) that use the framework can include the framework into their main app target and also include it in the app extension target. I noticed that if the scheme of the framework is changed to the extension before building, then the result is not a .framework file but a .appex file. For client apps of the framework, can they directly include/use that .appex file? If so how can that be achieved? Does
1
0
426
Nov ’24
Widget is not configurable on iOS 16
I created an Intent-based widget for my iOS app. The deployment target is iOS 16, but I stick to Intent vs AppIntent because I don't like how the configuration list pops up vs the list with search in the old API. So, the configuration works fine on iOS 17/18, but iOS 16 shows the error "unable to load" or just a blank view. This is how it looks on iOS 17/18 I don't see any specific errors in a console or warnings.
2
2
423
Nov ’24
Transition to Apple Silicon Mac
I am currently developing on an Intel Mac and am thinking about switching to an Apple Silicon-equipped Mac soon. When I searched the web, I found that a very complicated migration process would be required, but what exactly would be required? Thank you for your response.
1
0
180
Nov ’24
Xcode basics
I am trying to learn Xcode with C as a start to learning to program. So far I have not gotten Xcode to successfully build and run a program using C on Mac OS. Any recommendations on basic troubleshooting for Xcode setup and orientation. Every program I try to run says "Build failed".
6
0
486
Nov ’24
Profile doesn't include the selected signing certificate
Hello, I have tried both automatic signing and manual signing, and still when I submit I get an error message that says "Provisioning profile failed qualification" and "Profile doesn't include the selected signing certificate.". Everything had been working fine, but I think it may have broken with an Xcode update - not sure. Please let me know what to look for. I appreciate any help you can give me.
1
0
439
Nov ’24
How to remove language in string catalog?
I have a Localizable file under Assets. I can add a language by click the + button. But I can't remove it then??!! Remove a localization in project -> info does not work. If the localization contains some translation, it still remains in the catalog (works if not translated at all). As a result, your app will not show the default localization at all.
1
1
348
Nov ’24