gpt4 book ai didi

ios - AirshipConfig.plist 文件丢失,并且在运行时未指定应用程序凭据

转载 作者:塔克拉玛干 更新时间:2023-11-02 10:09:50 25 4
gpt4 key购买 nike

我正在使用 monotouch binding project在我的 monotouch 应用中实现 Urban Airship

我已按照 documentation. 中的规定将 AirshipConfig.plist 添加到我的项目中但是,当我运行我的应用程序时,出现错误:

 The AirshipConfig.plist file is missing and no application credentials were specified at runtime.

我注意到 monotouch 生成的 AirshipConfig.plist 文件是 XML 并且文档描述如下

{
/*NOTE: DO NOT USE THE MASTER SECRET*/
"APP_STORE_OR_AD_HOC_BUILD" = NO; /*set to YES for production builds*/
"DEVELOPMENT_APP_KEY" = "Your development app key";
"DEVELOPMENT_APP_SECRET" = "Your development app secret";
"PRODUCTION_APP_KEY" = "Your production app key";
"PRODUCTION_APP_SECRET" = "Your production app secret";
}

我是不是漏掉了什么?我需要做什么才能让我的应用程序找到该文件?

最佳答案

This question启发了我。我需要将 Xamarin Studio 中的 Build Action 设置为 Content 并将 Copy to output directory 设置为 Always copy 将文件复制到设备。

关于ios - AirshipConfig.plist 文件丢失,并且在运行时未指定应用程序凭据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16994003/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com