带有设备UDID的Iphone应用程序 [英] Iphone app with device UDID

查看:105
本文介绍了带有设备UDID的Iphone应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将我的Iphone应用程序安装到不同的iphone上进行测试。但每次我都做配置文件的事情。
如何在编译时在我的应用程序中使用设备UDID,以便它们(应用程序)可以安装在那些Iphone上.....
任何想法?

I want to install my Iphone app to different iphones for testing. But every time I have do the provisioning profile thing. How can I use the device UDID in my application while compilation so that they (apps) can be installed on those Iphones..... Any idea?

问候

推荐答案

步骤:1打开https://developer.apple.com/

步骤:2打开IOS开发中心

step :2 open IOS dev Center

步骤:3在最左侧菜单栏中单击设备。

step :3 at the lest side menu bar click on "Devices".

步骤:4然后单击添加新设备填充设备UDID和名称。然后提交。

step :4 then click on "Add New Device" fill your device UDID and Name. and then submit.

步骤:5现在点击左侧菜单栏中的App Id。创建您的应用ID。

step :5 Now click on "App Id" in left menu bar. create your app id.

步骤:6现在点击左侧菜单中的证书,选择开发字段。现在你应该有一个有效权限的证书来上传它。要获得证书打开钥匙串访问,然后在桌面的左上角(靠近苹果图标)点击钥匙串访问,现在选择...证书助理>从证书颁发机构申请证书。然后在第一行输入您的邮件,选择保存到磁盘然后继续。现在来将此证书上传到苹果帐户。

step :6 Now click on "Certificates" in left menu, choose the development field. now you should have a certificate with valid authority to upload it. for getting a certificate open "keychain access" then upper left corner of your desktop (near the apple icon) click on "Keychain Access", now choose ...certificate Assistant > Request a certificate from a certificate authority. then enter your mail in first row, choose saved to disk and then continue. now come to on upload this certificate to apple account.

步骤:7现在点击苹果网站左侧菜单栏中的配置。选择开发字段,然后单击右侧的新建配置文件。
制作您的应用资料,查看证书,选择您的应用ID,检查设备。然后提交。

step: 7 now click on "Provisioning" at left menu bar in apple site. choose the "development" field then click on "New Profile" on right side. make your app profile, check the certificate, select an your app id, check the device. then submit.

步骤:8现在下载您的开发证书,确保状态应该已发布,并且您的配置文件名称应写在Provisioning Profile字段中。同时下载您的配置文件,并确保状态为有效。

step :8 now download your development certificate make sure the status should be "issued" and your provisioning profile name should be written there in "Provisioning Profile" fields. Download your provisioning profile also and make sure that the status is "Active".

步骤:9双击已下载的开发证书,然后双击您的配置文件你已经下载了。

step :9 double click on development certificate which you have downloaded and double click on your provisioning profile which you have downloaded.

步骤:10现在打开你的项目并按照这个...目标>信息>捆绑标识符。然后将您的包标识符重命名为您的app id。

step :10 now open your project and follow this.. Target > Info > Bundle Identifier. then rename your bundle identifier to what is your "app id".

步骤:11转到目标>构建设置>代码签名>选择您的签名身份。相同的代码签名在您的项目>构建设置>代码签名中选择。

step :11 Go to your Target > Build Setting > Code Signing > choose your signing identity. same code signing choose in your Projects > Build Setting > Code Signing.

步骤:12现在位于左上角(靠近运行按钮)将Scheme设置为IOS Device。按下窗口+ B,然后右键单击查找器中的yourapp.app,然后使用其配置文件压缩它,并将此zip文件发送给您的客户端进行测试。

step :12 now at upper left corner (near run button) set Scheme to "IOS Device". press window + B and then right click on "yourapp.app" show in finder then compress it with its provisioning profile and this zip file send to your client for testing.

有关详细信息,请参阅 https://developer.apple.com/ios/manage/overview/index.action .....

for more detail see https://developer.apple.com/ios/manage/overview/index.action.....

谢谢!!

这篇关于带有设备UDID的Iphone应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆