-
Notifications
You must be signed in to change notification settings - Fork 607
Adjust xcodeproj in react-native ios demo to use relative paths on CMake #8522
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
Adjust xcodeproj in react-native ios demo to use relative paths on CMake #8522
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/8522
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 843344d with merge base fcb40f1 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Hi @sskarz! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at [email protected]. Thanks! |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks! |
@pytorchbot label "release notes: build" |
LGTM - thoughts @shoumikhin ? |
3d84fb0
to
86c8dd6
Compare
Why did the test fail here? Is there anything I need to do on my side to get this merged? |
It might be a flaky test. I just reran that particular failed test. If it's green, feel free to merge |
86c8dd6
to
843344d
Compare
Merging is blocked for me after rebase, I believe a maintainer has to merge it. |
Merging |
Adjust xcodeproj in react-native ios demo to use relative paths on CMake
Summary
This PR updates the Xcode project configuration in the react-native iOS demo to use relative paths for CMake references instead of hard-coded absolute paths. Additionally, the
DEVELOPMENT_TEAM
setting has been cleared. These changes improve the portability of the project and simplify the setup process for contributors using different environments.Changes
Relative Paths for CMake Toolchain:
The absolute path to the iOS CMake toolchain:
This change ensures that the toolchain reference is now relative to the project directory.
Relative Paths for Third-party Dependencies:
Updated the paths for third-party dependencies (abseil-cpp, re2, sentencepiece) from absolute paths like:
This applies similarly to the other dependencies, allowing the project structure to be self-contained.
Removal of Hard-coded DEVELOPMENT_TEAM:
The
DEVELOPMENT_TEAM
value has been cleared:This lets individual developers configure the appropriate team in their Xcode settings as needed.
Rationale
Portability:
Absolute paths can cause issues when the project is cloned or used in different environments. By switching to relative paths (using
$PROJECT_DIR
), we ensure that the project can be built regardless of where it is located on a filesystem.Customization:
Removing the hard-coded
DEVELOPMENT_TEAM
value allows individual developers to configure their own team settings within Xcode, reducing potential conflicts and build errors.Testing
Thank you for reviewing this PR.
cc @shoumikhin @cbilgin