我正在使用monotouch binding project在我的Urban Airship
应用中实施monotouch
。
我在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";
}
我在这里遗漏了什么吗?我需要做什么才能让我的应用找到该文件?
答案 0 :(得分:3)
This question启发了我。我需要将Xamarin Studio
中的构建操作设置为Content
,将复制到输出目录设置为Always copy
以复制文件到设备。