{"id":3963,"date":"2016-06-15T16:13:09","date_gmt":"2016-06-15T08:13:09","guid":{"rendered":"http:\/\/blog.qdac.cc\/?p=3963"},"modified":"2016-09-15T16:59:26","modified_gmt":"2016-09-15T08:59:26","slug":"ios-%e5%9c%a8%e5%8f%91%e5%b8%83%e4%bd%a0%e7%9a%84-ios-%e5%ba%94%e7%94%a8%e6%97%b6%e7%9a%84%e6%b3%a8%e6%84%8f%e4%ba%8b%e9%a1%b9","status":"publish","type":"post","link":"https:\/\/blog.qdac.cc\/?p=3963","title":{"rendered":"[iOS] \u5728\u53d1\u5e03\u4f60\u7684 iOS \u5e94\u7528\u65f6\u7684\u6ce8\u610f\u4e8b\u9879"},"content":{"rendered":"<p>\u597d\u5427\uff0c\u6211\u77e5\u9053\u4f60\u53ef\u80fd\u77e5\u9053\u7684\u6bd4\u6211\u591a\uff0c\u4f46\u6211\u8fd8\u662f\u8981\u5570\u55e6\u7ed9\u6ca1\u6211\u77e5\u9053\u7684\u591a\u7684\u4eba\u770b\u3002<\/p>\n<h4>1\u3001\u65b0\u7248\u7684 Delphi \u91cc\uff0cApplication Store \u914d\u7f6e\u53ea\u6709\u5728 64 \u4f4d\u7248\u672c\u4e2d\u80fd\u627e\u5230\uff0c\u6240\u4ee5\uff0c\u4f60\u8981\u60f3\u4f60\u7684\u5e94\u7528\u540c\u65f6\u652f\u6301 32 \u4f4d\u7684 iPhone 5S \u4ee5\u524d\u7684\u624b\u673a\u6216 iPad \u7684\u4e00\u4ee3\u600e\u4e48\u529e\uff1f<\/h4>\n<ul>\n<li>\u9009\u62e9 iOS Device &#8211; 64 \u4f4d<\/li>\n<li>\u53cc\u51fb\u4e0b\u9762\u7684 Application Store\uff0c\u4f7f\u5b83\u53d8\u6210\u52a0\u7c97\u7684\u6548\u679c<\/li>\n<li>\u8fdb\u5165 Project -&gt; Options -&gt; Compiling<\/li>\n<li>\u9009\u62e9 Other options \u4e0b\u7684Generate iOS universal binary file(aramv7 + arm64)\uff0c\u628a\u5b83\u8bbe\u7f6e\u4e3atrue<\/li>\n<\/ul>\n<p><a href=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2016\/06\/iosdist.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3964\" src=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2016\/06\/iosdist.jpg\" alt=\"iosdist\" width=\"752\" height=\"593\" srcset=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2016\/06\/iosdist.jpg 752w, https:\/\/blog.qdac.cc\/wp-content\/uploads\/2016\/06\/iosdist-300x237.jpg 300w\" sizes=\"auto, (max-width: 752px) 100vw, 752px\" \/><\/a><\/p>\n<ul>\n<li>\u91cd\u65b0 F9 \u7f16\u8bd1\u7a0b\u5e8f\uff0c\u7136\u540e\u4f1a\u63d0\u4f9b\u4f60\u65b0\u751f\u6210\u7684\u5e94\u7528\u6240\u5728\u7684\u4f4d\u7f6e\uff0c\u628a\u5b83\u590d\u5236\u5230 OS X \u4e2d\uff0c\u7136\u540e\u5728 OS X \u4e2d\u901a\u8fc7 Application Loader \u4e0a\u4f20\u5230\u82f9\u679c\u5e94\u7528\u5546\u5e97\u5c31\u597d\u4e86\u3002<\/li>\n<\/ul>\n<p>\u597d\u4e86\uff0c\u56de\u5f52\u6b63\u6587\uff0c\u8fd9\u6837\u5b50\u4f60\u7684\u7a0b\u5e8f\u867d\u7136\u652f\u6301 32 \u4f4d\u4e86\uff0c\u4f46\u4f53\u79ef\u4e5f\u589e\u5927\u4e86\u4e00\u500d\u6709\u4f59\u3002<\/p>\n<h4>2\u3001\u4e3a\u5565\u6211\u65e0\u6cd5\u53d1\u5e03\u5e94\u7528\uff1f<\/h4>\n<p>\u770b\u770b\u4f60\u7684 Profile \u662f\u5426\u521b\u5efa\u4e86\uff0c\u5e76\u4e14\u4e0b\u8f7d\u5230 OS X \u91cc\u5b89\u88c5\u4e86\uff08\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7 X Code\uff09\u3002\u5b89\u88c5\u5b8c\u5c31\u53ef\u4ee5\u6b63\u5e38\u7f16\u8bd1\u4e86\u3002<\/p>\n<h4>3\u3001\u53d1\u5e03\u5e94\u7528\u7684\u4e00\u822c\u6b65\u9aa4<\/h4>\n<ul>\n<li>\u5148\u5728 OSX \u4e2d\u4e0a\u4f20\u8981\u53d1\u5e03\u7684\u6587\u4ef6\u955c\u50cf<\/li>\n<li>\u767b\u5f55\u82f9\u679c\u5f00\u53d1\u8005\u8d26\u53f7<\/li>\n<li>\u627e\u5230\u5e76\u8fdb\u5165 iTunes connect<\/li>\n<li>\u9009\u62e9 My Apps<\/li>\n<li>\u9009\u62e9\u6dfb\u52a0<\/li>\n<li>\u7136\u540e\u6328\u4e2a\u6dfb\u52a0\u4fe1\u606f\uff0c\u5c24\u5176\u662f\u4e00\u5806\u622a\u56fe<\/li>\n<li>\u4fdd\u5b58\u540e\u63d0\u4ea4\u5ba1\u6838<\/li>\n<li>\u7b49\u5f85\u82f9\u679c\u5ba1\u6838\u901a\u8fc7<\/li>\n<\/ul>\n<h4>4\u3001\u600e\u4e48\u622a\u53d1\u5e03\u5e94\u7528\u65f6\u9700\u8981\u7684\u5404\u79cd\u56fe\uff1f<\/h4>\n<p>\u9009\u62e9 iOS simulator\uff0c\u7136\u540e\u9009\u62e9\u4e0d\u540c\u7684\u76ee\u6807\uff0c\u4f7f\u7528 Windows \u952e +S \u5206\u522b\u622a\u56fe\uff1a<\/p>\n<ul>\n<li>3.5&#8243; \u9009\u62e9 iPhone 4S<\/li>\n<li>4 &#8221; \u9009\u62e9 iPhone 5S<\/li>\n<li>4.7&#8243; \u9009\u62e9 iPhone 6\/6S<\/li>\n<li>5.5&#8243; \u9009\u62e9 iPhone 6S Plus<\/li>\n<li>iPad \u9009\u62e9 iPad Retina(9.7&#8243;)<\/li>\n<li>iPad Pro \u9009\u62e9 iPad Pro(12.9&#8243;)<\/li>\n<\/ul>\n<p>\u6ce8\u610f\u4e00\u70b9\uff1a\u4e0d\u8981\u8c03\u6574\u6a21\u62df\u5668\u7684\u7f29\u653e\u6bd4\u4f8b\uff0c100%\u622a\u56fe\uff0c\u5426\u5219\u5206\u8fa8\u7387\u4e0d\u5bf9\u3002<\/p>\n<h4>5\u3001\u5982\u679c\u542f\u52a8\u6a21\u62df\u5668\u540e\u65e0\u6cd5\u5b89\u88c5 App \u600e\u4e48\u529e\uff1f<\/h4>\n<p>\u5c1d\u8bd5\u91cd\u7f6e\u4e0b\u6a21\u62df\u5668\u7684\u5185\u5bb9\u548c\u8bbe\u7f6e\u8bd5\u4e00\u4e0b\uff0c\u5728 Simulator -&gt; Reset Content and Settings\u3002\u6211\u9047\u5230\u7684\u95ee\u9898\u662f\u63d0\u793a \u201cNo mapping for the Unicode <span id=\"5KSFindDIV\" class=\"KSFIND_CLASS_SELECT\">character<\/span> exists in the target multi-byte code page\u201d \u6216\u8005\u5f39\u51fa\u4e00\u4e2a\u7a7a\u767d\u7684\u9519\u8bef\u5bf9\u8bdd\u6846\u3002<\/p>\n<p><a href=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2016\/06\/ResetIOSSimilor.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4109\" src=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2016\/06\/ResetIOSSimilor.jpg\" alt=\"ResetIOSSimilor\" width=\"275\" height=\"225\" \/><\/a><\/p>\n<h4>6\u3001\u5982\u679c\u9047\u5230 \u201cUnable to locate DeviceSupport directory for the connected device. Please check Xcode installation path and run Xcode Devices.\u201d \u9519\u8bef\u5982\u4f55\u89e3\u51b3\uff1f<\/h4>\n<p>\u8fdb\u5165 OS X \u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0c\u8fdb\u5165 xcode\uff0c\u7136\u540e\u5728 Window \u83dc\u5355\u4e2d\uff0c\u627e\u5230 Devices \u91cc\u4f60\u7684\u8bbe\u5907\uff0c\u7136\u540e\u8010\u5fc3\u7b49\u5f85\u5b83\u540c\u6b65\u7b26\u53f7\u6587\u4ef6\u5b8c\u6210\u5c31OK\u4e86\u3002\u8fd9\u79cd\u95ee\u9898\u4e00\u822c\u53d1\u751f\u5728 iPhone \u6216 iPad \u64cd\u4f5c\u7cfb\u7edf\u5347\u7ea7\u4ee5\u540e\uff0c\u9020\u6210\u8bbe\u5907\u5f53\u524d\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c\u76f8\u5173\u6587\u4ef6\u627e\u4e0d\u5230\u9020\u6210\u7684\u3002<\/p>\n<h4>7\u3001iOS \u5e94\u7528\u63d0\u4ea4\u5230\u5e94\u7528\u5546\u5e97\u65f6\uff0c\u65e0\u6cd5\u4fdd\u5b58\u600e\u4e48\u529e\uff1f<\/h4>\n<p>\u5728 Project-&gt;Options-&gt;Version \u91cc\uff0c\u53f3\u952e\u9009\u62e9 Add Key \uff0c\u589e\u52a0\u5982\u679c\u4e09\u9879\u503c\uff0c\u7136\u540e\u518d\u5c1d\u8bd5\u4e0b\uff08\u611f\u8c22 Delphi Teacher \u63d0\u4f9b\u7684\u89e3\u51b3\u65b9\u6848\uff09\uff1a<\/p>\n<p><a href=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2016\/06\/iOSManulOptions.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4237\" src=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2016\/06\/iOSManulOptions.jpg\" alt=\"iosmanuloptions\" width=\"729\" height=\"506\" srcset=\"https:\/\/blog.qdac.cc\/wp-content\/uploads\/2016\/06\/iOSManulOptions.jpg 729w, https:\/\/blog.qdac.cc\/wp-content\/uploads\/2016\/06\/iOSManulOptions-300x208.jpg 300w\" sizes=\"auto, (max-width: 729px) 100vw, 729px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u597d\u5427\uff0c\u6211\u77e5\u9053\u4f60\u53ef\u80fd\u77e5\u9053\u7684\u6bd4\u6211\u591a\uff0c\u4f46\u6211\u8fd8\u662f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[8,602],"tags":[149,150,479,638,88],"class_list":["post-3963","post","type-post","status-publish","format-standard","hentry","category-delphi","category-ios","tag-fmx","tag-ios","tag-479","tag-638","tag-88"],"views":5437,"_links":{"self":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/3963","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3963"}],"version-history":[{"count":9,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/3963\/revisions"}],"predecessor-version":[{"id":4239,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/3963\/revisions\/4239"}],"wp:attachment":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3963"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3963"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}