【问题标题】:azure-activedirectory-library-for-cordova 0.8.0 error: expected '>'azure-activedirectory-library-for-cordova 0.8.0 错误:预期“>”
【发布时间】:2016-09-26 18:21:38
【问题描述】:

我在构建项目时遇到以下错误:

In file included from Project Name/Plugins/cordova-plugin-ms-adal/ADAL.framework/Headers/ADAL.h:63:
  Project Name/Plugins/cordova-plugin-ms-adal/ADAL.framework/Headers/ADKeychainTokenCache.h:73:38: error: expected '>'
  - (nullable NSArray<ADTokenCacheItem *> *)allItems:(ADAuthenticationError * __nullable __autoreleasing * __nullable)error;
                                       ^
  Project Name/Plugins/cordova-plugin-ms-adal/ADAL.framework/Headers/ADKeychainTokenCache.h:73:39: error: expected ')'
  - (nullable NSArray<ADTokenCacheItem *> *)allItems:(ADAuthenticationError * __nullable __autoreleasing * __nullable)error;
                                        ^
  Project Name/Plugins/cordova-plugin-ms-adal/ADAL.framework/Headers/ADKeychainTokenCache.h:73:3: note: to match this '('
  - (nullable NSArray<ADTokenCacheItem *> *)allItems:(ADAuthenticationError * __nullable __autoreleasing * __nullable)error;
    ^
  2 errors generated.

这个插件以前在使用 0.6.0 和 0.7.1 时可以工作,但我无法让 0.8.0 工作。 目前使用 Cordova 5.4.0 和 Node 4.5.0,我正在构建到 iOS,iPad Air 运行 iOS 8.3,通过 Macbook Air 从 Windows 10 远程构建。使用 Visual Studio 2015 更新 1 构建。

有什么建议吗? :)

【问题讨论】:

    标签: visual-studio ionic-framework cordova-plugins adal


    【解决方案1】:

    事实证明这很简单。我运行的 Xcode 版本低于 8,这似乎导致了上述错误。升级到 Xcode 8.0 解决了这个问题。

    【讨论】:

      猜你喜欢
      • 2019-03-11
      • 1970-01-01
      • 2021-10-22
      • 2014-05-23
      • 2022-12-23
      • 1970-01-01
      • 1970-01-01
      • 2012-03-30
      • 2011-12-22
      相关资源
      最近更新 更多