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

Build failed with continuing in background. Failed to display xcode notification #793

Closed
nihp opened this issue Mar 11, 2020 · 6 comments
Closed

Comments

@nihp
Copy link

nihp commented Mar 11, 2020

Unable to build the app in Xcode. I got the error as

continuing in background.
error: Failed to display Xcode notification
  caused by: script error: osascript: no such component "JavaScript".

Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output.
Please attach the full debug log to all bug reports.

export variant=normal
    /bin/sh -c /Users/user/Library/Developer/Xcode/DerivedData/App-cpcxnkn/Build/Intermediates.noindex/App.build/Debug-iphonesimulator/App.build/Script-AAA15C2C8A4.

Note:

It works fine before. One day the notification received after quiting the xcode. So from the next day this issue is raised and showing continuing in background.Failed to display Xcode notification.

The same is working If i run from command line react-native run-ios.
But it failed for Xcode build and archive build

Can anyone help me to resolve this error in my Xcode?

@nihp
Copy link
Author

nihp commented Mar 12, 2020

@HazAT @lobsterkatie @marandaneto

Any solution for this?

@lobsterkatie
Copy link
Member

lobsterkatie commented Mar 13, 2020

@nihp Can you please set the environment variable (as suggested in the second paragraph above) and let us know what you get?

You also might try temporarily turning off the sentry build steps to make sure this really does have to do with our scripts.

@nihp
Copy link
Author

nihp commented Mar 14, 2020

In debug mode, the app get worked without the script. (Run script only when installing)

But it weird, I have tried by cleaning and removing the derived datas.

It ended with Failed to display xcode notification
PhaseScriptExecution Upload\ Debug\ Symbols\ to\ Sentry /Users/user/Library/Developer/Xcode/DerivedData/App-cperpitadfajoqfhlycfxnkn/Build/Intermediates.noindex/App/Debug-iphonesimulator/App.build/Script-AAA15C2C8A5D45CAB4FDD904.sh (in target ‘App’ from project ‘App’)
@lobsterkatie your help should be appreciated

Screenshot 2020-03-14 at 11 44 40 AM
Screenshot 2020-03-14 at 11 41 42 AM (1)

@nihp
Copy link
Author

nihp commented Mar 16, 2020

@lobsterkatie Any updates on this?

@mitsuhiko @brentvatne @alloy @bretthoerner @HazAT

@marandaneto
Copy link
Contributor

Closing the issue as a part of large repository cleanup, due to it being inactive and/or outdated. There's a large chance that this issue has been solved since.
Please do not hesitate to ping me if it is still relevant, and I will happily reopen and work on it.
Cheers!

@NIDHINgl
Copy link

anybody resolved this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants