{"id":29288,"date":"2024-05-09T12:32:48","date_gmt":"2024-05-09T04:32:48","guid":{"rendered":"https:\/\/h5app.yimenapp.cn\/h5app\/?p=29288"},"modified":"2024-05-09T12:32:48","modified_gmt":"2024-05-09T04:32:48","slug":"ios%e5%91%bd%e4%bb%a4%e8%a1%8c%e8%87%aa%e5%8a%a8%e6%89%93%e5%8c%85%e6%ad%a5%e9%aa%a4%e4%bb%8b%e7%bb%8d","status":"publish","type":"post","link":"https:\/\/h5app.yimenapp.cn\/h5app\/2024\/appkfa\/29288\/","title":{"rendered":"ios\u547d\u4ee4\u884c\u81ea\u52a8\u6253\u5305\u6b65\u9aa4\u4ecb\u7ecd"},"content":{"rendered":"<p><a href=\"https:\/\/www.applebyme.ltd\/ios-dabao-2312.html\">\u6253\u5305ios app<\/a>  <\/p>\n<p>iOS\u547d\u4ee4\u884c\u81ea\u52a8\u6253\u5305\uff0c\u662f\u4e00\u79cd\u5c06iOS\u5e94\u7528\u7a0b\u5e8f\u81ea\u52a8\u6253\u5305\u6210IPA\u6587\u4ef6\u7684\u65b9\u6cd5\u3002\u5b83\u53ef\u4ee5\u5728\u4e0d\u9700\u8981\u4f7f\u7528Xcode\u7684\u60c5\u51b5\u4e0b\uff0c\u8fdc\u7a0b\u6267\u884c\u6253\u5305\u811a\u672c\uff0c\u8282\u7701\u5f00\u53d1\u8005\u7684\u65f6\u95f4\u548c\u7cbe\u529b\u3002<\/p>\n<p>\u4e0b\u9762\u5c06\u4ecb\u7ecdiOS\u547d\u4ee4\u884c\u81ea\u52a8\u6253\u5305\u7684\u8be6\u7ec6\u6b65\u9aa4\uff1a<\/p>\n<p>\u7b2c\u4e00\u6b65\uff1a\u8bbe\u7f6e\u8bc1\u4e66\u548c\u63cf\u8ff0\u6587\u4ef6<\/p>\n<p>\u5728\u4f7f\u7528\u547d\u4ee4\u884c\u8fdb\u884c\u6253\u5305\u4e4b\u524d\uff0c\u9700\u8981\u5728Xcode\u4e2d\u914d\u7f6e\u597d\u8bc1\u4e66\u548c\u63cf\u8ff0\u6587\u4ef6\u3002\u5728Xcode\u4e2d\u6253\u5f00\u5de5\u7a0b\u6587\u4ef6\u540e\uff0c\u9009\u62e9\u9879\u76ee\u7684\u201cBuild Settings\u201d\u9009\u9879\u5361\uff0c\u5728\u201cCode Signing\u201d\u4e0b\u8bbe\u7f6e\u8bc1\u4e66\u548c\u63cf\u8ff0\u6587\u4ef6\u3002<\/p>\n<p>\u7b2c\u4e8c\u6b65\uff1a\u521b\u5efa\u5de5\u7a0b\u914d\u7f6e\u6587\u4ef6<\/p>\n<p>\u5728\u9879\u76ee\u7684\u6839\u76ee\u5f55\u4e0b\uff0c\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a\u201cproject.xcconfig\u201d\u7684\u6587\u4ef6\uff0c\u5728\u6587\u4ef6\u4e2d\u8bbe\u7f6e\u4e00\u4e9b\u57fa\u672c\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u5982\u8bc1\u4e66\u3001\u63cf\u8ff0\u6587\u4ef6\u548c\u914d\u7f6e\u540d\u79f0\u7b49\u3002<\/p>\n<p>\u4f8b\u5982\uff1a<\/p>\n<p>PROVISIONING_PROFILE = <\/p>\n<p><p>CODE_SIGN_IDENTITY = iPhone Developer: <\/p>\n<p><p>CONFIGURATION_BUILD_DIR = $(BUILD_DIR)\/$(CONFIGURATION)-$(PLATFORM_NAME)<\/p>\n<p>\u7b2c\u4e09\u6b65\uff1a\u521b\u5efa\u811a\u672c\u6587\u4ef6<\/p>\n<p>\u5728\u9879\u76ee\u6839\u76ee\u5f55\u4e0b\uff0c\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a\u201cbuild.sh\u201d\u7684\u811a\u672c\u6587\u4ef6\u3002\u901a\u8fc7\u6267\u884c\u8be5\u811a\u672c\uff0c\u53ef\u4ee5\u81ea\u52a8\u5b8c\u6210\u5e94\u7528\u7a0b\u5e8f\u7684\u6253\u5305\u5de5\u4f5c\u3002<\/p>\n<p>\u4f8b\u5982\uff1a<\/p>\n<p>xcodebuild -project \u5de5\u7a0b\u6587\u4ef6.xcodeproj -scheme Scheme\u540d\u79f0 -configuration \u914d\u7f6e\u6587\u4ef6\u540d\u79f0<\/p>\n<p>clean build PROVISIONING_PROFILE=&#8221;$PROVISIONING_PROFILE&#8221; CODE_SIGN_IDENTITY=&#8221;$CODE_SIGN_IDENTITY&#8221;<\/p>\n<p>-destination \u2018generic\/platform=iOS\u2019 archive -archivePath<\/p>\n<p>.\/Archive\u6587\u4ef6\u5b58\u50a8\u76ee\u5f55\/Archive\u6587\u4ef6\u540d.xcarchive<\/p>\n<p>xcodebuild -exportArchive -archivePath<\/p>\n<p>.\/Archive\u6587\u4ef6\u5b58\u50a8\u76ee\u5f55\/Archive\u6587\u4ef6\u540d.xcarchive -exportO<\/p>\n<p><figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/cdn.myapp.ltd\/ag\/100\/ios\/88.jpg\" \/><\/figure>\n<\/p>\n<p>ptionsPlist<\/p>\n<p>.\/ExportOptions.plist -exportPath IPA\u6587\u4ef6\u5b58\u50a8\u76ee\u5f55<\/p>\n<p>\u7b2c\u56db\u6b65\uff1a\u8bbe\u7f6e\u6267\u884c\u6743\u9650<\/p>\n<p>\u5c06\u201c<a href=\"https:\/\/www.applebyme.ltd\/ios-dabao-1163.html\">ios\u4ee3\u7801\u600e\u4e48\u6253\u5305ipa<\/a>build.sh\u201d\u7684\u6267\u884c\u6743\u9650\u8bbe\u7f6e\u4e3a\u53ef\u6267\u884c\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<p>chmod +x build.sh<\/p>\n<p>\u7b2c\u4e94\u6b65\uff1a\u8fd0\u884c\u811a\u672c<\/p>\n<p>\u5728\u7ec8\u7aef\u4e2d\u8fdb\u5165\u5230\u9879\u76ee\u7684\u6839\u76ee\u5f55\uff0c\u8fd0\u884c\u201cbuild.sh\u201d\u811a\u672c\uff0c\u7b49\u5f85\u6253\u5305\u5b8c\u6210\u3002\u6267\u884c\u5b8c\u6210\u540e\u4f1a\u5f97\u5230\u4e00\u4e2a\u540d\u4e3a\u201c*.ipa\u201d\u7684\u6587\u4ef6\uff0c\u5373\u6240\u9700\u7684IPA\u6587\u4ef6\u3002<\/p>\n<p>\u603b\u7ed3\uff1a<\/p>\n<p>iOS\u547d\u4ee4\u884c\u81ea\u52a8\u6253\u5305\u601d\u8def\u57fa\u672c\u4e0a\u5c31\u662f\u8c03\u7528xcodebuild\u547d\u4ee4\uff0c\u5c06\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210IPA\u6587\u4ef6\u3002\u901a\u8fc7\u7f16\u5199\u811a\u672c\u6587\u4ef6\u81ea\u52a8\u6267\u884c\uff0c\u63d0\u9ad8\u4e86\u5f00\u53d1\u6548\u7387\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u6253\u5305\u65f6\u9700\u8981\u786e\u4fdd\u8bc1\u4e66\u548c\u63cf\u8ff0\u6587\u4ef6\u6b63\u786e\u5e76\u8bbe\u7f6e\u5e94\u7528\u7a0b\u5e8f\u7684\u4fe1\u606f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>iOS\u547d\u4ee4\u884c\u81ea\u52a8\u6253\u5305\uff0c\u662f\u4e00\u79cd\u5c06iOS\u5e94\u7528\u7a0b\u5e8f\u81ea\u52a8\u6253\u5305\u6210IPA\u6587\u4ef6\u7684\u65b9\u6cd5\u3002\u5b83\u53ef\u4ee5\u5728\u4e0d\u9700\u8981\u4f7f\u7528Xcode\u7684\u60c5\u51b5\u4e0b\uff0c\u8fdc\u7a0b\u6267\u884c\u6253\u5305\u811a\u672c\uff0c\u8282\u7701\u5f00\u53d1\u8005\u7684\u65f6\u95f4\u548c\u7cbe\u529b\u3002\u4e0b\u9762\u5c06\u4ecb\u7ecdiOS\u547d\u4ee4\u884c\u81ea\u52a8\u6253\u5305\u7684\u8be6\u7ec6\u6b65\u9aa4\uff1a\u7b2c\u4e00<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[28623,15742,81,507,62],"topic":[],"class_list":["post-29288","post","type-post","status-publish","format-standard","hentry","category-appkfa","tag-ios","tag-uniappios","tag-81","tag-507","tag-62"],"_links":{"self":[{"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/posts\/29288","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/comments?post=29288"}],"version-history":[{"count":1,"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/posts\/29288\/revisions"}],"predecessor-version":[{"id":29333,"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/posts\/29288\/revisions\/29333"}],"wp:attachment":[{"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/media?parent=29288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/categories?post=29288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/tags?post=29288"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/h5app.yimenapp.cn\/h5app\/wp-json\/wp\/v2\/topic?post=29288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}