Is this a bug report?
Yes
Yes
Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 8.4.0
Yarn: 1.0.0
npm: 5.3.0
Watchman: 4.7.0
Xcode: Xcode 9.0 Build version 9A235
Android Studio: 2.3 AI-162.4069837
Packages: (wanted => installed)
react: 16.0.0-alpha.12 => 16.0.0-alpha.12
react-native: ^0.48.4 => 0.48.4
Steps to Reproduce
react-native init Mira
open Mira/ios/Mira.xcproj
- Select a connect iPhone 6s on iOS 11 and try to build and run
Expected Behavior
The iOS app builds on the connected iPhone 6s with iOS 11 and runs correctly
Actual Behavior
A build error in signalhandler.cc With
No member named '__rip' in '__darwin_arm_thread_state64' on the line
return (void*)context->PC_FROM_UCONTEXT;
// Returns the program counter from signal context, NULL if unknown.
void* GetPC(void* ucontext_in_void) {
#if (defined(HAVE_UCONTEXT_H) || defined(HAVE_SYS_UCONTEXT_H)) && defined(PC_FROM_UCONTEXT)
if (ucontext_in_void != NULL) {
ucontext_t *context = reinterpret_cast<ucontext_t *>(ucontext_in_void);
return (void*)context->PC_FROM_UCONTEXT; // <---- build error here
}
#endif
return NULL;
}
Reproducible Demo
(Paste the link to an example project and exact instructions to reproduce the issue.)
- https://s3-us-west-1.amazonaws.com/maxofedenpublic/Mira.tar.gz
- Please attach a connected iPhone 6s with iOS 11
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 8.4.0
Yarn: 1.0.0
npm: 5.3.0
Watchman: 4.7.0
Xcode: Xcode 9.0 Build version 9A235
Android Studio: 2.3 AI-162.4069837
Packages: (wanted => installed)
react: 16.0.0-alpha.12 => 16.0.0-alpha.12
react-native: ^0.48.4 => 0.48.4
Steps to Reproduce
react-native init Miraopen Mira/ios/Mira.xcprojExpected Behavior
The iOS app builds on the connected iPhone 6s with iOS 11 and runs correctly
Actual Behavior
A build error in
signalhandler.ccWithNo member named '__rip' in '__darwin_arm_thread_state64'on the linereturn (void*)context->PC_FROM_UCONTEXT;Reproducible Demo
(Paste the link to an example project and exact instructions to reproduce the issue.)