Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Linking IOS Native Module in "Release" Mode #22036

Closed
pranatha opened this issue Oct 31, 2018 · 2 comments
Closed

Error Linking IOS Native Module in "Release" Mode #22036

pranatha opened this issue Oct 31, 2018 · 2 comments
Labels
API: Linking Bug Platform: iOS iOS applications. Resolution: Locked This issue was locked by the bot.

Comments

@pranatha
Copy link

Environment

React Native Environment Info:

System:
OS: macOS Mojave 10.14
CPU: x64 Intel(R) Core(TM) i5 @ 2.3GHz
Memory: 8.00 GB 2133MHz LPDDR3
Binaries:
Node: 8.9.4 - /usr/local/bin/node
Yarn: 1.5.1 - /usr/local/bin/yarn
npm: 5.6.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman

SDKs:
iOS SDK:
Platforms: iOS

IDEs:
Xcode: 10.0 (10A255) - /usr/bin/xcodebuild
npmPackages:
react: 16.6.0-alpha.8af6728
react-native: 0.57.4 => 0.57.4
npmGlobalPackages:
react-native-cli: 2.0.1

Build System:

  • Legacy Build System

Description

  • I have a native module called BluetoothModule
  • Already followed the steps for linking library :
    https://facebook.github.io/react-native/docs/linking-libraries-ios
  • Succeed compile in “Debug” scheme
  • But failed compile in “Release” scheme with this error
    ld: library not found for -lBluetoothModule
    clang: error: linker command failed with exit code 1 ( use -v to see invocation)

Any idea what is going wrong?

@musicode
Copy link

+1, any updates about it?

@Titozzz
Copy link
Collaborator

Titozzz commented Mar 19, 2019

Hello there 👋 this issue doesn't have a repro (which means, a react-native init-ed project with the minimal changes that leads to creating the same issue you are reporting). Unfortunately, I have no way of helping you in a meaningful way – there is no easy way for me to recreate the situation and check that the issue reported is still there when changing the code.

Because of this, we are going to close this issue - but if a repro is shared, we are happy to reopen it 🤗

@Titozzz Titozzz closed this as completed Mar 19, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Mar 19, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Mar 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API: Linking Bug Platform: iOS iOS applications. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants