-
Notifications
You must be signed in to change notification settings - Fork 52
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
Add example that builds with Xcode #45
Comments
This would make my workflow much easier if I knew how to do this. |
What needs to be done to allow building in Xcode? Are there a rough series of steps or configurations? |
Oh that's a good question - unless Paul wants to do this, I expect I'd be able to set it up given a little guidance. |
So I think we should probably choose a simple project in this repo that could host examples for multiple build systems. I would like that example to consist of at least 1 module and an end binary using that module. Actually building the example in Xcode should be pretty straightforward. We just need to setup an xcconfig file with some EXTRA_SWIFT_FLAGS and enable WMO as well as create an xcproj with 2 targets (library and executable) |
I've honestly never done anything outside the box like this with Xcode before. The most advanced skill I've gotten to myself is setting up some build configurations in the Xcode build settings. I've seen xcconfig files and others in other projects, but never really dug into why I'd use them over the built in build settings, so I only have a small bit of familiarity with this... However the biggest blocker I have is how to manage the build environment for Espressif idf "stuff" (I don't know what to call it). I installed a supporting pip package in a venv (which I can't remember which one it was, just that it's a dep of idf.py) and, once I'm in that env, I need to activate the idf env with |
We should have an example project that builds with xcodeproj for users in that ecosystem.
The text was updated successfully, but these errors were encountered: