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

Add EX_UPDATES_NATIVE_DEBUG support to Xcode env generator #24366

Merged
merged 5 commits into from
Sep 13, 2023

Conversation

douglowder
Copy link
Contributor

Why

pod install overwrites xcode.env.local from a script in expo-modules-autolinking. It would be great if this supported the native debug feature of expo-updates, specifically the template Xcode project changes in #23602 .

How

Modify the expo-modules-autolinking script to detect if EX_UPDATES_NATIVE_DEBUG is set, and set the correct environment variables to force embedded bundling and disable running the packager.

Test Plan

Modified Updates E2E to not set a custom value of .xcode.env.local. E2E should still pass.

Checklist

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Sep 11, 2023
@douglowder douglowder marked this pull request as ready for review September 11, 2023 09:38
@douglowder douglowder force-pushed the doug/xcode-env-generator-updates branch from 53f15d1 to 8b5c78d Compare September 13, 2023 03:05
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Sep 13, 2023
douglowder and others added 2 commits September 13, 2023 02:35
Co-authored-by: James Ide <ide@users.noreply.github.com>
@douglowder douglowder force-pushed the doug/xcode-env-generator-updates branch from ff17b2f to 4b4bfde Compare September 13, 2023 09:35
@douglowder douglowder merged commit d56ffff into main Sep 13, 2023
9 of 10 checks passed
@douglowder douglowder deleted the doug/xcode-env-generator-updates branch September 13, 2023 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: passed checks ExpoBot has nothing to complain about
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants