Skip to content

Commit

Permalink
move where we set the sourcemap file path to xcode build phase as the…
Browse files Browse the repository at this point in the history
… .xcode.env file is proving to be flakey
  • Loading branch information
Josh Edney committed Jan 29, 2024
1 parent 76d8335 commit 5e04c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native-cli/src/lib/Xcode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export EXTRA_PACKAGER_ARGS="--sourcemap-output $TMPDIR/$(md5 -qs "$CONFIGURATION
See ${DOCS_LINK} for more information`

// const EXTRA_PACKAGER_ARGS = 'export EXTRA_PACKAGER_ARGS="--sourcemap-output $TMPDIR/$(md5 -qs "$CONFIGURATION_BUILD_DIR")-main.jsbundle.map"'
const EXTRA_PACKAGER_ARGS = 'export SOURCEMAP_FILE=$(pwd)/build/sourcemaps/main.jsbundle.map"'
const EXTRA_PACKAGER_ARGS = 'export SOURCEMAP_FILE="$(pwd)/build/sourcemaps/main.jsbundle.map"'

export async function updateXcodeProject (projectRoot: string, endpoint: string|undefined, logger: Logger) {
const iosDir = path.join(projectRoot, 'ios')
Expand Down

0 comments on commit 5e04c30

Please sign in to comment.