Search results for

“translate scheme”

6,670 results found

Post

Replies

Boosts

Views

Activity

Nothing else will silently fix itself until Apple re-adds ONNX ingestion in Core ML 10 or a new converter.
After a few attempts I end up at the same spot as categorized here by ChatGPT - I get why it feels that way, Rob — honestly, you’ve walked right into the worst possible moment in Apple’s Core ML toolchain evolution. What you’re running into isn’t your fault; Apple really did rip out the ONNX front-end without offering a clean replacement yet. So every tutorial, every script, and even coremltools itself contradicts what’s actually possible right now. Let’s be brutally clear about the state of things (late 2025): Goal Supported by Apple today Practical workaround Convert ONNX → Core ML using coremltools 9 No. The ONNX importer was removed. Use the legacy coremltools 6.x + onnx-coreml stack in a separate Python 3.9/3.10 env. Convert PyTorch → Core ML directly Yes, but only for simple or traced models. T5 still fails because of dynamic control flow. None reliable without rewriting the model. Run ONNX models directly on iOS Partially (via MLC LLM / Metal Performance Shaders). Works, but that’s an entirely differen
0
0
249
Oct ’25
Reply to iMessages Deeplink App Switching for iOS 26.0
[quote='864143022, richy6, /thread/805639?answerId=864143022#864143022, /profile/richy6'] using iChat:// results in the behavior we want. [/quote] You seem to have missed the point of my response. Unless you can find Apple documentation for the iChat URL scheme, it could well suffer the same fate as the messages URL scheme. Do not build a product that relies on implementation details. Doing so causes maintenance grief — like this very thread — and could potentially paint you into a corner such that you have to remove features that your users are relying on. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Oct ’25
Watchface Sharing Fails in TestFlight/AppStore on iOS/watchOS 26 (Works in Dev Builds)
Hello everyone, I am facing a critical and blocking issue regarding watchface sharing on iOS/watchOS 26 and would appreciate any immediate guidance or updates from the community or Apple. The Problem: We are unable to share watchfaces containing any complications from our app in TestFlight and App Store distribution environments. The operation fails with an error indicating the app and complications are unavailable. However, the exact same functionality works perfectly in all development builds (both Debug and Release schemes). This issue was not present on iOS/watchOS 18. We have testing, including: Successfully sharing the watchface in development environments. The failure occurs consistently across TestFlight and App Store builds. Exporting the watchface configuration from a TestFlight/AppStore build on iOS, transferring it to a paired watch, and finding it still shows as Unavailable. We suspect this may be related to the dual-target architecture of Watch apps. Any guidance or updates would be gre
2
0
210
Oct ’25
Reply to CompileAssetCatalogVariant failed with nonzero exit code.
@DTS Engineer creating an empty project and copy/pasting the assets catalog does indeed reproduce the issue, the problem is that such catalog contains over 3k files total and its size is around 1.2GB, I don't think one can attach samples that large. Of course in that 1.2GB there are assets that do not contribute to the issue, and I'm trying to slowly find a minimal set of assets that causes the issue to appear. Apple Support seems to require at most 50MB which is basically impossible for the scope of the project. The issue appears with every version of XCode, it just fails with this error when building with Archive scheme, but runs and builds fine if a simulator or physical device is selected.
Oct ’25
CompileAssetCatalogVariant failed with nonzero exit code.
I'm running in a very very very weird error. I have a large asset catalog, consisting of about 2700 assets for 1.19GB of size. I can successfully build and run my project with both release and debug scheme, when a real device or simulator is selected. However, whenever I select Any iOS device (arm64), about 80ish seconds in the build process, the building fails with the following output: CoreUI: Error: unable to add asset to store *** Terminating app due to uncaught exception 'IBPlatformToolFailureException', reason: 'The tool closed the connection (AssetCatalogSimulatorAgent) What I tried and failed: Cleaning DerivedData and restarting PC Building the same project on three different devices, each with a different version of XCode. All failed. running sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService Scanning for duplicate image files, found none. Scanning for duplicate .imageset folders in different folders, found none. Scanning for images that declared a different format than theirs, eg
6
0
401
Oct ’25
Reply to visionOS + Unity PolySpatial: Is 15,970 MeshFilters the True Upper Limit for Industrial Scenes?
To follow up on my above post, we managed to find a solution for data viz of more than 8,000 objects. A single mesh can contain millions of triangles before AVP starts to have a problem with it. For example, we added 1,000 cubes to a single mesh and duplicated this mesh object 1,000 times. That is 1,000,000 cubes, rendered at 90 FPS no problem. For our purposes, this is good enough. We can translate input coordinates to mesh-space and we can associate mesh-space coordinates with data outside of the objects. We can also color the verticies of the cubes individually, however we cannot put multiple materials on these mesh objects (unless each cube shares the same material in the object). We tried using sub-meshes in the object, and the results were much the same as if the meshes had been their own objects, hitting a limit of 8,000 sub meshes. We found the renderer struggled at around 2,000,000 cubes, or 24,000,000 tris. So, there is of course a graphical limit to what the AVP can render. Assuming the M5
Topic: Graphics & Games SubTopic: RealityKit Tags:
Oct ’25
iOS 26: Maps share sheet no longer provides com.apple.mapkit.map-item and only shares short maps.apple/p/... URLs (how to get coordinates?)
Since iOS 26, the Apple Maps share sheet no longer provides a com.apple.mapkit.map-item attachment when sharing a location to my Share Extension. Additionally, on real devices the shared URL is now a short link (https://maps.apple/p/...), which does not contain coordinates. On the simulator, the URL still includes coordinates (as in previous iOS versions). I'm trying to find the official or recommended way to extract coordinates from these new short URLs. Environment: Devices: iPhone (real device) on iOS 26.0 / 26.0.1 Simulator: iOS 26.0 / 26.0.1 simulator (behaves like iOS 18 — see below) App: Share Extension invoked from Apple Maps -> Share -> my app Xcode: 26.0.1 Steps to Reproduce Open Apple Maps on iOS 26 (real device). Pick a POI (store/restaurant). Share -> choose my share extension. iOS 18 and earlier (lldb) po extensionContext?.inputItems ▿ Optional> ▿ some : 1 element - 0 : - userInfo: { NSExtensionItemAttachmentsKey = ( {types = (public.plain-text)}, {types = (com.apple.mapkit.map-it
2
0
401
Oct ’25
Reply to List jumps back to the top
Seems like you have some UI which needs to change its appearance based on color scheme so SwiftUI reads the color scheme value from the environment and your view updates. Because of the way State works, transient instances of ModelData could be created and destroyed. Are you performing any side effect-like work in the model initializer? You should defer side effect-like work in the initializer to task or onAppear modifier.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’25
Reply to List jumps back to the top
I still can't figure out a way to stop the list from jumping back to the top when the device's Dark Mode setting changes. Why does SwiftUI think the data is different? A user changing the system appearance in isolation should not cause the the list scroll position to change. However. the body of a view will be called whenever you change the view such as by passing a value into its initializer from the parent view, and that value changes, or a dynamic property changes either explicitly because you changed an @State variable, or implicitly because you read something from the environment and that value changed such as like the color scheme. You can include let _ = Self._printChanges() in a view body while debugging to see why the view’s body was triggered.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’25
Reply to How can I remove a localization from a String Catalog in a Swift Package?
Hello, The solution I came up to was: Close Xcode. Remove the hidden folder .swiftpm from the Package folder. I noticed the UserInterfaceState.xcuserstate file in a subfolder of this folder contained some references to the languages (I could find language codes in it like pt-PT). Open the package again with Xcode. The languages that weren't translated at all (0% progress) got removed from the string catalog. The other languages where at least one string was translated stayed in the string catalog. I don't think this is ideal but I hope it can help others. Axel
Oct ’25
Reply to Copying files using Finder and Apple Events
Okay, I made it working exactly as I wanted, so I'd like to inform all people participating here, but also others who might see this while searching for similar content. The first stumbling block was making sure the application can actually send Apple Events in the first place. And in that regard I admit I should've listened better to @Etresoft and I apologize to him for not listening more carefully and dismissing his remark about hoops so that the app can actually send Apple Events too easily. It turned out that, even though the application is NOT sandboxed, com.apple.security.automation.apple-events entitlement is mandatory in the entitlements file. I couldn't assume it would be necessary even for a NON-sandboxed app, but it is. From my experience with executing AppleScript from another, sandboxed, application I remember that defining com.apple.security.automation.apple-events in the entitlements file and NSAppleEventsUsageDescription in the Info.plist file always go together and that's the case here too. S
Oct ’25
Can’t Debug background.js in Safari App Extension (Manifest V3)
I’m developing a Safari App Extension and I want to debug the background.js script. However, I can’t find any tool or option to do this. When I run the extension from Xcode using the ProjectName Extension (macOS) scheme, I expect to see a “ProjectName” item under the Develop → Web Extension Background Content menu. But there’s nothing there. Has anyone encountered the same issue? How did you fix it? Environment: Manifest Version: V3 Safari: 26.0.1 (21622.1.22.11.15) Xcode: 26.0.1 (17A400)
1
0
715
Oct ’25
Reply to AppleScript. How do I convert screen pixels to points?
I have a Macbook. The pixels are given by some program, which I need to translate into points.
Replies
Boosts
Views
Activity
Nov ’25
Nothing else will silently fix itself until Apple re-adds ONNX ingestion in Core ML 10 or a new converter.
After a few attempts I end up at the same spot as categorized here by ChatGPT - I get why it feels that way, Rob — honestly, you’ve walked right into the worst possible moment in Apple’s Core ML toolchain evolution. What you’re running into isn’t your fault; Apple really did rip out the ONNX front-end without offering a clean replacement yet. So every tutorial, every script, and even coremltools itself contradicts what’s actually possible right now. Let’s be brutally clear about the state of things (late 2025): Goal Supported by Apple today Practical workaround Convert ONNX → Core ML using coremltools 9 No. The ONNX importer was removed. Use the legacy coremltools 6.x + onnx-coreml stack in a separate Python 3.9/3.10 env. Convert PyTorch → Core ML directly Yes, but only for simple or traced models. T5 still fails because of dynamic control flow. None reliable without rewriting the model. Run ONNX models directly on iOS Partially (via MLC LLM / Metal Performance Shaders). Works, but that’s an entirely differen
Replies
0
Boosts
0
Views
249
Activity
Oct ’25
Reply to iMessages Deeplink App Switching for iOS 26.0
[quote='864143022, richy6, /thread/805639?answerId=864143022#864143022, /profile/richy6'] using iChat:// results in the behavior we want. [/quote] You seem to have missed the point of my response. Unless you can find Apple documentation for the iChat URL scheme, it could well suffer the same fate as the messages URL scheme. Do not build a product that relies on implementation details. Doing so causes maintenance grief — like this very thread — and could potentially paint you into a corner such that you have to remove features that your users are relying on. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’25
Watchface Sharing Fails in TestFlight/AppStore on iOS/watchOS 26 (Works in Dev Builds)
Hello everyone, I am facing a critical and blocking issue regarding watchface sharing on iOS/watchOS 26 and would appreciate any immediate guidance or updates from the community or Apple. The Problem: We are unable to share watchfaces containing any complications from our app in TestFlight and App Store distribution environments. The operation fails with an error indicating the app and complications are unavailable. However, the exact same functionality works perfectly in all development builds (both Debug and Release schemes). This issue was not present on iOS/watchOS 18. We have testing, including: Successfully sharing the watchface in development environments. The failure occurs consistently across TestFlight and App Store builds. Exporting the watchface configuration from a TestFlight/AppStore build on iOS, transferring it to a paired watch, and finding it still shows as Unavailable. We suspect this may be related to the dual-target architecture of Watch apps. Any guidance or updates would be gre
Replies
2
Boosts
0
Views
210
Activity
Oct ’25
Reply to CompileAssetCatalogVariant failed with nonzero exit code.
@DTS Engineer creating an empty project and copy/pasting the assets catalog does indeed reproduce the issue, the problem is that such catalog contains over 3k files total and its size is around 1.2GB, I don't think one can attach samples that large. Of course in that 1.2GB there are assets that do not contribute to the issue, and I'm trying to slowly find a minimal set of assets that causes the issue to appear. Apple Support seems to require at most 50MB which is basically impossible for the scope of the project. The issue appears with every version of XCode, it just fails with this error when building with Archive scheme, but runs and builds fine if a simulator or physical device is selected.
Replies
Boosts
Views
Activity
Oct ’25
Reply to iMessages Deeplink App Switching for iOS 26.0
I might’ve missed a memo here, but is the messages URLs scheme documented anyway? If so, please post a link to the docs so I can come up to speed. If not, see Supported URL Schemes. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’25
CompileAssetCatalogVariant failed with nonzero exit code.
I'm running in a very very very weird error. I have a large asset catalog, consisting of about 2700 assets for 1.19GB of size. I can successfully build and run my project with both release and debug scheme, when a real device or simulator is selected. However, whenever I select Any iOS device (arm64), about 80ish seconds in the build process, the building fails with the following output: CoreUI: Error: unable to add asset to store *** Terminating app due to uncaught exception 'IBPlatformToolFailureException', reason: 'The tool closed the connection (AssetCatalogSimulatorAgent) What I tried and failed: Cleaning DerivedData and restarting PC Building the same project on three different devices, each with a different version of XCode. All failed. running sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService Scanning for duplicate image files, found none. Scanning for duplicate .imageset folders in different folders, found none. Scanning for images that declared a different format than theirs, eg
Replies
6
Boosts
0
Views
401
Activity
Oct ’25
Reply to visionOS + Unity PolySpatial: Is 15,970 MeshFilters the True Upper Limit for Industrial Scenes?
To follow up on my above post, we managed to find a solution for data viz of more than 8,000 objects. A single mesh can contain millions of triangles before AVP starts to have a problem with it. For example, we added 1,000 cubes to a single mesh and duplicated this mesh object 1,000 times. That is 1,000,000 cubes, rendered at 90 FPS no problem. For our purposes, this is good enough. We can translate input coordinates to mesh-space and we can associate mesh-space coordinates with data outside of the objects. We can also color the verticies of the cubes individually, however we cannot put multiple materials on these mesh objects (unless each cube shares the same material in the object). We tried using sub-meshes in the object, and the results were much the same as if the meshes had been their own objects, hitting a limit of 8,000 sub meshes. We found the renderer struggled at around 2,000,000 cubes, or 24,000,000 tris. So, there is of course a graphical limit to what the AVP can render. Assuming the M5
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Oct ’25
Reply to iOS 26 fails to automatically switch to [system settings - personal hotspot ] directly from application ]
App-Prefs:INTERNET_TETHERING OK, that’s what I suspected. Have a read of Supported URL Schemes. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’25
iOS 26: Maps share sheet no longer provides com.apple.mapkit.map-item and only shares short maps.apple/p/... URLs (how to get coordinates?)
Since iOS 26, the Apple Maps share sheet no longer provides a com.apple.mapkit.map-item attachment when sharing a location to my Share Extension. Additionally, on real devices the shared URL is now a short link (https://maps.apple/p/...), which does not contain coordinates. On the simulator, the URL still includes coordinates (as in previous iOS versions). I'm trying to find the official or recommended way to extract coordinates from these new short URLs. Environment: Devices: iPhone (real device) on iOS 26.0 / 26.0.1 Simulator: iOS 26.0 / 26.0.1 simulator (behaves like iOS 18 — see below) App: Share Extension invoked from Apple Maps -> Share -> my app Xcode: 26.0.1 Steps to Reproduce Open Apple Maps on iOS 26 (real device). Pick a POI (store/restaurant). Share -> choose my share extension. iOS 18 and earlier (lldb) po extensionContext?.inputItems ▿ Optional> ▿ some : 1 element - 0 : - userInfo: { NSExtensionItemAttachmentsKey = ( {types = (public.plain-text)}, {types = (com.apple.mapkit.map-it
Replies
2
Boosts
0
Views
401
Activity
Oct ’25
Reply to List jumps back to the top
Seems like you have some UI which needs to change its appearance based on color scheme so SwiftUI reads the color scheme value from the environment and your view updates. Because of the way State works, transient instances of ModelData could be created and destroyed. Are you performing any side effect-like work in the model initializer? You should defer side effect-like work in the initializer to task or onAppear modifier.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’25
Reply to List jumps back to the top
I still can't figure out a way to stop the list from jumping back to the top when the device's Dark Mode setting changes. Why does SwiftUI think the data is different? A user changing the system appearance in isolation should not cause the the list scroll position to change. However. the body of a view will be called whenever you change the view such as by passing a value into its initializer from the parent view, and that value changes, or a dynamic property changes either explicitly because you changed an @State variable, or implicitly because you read something from the environment and that value changed such as like the color scheme. You can include let _ = Self._printChanges() in a view body while debugging to see why the view’s body was triggered.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’25
Reply to How can I remove a localization from a String Catalog in a Swift Package?
Hello, The solution I came up to was: Close Xcode. Remove the hidden folder .swiftpm from the Package folder. I noticed the UserInterfaceState.xcuserstate file in a subfolder of this folder contained some references to the languages (I could find language codes in it like pt-PT). Open the package again with Xcode. The languages that weren't translated at all (0% progress) got removed from the string catalog. The other languages where at least one string was translated stayed in the string catalog. I don't think this is ideal but I hope it can help others. Axel
Replies
Boosts
Views
Activity
Oct ’25
Reply to Copying files using Finder and Apple Events
Okay, I made it working exactly as I wanted, so I'd like to inform all people participating here, but also others who might see this while searching for similar content. The first stumbling block was making sure the application can actually send Apple Events in the first place. And in that regard I admit I should've listened better to @Etresoft and I apologize to him for not listening more carefully and dismissing his remark about hoops so that the app can actually send Apple Events too easily. It turned out that, even though the application is NOT sandboxed, com.apple.security.automation.apple-events entitlement is mandatory in the entitlements file. I couldn't assume it would be necessary even for a NON-sandboxed app, but it is. From my experience with executing AppleScript from another, sandboxed, application I remember that defining com.apple.security.automation.apple-events in the entitlements file and NSAppleEventsUsageDescription in the Info.plist file always go together and that's the case here too. S
Replies
Boosts
Views
Activity
Oct ’25
Can’t Debug background.js in Safari App Extension (Manifest V3)
I’m developing a Safari App Extension and I want to debug the background.js script. However, I can’t find any tool or option to do this. When I run the extension from Xcode using the ProjectName Extension (macOS) scheme, I expect to see a “ProjectName” item under the Develop → Web Extension Background Content menu. But there’s nothing there. Has anyone encountered the same issue? How did you fix it? Environment: Manifest Version: V3 Safari: 26.0.1 (21622.1.22.11.15) Xcode: 26.0.1 (17A400)
Replies
1
Boosts
0
Views
715
Activity
Oct ’25