Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App crash - AuthenticationServices Library not loaded

Tags:

swift

appauth

I'm trying to use AppAuth-iOS dev-logout branch and I tested on simulator 10.3.1. When I try to run the code I get this crash:

dyld: Library not loaded: /System/Library/Frameworks/AuthenticationServices.framework/AuthenticationServices Reason: image not found

AuthenticationServices only appeared in iOS 12.0+, so this may be the cause of the crash.

Link to github issue: https://github.com/openid/AppAuth-iOS/issues/350

Thanks for any hint!

like image 254
Torianin Avatar asked Jan 22 '19 11:01

Torianin


1 Answers

You can mark the AuthenticationServices.framework as Optional in the Linked Frameworks and Libraries section. This solved the problem for me.

like image 110
Andrii Liakh Avatar answered Oct 30 '22 05:10

Andrii Liakh