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

_CLSNSLog -- Undefined symbols for architecture x86_64 #11432

Closed
peacechen opened this issue Dec 12, 2016 · 3 comments
Closed

_CLSNSLog -- Undefined symbols for architecture x86_64 #11432

peacechen opened this issue Dec 12, 2016 · 3 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@peacechen
Copy link

peacechen commented Dec 12, 2016

Description

Our project was upgraded to React Native 0.39.2 (previously 0.34) and is now getting this error when trying to run in the simulator using the command react-native run-ios:

Undefined symbols for architecture x86_64:
"_CLSNSLog", referenced from:
-[SMXCrashlytics log:] in libSMXCrashlytics.a(SMXCrashlytics.o)
"OBJC_CLASS$_Answers", referenced from:
objc-class-ref in libSMXCrashlytics.a(SMXAnswers.o)
"OBJC_CLASS$_CLSStackFrame", referenced from:
objc-class-ref in libSMXCrashlytics.a(SMXCrashlytics.o)
"OBJC_CLASS$_Crashlytics", referenced from:
objc-class-ref in libSMXCrashlytics.a(SMXCrashlytics.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Oddly, building from Xcode works. I've checked to make sure that libSMXCrashlytics.a is included under the Link Binary with Libraries section. Also tried adding SMXCrashlytics.m to Compile Sources.

Reproduction

Use react-native-fabric in the project. Run react-native run-ios from the command line.

Solution

I've tried the suggestions in #85 to no avail.
The PR's in react-native-fabric doesn't resolve it.
https://github.com/corymsmith/react-native-fabric/pulls

Additional Information

  • React Native version: 0.39.2
  • Platform: iOS
  • Operating System: OSX 10.12 Sierra, XCode 8.1
@lacker
Copy link
Contributor

lacker commented Dec 17, 2016

Can you get react-native-fabric to work on a new app that you create from scratch? Figuring that out would let us determine whether it's a problem in the upgrade process, or a problem in react-native-fabric + 0.39 compatibility.

@christopherdro
Copy link
Contributor

@facebook-github-bot no-reply

@hramos hramos added the Icebox label Jul 26, 2017
@hramos
Copy link
Contributor

hramos commented Jul 26, 2017

Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!

If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:

  • Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.
  • If so, is there any information missing from the bug report? Post a comment with all the information required by the issue template.
  • Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.

If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.

@hramos hramos closed this as completed Jul 26, 2017
@facebook facebook locked as resolved and limited conversation to collaborators Jul 26, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants