应用程序崩溃 - 未加载 AuthenticationServices 库
App crash - AuthenticationServices Library not loaded
我正在尝试使用 AppAuth-iOS dev-logout 分支,我在模拟器 10.3.1 上进行了测试。
当我尝试 运行 代码时,我遇到了这个崩溃:
dyld: Library not loaded:
/System/Library/Frameworks/AuthenticationServices.framework/AuthenticationServices
Reason: image not found
AuthenticationServices 仅在 iOS 12.0+ 中出现,因此这可能是导致崩溃的原因。
Link 到 github 问题:https://github.com/openid/AppAuth-iOS/issues/350
感谢任何提示!
您可以将 library/framework 添加到 Embedded libraries and frameworks
部分。也看看 OS X Framework Library not loaded: 'Image not found'
您可以在 Linked Frameworks and Libraries
部分将 AuthenticationServices.framework
标记为可选。这解决了我的问题。
以防有人像我一样笨:
我 运行 的 Xcode Beta 版本比我设备的 iOS 版本更新。更新我的设备修复了这个
我正在尝试使用 AppAuth-iOS dev-logout 分支,我在模拟器 10.3.1 上进行了测试。 当我尝试 运行 代码时,我遇到了这个崩溃:
dyld: Library not loaded: /System/Library/Frameworks/AuthenticationServices.framework/AuthenticationServices Reason: image not found
AuthenticationServices 仅在 iOS 12.0+ 中出现,因此这可能是导致崩溃的原因。
Link 到 github 问题:https://github.com/openid/AppAuth-iOS/issues/350
感谢任何提示!
您可以将 library/framework 添加到 Embedded libraries and frameworks
部分。也看看 OS X Framework Library not loaded: 'Image not found'
您可以在 Linked Frameworks and Libraries
部分将 AuthenticationServices.framework
标记为可选。这解决了我的问题。
以防有人像我一样笨:
我 运行 的 Xcode Beta 版本比我设备的 iOS 版本更新。更新我的设备修复了这个