https://github.com/below/react-xcode15bug
A bug in react-native when building with Xcode 15
https://github.com/below/react-xcode15bug
Last synced: 6 months ago
JSON representation
A bug in react-native when building with Xcode 15
- Host: GitHub
- URL: https://github.com/below/react-xcode15bug
- Owner: below
- Created: 2023-06-07T06:38:38.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-07T06:50:03.000Z (almost 3 years ago)
- Last Synced: 2025-01-26T02:44:01.820Z (about 1 year ago)
- Language: Java
- Size: 579 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-Xcode15Bug
A bug in react-native when building with Xcode 15
## Description
When building with Xcode 15 Beta 1, building fails with a C++ issue in boost:
```
› Compiling react-native Pods/RCT-Folly » json.cpp
❌ (ios/Pods/boost/boost/container_hash/hash.hpp:131:33)
129 | #else
130 | template
> 131 | struct hash_base : std::unary_function {};
| ^ no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
132 | #endif
133 |
134 | struct enable_hash_value { typedef std::size_t type; };
```
Apparently, boost 1.8x does not have this issue and builds correctly. However, react-jsi currently does not work with boost 1.8x due to breaking changes.
## Steps to reproduce
* Prerequisite: On a machine running macOS, ensure that [Xcode 15](https://developer.apple.com/download/all/?q=xcode%2015) is installed
* Download or clone this [Sample](https://github.com/below/react-Xcode15Bug)
* `cd react-Xcode15Bug`
* `npm install && (cd ios && pod install)`
Then either:
* `yarn ios`
Or
* `xed ios` and build with Xcode