-
Notifications
You must be signed in to change notification settings - Fork 125
Feature/tvos ios one build script #466
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
Conversation
❌ Integration test FAILEDRequested by @vimanyu on commit 4bb2f22
|
Is there still a build script in build_scripts/ios? |
For now, yes as our documentation needs to be updated too. Infact, there are build scripts specifically for tvos. |
❌ Integration test FAILEDRequested by @vimanyu on commit 192c53b
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
argparse is good. But I wasn't sure if you noticed Google's practice of Command line parsing
I personally feel the benefit of using a standard library module argparse for simple standalone scripts like this is that we do not have any unnecessary external dependencies. |
Thanks for pointing this out. I did some quick tests to see what works best and I think multiprocessing is working great. For debugging purpose, threading/multiprocess makes it a little hard as the log output will be interleaved but we can look into it once it becomes a bigger issue. Options (and local tests from macbook pro with 12 logical cores):
Note: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the plan about tvos?
If add tvos to the packaging workflow, probably need to update the release note later.
Thinking more about it, I think I will revert changes to github workflow files for now. It definitely helped to test the packaging workflow and make sure nothing broke in the process but we should truly include tvos once all the work on simulators on github is done. |
Waiting for simulation tests to run on Github before including tvos in build and packaging.
Have removed changes to workflow files from this PR as we will wait until the work on tvos simulator integration tests on Github is done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Single build script that builds for ios and tvos.
In addition to building frameworks for all os/platform/architecture combinations, it will also build "universal" frameworks and "xcframeworks".
The xcframeworks being generated contain both ios and tvos libraries.
Other notable change is a new "merged" Info.plist template file that contains entries for both ios and tvos.