作者Adonisy (堂本瓜一)
看板MacDev
标题Re: [问题] 有人布署ios7成功了吗?
时间Sat Sep 28 11:30:55 2013
※ 引述《Adonisy (堂本瓜一)》之铭言:
: 很奇怪,我都上传成功了,用 application loader,结果过一会
: developer那出现 invail binary
: 後来想说,那我用 Archive吧... 结果程式跳出,出现「未预期的错误」...
: 这世上真的有人布署成功了吗? 试好久...太怪了
http://ppt.cc/h4N1
找到解答了
原来世上还有很多人和我一样
简单来说,xcode的 bug... 再产生一次provisioning profile
1.Log into
https://developer.apple.com/membercenter/index.action
2.In Certificates, Identifiers & Profiles, select Provisioning Profiles.
3.Optional: select the old profile and then click the delete button.
4.Click the Add button (+) in the upper-right corner.
5.Select App Store as the distribution method; click Continue.
6.Choose your App ID; Continue
7.Choose your Certificate. NOTE: Make sure you select a certificate for
which you have the private key (see Applications/Utilities/KeyChain Access,
keychain: login, category: my certificates. Your certificate must be listed
here with a private key in the sub list, otherwise you will need to obtain
a new certificate.)
8.Enter a name, and Done.
9.In XCode Preferences (Cmd+,) select the Accounts tab, and then click
View Details...
10.Click the refresh button in the bottom left.
Now the new profile should appear (and the old one will disappear if
you deleted it in step 3).
Finally, set the build settings and perform another archive.
In XCode Project Navigator, select the project target and then Build
Settings
Enter "code sign" in the search filter
Set the Provisioning Profile for Release to the new profile (as loaded
in step 10).
Set the Code Signing Identity for Release to the certificate from step
7 (or automatic should be okay)
Product menu->Archive
祝大家幸运
--
昔日所为 今日所受
今日所为 明日所受
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.221.67.170