question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

library not found for -lAppAuth

See original GitHub issue

For some reason, if i run react-native run-ios works perfectly fine, but if I try to build the app for production, I got this error, every single time: ld: warning: directory not found for option '-L/Users/User/Library/Developer/Xcode/DerivedData/Quimbee-ezgqfvnmwvkmzqamiicqkwzzennb/Build/Intermediates.noindex/ArchiveIntermediates/Production/BuildProductsPath/Production-iphoneos/AppAuth' ld: library not found for -lAppAuth clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any idea how to fix this?, this thing is driving me crazy, I unlinked, uninstall and reinstall and link everything again, nothing works.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
tiffanym19commented, Jun 23, 2020

Im also having this issue using react-native 0.62

6reactions
kadikramancommented, May 15, 2018

Hi, sounds like your issue is similar to this one: https://github.com/FormidableLabs/react-native-app-auth/issues/16 - try comparing your app to the example one and make sure the linked dependencies are the same.

Read more comments on GitHub >

github_iconTop Results From Across the Web

linker command failed - ld: library not found for -lAppAuth #118
react-native link done, all is working fine when I run the app in the IOS simulator, but problems comes up when I try...
Read more >
React Native 0.63.2 iOS Build Error with `ld: library not found for
Got exactly the same error. Go to Project Build Settings; Find "Search Paths"; Remove $(inherited) from "Library Search Paths".
Read more >
ld: library not found for -lAppAuth : r/reactnative - Reddit
Was trying to build my RN project for iOS and having an error ld: library not found for -lAppAuth clang: error: linker command...
Read more >
React Native 0.63.2 iOS Build Error with `ld: library not found for
iOS : React Native 0.63.2 iOS Build Error with `ld: library not found for -lAppAuth ` [ Beautify Your Computer ...
Read more >
Why does XCode build fail on Macbo… - Apple Developer
ld: library not found for -lAppAuth clang: error: linker command failed with exit code 1 (use -v to see invocation). I tried adding...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found