【问题标题】:Unable to connect to server with DJI iOS SDKDJI iOS SDK 无法连接服务器
【发布时间】:2016-07-05 14:59:33
【问题描述】:

我正在尝试在我的 iPad 上运行 Swift Sample Code 项目。我在StartupViewController.swift 中输入了我的应用程序密钥,对info.plist 进行了必要的更改,详细说明here 并更改了应用程序但是当我尝试运行应用程序时会弹出一个警告框说

Error:The metadata received from server is invalid, please 
reconnect to the server and try.(code:-14)

这是属于 DJI 的服务器的问题,还是我遗漏了什么? (是的,我的 iPad 的互联网连接正常)

【问题讨论】:

标签: dji-sdk


【解决方案1】:

请确保您的应用程序的捆绑包 ID 是唯一的,并且捆绑包 ID/应用程序键组合已在您的帐户developer.dji.com 中注册

【讨论】:

    【解决方案2】:

    确保您已注册您的应用并将您注册的应用 ID 放入 viewdidload。 - 同样在 info.plist 中,您为使用的 dji 协议创建了架构 您可以在 DJI SDK 提供的任何教程中找到它 http://developer.dji.com/mobile-sdk/documentation/ios-tutorials/P4MissionsDemo.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-12-28
      相关资源
      最近更新 更多