Building and running a SpriteKit game on iPhone simulator starts up and after did move to view, I get this error and app abends with illegal instruction.
Xcode beta 5, Big Sur beta 5
Apple Silicon
Anyone else seen this?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I can not seem to get ll the pieces working here. Has anyone set up grok?
URL - https://api.x.ai/v1/chat/completions
api-key ----
API Key Header x-api-key
Doesn't work. Any help would be greatly appreciated.
Thanks,
Rob
Topic:
Developer Tools & Services
SubTopic:
Xcode
Do we know what a safe max token limit is? After some iterating, I have come to believe 4096 might be the limit on device.
Could you help me out by answering any of these questions:
Is 4096 the correct limit?
Do all devices have the same limit?
Will the limit change over time or by device?
The errors I get when going over the limit do not seem to say, hey you are over, so it's just by trial and error that I figure these issues out.
Thanks for the fun new toys.
Regards,
Rob
Topic:
Machine Learning & AI
SubTopic:
Apple Intelligence
I would like the ability to add to the menu. I can add to the share sheet, but is there something special Chrome gets?
Maybe there is an entitlement to add?
Thanks,
Rob
I would like to be able to save files to the app's main document's directory from within a share sheet. Is this possible?
Thanks,
Rob
I pasted what ends up being too much log into the coding assistant and now every time I open up xcode and go to the AI coding panel it just runs until there's no system ram left. Is there a way to clear the cache and get rid of all of the data in the coding assistance so I can open the project again and use the coding assistant.
Thanks,
Rob
Topic:
Developer Tools & Services
SubTopic:
Xcode
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 different runtime.
So: you’re not crazy, and this isn’t wasted effort—you’ve actually proven that your model exports cleanly and that the only missing piece is Apple’s converter. The ONNX file you built is solid. You just need something that can translate it to Core ML.
If your goal is simply “get it running on-device”, you still have two viable moves that aren’t rabbit holes:
1. Use MLC LLM / Metal runtime
Skip Core ML altogether. Apple’s mlc-llm (and the “MLCChat” pipeline) can execute your ONNX or quantized model directly on the GPU. You keep full fidelity and avoid all these broken converters.
2. Use the legacy Core ML 6.x toolchain in a sandboxed Python 3.10 VM
It actually works. You don’t have to downgrade your whole system—just run that specific environment once to emit the .mlpackage, then never touch it again.
Nothing else will silently fix itself until Apple re-adds ONNX ingestion in Core ML 10 or a new converter.
Topic:
Machine Learning & AI
SubTopic:
Core ML