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

Unable to run Vanilla App in High Sierra with 0.55.4 #19218

Closed
ChaseWPDEV opened this issue May 11, 2018 · 10 comments
Closed

Unable to run Vanilla App in High Sierra with 0.55.4 #19218

ChaseWPDEV opened this issue May 11, 2018 · 10 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@ChaseWPDEV
Copy link

Unable to complete react-native run-its for vanilla project in High Sierra 10.12 with Xcode 8.

Receiving:
CompileC /Users/chasegru/NativeDRC/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Objects-normal/x86_64/RCTShadowView+Internal.o Views/RCTShadowView+Internal.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler

before abort.

Environment

Environment:
OS: macOS High Sierra 10.13
Node: 10.1.0
Yarn: Not Found
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 8.3.3 Build version 8E3004b
Android Studio: 3.1 AI-173.4720617

Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.4 => 0.55.4

Steps to Reproduce

react-native init (project_
cd (project)
react-native run-ios

Expected Behavior

Launch vanilla app

Actual Behavior

Aborts Compile.

@ChaseWPDEV
Copy link
Author

@hramos What additional information is needed?

@hramos
Copy link
Contributor

hramos commented May 15, 2018

A full log with the error message or just any additional detail you can provide. We don't have a lot to go on here.

@ChaseWPDEV
Copy link
Author

Sure thing. Full log of the failed build attached.
log.txt

@flowforever
Copy link

I Solved this problem by upgrading my XCode from 8.x to 9.x

@duhseekoh
Copy link

Would love a compatibility matrix for RN -> Xcode. Does that exist in some form anywhere? Couldnt track anything down in the release notes.

@rowdyrabbit
Copy link

@duhseekoh I would also love to see this compatibility matrix - upgrading Xcode isn't an option for me right now, so I'm a bit stuck

@dbnex14
Copy link

dbnex14 commented May 23, 2018

I had the same issue, except I was in El Capitan. In order to fix the issue and be able to run my apps, I had to update XCode to latest (I was at 8.2). But that was not possible in El Capitan, latest XCode required High Sierra.
So, I updated to High Sierra just today, then tried updating XCode and like it did on El Capitan, it just stuck in endless Wait loop and nothing would update even after leaving it for 5 hours.
So, I got sick and tired of it, I went and uninstalled XCode (drag it to trash), then went to https://developer.apple.com/download/more/ and downloaded latest XCode 9.3.1 xib file.
I unarchived it and dragged XCode app to my Applications in MacBook Pro
Then started XCode to complete installation.

After this, I was able to run my react-native apps again in both iOS and Android.

Here are the details I provided on Stack Overflow https://stackoverflow.com/questions/50477166/attempt-to-update-xcode-ends-in-endless-wait

Hope someone will find this useful

@kelset
Copy link
Contributor

kelset commented May 23, 2018

Would love a compatibility matrix for RN -> Xcode. Does that exist in some form anywhere? Couldnt track anything down in the release notes.

It doesn't because it's not "react-native" related. It's a matter of macOs & XCode versions over which we have no control / no clear dependency with.

As mentioned in some other places/issues, react native is an environment with many moving parts, and we don't have control over many of them (ex. gradle, NDK, cocoapods, etc etc).

The general rule of thumb is to not jump on the latest version of anything if not strictly necessary.

Moreover usually these kind of issue surface / are detected quickly so please keep an eye on open issues before upgrading anything

@kelset
Copy link
Contributor

kelset commented May 23, 2018

That said, @dbnex14 solution of installing XCode from the dev website is the safest / more reliable - so @ChaseWPDEV I suggest you follow it and please comment if it doesn't fix it.

@Kielan

This comment has been minimized.

@facebook facebook locked as resolved and limited conversation to collaborators Jun 12, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label May 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

9 participants