简体   繁体   English

Iphone分配规定配置文件出现问题

[英]Problem with Iphone distribution provision profile

I have a problem 我有个问题

There is one iphone software product of our company and this product can recieve push_notification messages from our push_notification server 我们公司有一种iphone软件产品,该产品可以从我们的push_notification服务器接收push_notification消息

this product is going to be on live(namely it is going to be in the APPSTORE) so recently we are doing some testing work,(the product use developer provision profile,and the server use the development certificate),it works well 该产品即将上线(即将在APPSTORE中使用),因此最近我们正在做一些测试工作(该产品使用开发人员提供的配置文件,而服务器使用开发证书),效果很好

but we want to test the product in the REAL Environment the server should use production certificate , the iphone side product should use DISTRIBUTION PROVITION PROFILE 但是我们要在REAL环境中测试产品,服务器应使用生产证书,iphone端产品应使用DISTRIBUTION PROVITION PROFILE

Now the problem is 现在的问题是

1.how to install the product in the device using the DISTRIBUTION PROVITION PROFILE instead of developer provision profile. 1.如何使用“分发协议”而不是“开发者配置文件”将产品安装到设备中。 2.if I use the DISTRIBUTION PROVITION PROFILE,can i recieve the push notification message 2.如果我使用DISTRIBUTION PROVITION PROFILE,我可以收到推送通知消息

I am now online waiting for your anwser 我现在在线上在等你的答案

thank you all 谢谢你们

You can only install builds that have been built for ad-hoc distribution on your device. 您只能在设备上安装为临时分发而构建的内部版本。 Builds for app store distribution will not run on any device, unless approved and installed through the store, as their only purpose is being submitted to the app store. 除非通过商店批准并安装,否则应用商店分发的构建将不会在任何设备上运行,因为它们的唯一目的是提交给应用商店。

1: Just build your app using an ad hoc provisioning profile. 1:只需使用临时设置配置文件即可构建您的应用。 Delete previous versions of the app on the device. 删除设备上应用程序的早期版本。 Install the ad hoc build and the ad hoc provisioning profile. 安装临时构建和临时配置文件。

2: I have not tried that, but I think this should work, provided you're using the push enabled app-id for your ad hoc provisioning profile and the ssl key and certificate have been installed on your notification server. 2:我还没有尝试过,但是我认为这应该可行,只要您使用临时启用配置文件使用启用了推送功能的应用程序ID,并且通知服务器上已经安装了ssl密钥和证书。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM