-
-
Notifications
You must be signed in to change notification settings - Fork 222
-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
sentry-cli react-native xcode not passing arguments to build script #81
Comments
The reason we let you provide a different build script is precisely to support that. So you could do this:
Does this work for you? |
Closing this due to inactivity. |
I faced the same issue and tried @mitsuhiko solution and it's working now!! Thanks lot! previously i can get it work on sentry/cli: 1.29.1 using but after i upgrade to sentry/cli: 1.31.0, its keep prompting this error
and after tried your method it works! |
@mitsuhiko Hi, I am facing the same issue, and I tried your solution, but now xcode returns me the error |
changing
to
seemed to work for me... at least it built the app... |
@mitsuhiko I haven't been able to get this working - details here. Is there a concrete example anywhere of exactly where to put the script and how to reference it? I'm getting: |
I ended up removing the Sentry build step, because it isn't designed to work with bitcode, which iOS projects will have on by default. It seems a bit strange that the default Sentry setup would be incompatible with the majority of iOS installations. |
I was able to make it build with my xCode bundle command
|
THIS!! This fixed it for me. I am building with react native so instead of making a .sh file I went into my I then set the path to my index.js file which was in my root. So the path was |
Issuing the command:
does not fit my use case because I need to pass an argument to
react-native-xcode.sh
(theENTRY_FILE
)I've tried both:
sentry-cli react-native xcode "../[...]/react-native-xcode.sh ./path/to/my/entry/file.js"
Neither of them is working.
My work around is to manually edit
react-native-xcode.sh
to hard codeENTRY_FILE
, which is quite tedious and I'm prone to forget fixing it after eachyarn
installThe text was updated successfully, but these errors were encountered: