Skip to content

Catalyst Support #117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
JonasGessner opened this issue Apr 11, 2021 · 9 comments · May be fixed by #280
Open

Catalyst Support #117

JonasGessner opened this issue Apr 11, 2021 · 9 comments · May be fixed by #280
Labels
enhancement New features, or improvements to existing features.

Comments

@JonasGessner
Copy link

The makefile doesn't seem to support Catalyst. It would be nice to have support for this target!

@JonasGessner JonasGessner added the enhancement New features, or improvements to existing features. label Apr 11, 2021
@freakboy3742
Copy link
Member

Thanks for the suggestion - but I'm not even sure what this would mean. Python-Apple-support is a library that you would include in your iOS project... unless I'm missing something, it shouldn't matter whether your project is a Catalyst project or a Cocoa project - you link in the Python support library, and invoke it as required.

What exactly is it that you think needs to be added?

@JonasGessner
Copy link
Author

Yes but to be able to link the python library when building an app for catalyst the library itself needs to be built specifically for catalyst as well. iOS or macOS libraries can't be used in catalyst builds.

To build a library for catalyst you have to build against the macOS SDK and specify a target in the form x86_64-apple-ios13.0-macabi, with the arch and iOS version adjusted as needed.

@freakboy3742
Copy link
Member

Ah - I didn't realise Catalyst was based on an entirely different ABI.

Catalyst isn't a huge priority for me personally, but if you wanted to add another target platform to support Catalyst, I wouldn't object to a PR that added it.

@freakboy3742 freakboy3742 added enhancement New features, or improvements to existing features. up-for-grabs and removed enhancement New features, or improvements to existing features. labels Apr 13, 2021
@freakboy3742
Copy link
Member

For anyone interested in adding MacCatalyst support, user @asavva-2016 was working on a series of patches to implement this feature:

These were getting close to being ready to merge, but @asavva-2016 wasn't able to commit the time to get them over the line.

@freakboy3742
Copy link
Member

The first part of this work - adding macCatalyst binaries to cpython-apple-source-deps - has now been done.

@johnzhou721
Copy link
Contributor

@freakboy3742 Is it okay if I reimpl. the Catalyst Support stuff on this PR? A bunch of changes are needed for the logic and I think it'll be easier for me to start a separate PR to here.

@freakboy3742
Copy link
Member

@johnzhou721 I'm confused about what you're asking. This isn't a PR, and there isn't an open PR for Catalyst support...

@johnzhou721
Copy link
Contributor

Oh I was wondering if (when) I do the building stuff for mac catalyst if I could not base my code on #256 and start a separate PR.

@freakboy3742
Copy link
Member

Use #256 if it's helpful; if it's not, don't. I don't mind either way.

@johnzhou721 johnzhou721 linked a pull request May 3, 2025 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features, or improvements to existing features.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants