"No such file or directory:" ADALiOS 版本 2.2.5 和 2.2.6 存在问题

"No such file or directory:" Issue with ADALiOS versions 2.2.5 and 2.2.6

我在 iOS 应用程序中使用 Windows Azure Active Directory(ADAL 库 2.2.4)身份验证机制。最近我收到一封来自 Microsoft team sys 的电子邮件

"All ADAL .iOS versions 2.2.4 and lower prevent interactive login on iOS10, that means users will be locked out of their account when their current sign-in expires between 14 – 90 days. If a user is already signed in to your application it will continue to work temporarily, but the next time they need to sign in again they will experience this issue."

然后我尝试使用 link https://github.com/AzureAD/azure-activedirectory-library-for-objc/releases 中的最新 ADAL 版本 2.2.5 和 2.2.6 进行更新,但这些版本未成功编译。总是面临错误 (null): No such file or directory: '/Users/xxxxx/Library/Developer/Xcode/DerivedData/appName-aeiapfbshlzesxhfptwxpoahxjss/Build/Products/Debug-iphonesimulator/libADALiOS.a'

"libADALiOS.a" 库文件不会复制到上述位置。

请帮助我。

该问题最近已修复。但稍后会发布带有此类修复程序的版本。

一种可能的缓解方法是 link 到 libADAL-core.a 而不是 libADALiOS.a.

检查这个:https://github.com/AzureAD/azure-activedirectory-library-for-objc/issues/756