Hi,
I am trying to do a release build of the Example code in Visual Studio Code for iOS and got the following error.
Not quite sure how to resolve it, it happened to my own project as well (Debug works and I also followed the instruction and installed AppAuth through Cocoapods)
ld: library not found for -lAppAuth
Any help?
Same issue in xcode.
Hi @zyofeng - the Linked Libraries and Frameworks were not quite right in the example app. I've opened this PR to fix it. It is an issue with the example app, not the library itself.
That PR does the following:
libAppAuth.alibPods-AppAuthExample.alibRNAppAuth.aHopefully that will give you an idea of how to fix your release build as well. Hope this helps!
Hi @zyofeng - the Linked Libraries and Frameworks were not quite right in the example app. I've opened this PR to fix it. It is an issue with the example app, not the library itself.
That PR does the following:
- In XCode Project Settings -> General -> Linked Frameworks and Libraries
- Remove and re-add
libAppAuth.a- Remove
libPods-AppAuthExample.a- Add
libRNAppAuth.aHopefully that will give you an idea of how to fix your release build as well. Hope this helps!
lipPods-AppAuthExample.a not found and not even libRNAppAuth.a
Most helpful comment
lipPods-AppAuthExample.a not found and not even libRNAppAuth.a