Posts under Developer Tools & Services topic

Post

Replies

Boosts

Views

Created

My Account is stuck to Purchase your membership. To continue your enrollment, complete your purchase now Your purchase may take up to 48 hours to process.
Purchase your membership. To continue your enrollment, complete your purchase now Your purchase may take up to 48 hours to process. Its been more than 3 weeks its stuck to above status and showing Pending in profile section.
4
2
94
3d
Issue with Xcode 26
How to resolve this error ? "Unsupported Swift Architecture" while trying to run my code. I am.using Apple laptop with M1 chip with 10 core, Mac os 26.1, xcode 26.1, simulator 26.1. THIS IS VERY URGENT FOR MY PROJECT DELIVERY. ANY PROMPT HELP IS MUCH APPRECIATED. possible to connect some expert via conference call ?
2
0
25
3d
In "Learning Programming 2", I can't use "world.place"
I'm trying the "Connect and Solve" course of Swift Playground. I can't use "world.place" to place bricks at positions (2, 2), (6, 2) (automatically disappear), but I can place bricks at positions (4, 2) in the same way. Two bricks must be placed overlapping in positions (2, 2) and (6, 2) to achieve the goal. Only when a brick is placed in position (4, 2) can the goal be achieved. The problem is that the bricks placed on (6, 2) and (2, 2) will disappear and cannot be placed successfully. The following is my code writing... let Block1 = Block() for i in 1 ... 2 { world.place(Block1, atColumn: 2, row: 2) } for i in 1 ... 2 { world.place(Block1, atColumn: 6, row: 2) } world.place(Block1, atColumn: 4, row: 2) func turnaround() { turnRight() turnRight() } func walk4() { for i in 1 ... 3 { moveForward() } } func collet() { for i in 1 ... 2 { moveForward() } toggleSwitch() turnRight() walk4() collectGem() turnaround() walk4() turnRight() } for i in 1 ... 3 { collet() } ‌I would appreciate it if someone could offer some recommendations.‌ ‌Thanks a lot‌
0
0
29
4d
Xcode Simulator error
Following is an error I encounter when trying to run a foundation model function in simulator. Error Domain=FoundationModels.LanguageModelSession.GenerationError Code=-1 "(null)" UserInfo={NSMultipleUnderlyingErrorsKey=( "Error Domain=ModelManagerServices.ModelManagerError Code=1026 "(null)" UserInfo={NSMultipleUnderlyingErrorsKey=(\n)}" )} Its a swift playground I'm building in xcode and works fine in the preview and on a real device too but since it's my submission for the swift student challenge I need it to run on the simulator. I have updated my macOS to latest version of Tahoe(26.3) and Xcode is also on latest version. The simulator I run the playground is also on ios and iPadOS 26. I have set my region to US and have turned on Apple Intelligence on my mac too. Any suggestions on how to fix the issue?👾
1
0
53
4d
Build/Archive failure in Xcode 16.2 after updating macOS to 26.2
We are encountering a build and archive failure in Xcode after updating our development machine to macOS 26.2. Environment: macOS: 26.2 Xcode: 16.2 iOS Deployment Target / Runtime: iOS 18.5 App Type: Production iOS app (App Store distribution) Issue: Before updating macOS, the project built and archived successfully. After the macOS 26.2 update, archiving fails consistently, even though no major changes were made to the project code or configuration. Certificates, provisioning profiles, and signing settings are correctly configured. The issue appears to be related to the macOS/Xcode environment rather than application logic. Steps to Reproduce: Open the existing iOS project in Xcode 16.2. Select the App Store distribution scheme. Attempt to Archive the project. Archive/build fails. Expected Result: Successful archive allowing upload to App Store Connect. Actual Result: Archive fails after macOS 26.2 update. Additional Info: This post is linked to Apple Developer Technical Support Case-ID: 18413014.
2
0
51
5d
Q&A Summary for Code-along: Experiment with coding intelligence in Xcode 26
We received many great questions from the community during Code-along: Experiment with coding intelligence in Xcode 26. Here are the highlights from the questions submitted by the audience during the event. What models does coding intelligence features support In Xcode? Xcode integrates directly with ChatGPT and Claude user accounts. You can also configure Xcode to integrate any model provider that supports the Chat Completions API, such as models that you access with an API key. You can also download and run a local model on a Mac with Apple silicon. Setting up coding intelligence provides all of the information you need to get started with Xcode’s direct integration with ChatGPT and Claude, as well as how to set up Xcode to access other providers. Does Coding Intelligence have access to Apple API and developer documentation? How does it stay up to date with the latest SwiftUI API? Coding agents are great because they talk to a model, generate code and fix errors, but they also have access to tools, which make a significant difference in their capabilities. Xcode provides tools for the agent to use, including the ability to search Apple’s documentation and, code snippets. As an example, you can ask for a new API that was released in iOS, and if the model doesn't have this knowledge, the agent will call the tool to search for the documentation and bring that context into the conversation. As an organization, we do not have permission to share our codebase with any AI model due to security reasons. If we enable coding intelligence and give it access to our codebase, will the code be shared with Apple? Will OpenAI or Anthropic have access to my entire project? Privacy is fundamental to our design. When you connect an AI subscription account (like an account with OpenAI or Anthropic), the connection is only between you and that service. Apple does not act as an intermediary, and never sees the code sent to these services. Because this interaction happens directly between the you and your provider, the security and privacy of your code is determined entirely by your existing agreement with your provider. What exactly does the agent have access to? Only the files in the scope of the project? By default, the agent works in the directory of your project, and can access all files in that directory. This includes code file, assets, and your Xcode project configuration file. Does coding intelligence remember previous conversations? Each time you start a new conversation window, it resets the context of the conversation, but you can always go back to a previous conversation you had and continue and iterate on a previous idea. If a result contains errors or did not go in a direction you are happy with, you can use the history to go back to any point in time. Writing code with intelligence in Xcode goes into detail on how you can use these features. For command-line tools (Claude Code, OpenAI Codex), I can create guidelines as Markdown with rules or project descriptions. Does Xcode Agentic Coding take these into account, or should I define them differently? You can add skills that you’ve created, hints about Xcode and your project to configuration files, and other files supporting your use of coding intelligence such as AGENTS.md or CLAUDE.md files, to the respective Codex and Claude Agent directories that Xcode uses exclusively: ~/Library/Developer/Xcode/CodingAssistant/codex ~/Library/Developer/Xcode/CodingAssistant/ClaudeAgentConfig For more information on configuring agentic coding tools that run inside Xcode, see Customize the Codex and Claude Agent environments. How do you add a Model Context Protocol server for the Xcode agent to be able to access? You can add additional Model Context Protocol (MCP) servers in Xcode with product-specific configuration files so the agents can use those MCP servers from within Xcode. Locate the files needed to configure those additional MCP servers in the same directory where you set other customizations for Codex or Claude Agent, listed above.
0
0
100
5d
Query regarding hardware usage for Swift Student Challenge entry
Hello everyone, I am a participant in this year's Swift Student Challenge. My project requires the use of the front-facing camera to detect the user's body movements (supporting connection via iPhone to a Mac or other devices capable of running Xcode/Swift Playgrounds). I would like to ask if this is permitted under the competition rules? Please note that this feature functions entirely offline and does not require an internet connection.
2
0
63
5d
AVP, Developer Strap v2, Ethernet connection and Xcode
Hi, I wonder if there's something that can be configured to force Xcode (and preferably MVD too) to use Ethernet connection between Mac Mini and Apple Vision Pro (over a USB hub, not a direct USB connection)? If I connect AVP to Mac directly via USB, the bridge gets created and both MVD and Xcode default to it, which is great because of higher speed and lower latency. My problem is that I work with external camera, so I can have either the camera, or the Mac connection, but not both. I tried to solve that by plugging in a small active USB hub, so the strap and camera are connected to it, plus it has Ethernet adapter, which is plugged into Mac port. I tried with internet sharing on Mac - AVP has internet access, I can ping AVP from Mac, but Xcode and MVD still use wifi. I tried to manually configure bridge without internet sharing - same effect. I tried to make the bridge highest priority connection - nothing changed. I tried to force routing to AVP IP over the bridge - nothing (and it seems that my routing entry went missing after some time and was replaced by "use wifi interface"). So - is there something more I can do to make at least Xcode go over the cable? Debugging over wifi often takes forever.
0
0
25
5d
Place an app on a family device
I had a free developer account and now have a paid account. I can now install unlimited number of apps on my personal devices. I want to install more than 3 apps on a device of a family member. The device of this member has been registered under Certificates, Identifiers & Profiles. When I try to install apps with xCode on this family device I still get the message that I reached the limit of 3 apps (free account). By signing & capabilities I use the paid account as team. I have deleted all the apps on that device where installed with the free account, restarted the device and restarted xcode but the problem still exists.
0
0
37
5d
Can not delete "Other installed Platforms"
I recently found out that my System Storage is at about 200GB. I checked my XCode and found these "ohter installed platforms" (screenshot1). I can delete them there but as soon as I restart my computer, they will show up again. I found the folder /System/Library/AssetsV2/com_apple_MobileAsset_iOSSimulatorRuntime which uses 75GB and Im pretty sure that these simulators are the ones in XCode. This folder doesnt change a bit when I delete the simulators in Xcode. I cant delete the folder because of permissions... anyone an idea? Btw: 200gb systemdata of 500gb seems pretty miserable. Kind regards
2
0
48
5d
The best way to build, test and upload an iOS app without owning a Mac
Hi everyone, I’m developing a cross-platform mobile app (React Native) but I don’t currently own a Mac. What is the most reliable and professional way to: Build the iOS version Test it properly (real device / TestFlight) Upload it to the App Store Are cloud Mac services (like MacinCloud, AWS Mac, etc.) considered stable for production release workflows? Is there any fully supported workflow without direct access to a physical Mac? Would appreciate real-world experience from developers who faced the same situation. Thanks in advance.
0
0
28
5d
Developer Program Payment Taken but Account Still Pending – No Support Response
I have been trying to enroll in the Apple Developer Program for the past two weeks, but I keep encountering different errors. Most of the time, I receive a 404 error page saying, “Something went wrong. Try again.” Three days ago, $100 was deducted from my bank account by Apple, but my developer account status still shows “Pending.” Apple states that “Your purchase may take up to 48 hours to process,” but it has now been more than 48 hours and there has been no update. I have already: Sent an email to devpayment @apple.com with screenshots and full details (no response). Opened a case through Apple Developer Program Support and only received an automated reply saying, “Thank you for contacting us.” At this point, it feels like there is no real support available to resolve this issue. Has anyone experienced something similar? How did you resolve it? Thank you.
0
0
24
6d