Search results for

“xcode github”

96,025 results found

Post

Replies

Boosts

Views

Activity

com.apple.developer.automatic-assessment-configuration entitlement missing from manually downloaded Distribution/InHouse Provisioning Profile
We are implementing an exam mode feature for an educational app used in schools, which restricts device usage during assessments. We requested the Automatic Assessment Configuration capability, received approval from Apple, and confirmed that the capability is listed as Assigned under our App ID in the Apple Developer portal. What works: When using a Development Provisioning Profile (downloaded from the portal), the entitlement key com.apple.developer.automatic-assessment-configuration is included in the profile, and our exam lock feature works correctly in development testing. The problem: When we manually download a Distribution (InHouse/Enterprise) Provisioning Profile from the portal — even after creating a new one — the entitlement key com.apple.developer.automatic-assessment-configuration is not present in the profile. verified this by running: security cms -D -i YourProfile.mobileprovision The key appears in the Development PP but is absent in the manually downloaded Distribution PP, despite the App ID
1
0
98
1d
Reply to Error downloading the Predictive Code Completion Model
I tried almost all the methods mentioned above, but none of them worked for me. However, I eventually solved it. It was quite simple as well. Close SIP (csrutil disable). Delete folders exceeding 2GB in /System/Library/AssetsV2/com_apple_MobileAsset_UAF_FM_CodeLM/purpose_auto/ Open Xcode and re-download the model done 上面的方法我几乎都试过了,对我来说是不工作的。但是,最后我还是解决了。也很简单。 关闭sip。 删除/System/Library/AssetsV2/com_apple_MobileAsset_UAF_FM_CodeLM/purpose_auto/中超过2G的文件夹 打开Xcode重新下载model done
1d
notarytool submissions stuck "In Progress" indefinitely — account-specific issue?
Hello, I've been trying to notarize my macOS app using xcrun notarytool, but all submissions get stuck in In Progress status indefinitely (30+ minutes, never resolve). Environment: Tool: xcrun notarytool (Xcode 16) Bundle ID: io.pix-cull.app Team ID: C473MUK7G2 App type: PyInstaller-built .app, wrapped in a signed .dmg Stuck submission IDs: 00e953da (first attempt) f7ab027e 3e35fc3f 293541bc-ba61-4ccb-a273-a8f34cda2422 (most recent) Steps I've already taken: Disabled UPX compression in PyInstaller spec Signed all binaries inside-out (deepest first, .app last) Used --timestamp flag during codesign Verified Apple system status — all services show green Waited 24+ hours on the oldest submission — still In Progress What I observe: Running xcrun notarytool info returns status: In Progress every time, no matter how long I wait. The submission never transitions to Accepted or Invalid. Other developers report notarization completing in 2–15 minutes. I also submitted a ticket to Apple Developer Support (DTS)
1
0
85
1d
[iOS 26.x] WKWebView crashes with NSInternalInconsistencyException — KVO inconsistency on configuration.enforcesChildRestrictions from STScreenTimeConfigurationObserver
Summary We are seeing a recurring fatal NSInternalInconsistencyException on iOS 26.x devices. The crash originates entirely from system frameworks (Foundation / WebKit / Screen Time / NSXPCConnection) — there are no app frames in the stack. The exception is raised from an XPC reply on a worker thread, so the host app cannot wrap it in @try/@catch. The crash appears to be a KVO consistency check failing inside the platform's internal Screen Time observer (STScreenTimeConfigurationObserver) when it observes WKWebView's configuration.enforcesChildRestrictions key path. The exception message states the value of the intermediate key configuration changed without an appropriate KVO notification. Environment iOS versions: 26.2.1 (also seen on 26.0.x – 26.2.x) Devices: iPhone 13 (iPhone14,5), iPhone 16 Plus, others App orientation: portrait Process state at crash: BACKGROUND (most occurrences) App uses WKWebView in several screens (link preview, in-app web, 3rd-party SDK web views) Crash is
1
0
185
1d
Reply to MacCatalyst, UIScene and the green zoom/fullscreen button
Perhaps ending with that question was a mistake; obviously, I should use a new control. But I have used the zoom/no zoom feature since the birth of MacCat in 2019, ... There are two UISceneWindowDelegate methods didUpdateCoordinateSpace and didUpdateEffectiveGeometry, and by inspection it's possible to infer which of the two states the App should configure itself. The problem is that these methods are both “did” variants, there are no “will” methods. My App should never be in fullscreen. (Note Xcode 26.4.1 is aware of willUpdateEffectiveGeometry, but it was never called - maybe in the future.) The new zoom button control worked fine, by setting the scene’s size restriction minimumSize and maximumSize attributes appropriately. Positioning the new zoom control precisely over the green button didn’t work, the green guy intercepted events. Hovering over the green button posts a dialog showing all 15 possible action variations, none useful to me. But, of course, I had long ago missed windowScene.sizeRestr
Topic: UI Frameworks SubTopic: UIKit Tags:
1d
Feedback wanted: macOS tool to run Claude Code through OpenRouter safely
Hi everyone, I built an open-source macOS developer tool called Claude Code on OpenRouter. GitHub repo: https://github.com/allytag/Claude_Code It lets the official Claude Code CLI run through OpenRouter models while keeping the normal Claude Code workflow: tools, file editing, bash, MCP, repository work, and agent behavior. The main reason I built it is that many custom model setups break Claude Code features or make cost and model control harder. This setup keeps Claude Code itself untouched and adds a local Anthropic-compatible proxy for OpenRouter. What it does: Runs the official Claude Code CLI through OpenRouter Keeps Claude Code tools, file edits, bash, repo workflow, and MCP working Uses a local proxy at 127.0.0.1:4141 Supports model roles like main, cheapFull, hard, subagent, lowToken, backup, and compare Lets users switch OpenRouter models without reinstalling Adds cache markers and provider pinning where supported Strips reasoni
0
0
73
1d
Reply to Background Assets Mac (Designed for iPad)
Thanks, let’s focus on your Designed for iPad issue and error in that target. You said you can’t add any Mac however are you using Mac Catalyst? Xcode attempts to dynamically build the final Info.plist at compile time based on your project settings. When this happens, Xcode often ignores or strips out custom keys that you manually added to the physical Info.plist file, especially when switching the run destination to the Mac. Even though the key shows up under Custom iOS Target Properties in the Xcode UI (which is expected, since Designed for iPad is technically still an iOS build), the dynamic generation process is dropping the BAAppGroupID key when compiling the Mac app bundle. Since you already have a physical Info.plist file with the correct BAAppGroupID key inside it, you can tell Xcode generating the plist, you need to make sure the key is injected properly during the build process. The issue seems a target issue as is working with the target that was designed to work
Topic: App & System Services SubTopic: Core OS Tags:
1d
Reply to Background Assets Mac (Designed for iPad)
Thanks for the post. The Background Assets framework is fully supported on the Mac. It is available on macOS 16.0 and later, as well as for iOS apps and Mac Catalyst and shown in the documentation you linked. iOS 16.0+ iPadOS 16.0+ Mac Catalyst 16.0+ The error you are seeing is actually not a limitation of the Apple framework itself. The file AssetPackManager.swift and the specific BAAppGroupID key are not internal to the Background Assets framework. What is your info.plist with key BAAppGroupID? Please look at the documentation https://developer.apple.com/documentation/bundleresources/information-property-list/baappgroupid If you defined the App Group ID in your Xcode Build Settings (often as a User-Defined Build Setting that gets injected into the Info.plist), it might be restricted to iOS. Go to your app target's Build Settings. Search for the variable that populates BAAppGroupID (or search for BAAppGroupID directly if it is in the Info.plist Values section). Click the triangle next to the setting
Topic: App & System Services SubTopic: Core OS Tags:
1d
Reply to App Intents: String array parameter value clears immediately in Shortcuts editor
Hi, I'm using the latest Xcode (26.4.1) and I'm targeting iOS 16.6. Also, make sure that you don't provide parametrized summary - in this case it works correctly. I'm using something like that: static var parameterSummary: some ParameterSummary { Summary(List Items) { .$collections } } The issue occurs only if you have the form view. It's easily reproducible with this configuration. I tried also with an optional array [String]? and it doesn't help. I've found a workaround which in my case is suitable. I added predefined values this way: @Parameter(title: Collections, optionsProvider: CollectionsOptionsProvider()) var collections: [String]? However, it isn't good enough if someone needs a completely custom input.
1d
Reply to App Intents: String array parameter value clears immediately in Shortcuts editor
@maxik Thanks for the post, can you provide more information about the setup of your environment as this issue is not happening currently with the latest release of iOS. It is recommended to ensure that your Xcode project is correctly configured to build against the latest SDKs and that your development environment is up to date. To work around this issue, you can make the parameter optional and remove the argument. This prevents the Shortcuts editor from continuously applying the empty array state over the user's active input. However I don’t see the issue on the latest release and that’s why is so important to provide the details of the iOS version you are targeting and what Xcode are you using. Albert
  Worldwide Developer Relations.
1d
com.apple.developer.automatic-assessment-configuration entitlement missing from manually downloaded Distribution/InHouse Provisioning Profile
We are implementing an exam mode feature for an educational app used in schools, which restricts device usage during assessments. We requested the Automatic Assessment Configuration capability, received approval from Apple, and confirmed that the capability is listed as Assigned under our App ID in the Apple Developer portal. What works: When using a Development Provisioning Profile (downloaded from the portal), the entitlement key com.apple.developer.automatic-assessment-configuration is included in the profile, and our exam lock feature works correctly in development testing. The problem: When we manually download a Distribution (InHouse/Enterprise) Provisioning Profile from the portal — even after creating a new one — the entitlement key com.apple.developer.automatic-assessment-configuration is not present in the profile. verified this by running: security cms -D -i YourProfile.mobileprovision The key appears in the Development PP but is absent in the manually downloaded Distribution PP, despite the App ID
Replies
1
Boosts
0
Views
98
Activity
1d
Reply to Error downloading the Predictive Code Completion Model
I tried almost all the methods mentioned above, but none of them worked for me. However, I eventually solved it. It was quite simple as well. Close SIP (csrutil disable). Delete folders exceeding 2GB in /System/Library/AssetsV2/com_apple_MobileAsset_UAF_FM_CodeLM/purpose_auto/ Open Xcode and re-download the model done 上面的方法我几乎都试过了,对我来说是不工作的。但是,最后我还是解决了。也很简单。 关闭sip。 删除/System/Library/AssetsV2/com_apple_MobileAsset_UAF_FM_CodeLM/purpose_auto/中超过2G的文件夹 打开Xcode重新下载model done
Replies
Boosts
Views
Activity
1d
Reply to Xcode 16.2 : Unable to install Platform Support Runtimes + Predictive Code Completion Model
I tried almost all the methods mentioned above, but none of them worked for me. However, I eventually solved it. It was quite simple as well. Close SIP. Delete folders exceeding 2GB in /System/Library/AssetsV2/com_apple_MobileAsset_UAF_FM_CodeLM/purpose_auto/ Open Xcode and re-download the model done
Replies
Boosts
Views
Activity
1d
notarytool submissions stuck "In Progress" indefinitely — account-specific issue?
Hello, I've been trying to notarize my macOS app using xcrun notarytool, but all submissions get stuck in In Progress status indefinitely (30+ minutes, never resolve). Environment: Tool: xcrun notarytool (Xcode 16) Bundle ID: io.pix-cull.app Team ID: C473MUK7G2 App type: PyInstaller-built .app, wrapped in a signed .dmg Stuck submission IDs: 00e953da (first attempt) f7ab027e 3e35fc3f 293541bc-ba61-4ccb-a273-a8f34cda2422 (most recent) Steps I've already taken: Disabled UPX compression in PyInstaller spec Signed all binaries inside-out (deepest first, .app last) Used --timestamp flag during codesign Verified Apple system status — all services show green Waited 24+ hours on the oldest submission — still In Progress What I observe: Running xcrun notarytool info returns status: In Progress every time, no matter how long I wait. The submission never transitions to Accepted or Invalid. Other developers report notarization completing in 2–15 minutes. I also submitted a ticket to Apple Developer Support (DTS)
Replies
1
Boosts
0
Views
85
Activity
1d
[iOS 26.x] WKWebView crashes with NSInternalInconsistencyException — KVO inconsistency on configuration.enforcesChildRestrictions from STScreenTimeConfigurationObserver
Summary We are seeing a recurring fatal NSInternalInconsistencyException on iOS 26.x devices. The crash originates entirely from system frameworks (Foundation / WebKit / Screen Time / NSXPCConnection) — there are no app frames in the stack. The exception is raised from an XPC reply on a worker thread, so the host app cannot wrap it in @try/@catch. The crash appears to be a KVO consistency check failing inside the platform's internal Screen Time observer (STScreenTimeConfigurationObserver) when it observes WKWebView's configuration.enforcesChildRestrictions key path. The exception message states the value of the intermediate key configuration changed without an appropriate KVO notification. Environment iOS versions: 26.2.1 (also seen on 26.0.x – 26.2.x) Devices: iPhone 13 (iPhone14,5), iPhone 16 Plus, others App orientation: portrait Process state at crash: BACKGROUND (most occurrences) App uses WKWebView in several screens (link preview, in-app web, 3rd-party SDK web views) Crash is
Replies
1
Boosts
0
Views
185
Activity
1d
Please upgrade Xcode to continue using Codex
Codex will no longer be available in Xcode 26.3 starting on Friday, May 8th. Please upgrade to Xcode 26.4 or later to continue using Codex.
Replies
0
Boosts
0
Views
118
Activity
1d
Reply to MacCatalyst, UIScene and the green zoom/fullscreen button
Perhaps ending with that question was a mistake; obviously, I should use a new control. But I have used the zoom/no zoom feature since the birth of MacCat in 2019, ... There are two UISceneWindowDelegate methods didUpdateCoordinateSpace and didUpdateEffectiveGeometry, and by inspection it's possible to infer which of the two states the App should configure itself. The problem is that these methods are both “did” variants, there are no “will” methods. My App should never be in fullscreen. (Note Xcode 26.4.1 is aware of willUpdateEffectiveGeometry, but it was never called - maybe in the future.) The new zoom button control worked fine, by setting the scene’s size restriction minimumSize and maximumSize attributes appropriately. Positioning the new zoom control precisely over the green button didn’t work, the green guy intercepted events. Hovering over the green button posts a dialog showing all 15 possible action variations, none useful to me. But, of course, I had long ago missed windowScene.sizeRestr
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
1d
Feedback wanted: macOS tool to run Claude Code through OpenRouter safely
Hi everyone, I built an open-source macOS developer tool called Claude Code on OpenRouter. GitHub repo: https://github.com/allytag/Claude_Code It lets the official Claude Code CLI run through OpenRouter models while keeping the normal Claude Code workflow: tools, file editing, bash, MCP, repository work, and agent behavior. The main reason I built it is that many custom model setups break Claude Code features or make cost and model control harder. This setup keeps Claude Code itself untouched and adds a local Anthropic-compatible proxy for OpenRouter. What it does: Runs the official Claude Code CLI through OpenRouter Keeps Claude Code tools, file edits, bash, repo workflow, and MCP working Uses a local proxy at 127.0.0.1:4141 Supports model roles like main, cheapFull, hard, subagent, lowToken, backup, and compare Lets users switch OpenRouter models without reinstalling Adds cache markers and provider pinning where supported Strips reasoni
Replies
0
Boosts
0
Views
73
Activity
1d
Reply to Background Assets Mac (Designed for iPad)
Not using Mac Catalyst. Just the iOS app that will run on Apple Silicon Macs. How do I tell Xcode to make sure the key is injected properly during the build process
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
1d
Reply to Background Assets Mac (Designed for iPad)
Thanks, let’s focus on your Designed for iPad issue and error in that target. You said you can’t add any Mac however are you using Mac Catalyst? Xcode attempts to dynamically build the final Info.plist at compile time based on your project settings. When this happens, Xcode often ignores or strips out custom keys that you manually added to the physical Info.plist file, especially when switching the run destination to the Mac. Even though the key shows up under Custom iOS Target Properties in the Xcode UI (which is expected, since Designed for iPad is technically still an iOS build), the dynamic generation process is dropping the BAAppGroupID key when compiling the Mac app bundle. Since you already have a physical Info.plist file with the correct BAAppGroupID key inside it, you can tell Xcode generating the plist, you need to make sure the key is injected properly during the build process. The issue seems a target issue as is working with the target that was designed to work
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
1d
Reply to Background Assets Mac (Designed for iPad)
Thanks for the post. The Background Assets framework is fully supported on the Mac. It is available on macOS 16.0 and later, as well as for iOS apps and Mac Catalyst and shown in the documentation you linked. iOS 16.0+ iPadOS 16.0+ Mac Catalyst 16.0+ The error you are seeing is actually not a limitation of the Apple framework itself. The file AssetPackManager.swift and the specific BAAppGroupID key are not internal to the Background Assets framework. What is your info.plist with key BAAppGroupID? Please look at the documentation https://developer.apple.com/documentation/bundleresources/information-property-list/baappgroupid If you defined the App Group ID in your Xcode Build Settings (often as a User-Defined Build Setting that gets injected into the Info.plist), it might be restricted to iOS. Go to your app target's Build Settings. Search for the variable that populates BAAppGroupID (or search for BAAppGroupID directly if it is in the Info.plist Values section). Click the triangle next to the setting
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
1d
Reply to App Intents: String array parameter value clears immediately in Shortcuts editor
Hi, I'm using the latest Xcode (26.4.1) and I'm targeting iOS 16.6. Also, make sure that you don't provide parametrized summary - in this case it works correctly. I'm using something like that: static var parameterSummary: some ParameterSummary { Summary(List Items) { .$collections } } The issue occurs only if you have the form view. It's easily reproducible with this configuration. I tried also with an optional array [String]? and it doesn't help. I've found a workaround which in my case is suitable. I added predefined values this way: @Parameter(title: Collections, optionsProvider: CollectionsOptionsProvider()) var collections: [String]? However, it isn't good enough if someone needs a completely custom input.
Replies
Boosts
Views
Activity
1d
Reply to App Intents: String array parameter value clears immediately in Shortcuts editor
@maxik Thanks for the post, can you provide more information about the setup of your environment as this issue is not happening currently with the latest release of iOS. It is recommended to ensure that your Xcode project is correctly configured to build against the latest SDKs and that your development environment is up to date. To work around this issue, you can make the parameter optional and remove the argument. This prevents the Shortcuts editor from continuously applying the empty array state over the user's active input. However I don’t see the issue on the latest release and that’s why is so important to provide the details of the iOS version you are targeting and what Xcode are you using. Albert
  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
1d
Reply to Can not upload using Xcode 26.5 release candidate
@MiladBigle Great to know, since May 5 the RC can be used to submit apps to the store based on the notes: May 5, 2026 App Store Connect update You can now upload apps built with Xcode 26.5 >RC using the SDK for iOS 26.5 RC, https://developer.apple.com/help/app-store-connect/release-notes/ Albert
  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
1d
Reply to Can not upload using Xcode 26.5 release candidate
@DTS Engineer Thanks Albert for the link. I have successfully submitted the app for review on the App Store today using the same Xcode candidate release. Everything went through correctly on my side, and App Store Connect also appears to be updated. It may be because there were no changes in the Xcode version.
Replies
Boosts
Views
Activity
1d