Skip to content

react-native/scripts/xcode/with-environment.sh #5688

@ddkuz

Description

@ddkuz

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

I've already commented on the commit that created this problem in the react-native repo
https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/xcode/with-environment.sh#L46
facebook/react-native@94623ca#commitcomment-177532926

When building on iOS this command inside "project.pbxproj" fails with file not found because it's being called using "$1" instead of $1
../node_modules/react-native/scripts/xcode/with-environment.sh "../node_modules/@sentry/cli/bin/sentry-cli react-native"

Expected Result

The workaround might be having a sentry specific script that finds node and sources .xcode.env and .xcode.env.local

Actual Result

Command Fails

Product Area

Projects - Project Creation

Link

No response

DSN

No response

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions