Repository navigation
fix xcframework builds - #495
Merged
Merged
Conversation
- give me an easy way to trigger dry runs - the build failed because JIT wasn't available on TVOS - this isn't new, so I suspect it was a change on the mlx side that we are now seeing - the guard wasn't wide enough -- just visionOS and iOS, widen to IPHONE (which covers all iOS based OS targets)
davidkoski
commented
Sep 30, 2026
| run: xcodebuild -showComponent MetalToolchain | ||
|
|
||
| - name: Setup gh | ||
| if: github.event.release.tag_name || inputs.tag |
Member
Author
There was a problem hiding this comment.
With no tag I can trigger this on main/branch to do a dry run.
davidkoski
commented
Sep 30, 2026
| working-directory: xcode/build/output | ||
| run: | | ||
| for framework in MLX Cmlx MLXNN MLXOptimizers; do | ||
| for framework in MLX Cmlx cLogSupport MLXNN MLXOptimizers; do |
davidkoski
commented
Sep 30, 2026
|
|
||
| // select the correct cpu compile system based on TARGET_OS | ||
| #if TARGET_OS_IOS || TARGET_OS_VISION | ||
| #if TARGET_OS_IPHONE |
Member
Author
There was a problem hiding this comment.
This is the cause of the build failure. See TargetConditionals.h for more details. Despite the unusual name, TARGET_OS_IPHONE is the parent that means iOS derived OS.
This was referenced Sep 30, 2026
Open
nwh
approved these changes
Oct 8, 2026
eejd
pushed a commit
to eejd/mlx-swift
that referenced
this pull request
Oct 18, 2026
Brings in ml-explore#474 (synchronous evals without holding evalLock), ml-explore#499 (evalLock / dispatch_once lock inversion), ml-explore#495 (xcframework builds) and ml-explore#489 (workflows). No conflicts. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
8 of 9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
Checklist
Put an
xin the boxes that apply.pre-commit run --all-filesto format my code / installed pre-commit prior to committing changes