Before submitting a new issue
Bug summary
When trying to build and run an iOS app on a real device with the :linkage => :static setting enabled in the Podfile, a crash occurs.
Library version
1.7.0
Environment info
System:
OS: macOS 15.6.1
CPU: (8) arm64 Apple M1 Pro
Memory: 611.41 MB / 32.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 22.16.0
path: /opt/homebrew/bin/node
Yarn:
version: 1.22.22
path: /opt/homebrew/bin/yarn
npm:
version: 10.9.2
path: /opt/homebrew/bin/npm
Watchman:
version: 2025.05.26.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.15.2
path: /Users/aleksejstroitelev/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.5
- iOS 18.5
- macOS 15.5
- tvOS 18.5
- visionOS 2.5
- watchOS 11.5
Android SDK: Not Found
IDEs:
Android Studio: 2025.1 AI-251.26094.121.2513.14007798
Xcode:
version: 16.4/16F6
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.15
path: /usr/bin/javac
Ruby:
version: 3.2.4
path: /Users/aleksejstroitelev/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli":
installed: 19.0.0
wanted: 19.0.0
react:
installed: 19.1.0
wanted: 19.1.0
react-native:
installed: 0.80.1
wanted: 0.80.1
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true
Steps to reproduce
- Create new application on React-Native and install library. It works.
- Set
:linkage => :static in Podfile IOS.
- Just run application - the build will fail.
Reproducible example repository
https://github.com/JerakRus/ReactNativeScannerTest
Before submitting a new issue
Bug summary
When trying to build and run an iOS app on a real device with the
:linkage => :staticsetting enabled in thePodfile, a crash occurs.Library version
1.7.0
Environment info
System: OS: macOS 15.6.1 CPU: (8) arm64 Apple M1 Pro Memory: 611.41 MB / 32.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 22.16.0 path: /opt/homebrew/bin/node Yarn: version: 1.22.22 path: /opt/homebrew/bin/yarn npm: version: 10.9.2 path: /opt/homebrew/bin/npm Watchman: version: 2025.05.26.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: version: 1.15.2 path: /Users/aleksejstroitelev/.rbenv/shims/pod SDKs: iOS SDK: Platforms: - DriverKit 24.5 - iOS 18.5 - macOS 15.5 - tvOS 18.5 - visionOS 2.5 - watchOS 11.5 Android SDK: Not Found IDEs: Android Studio: 2025.1 AI-251.26094.121.2513.14007798 Xcode: version: 16.4/16F6 path: /usr/bin/xcodebuild Languages: Java: version: 17.0.15 path: /usr/bin/javac Ruby: version: 3.2.4 path: /Users/aleksejstroitelev/.rbenv/shims/ruby npmPackages: "@react-native-community/cli": installed: 19.0.0 wanted: 19.0.0 react: installed: 19.1.0 wanted: 19.1.0 react-native: installed: 0.80.1 wanted: 0.80.1 react-native-macos: Not Found npmGlobalPackages: "*react-native*": Not Found Android: hermesEnabled: true newArchEnabled: true iOS: hermesEnabled: true newArchEnabled: trueSteps to reproduce
:linkage => :staticinPodfileIOS.Reproducible example repository
https://github.com/JerakRus/ReactNativeScannerTest