-
-
Notifications
You must be signed in to change notification settings - Fork 344
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
Build fails on iOS, error: bad json: EOF while parsing a value at line 1 column 0 #135
Comments
Does this happen every time? |
Yes, it happens every time. I figured out how to avoid this error, maybe a workaround. In xCode > Build Phases > Upload Debug Symbols to Sentry there is only:
And now no error is shown. Hope this help you guys to figure out what is going on. |
Was getting a similar error. Xcode build phase was
and I changed it to
via the docs here for RN < 0.46 (using 0.45). Looks like |
it happens for me too, every time. |
@pvinis did you find a solution to allow it to compile with fastlane with Sentry? |
I ditched sentry and use bugsnag for a while now. I'm happy with it. |
To @MrHubble and future weary travellers from Google... I had this issue when building with Sentry for iOS but I only saw it in a CI environment. The solution for me was to add a default alias for nvm in the CI installation step, i.e: nvm install 10
+nvm alias default 10 This will only work if you're using nvm in CI. If you installed it differently, try ensuring the node binary is present when Xcode calls your build scripts. |
EDIT: I looked into /Users/distiller/Library/Logs/gym/mobile-mobile.log inside CircleCI container, and saw that the real issue was I am currently having this issue. Enabled node v11.0.0
might be relevant also:
any ideas @HazAT ? |
Same problem as @cihati when run on CI. Any solution yet? |
we are having this problem on circleci when we moved to pod and xcworkspaces is there a workaround? |
Also seeing this on CI |
Thanks @cihati! Had the exact same error when running on Travis. Had to add
|
Hello,
After installing Sentry, configuring it following the instructions in the documentation the build for iOS is now working anymore.
It throws this error:
Anybody knows how to solve it ? Thanks
The text was updated successfully, but these errors were encountered: