{"id":1304,"date":"2012-10-06T03:10:26","date_gmt":"2012-10-05T19:10:26","guid":{"rendered":"http:\/\/learn-house.idv.tw\/?p=1304"},"modified":"2012-10-06T03:26:22","modified_gmt":"2012-10-05T19:26:22","slug":"iosxcode4-5%e5%88%a9%e7%94%a8ad-hoc%e7%99%bc%e4%bd%88ipa%e5%88%b0%e7%b6%b2%e9%a0%81","status":"publish","type":"post","link":"https:\/\/learn-house.idv.tw\/?p=1304","title":{"rendered":"[iOS]XCode4.5\u5229\u7528Ad-Hoc\u767c\u4f48IPA\u5230\u7db2\u9801"},"content":{"rendered":"<p>\u5beb\u5b8ciOS\u7684\u7a0b\u5f0f\u6700\u91cd\u8981\u7684\u5c31\u662f\u8981\u5230\u81ea\u5df1\u7684iPhone RUN\u4e00\u4e0b\u4e86<\/p>\n<p>\u8981\u5c07\u7a0b\u5f0f\u4f48\u7f72\u5230iPhone\u6709\u4e09\u7a2e\u65b9\u6cd5\uff1a<\/p>\n<p><strong>\u7b2c\u4e00\u7a2e<\/strong>\u662fiPhone\u63a5MAC\u76f4\u63a5\u900f\u904eXCode\u4f48\u7f72\uff0c\u53c3\u95b1\u300e<a href=\"http:\/\/learn-house.idv.tw\/?p=1296\">XCode\u958b\u767c\u8005\u5e33\u865f\u6191\u8b49\u8a2d\u5b9a\u8207APP\u4f48\u7f72<\/a>\u300f<\/p>\n<p>\u9019\u65b9\u6cd5\u6bd4\u8f03\u9069\u5408\u81ea\u5df1\u958b\u767c\u81ea\u5df1\u6e2c\u8a66\uff0c\u9019\u500b\u65b9\u5f0f\u6211\u7528\u597d\u4e45= =&#8221;<\/p>\n<p><strong>\u7b2c\u4e8c\u7a2e<\/strong>\u662f\u6253\u5305\u6210ipa\u5f8c\u900f\u904eiTune\u4f5c\u5b89\u88dd\u7684\u52d5\u4f5c\uff0c\u5982\u4f55\u6253\u5305\u6210ipa\u6211\u4e0b\u9762\u6703\u518d\u8aaa\u660e<\/p>\n<p>\u9019\u500b\u65b9\u5f0f\u6211\u6c92\u8a66\u904e\uff0c\u56e0\u70ba\u6e2c\u8a66\u8005\u9700\u8981\u5728\u81ea\u5df1\u7684\u96fb\u8166\u984d\u5916\u88ddiTune\uff0c\u5c31\u662f\u56e0\u70ba\u6211\u4e0d\u60f3\u88dd\u6240\u4ee5\u6c92\u6e2c\u8a66\u9019\u7a2e\u65b9\u5f0f<\/p>\n<p><strong>\u7b2c\u4e09\u7a2e<\/strong>\u662f\u76f4\u63a5\u63d0\u4f9b\u7db2\u9801\u9023\u7d50\uff0c\u6e2c\u8a66\u8005\u53ea\u8981\u900f\u904e\u624b\u6a5f\u4e0a\u7684safari\u9ede\u9078\u5373\u80fd\u5b89\u88dd<\/p>\n<p><!--more-->\u9019\u662f\u6211\u8a8d\u70ba\u6700\u65b9\u4fbf\u7684\u65b9\u5f0f\u4e86\uff0c\u4e5f\u662f\u672c\u7bc7\u7684\u7cbe\u83ef\u6240\u5728<\/p>\n<p>\u4e0d\u904e\u6211\u5beb\u9019\u7bc7\u4e3b\u8981\u662f\u56e0\u70ba\u76ee\u524d\u7db2\u8def\u4e0a\u7684\u4f5c\u6cd5\u90fd\u662f\u820a\u7248\u7684\u65b9\u5f0f<\/p>\n<p>\u9bae\u5c11\u6709\u4eba\u8ddf\u6211\u4e00\u6a23\u5df2\u7d93\u5347\u7d1a\u5230XCode4.5\uff0c\u7562\u7adfiPhone5\u624d\u525b\u51fa\u4f86\u4e0d\u5230\u4e00\u500b\u6708<\/p>\n<p>\u518d\u958b\u59cb\u524d\uff0c\u5148\u8072\u660e\u4e00\u4e0b\uff0c\u56e0\u70ba\u6211\u5df2\u7d93\u61f6\u5f97\u81ea\u5df1\u622a\u5716\u4e86\uff0c\u6240\u4ee5\u4ee5\u4e0b\u7684\u5716\u7247\u90fd\u662f\u4f86\u81ea\u7db2\u8def\u4e0a\u7684\u8cc7\u6e90<\/p>\n<p>\u800c\u4e14\u4ee5\u4e0b\u5716\u7247\u4e26\u4e0d\u662f\u4f86\u81ea\u65bc\u55ae\u4e00\u7db2\u7ad9\uff0c\u800c\u662f\u6574\u500b\u6d69\u701a\u7684\u7db2\u8def\u8cc7\u6e90<\/p>\n<p>\u8072\u660e\u5b8c\u5f8c~\u90a3\u9ebc~\u672c\u6587\u5c31\u8981\u958b\u59cb\u4e86<\/p>\n<p>\u9996\u5148\u7167\u6211\u4e4b\u524d\u5beb\u7684\u300e<a href=\"http:\/\/learn-house.idv.tw\/?p=1296\">XCode\u958b\u767c\u8005\u5e33\u865f\u6191\u8b49\u8a2d\u5b9a\u8207APP\u4f48\u7f72<\/a>\u300f\u5b8c\u6210XCode\u958b\u767c\u8005\u6191\u8b49\u8a2d\u5b9a<\/p>\n<p>\u6bd4\u8f03\u7279\u5225\u7684\u662f\u5728\u8a2d\u5b9a<strong>Provisioning<\/strong>\u6642\uff0c\u8981\u5207\u5230<strong>Distribution<\/strong>\u591a\u8a2d\u5b9a<strong>Ad Hoc<\/strong>\u767c\u4f48\u65b9\u5f0f\u4e26<strong>Download<br \/>\n<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/lh5.googleusercontent.com\/-v2UHPW1hFXw\/UG8h26XWoNI\/AAAAAAAAEeA\/b54tMZfMbTI\/s700\/xcode_adhoc_06_1.jpg\" alt=\"\" width=\"573\" height=\"342\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/lh6.googleusercontent.com\/-tpGETYHYWg4\/UG8kLTjNc5I\/AAAAAAAAEeQ\/BL5KS56P3Hs\/s700\/xcode_adhoc_07.jpg\" alt=\"\" width=\"577\" height=\"355\" \/><\/p>\n<p>\u518d\u4f86\u662fXcode\u7684\u8a2d\u5b9a<\/p>\n<p>Step1\u00a0 <strong><span style=\"color: #0000ff;\">Project-&gt;info-&gt;Configurations<\/span><\/strong>\u9ede\u9078\u300e+\u300f\u65b0\u589e\u4e00\u500b\u540d\u7a31\u70ba<strong>Ad Hoc<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/lh4.googleusercontent.com\/-X9dGpZe6ZD0\/UG8nJj0WeJI\/AAAAAAAAEes\/zgFAjMHyrA4\/s640\/Ad%2520Hoc%25201.png\" alt=\"\" width=\"580\" height=\"267\" \/><\/p>\n<p>Step2 <strong><span style=\"color: #0000ff;\">Project-&gt;Build Settings-&gt;Code Signing-&gt;Ad-Hoc<\/span><\/strong>\u4e2d\u7684<strong>Any iOS SDK<\/strong>\u8a2d\u5b9a\u70ba<strong>iPhone Developer<\/strong>\uff0c\u9019\u88e1\u5176\u5be6\u53ef\u4ee5\u5168\u90e8\u90fd\u8a2diPhone Developer<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/lh5.googleusercontent.com\/-HbDtD4A4cdY\/UG8nKtbvOFI\/AAAAAAAAEe8\/K8GSHrEhmSc\/s720\/adhocdistributionscreens2.png\" alt=\"\" width=\"581\" height=\"402\" \/><\/p>\n<p>Step3 <strong><span style=\"color: #0000ff;\">\u9ede\u9078Xcode\u4e2d\u7684Product\/Edit Scheme\u4e26\u5207\u63db\u5230Archive<\/span><\/strong>\uff0c\u9078\u64c7<strong>Build Configuration<\/strong>\u70baAd Hoc<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/lh6.googleusercontent.com\/-RRs741A7V10\/UG8nJn5UaRI\/AAAAAAAAEek\/a-yk99_QtM8\/s697\/Ad%2520Hoc%25205.png\" alt=\"\" width=\"582\" height=\"396\" \/><\/p>\n<p>Step4\u00a0 <span style=\"color: #0000ff;\"><strong>\u9ede\u9078Xcode\u4e2d\u7684Product\/Archive<\/strong><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/lh4.googleusercontent.com\/-teOu7nkV9gk\/UG8nLIOE2rI\/AAAAAAAAEfA\/sCmhhIZxGuw\/s419\/adhocdistributionscreens4.png\" alt=\"\" width=\"278\" height=\"404\" \/><\/p>\n<p>Step5 <span style=\"color: #0000ff;\"><strong>\u9ede\u9078Distriute<\/strong><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/lh3.googleusercontent.com\/-17b7qohgcs4\/UG8nKbX-PsI\/AAAAAAAAEew\/2b_3BUooEYE\/s791\/Ad%2520Hoc%25208.png\" alt=\"\" width=\"582\" height=\"322\" \/><\/p>\n<p>Step6<span style=\"color: #0000ff;\"><strong> \u9078\u64c7Save for Enterprise or Ad-Hoc Deployment<\/strong><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/lh6.googleusercontent.com\/-ZIRsNN1sR1M\/UG8nKsQk0GI\/AAAAAAAAEe0\/j2oN6UulOE0\/s726\/Ad%2520Hoc%25209.png\" alt=\"\" width=\"580\" height=\"392\" \/><\/p>\n<p>Step7\u00a0 <span style=\"color: #0000ff;\"><strong>\u76f4\u63a5\u9ede\u9078Next<\/strong><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/lh4.googleusercontent.com\/-ZCGfhIRRKCk\/UG8nJmxm6XI\/AAAAAAAAEeo\/bOY12cwx6cs\/s730\/Ad%2520Hoc%252010.png\" alt=\"\" width=\"579\" height=\"389\" \/><\/p>\n<p>Step8\u00a0 <span style=\"color: #0000ff;\"><strong>\u52fe\u9078 Save for Enterprise Distribution<\/strong><\/span>\u9019\u662f\u7528\u4f86\u767c\u4f48\u5230\u7db2\u9801\u4e0a\u7684\uff0c\u5982\u679c\u4e0d\u52fe\u9078\u7d14\u7cb9\u7522\u751fipa\u6a94\uff0c\u6e2c\u8a66\u8005\u8981\u900f\u904eiTune\u4f86\u5b89\u88dd\u3002\u53e6\u5916\u5728<span style=\"color: #0000ff;\"><strong>Application URL<\/strong><\/span>\u7684\u5730\u65b9\uff0c\u5c31\u662fipa\u5728\u7db2\u8def\u7a7a\u9593\u7684\u4f4d\u7f6e\uff0c\u9700\u5be6\u969b\u8f38\u5165ipa\u7db2\u8def\u4f4d\u5740\uff0c\u5426\u5247\u6703\u7121\u6cd5\u5b89\u88dd<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/lh4.googleusercontent.com\/-GwTcou7Nq8I\/UG8nLFPsIOI\/AAAAAAAAEfE\/h0q6DbYMX0M\/s576\/xcode_adhoc_25.jpg\" alt=\"\" width=\"576\" height=\"467\" \/><\/p>\n<p>Step9\u00a0 <span style=\"color: #0000ff;\"><strong>\u9ede\u9078Save\u5f8c\u6703\u7522\u751f\u5169\u500b\u6a94\u6848xxx.ipa\u3001xxx.plist<\/strong><\/span>\uff0c\u7de8\u8f2f\u4e0b\u5217html\u8207\u6cd5\uff0c\u5c07\u4e09\u500b\u6a94\u6848\u4e0a\u50b3\u5230Web\u5373\u53ef\u900f\u904eiPhone\u4f86\u5b89\u88dd<\/p>\n<p>[html]<br \/>\n&lt;!DOCTYPE HTML PUBLIC &quot;-\/\/W3C\/\/DTD HTML 4.01 Transitional\/\/EN&quot; &quot;http:\/\/www.w3.org\/TR\/html4\/loose.dtd&quot;&gt;<br \/>\n&lt;html&gt;<br \/>\n&lt;head&gt;<br \/>\n&lt;title&gt;Setup My App&lt;\/title&gt;<br \/>\n&lt;\/head&gt;<br \/>\n&lt;body&gt;<br \/>\n&lt;ul&gt;<br \/>\n&lt;li&gt;&lt;a href=&quot;itms-services:\/\/?action=download-manifest&amp;url=http:\/\/xxx.xxx.com\/xxx.plist&quot;&gt; Tap Here to Install the Application&lt;\/a&gt;<br \/>\n&lt;\/li&gt;<br \/>\n&lt;\/ul&gt;<br \/>\n&lt;\/body&gt;<br \/>\n&lt;\/html&gt;<br \/>\n[\/html]<\/p>\n<p>Step10 <span style=\"color: #0000ff;\"><strong>iPhone\u5b89\u88dd\u904e\u7a0b<\/strong><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/lh5.googleusercontent.com\/-8SkKHmLSJJA\/UG8vK10muRI\/AAAAAAAAEf0\/VYCfzW-iCxY\/s650\/xcode_adhoc_26.jpg\" alt=\"\" width=\"581\" height=\"428\" \/><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/lh3.googleusercontent.com\/-c2hzUvAJqCc\/UG8vK4iIIsI\/AAAAAAAAEf4\/z3NkbCIDUc4\/s650\/xcode_adhoc_27.jpg\" alt=\"\" width=\"579\" height=\"427\" \/><\/p>\n<p>\u4ee5\u4e0b\u662f\u6211\u505a\u7684Demo\u9801<br \/>\n<a href=\"http:\/\/learn-house.idv.tw\/iphone.html\">http:\/\/learn-house.idv.tw\/iphone.html<\/a><br \/>\n\u5982\u679c\u6709\u4eba\u771f\u7684\u5f88\u7121\u804a\u7684\u53bb\u7528iPhone\u8a66\u9019\u500bDemo\u9801<br \/>\n\u4f60\u6703\u767c\u73fe\u7121\u6cd5\u5b89\u88dd\uff0c\u70ba\u4ec0\u9ebc\u5462??<br \/>\n\u9053\u7406\u662f\u4e00\u6a23\u7684\u56e0\u70ba\u7576\u521d\u5728\u7522\u751fipa\u6642\uff0c\u6211\u6c92\u6709\u8a3b\u518a\u4f60Device\u7684UDID<br \/>\n\u6240\u4ee5\u4f60\u7576\u7136\u4e0d\u80fd\u88dd\u56c9~~~<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5beb\u5b8ciOS\u7684\u7a0b\u5f0f\u6700\u91cd\u8981\u7684\u5c31\u662f\u8981\u5230\u81ea\u5df1\u7684iPhone RUN\u4e00\u4e0b\u4e86 \u8981\u5c07\u7a0b\u5f0f\u4f48\u7f72\u5230iPhone\u6709\u4e09\u7a2e\u65b9\u6cd5\uff1a \u7b2c\u4e00<span class=\"post-excerpt-end\">&hellip;<\/span><\/p>\n<p class=\"more-link\"><a href=\"https:\/\/learn-house.idv.tw\/?p=1304\" class=\"themebutton\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1304","post","type-post","status-publish","format-standard","hentry","category-5"],"_links":{"self":[{"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/1304","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1304"}],"version-history":[{"count":0,"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/1304\/revisions"}],"wp:attachment":[{"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1304"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learn-house.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}