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 building example project for iOS #322

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

kevin49999
Copy link
Member

When trying to build viam_example_app for iOS you will encounter this error:

/bin/sh: /packages/flutter_tools/bin/xcode_backend.sh: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code

That's because the failing script references FLUTTER_ROOT which is undefined

The Generated.xcconfig file defines FLUTTER_ROOT as well as several other properties. Including this in the Debug.xcconfig resolves the error

Encountered this error while pairing w/ @benjirewis when he was trying to run the example

@kevin49999 kevin49999 requested a review from a team as a code owner January 3, 2025 20:21
@kevin49999 kevin49999 requested review from njooma and lia-viam January 3, 2025 20:21
Copy link
Member

@njooma njooma left a comment

Choose a reason for hiding this comment

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

I believe this is a generated file, so not sure how it would've gotten out of sync

@kevin49999 kevin49999 merged commit cdbda29 into viamrobotics:main Jan 3, 2025
4 checks passed
@kevin49999 kevin49999 deleted the fix-build-example-for-ios branch January 3, 2025 21:44
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.

2 participants