Developer Tools

RSS for tag

Ask questions about the tools you can use to build apps.

Posts under Developer Tools tag

200 Posts

Post

Replies

Boosts

Views

Activity

Using ARKit Replay hangs forever on "Attaching to App"...
Hello, I'm trying to use Xcode's ARKit Session replay functionality. I have a capture I made using Reality Composer and when trying to use it with Xcode's replay functionality the installation and debugging process seems stalled forever. I've gotten it to work once so I know the capture file is functional but I have never gotten it to work a second time, even though I didn't change any settings. No amount of restarting Xcode, the Mac, or the iPhone seem to work. I have also tried cleaning build folders, reinstalling the app, and clearing DerivedData. I can confirm from the Xcode logs that the app installs correctly but the app never launches. If I unselect the checkbox for "ARKit Replay Data", the app launches and debugs nearly instantly. I have tried letting it "attach" for up to 10 minutes to no avail.
4
0
353
Sep ’25
Xcode 26.1 freezes
When I try to build my project with Xcode 26.1 beta (17B5025f) it freezes a lot. The steps are as follows: Open my project with the aforementioned Xcode Start a build of one of my schemes Open a browser or any other app above the Xcode window Try to present the Xcode window on the foreground Result: Xcode freezes I cleared the Derived Data and it still happens
0
2
95
Sep ’25
Xcode 26 build fails with “Could not locate icontool” when using .icon file — how to fix?
Hi there, I am new to Xcode26 and dragged my AppIcon.icon (created with Icon Composer) into the project. Then build failed with "Could not locate icontool". Could anyone point me to the cleanest way to solve this? Any help would be appreciated, thanks! CompileAssetCatalogVariant thinned /Users/jaffron/Library/Developer/Xcode/DerivedData/KuuDraft-dsmpyalldiyuusdldnjihwrtzmab/Build/Intermediates.noindex/ArchiveIntermediates/KuuDraft/InstallationBuildProductsLocation/Applications/KuuDraft.app /Users/jaffron/Documents/augment-projects/WalletPin/KuuDraft/AppIcon.icon /Users/jaffron/Documents/augment-projects/WalletPin/KuuDraft/Assets.xcassets (in target 'KuuDraft' from project 'KuuDraft') cd /Users/jaffron/Documents/augment-projects/WalletPin /Applications/Xcode.app/Contents/Developer/usr/bin/actool /Users/jaffron/Documents/augment-projects/WalletPin/KuuDraft/AppIcon.icon /Users/jaffron/Documents/augment-projects/WalletPin/KuuDraft/Assets.xcassets --compile /Users/jaffron/Library/Developer/Xcode/DerivedData/KuuDraft-dsmpyalldiyuusdldnjihwrtzmab/Build/Intermediates.noindex/ArchiveIntermediates/KuuDraft/IntermediateBuildFilesPath/KuuDraft.build/Release-iphoneos/KuuDraft.build/assetcatalog_output/thinned --output-format human-readable-text --notices --warnings --export-dependency-info /Users/jaffron/Library/Developer/Xcode/DerivedData/KuuDraft-dsmpyalldiyuusdldnjihwrtzmab/Build/Intermediates.noindex/ArchiveIntermediates/KuuDraft/IntermediateBuildFilesPath/KuuDraft.build/Release-iphoneos/KuuDraft.build/assetcatalog_dependencies_thinned --output-partial-info-plist /Users/jaffron/Library/Developer/Xcode/DerivedData/KuuDraft-dsmpyalldiyuusdldnjihwrtzmab/Build/Intermediates.noindex/ArchiveIntermediates/KuuDraft/IntermediateBuildFilesPath/KuuDraft.build/Release-iphoneos/KuuDraft.build/assetcatalog_generated_info.plist_thinned --app-icon AppIcon --include-all-app-icons --compress-pngs --enable-on-demand-resources YES --development-region en --target-device iphone --minimum-deployment-target 16.0 --platform iphoneos error: unable to open dependencies file (/Users/jaffron/Library/Developer/Xcode/DerivedData/KuuDraft-dsmpyalldiyuusdldnjihwrtzmab/Build/Intermediates.noindex/ArchiveIntermediates/KuuDraft/IntermediateBuildFilesPath/KuuDraft.build/Release-iphoneos/KuuDraft.build/assetcatalog_dependencies_thinned) (in target 'KuuDraft' from project 'KuuDraft') /* com.apple.actool.notices */ warning: Could not locate icontool.
1
2
388
Sep ’25
Present .icon in app for AppIcon Picker feature
I'm working on an AppIcon selector and would like to do something like UIImage(named: "AppIcon-Alternate") to present the icon for the user to choose using the new IconComposer icons. I've done a fair bit of research on this and it looks like this used to be possible (prior to .icon) with workarounds that were later 'fixed' / removed (appending 60x60 to the icon name). The only 'solution' seems to be bundling the exported images into the app itself but this seems like a terrible idea as it massively bloats the app. Assuming we export from the new IconComposer tool and want to include dark mode that's roughly 3MB per icon which is absolutely shocking bloat and so a terrible solution. Looking into the app the Assets.car actually generates png files for these alternate icons. These are in the json as "MultiSized Image" assets. Interestingly using UIImage(named: is actually attempting to load these but fails to resolve an kCSIElementSignature. Also the OS alert when switching alternate icon shows a preview of the icon so this must be privately possible and using Asset Catalog Tinkerer I'm able to see these pngs. This feels like broken API; I'd guess the new icon format is not correctly generating the entry in the Asset.car to link the generated pngs for usage with UIImage(named:) API. Does anyone have pointers for this? This feels like a developer API afterthought or bug but is it intentional? Edit: I've submitted feedback for this FB20341182.
0
0
101
Sep ’25
not a developer being hacked
i am not a developer but im being hacked and my devices are being enrolled into developer / mdm on all my personal apple devices it startted off with all these logs on my phone/ mac that was logging all my activity, networks, device details etc. its gotten to the point that its putting my life in danger my 911 calls even were being intercepted and i saw a list of voices downloaded and when certain words i said were said; they would be ignored or replaced. i suspect my identity haa been stolen and ive been illegally enrolled or configurated by apple configurator to basically have a software license agreement that i never agreed to and do not even have the capability of using when i go to apple developer it says all system status active please i need help asap someone is hacking me and i do not agree to these terms!!
0
0
88
Sep ’25
Approach Used To Create Song List As In Example
Hi, I am looking for guidance on how to create a scrollable song list, such as the attachment. The song list was originally created in C#, using an RTF object and populated by about 43 lines of song criteria. What similar approach would I use in Swift and MacOS? By the way, I currently play music that resides on the Mac, no external streaming is required or desired. Thanks, Jim
0
0
120
Sep ’25
Developer Mode option not visible in iOS device Privacy & Security section
Developer Mode option is not visible in Privacy & Security section. Always invisible in Privacy & Security section after iOS 18.6 upgrade. I have done the reset iPhone and clear data many times but same issue i am getting in iOS device. Note* - When we plug the iPhone in Mac system using wire i did receive the message like - 'Trust the system'. How to show the developer mode option in iOS device? Kindly suggest.
2
0
94
Sep ’25
Unable to download the latest EnableBluetoothCentralMatterClientDeveloperMode.mobileconfig certificate."
Hi Team, I’ve tried downloading the EnableBluetoothCentralMatterClientDeveloperMode.mobileconfig certificate from multiple sources, but all the links I found point to expired versions. Could you please help me with the URL to the latest version of this certificate? Here are the links I’ve already tried, but none of them worked: https://project-chip.github.io/connectedhomeip-doc/guides/darwin.html#profile-installation https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/darwin.md Apple Site Looking forward to your support. Thanks, Mantosh Kumar
2
0
148
Sep ’25
Full Xcode on iPad Pro with M-series processors
The iPad Pro on iPadOS 26 now operates on the same class of silicon as Apple’s entry-level Macs. It ships with M-series processors, 8GB of unified memory, support for multiple resizable windows, a menu bar, and proper external display connections. The device already has the foundation required for professional software development. The only gap is the absence of Xcode. Making the full version of Xcode available on iPad Pro would not take away from the Mac. Large and resource-intensive projects will still require the power of MacBook Pro and Mac Studio. What it would do is allow smaller and mid-sized projects to be developed directly on iPad Pro, which the hardware is fully capable of handling. That dynamic is complementary, not cannibalizing. Developers would continue to buy Macs but would also buy iPad Pros for portability and flexibility. The revenue upside is clear. Lowering the entry barrier means more developers enrolling in the Apple Developer Program at $99 per year, creating predictable recurring subscription income. A wider developer base leads to more apps reaching the App Store. Even if many are small, Apple benefits from every transaction through its revenue share. This strengthens the services business, which already delivers the company’s highest margins. There is also a direct hardware impact. Once Xcode is available, iPad Pro will be recognized as a legitimate professional development device. That drives more unit sales of a high-margin product line and increases attachment rates for accessories like the Magic Keyboard, Apple Pencil, and external monitors. Instead of eroding Mac sales, the effect is expansion. Developers will own both devices. The case is straightforward. The hardware is ready. The operating system is ready. Enabling full Xcode on iPad Pro would expand the developer funnel, grow recurring subscription revenue, increase App Store volume, and boost high-margin hardware and accessory sales. It is a decision that benefits developers, strengthens the ecosystem, and maximizes profit.
2
0
131
Sep ’25
Passkey fails only on developer.apple.com
I've got a weird issue where Passkey fails, but only on developer.apple.com. Here's how it manifests: On portal, select "Sign In With Passkey" Get prompted with TouchId (on my MacBook) Portal says "can't verify your account" However: Sign in with Password works fine Sign in with Passkey on any other website works fine Not sure if it's related, but this appears to have happened around the time I had my logic board replaced. I did have weird issues with my iCloud account where I had to sign out of all devices, then sign back in. I assume this has to do with the hardware having the same serial number, but somehow appeared like a different computer in other ways. Things I've tried: In Passwords app, searching for "apple.com", I only see passwords, no passkeys. However, Safari password auto-fill always suggests the passkey entry first. developer.apple.com does not appear to have any way of managing sign-in credentials accounts.apple.com does not appear to be any way to manage passkeys. Sign in with Passkey on iPhone also results in "can't verify your account". Called AppleCare support, they were unable to help. Since Passkeys work for other websites, they believe this is a problem specifically with developer.apple.com. They suggested calling Developer support. Called Developer support, they were unable to help. They said AppleCare Support is best suited. Filled out Feedback (FB18185623) System: macOS 15.6 Safari 18.6 Has anyone else encountered anything weird like this? Is there any way to fix this? It would be nice if I could just delete the old passkey and create a new one. But I can't find any tool that will let me do that.
3
0
98
Sep ’25
Device with Number Already exists on this Team
I've created a new project in Xcode. I'm running the Xcode 16.4 and MacOS 15.5. I'm trying to run my barebones project on my iPhone 16 (I'm just getting started). I turned on developer mode on my iPhone and went through the whole process. But in the Signing & Capabilities of my project under status I see two errors... There is a problem with the request entity A device with number 'XXXX8801C' already exists on this team. Provisioning profile "iOS Team Provisioning Profile: [MyBundleID]" doesn't include the currently selected device "My iPhone" (identifier XXXX8801C). I noticed in the devices on the developer portal that my device is showing as "Processing." I feel ike it's stuck. But I can't figure out how to clear it all out and try again. It's been 24 hours since this error came up. I've tried to clear trusted computers on the iPhone. I've deleted the "Derived Data" folder. I've removed my developer account from Xcode and added it again. I've restarted both my Mac and my iPhone multiple times. I've noticed it asked to authorize my computer twice. When I clear the authorized computers and then plug the phone back in it asks twice again. So I'm not sure if this is the issue? No idea why it asks twice but I'm only ever able to respond to the second request as the first request gets blocked in the UI by the second requests if that makes sense? I'm also not able to turn off developer mode on my iPhone. The switch isn't there as the docs state it should be. So again, I feel like this is the phone and the developer portal stuck causing the problem. Note: I saw someone else had encountered this problem and I replied to it and boosted it. But it looks like it was posted in 2017? Hence this new post.
5
0
288
Sep ’25
Unlocking hidden "Developer mode" option on Ipad (without Mac or Xcode)
Hello, I have an iphone but not an ipad Actually a relative has an iPad. The problem I encoutered was when i was testing an app that I had built prior (so I had the ipa file) but no acces to Xcode. The thing is when I wanted to test it on my iphone, everything WENT SMOOTH and ok. When I tried on iPAD, I encounteed the problem I could not unlock the hidden "developer mode" option in any way, I tried so many things, checked and rechecked, the option was and stayed hidden, I could not activate it. Therefore I could not test the app. In the apple store I was required to give a screenshot for iPAD but that failed. because I could not produce ANY, since I could not run my app on iPAD. I actually have no idea how I activated the ability to turn on the developer mode on my iphone, it was just there and I activated it perhaps because I had added the email of my iphone to the developer account somehow? somehwere? But for iPAD I just could not find a way to do it, don't know if adding it somewhere could trigger something on the ipad to allow it to show the developer mode option so I can activate it finally? Anyway, I tried things I read on internet, methods that mention how to activate the developer mode ability on an ios devide though WINDOWS, there were 2 but one I did not trust much, and even I think i tried it and in the end it did not work for some incompatibility making that method obsolete or something? the other I am not sure but probably same idea. I would like to know, how to activate the ABILITY to SHOW the option to activate the developer mode on iPAD (or any other device but for now I am focuson on iPad) please, and without using macbook or xcode!? Could Apple or anyone offer some guidance? That would help a fellow developer. Thank you. Ps. No I cant get the mac or xcode for now (but hopefully in a far future, but for now I can't). Thanks
2
0
115
Sep ’25
Xcode 16.4 Can't Attach to iPhone app for debugging
Xcode will transfer the app to the iPhone, and I can run it on the iPhone, but the Xcode debugger fails to attach. I am using iPhone 14 Pro with iOS 18.6. I've tried connecting via cable, also via network - same issue both ways. The message raised by Xcode says: Could not attach to pid: "6303" Ensure “<a\AppName>” is not already running, and has permission to debug it. I don't know how to determine if I have permission. I assume I do; I am the owner of the account, with admin role.
4
0
153
Sep ’25