在加入Azure的ADAL库到iOS本机应用程序与资源包的问题 [英] Problems with resource bundles in adding Azure ADAL library to an iOS native app

查看:442
本文介绍了在加入Azure的ADAL库到iOS本机应用程序与资源包的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图按照说明构建一个样本本地App客户端使用Azure的ADAL图书馆和Azure的AD采样应用的iOS。相关组件是:

I'm trying to follow the instructions for building a sample Native App client for iOS using Azure ADAL library and Azure AD sample app. The relevant components are:

https://github.com/AzureADSamples/NativeClient-iOS

https://github.com/AzureAD/azure-activedirectory-library-for-objc/releases/tag/1.0.1

我是新来的X code和用于将ADAL库示例应用程序的说明并不清楚我。但是我遵循的步骤,并增加了图书馆和链接的libADALiOS.a。正如在这个网站的其他线程报告,我得到以下运行时错误:

I'm new to XCode and instructions for adding the ADAL library to the sample app are not clear for me. But I have followed the steps and added the library and linked the libADALiOS.a. As reported in another thread on this site, I get the following runtime error:

2014年9月15日10:12:36.236微软任务[23140:60B] ADALiOS:错误:错误提出:18.附加信息:域名:ADAuthenticationErrorDomain协议code:(空)的详细信息:所需的资源包不能被加载。请阅读关于如何建立你的应用程序与ADAL提供验证UI资源..错误code中的ADALiOS自述:18

我已经仔细审查了ADAL README文件。关于上述错误的资源包,它只是规定:

I have reviewed the ADAL README file carefully. Regarding the resource bundle in above error, it just states:

"Add the storyboards from the ADALiOSBundle to your project resources" 

可能有人熟悉ADAL(和X code),简单地列举制作的ADAL资源包可装载在一个普通的语言是新手,了解所需的步骤?我需要移动文件,有些定义添加到X code等(注:我ADAL和应用程序都在同一个工作区,应该是可见的)?在对这个问题进行单独的威胁中提到的解决方法是不是清楚,我是(改变资源名称,重建包等,如果这些样本应用程序已在功能,似乎没有必要)。

Could someone familiar with ADAL (and xcode) simply enumerate the steps required for making the ADAL resource bundle loadable in a plain language for a newbie to understand? Do I need to move files, add some definitions to xcode, etc (note: my ADAL and app are both in the same workspace and should be visible)? The workaround mentioned in a separate threat on this problem was not clear to me either (changing resource names, rebuilding the bundle, etc that seems unnecessary if these sample apps are already functional).

谢谢,雷

推荐答案

布兰登从ADAL团队和样品的作者。

Brandon from the ADAL team and the author of the sample.

我会做出指示更清晰。

简单地说 - 你需要拖动ADAL_iPhone_Storyboard.storyboard和ADAL_iPad_Storyboard.storyboard文件到您的项目在支持文件。

Simply put - you need to drag the ADAL_iPhone_Storyboard.storyboard and ADAL_iPad_Storyboard.storyboard files in to your project under Supporting Files.

您可以找到文件ADALiOSBundle下:

You can find the files under ADALiOSBundle:

如下所示它们拖动到示例文件夹支持文件:

Drag them to the sample folder "Supporting Files" as shown here:

这篇关于在加入Azure的ADAL库到iOS本机应用程序与资源包的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆