Search results for

“Xcode”

93,868 results found

Post

Replies

Boosts

Views

Activity

App Crash with mxSignpost function not found
Hi team: I recently update to Xcode 26.4, and I encountered crash when running to < iOS 26.4 both for physical device and Simulator with this log: dyld[1257]: Symbol not found: _$s9MetricKit10mxSignpost_3dso3log4name10signpostID__ySo03os_H7_type_ta_SVSo03OS_j1_F0Cs12StaticStringV0J0010OSSignpostI0VALSays7CVarArg_pGtF Referenced from: <164CCEB0-E1F8-3CE2-A934-2096C19C0A9A> /private/var/containers/Bundle/Application/EA709A68-F76F-4D97-85C6-B71D61D68389/xxx.app/xxx.debug.dylib Expected in: <9E5EC9BB-5828-329C-A2BC-038B67060298> /System/Library/Frameworks/MetricKit.framework/MetricKit Symbol not found: _$s9MetricKit10mxSignpost_3dso3log4name10signpostID__ySo03os_H7_type_ta_SVSo03OS_j1_F0Cs12StaticStringV0J0010OSSignpostI0VALSays7CVarArg_pGtF Referenced from: <164CCEB0-E1F8-3CE2-A934-2096C19C0A9A>x /private/var/containers/Bundle/Application/EA709A68-F76F-4D97-85C6-B71D61D68389/xxx.app/xxx.debug.dylib Expected in: <9E5EC9BB-5828-329C-A2BC-038B67060298> /System/Library/Frameworks/
4
0
121
2d
Reply to ‌Xcode26-built apps cannot run on iPhone 6 or earlier devices‌
Thank you for the reply, but according to the requirements on this link https://developer.apple.com/cn/app-store/submitting/, starting from April 2026, apps uploaded to App Store Connect must use iOS 26 SDK, which means Xcode 26 is also required. This seems contradictory to resolving the current issue. Could you provide the specific reason for the aforementioned problem? Why could the ipa compiled with Xcode 26 a week ago be installed, run, and used on an iPhone 6 12.5.8?
2d
Sign in with Apple Web: invalid_client on token exchange with real authorization code, but invalid_grant with dummy code
We are integrating Sign in with Apple for our web application and have been stuck on an invalid_client error during the token exchange step. The Problem The authorization step works fine — the user authenticates on Apple's page and a valid authorization code is returned to our callback URL. However, when we exchange that code at https://appleid.apple.com/auth/token, it returns: {error: invalid_client} The Puzzling Part When we send a dummy/expired authorization code with the exact same client_id and client_secret, Apple returns: {error: invalid_grant, error_description: The code has expired or has been revoked.} This confirms that our client credentials (client_id + client_secret JWT) are valid and accepted by Apple. The invalid_client error only occurs when a real, freshly-issued authorization code is used. Configuration Service ID configured with Sign in with Apple enabled Primary App ID with Sign in with Apple capability enabled Domain verified, Return URL regis
0
0
67
2d
DeviceActivityMonitor intervalDidEnd not firing for non-repeating timed unlock
I’m building an iOS app that uses FamilyControls + ManagedSettings + DeviceActivity. Goal: temporarily “unlock” a shielded app for N minutes, then automatically re-apply the shield when the timer expires. What I do: In the main app, when user picks an expiry (e.g. 15 min, 30 min). I start a non-repeating DeviceActivity schedule and remove the app’s ApplicationToken from ManagedSettingsStore().shield.applications. I also store activeUnlockBundleID etc. in an App Group so the DeviceActivityMonitor extension can re-lock at the end. Expected: DeviceActivityMonitor.intervalDidEnd(for:) is invoked when the non-repeating interval ends, and I re-add the token to the shield set. Actual: The app does not re-lock when the interval expires. I added OS logs as well as “debug local notifications” from the DeviceActivityMonitor extension in: init() intervalDidStart intervalDidEnd eventDidReachThreshold None of these logs or notifications ever appear, which suggests the extension is never invoked (or cannot schedule local no
0
0
57
3d
Notarization stuck "In Progress" — both DMG and ZIP, Electron app, 5+ attempts
All notarization submissions remain stuck In Progress and never complete. Tested both DMG and ZIP formats — same result. This has been consistent across 5+ attempts on March 29, 2026. App: Electron desktop app (arm64), signed with Developer ID Application, hardened runtime enabled, secure timestamp present. DMG submissions (all stuck): 568cc9c3-e711-41ba-99ce-6af5a1860ae9 (10 min timeout) e0a345c3-ddf8-4771-bdda-e0bc133ff723 (20 min timeout) 6757e5a9-d95b-45b3-95d5-41cb23384bea (20 min timeout) ZIP submission (.app bundle via ditto, ~207MB): Also stuck In Progress for 10+ minutes notarytool log returns Submission log is not yet available for all submissions. Developer ID Notary Service shows Available on System Status page. Environment: macOS GitHub Actions runner (macos-latest), latest Xcode, xcrun notarytool. Seeing similar reports from other developers this week. Is there a known service issue?
1
0
141
3d
Reply to ‌Xcode26-built apps cannot run on iPhone 6 or earlier devices‌
Thank you for the post. I recommend reviewing the Xcode system requirements for the target listed below. Link to Xcode System Requirements The device support section will provide you with the supported iOS versions. You can view all the versions of Xcode by expanding the “Other Xcode versions” tab. Enables the download of the Xcode version tailored to the desired iOS platform, accessible directly from the developer’s website. Albert
  Worldwide Developer Relations.
3d
Reply to Xcode 26.3 Claude Agent — 401 Invalid Bearer Token on Intel Mac (FB22141224)
Update: After extensive investigation I have identified what appears to be the root cause of the 401 Invalid Bearer Token error on my Intel Mac, and I want to share the findings in case they help others reporting similar issues on M1 and M4 machines. WHAT I FOUND (Intel Mac - x86_64): The Claude Agent binary that Xcode downloads is the darwin-arm64 build regardless of host architecture. On my Intel Mac this binary physically cannot execute, which fails silently and surfaces as a 401 error. Confirmed via terminal: file ~/Library/Developer/Xcode/CodingAssistant/Agents/claude/2.1.14/claude Returns: Mach-O 64-bit executable arm64 — wrong for Intel Mac The IDEChatClaudeCodeVersion preference is hardcoded to the ARM64 download URL: defaults read com.apple.dt.Xcode IDEChatClaudeCodeVersion Returns: darwin-arm64 URL regardless of CPU architecture We also confirmed the darwin-x64 binary exists in Anthropic's distribution bucket and runs correctly on Intel — both in the terminal and as a standalone bi
3d
NavigationLink selection in DisclosureGroup not working with .draggable modifier
NavigationLink selection in DisclosureGroup not working with .draggable modifier This was recently also posted here: https://stackoverflow.com/questions/79914290/ I am playing around with a tree data structure with folders and entries.I would like to add dragging of entries and folders between folders, using .draggable and dropDestination. In my current code, dragging works, but selection of entries no longer works, except if I click outside of the Text If I comment out .draggable(subfolder.name) in func FolderRow(), selection works as expected. How can I make sure both selection and drag and drop works for both folders and entries? I also tried using Transferable and Codable, but I get the same result. Here is an MRE: import SwiftData import SwiftUI @Model final class Folder { @Attribute(.unique) var name: String // Parent var parentFolder: Folder? // Child folders @Relationship(deleteRule: .cascade, inverse: Folder.parentFolder) var subfolders: [Folder] = [] // Leaf entries @Relationship(deleteRule
Topic: UI Frameworks SubTopic: SwiftUI
1
0
161
3d
Xcode 26.4 is missing the documentation for Foundation
Upgraded to Tahoe 26.4 and Xcode 26.4 and realized Xcode is missing the documentation for Foundation. Occasionally, if other (not yet missing) documentation references a Foundation entity, such as a type, clicking on it may open in a web browser pointing to the externally hosted Apple documentation. Anyone else experiencing this or have a workaround (perhaps the documentation files are on disk but were somehow lost / disconnected from the Xcode doc browser)? I checked the release notes for 26.4 and for 26.3 but did not find a mention of anything like that. Filed an issue with Apple, please do too if you are affected so hopefully it will see some love and lead to restoring the documentation. Edited: found some possibly related files in my ~/Library and the newer version v302 (26.4 related, I think, is considerably smaller): du -sh ~/Library/Developer/Xcode/DocumentationCache/* | awk -F/ '{print $NF t $1}' v296 1.0G v302 507M
5
0
155
3d
Reply to Xcode now hangs; SDKs are "status unavailable"
Last post ... I promise ... When I reinstalled Xcode 26.4 again after going through all of the above shenanigans, I chose to NOT install the 26.x line of simulators, nor the Predictive Code Completion Model. As before, Xcode downloaded and installed older simulators anyway, but left the 26.x options uninstalled with their Get buttons primed and ready. I closed down Xcode and did some other stuff. After an hour I launched Xcode to check on things, opened Settings and, lo and behold, the iOS 26.4 and watchOS 26.4 simulators were showing as installed under the Platform Support section of the Components. What is going on? It's as if Xcode is hallucinating.
4d
App Crash with mxSignpost function not found
Hi team: I recently update to Xcode 26.4, and I encountered crash when running to < iOS 26.4 both for physical device and Simulator with this log: dyld[1257]: Symbol not found: _$s9MetricKit10mxSignpost_3dso3log4name10signpostID__ySo03os_H7_type_ta_SVSo03OS_j1_F0Cs12StaticStringV0J0010OSSignpostI0VALSays7CVarArg_pGtF Referenced from: <164CCEB0-E1F8-3CE2-A934-2096C19C0A9A> /private/var/containers/Bundle/Application/EA709A68-F76F-4D97-85C6-B71D61D68389/xxx.app/xxx.debug.dylib Expected in: <9E5EC9BB-5828-329C-A2BC-038B67060298> /System/Library/Frameworks/MetricKit.framework/MetricKit Symbol not found: _$s9MetricKit10mxSignpost_3dso3log4name10signpostID__ySo03os_H7_type_ta_SVSo03OS_j1_F0Cs12StaticStringV0J0010OSSignpostI0VALSays7CVarArg_pGtF Referenced from: <164CCEB0-E1F8-3CE2-A934-2096C19C0A9A>x /private/var/containers/Bundle/Application/EA709A68-F76F-4D97-85C6-B71D61D68389/xxx.app/xxx.debug.dylib Expected in: <9E5EC9BB-5828-329C-A2BC-038B67060298> /System/Library/Frameworks/
Replies
4
Boosts
0
Views
121
Activity
2d
Reply to ‌Xcode26-built apps cannot run on iPhone 6 or earlier devices‌
Thank you for the reply, but according to the requirements on this link https://developer.apple.com/cn/app-store/submitting/, starting from April 2026, apps uploaded to App Store Connect must use iOS 26 SDK, which means Xcode 26 is also required. This seems contradictory to resolving the current issue. Could you provide the specific reason for the aforementioned problem? Why could the ipa compiled with Xcode 26 a week ago be installed, run, and used on an iPhone 6 12.5.8?
Replies
Boosts
Views
Activity
2d
Reply to Slow launch of app on iOS Simulator 26.4
100% repro here. Xcode 26.4 is unusably slow and I am having to downgrade. FB22366086
Replies
Boosts
Views
Activity
2d
Reply to Xcode always enabling default package traits
I'll have to spend a little more time playing around to properly isolate things but it looks like this might be related to it being an Xcode workspace with the two packages. If I open just the executable package in Xcode everything works as expected.
Replies
Boosts
Views
Activity
2d
Sign in with Apple Web: invalid_client on token exchange with real authorization code, but invalid_grant with dummy code
We are integrating Sign in with Apple for our web application and have been stuck on an invalid_client error during the token exchange step. The Problem The authorization step works fine — the user authenticates on Apple's page and a valid authorization code is returned to our callback URL. However, when we exchange that code at https://appleid.apple.com/auth/token, it returns: {error: invalid_client} The Puzzling Part When we send a dummy/expired authorization code with the exact same client_id and client_secret, Apple returns: {error: invalid_grant, error_description: The code has expired or has been revoked.} This confirms that our client credentials (client_id + client_secret JWT) are valid and accepted by Apple. The invalid_client error only occurs when a real, freshly-issued authorization code is used. Configuration Service ID configured with Sign in with Apple enabled Primary App ID with Sign in with Apple capability enabled Domain verified, Return URL regis
Replies
0
Boosts
0
Views
67
Activity
2d
DeviceActivityMonitor intervalDidEnd not firing for non-repeating timed unlock
I’m building an iOS app that uses FamilyControls + ManagedSettings + DeviceActivity. Goal: temporarily “unlock” a shielded app for N minutes, then automatically re-apply the shield when the timer expires. What I do: In the main app, when user picks an expiry (e.g. 15 min, 30 min). I start a non-repeating DeviceActivity schedule and remove the app’s ApplicationToken from ManagedSettingsStore().shield.applications. I also store activeUnlockBundleID etc. in an App Group so the DeviceActivityMonitor extension can re-lock at the end. Expected: DeviceActivityMonitor.intervalDidEnd(for:) is invoked when the non-repeating interval ends, and I re-add the token to the shield set. Actual: The app does not re-lock when the interval expires. I added OS logs as well as “debug local notifications” from the DeviceActivityMonitor extension in: init() intervalDidStart intervalDidEnd eventDidReachThreshold None of these logs or notifications ever appear, which suggests the extension is never invoked (or cannot schedule local no
Replies
0
Boosts
0
Views
57
Activity
3d
Notarization stuck "In Progress" — both DMG and ZIP, Electron app, 5+ attempts
All notarization submissions remain stuck In Progress and never complete. Tested both DMG and ZIP formats — same result. This has been consistent across 5+ attempts on March 29, 2026. App: Electron desktop app (arm64), signed with Developer ID Application, hardened runtime enabled, secure timestamp present. DMG submissions (all stuck): 568cc9c3-e711-41ba-99ce-6af5a1860ae9 (10 min timeout) e0a345c3-ddf8-4771-bdda-e0bc133ff723 (20 min timeout) 6757e5a9-d95b-45b3-95d5-41cb23384bea (20 min timeout) ZIP submission (.app bundle via ditto, ~207MB): Also stuck In Progress for 10+ minutes notarytool log returns Submission log is not yet available for all submissions. Developer ID Notary Service shows Available on System Status page. Environment: macOS GitHub Actions runner (macos-latest), latest Xcode, xcrun notarytool. Seeing similar reports from other developers this week. Is there a known service issue?
Replies
1
Boosts
0
Views
141
Activity
3d
Reply to ‌Xcode26-built apps cannot run on iPhone 6 or earlier devices‌
Thank you for the post. I recommend reviewing the Xcode system requirements for the target listed below. Link to Xcode System Requirements The device support section will provide you with the supported iOS versions. You can view all the versions of Xcode by expanding the “Other Xcode versions” tab. Enables the download of the Xcode version tailored to the desired iOS platform, accessible directly from the developer’s website. Albert
  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
3d
Reply to Xcode 26.3 Claude Agent — 401 Invalid Bearer Token on Intel Mac (FB22141224)
Update: After extensive investigation I have identified what appears to be the root cause of the 401 Invalid Bearer Token error on my Intel Mac, and I want to share the findings in case they help others reporting similar issues on M1 and M4 machines. WHAT I FOUND (Intel Mac - x86_64): The Claude Agent binary that Xcode downloads is the darwin-arm64 build regardless of host architecture. On my Intel Mac this binary physically cannot execute, which fails silently and surfaces as a 401 error. Confirmed via terminal: file ~/Library/Developer/Xcode/CodingAssistant/Agents/claude/2.1.14/claude Returns: Mach-O 64-bit executable arm64 — wrong for Intel Mac The IDEChatClaudeCodeVersion preference is hardcoded to the ARM64 download URL: defaults read com.apple.dt.Xcode IDEChatClaudeCodeVersion Returns: darwin-arm64 URL regardless of CPU architecture We also confirmed the darwin-x64 binary exists in Anthropic's distribution bucket and runs correctly on Intel — both in the terminal and as a standalone bi
Replies
Boosts
Views
Activity
3d
NavigationLink selection in DisclosureGroup not working with .draggable modifier
NavigationLink selection in DisclosureGroup not working with .draggable modifier This was recently also posted here: https://stackoverflow.com/questions/79914290/ I am playing around with a tree data structure with folders and entries.I would like to add dragging of entries and folders between folders, using .draggable and dropDestination. In my current code, dragging works, but selection of entries no longer works, except if I click outside of the Text If I comment out .draggable(subfolder.name) in func FolderRow(), selection works as expected. How can I make sure both selection and drag and drop works for both folders and entries? I also tried using Transferable and Codable, but I get the same result. Here is an MRE: import SwiftData import SwiftUI @Model final class Folder { @Attribute(.unique) var name: String // Parent var parentFolder: Folder? // Child folders @Relationship(deleteRule: .cascade, inverse: Folder.parentFolder) var subfolders: [Folder] = [] // Leaf entries @Relationship(deleteRule
Topic: UI Frameworks SubTopic: SwiftUI
Replies
1
Boosts
0
Views
161
Activity
3d
Xcode 26.4 is missing the documentation for Foundation
Upgraded to Tahoe 26.4 and Xcode 26.4 and realized Xcode is missing the documentation for Foundation. Occasionally, if other (not yet missing) documentation references a Foundation entity, such as a type, clicking on it may open in a web browser pointing to the externally hosted Apple documentation. Anyone else experiencing this or have a workaround (perhaps the documentation files are on disk but were somehow lost / disconnected from the Xcode doc browser)? I checked the release notes for 26.4 and for 26.3 but did not find a mention of anything like that. Filed an issue with Apple, please do too if you are affected so hopefully it will see some love and lead to restoring the documentation. Edited: found some possibly related files in my ~/Library and the newer version v302 (26.4 related, I think, is considerably smaller): du -sh ~/Library/Developer/Xcode/DocumentationCache/* | awk -F/ '{print $NF t $1}' v296 1.0G v302 507M
Replies
5
Boosts
0
Views
155
Activity
3d
Reply to iCloud Sync not working with iPhone, works fine for Mac.
I’d like a robust dev environment for this. I’m not confident cksyncengine works for sandbox users. I’m not confident cksyncengine works in Xcode simulators I’m not confident cksyncengine works in development as opposed to production iCloud. Without this confidence it’s difficult to set-up, difficult to test and difficult reporting bugs.
Replies
Boosts
Views
Activity
3d
Reply to ‌Xcode26-built apps cannot run on iPhone 6 or earlier devices‌
We are experiencing similar issues on an iPad Air running iOS 12.5.8. Building with Xcode 26.4 causes our app deployment from TestFlight to crash on startup without any logs. The same app with minor code changes was built a week ago with Xcode 26.3 and deployment from TestFlight was successful on the same iPad.
Replies
Boosts
Views
Activity
3d
Reply to 26.4 beta and RC versions are unable to be created on anything but 26.4 beta host OS
I confirm that installing the Xcode.app/Contents/Resources/Packages/MobileDevice.pkg package of Xcode 26.4 (with the UI) on macOS 15.7.5 fix the installation problem of macOS 26.4 in VirtualBuddy.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
4d
Reply to Xcode now hangs; SDKs are "status unavailable"
Last post ... I promise ... When I reinstalled Xcode 26.4 again after going through all of the above shenanigans, I chose to NOT install the 26.x line of simulators, nor the Predictive Code Completion Model. As before, Xcode downloaded and installed older simulators anyway, but left the 26.x options uninstalled with their Get buttons primed and ready. I closed down Xcode and did some other stuff. After an hour I launched Xcode to check on things, opened Settings and, lo and behold, the iOS 26.4 and watchOS 26.4 simulators were showing as installed under the Platform Support section of the Components. What is going on? It's as if Xcode is hallucinating.
Replies
Boosts
Views
Activity
4d