Skip to content
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

fix(build): restore old scons dependencies to fix local Xcode build #14168

Merged
merged 1 commit into from
Jan 5, 2025

Conversation

hansemannn
Copy link
Collaborator

Wow, this took me a bit to debug. So here is what's going on: 48afddf updated several dependencies (good!), but broke the local iOS build via Xcode that is used to debug the iOS source code.

The reason why it broke is that we have a pre-compile script to generate the ti.kernel and index.json that are need for internal bootstraping of the iOS source. This generator uses ssri and fs-extra to do some file i/o. The updated packages introduced optional chaining that is not supported by the Xcode runtime, so it broke the pre-compiler. Restoring these two dependencies to their initial values solved it, while we check for a solution that can handle optional chaining in the future.

Screenshot 2025-01-05 at 13 37 03

@hansemannn hansemannn requested a review from m1ga January 5, 2025 12:43
Copy link
Contributor

@m1ga m1ga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I'll add it to the #13781 list so we don't update it for now 👍

Copy link
Contributor

@cb1kenobi cb1kenobi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, nice find!

@hansemannn hansemannn merged commit f91b91a into tidev:master Jan 5, 2025
5 checks passed
@hansemannn
Copy link
Collaborator Author

Merci!

@hansemannn hansemannn deleted the fix/fix-local-ios-build branch January 5, 2025 15:23
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.

3 participants