Description
I created library using create-react-native-library, removed android folder and scripts that referenced android, example build for both android and ios worked well, i pushed library to npm and installed to another project, dependencies and pods installed without any problem but could not build IOS buid
link to package
link to repo
Packages
Selected options
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"codegen",
[
"commonjs",
{
"esm": true
}
],
[
"module",
{
"esm": true
}
],
[
"typescript",
{
"project": "tsconfig.build.json",
"esm": true
}
]
]
},
Link to repro
https://github.com/Luxlorys/react-native-apple-health-kit
Environment
System:
OS: macOS 14.6.1
CPU: (10) arm64 Apple M2 Pro
Memory: 122.22 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 22.13.0
path: ~/.nvm/versions/node/v22.13.0/bin/node
Yarn:
version: 3.6.1
path: /opt/homebrew/bin/yarn
npm:
version: 10.9.2
path: ~/.nvm/versions/node/v22.13.0/bin/npm
Watchman:
version: 2024.12.02.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.0
- iOS 18.0
- macOS 15.0
- tvOS 18.0
- visionOS 2.0
- watchOS 11.0
Android SDK: Not Found
IDEs:
Android Studio: 2024.1 AI-241.18034.62.2411.12071903
Xcode:
version: 16.0/16A242d
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.12
path: /usr/bin/javac
Ruby:
version: 3.2.2
path: /Users/andrei/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli":
installed: 15.0.1
wanted: 15.0.1
react:
installed: 19.0.0
wanted: 19.0.0
react-native:
installed: 0.78.0
wanted: 0.78.0
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Description
I created library using create-react-native-library, removed android folder and scripts that referenced android, example build for both android and ios worked well, i pushed library to npm and installed to another project, dependencies and pods installed without any problem but could not build IOS buid
link to package
link to repo
Packages
Selected options
Link to repro
https://github.com/Luxlorys/react-native-apple-health-kit
Environment