Skip to content

Add XCFramework generation script#24

Closed
JoeMatt wants to merge 4 commits intojkcoxson:masterfrom
JoeMatt:JoeMatt/xcframework-script
Closed

Add XCFramework generation script#24
JoeMatt wants to merge 4 commits intojkcoxson:masterfrom
JoeMatt:JoeMatt/xcframework-script

Conversation

@JoeMatt
Copy link

@JoeMatt JoeMatt commented Aug 30, 2025

Adds a Python 3 script to easily build for all Apple targets,

  • iOS
  • iOS Simulator (ARM + X86_64)
  • tvOS
  • tvOS Simulator (ARM + X86_64)
  • macOS (ARM + X86_64)
  • Mac Catalyst (ARM + X86_64)
  • VisionOS
  • VisionOS Simulator

Signed-off-by: Joseph Mattiello <git@joemattiello.com>
Signed-off-by: Joseph Mattiello <git@joemattiello.com>
Signed-off-by: Joseph Mattiello <git@joemattiello.com>
Signed-off-by: Joseph Mattiello <git@joemattiello.com>
@JoeMatt JoeMatt marked this pull request as ready for review August 30, 2025 20:49
@claration
Copy link
Contributor

This is unneeded, there's already an .xcframework generation script in the root of the project, you would need to run just xcframework for it. If you want more platforms I suggest making a pull request to what already exists.

https://github.com/jkcoxson/idevice/blob/master/justfile

@jkcoxson
Copy link
Owner

jkcoxson commented Sep 5, 2025

There is a C++ library that will probably integrate better with the Swift, does this script take that into account?

@JoeMatt
Copy link
Author

JoeMatt commented Sep 5, 2025

This is unneeded, there's already an .xcframework generation script in the root of the project, you would need to run just xcframework for it. If you want more platforms I suggest making a pull request to what already exists.

https://github.com/jkcoxson/idevice/blob/master/justfile

Does it work for all platforms? I tried that and it didnt' do tvOS for instance as far as I remember. This supports more platforms and sets up the toolchains for tvOS

@claration
Copy link
Contributor

It doesn't but it can be modified to work for other platforms, quite easily it seems.

@jkcoxson
Copy link
Owner

This was implemented in the justfile in #69

@jkcoxson jkcoxson closed this Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants