Skip to content

Simulator build fails: Linker command failed with exit code 1 #118

@MattiL

Description

@MattiL

Simulator build fails with the following errors. Archive succeeds and its build not seem to have the same error.

Undefined symbol: OBJC_CLASS$_KTKBeaconManager

Undefined symbol: OBJC_CLASS$_KTKBeaconRegion

Undefined symbol: OBJC_CLASS$_KTKDeviceConnection

Undefined symbol: OBJC_CLASS$_KTKDevicesManager

Undefined symbol: OBJC_CLASS$_KTKEddystoneManager

Undefined symbol: OBJC_CLASS$_KTKEddystoneRegion

Undefined symbol: OBJC_CLASS$_Kontakt

Linker command failed with exit code 1 (use -v to see invocation)

npx react-native info
info Fetching system and libraries information...
System:
OS: macOS 13.4
CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
Memory: 1.58 GB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 19.8.1 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 9.5.1 - /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
Android SDK:
API Levels: 30, 31, 33
Build Tools: 30.0.2, 30.0.3, 33.0.0
System Images: android-29 | Google APIs Intel x86 Atom, android-30 | Google APIs Intel x86 Atom, android-31 | Google APIs ARM 64 v8a, android-31 | Google APIs Intel x86_64 Atom, android-33 | Google APIs Intel x86_64 Atom
Android NDK: Not Found
IDEs:
Android Studio: 2022.2 AI-222.4459.24.2221.10121639
Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_201 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.11 => 0.71.11
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions