{"id":7916,"date":"2023-11-01T16:45:08","date_gmt":"2023-11-01T08:45:08","guid":{"rendered":"https:\/\/www.yimenyun.cn\/emen\/?p=7916"},"modified":"2023-11-01T16:45:08","modified_gmt":"2023-11-01T08:45:08","slug":"ipa%e5%8f%8d%e7%bc%96%e8%af%91%e6%89%93%e5%8c%85%e6%93%8d%e4%bd%9c%e6%96%b9%e6%b3%95%e4%bb%8b%e7%bb%8d","status":"publish","type":"post","link":"https:\/\/www.yimenyun.cn\/emen\/7916\/","title":{"rendered":"ipa\u53cd\u7f16\u8bd1\u6253\u5305\u64cd\u4f5c\u65b9\u6cd5\u4ecb\u7ecd"},"content":{"rendered":"

IPA\u6587\u4ef6\u662fiOS\u5e94\u7528\u7a0b\u5e8f\u7684\u5b89\u88c5\u5305\u6587\u4ef6\uff0c\u901a\u5e38\u5305\u542b\u4e86\u5e94\u7528\u7a0b\u5e8f\u7684\u4e8c\u8fdb\u5236\u4ee3\u7801\u3001\u8d44\u6e90\u6587\u4ef6\u3001\u914d\u7f6e\u6587\u4ef6\u7b49\u3002\u53cd\u7f16\u8bd1IPA\u6587\u4ef6\u53ef\u4ee5\u5c06\u5176\u8f6c\u6362\u4e3a\u6613\u4e8e\u9605\u8bfb\u548c\u7406\u89e3\u7684\u6e90\u4ee3\u7801\u6587\u4ef6\uff0c\u4ee5\u4fbf\u8fdb\u884c\u5206\u6790\u3001\u4fee\u6539\u6216\u518d\u5f00\u53d1\u3002<\/p>\n

\u53cd\u7f16\u8bd1IPA\u6587\u4ef6\u7684\u8fc7\u7a0b\u5206\u4e3a\u4e24\u4e2a\u4e3b\u8981\u6b65\u9aa4\uff1a\u89e3\u538b\u548c\u53cd\u7f16\u8bd1\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecbflex\u600e\u4e48\u6253\u5305ipa<\/a>\u7ecd\u8fd9\u4e24\u4e2a\u6b65\u9aa4\u7684\u5177\u4f53\u64cd\u4f5c\u3002<\/p>\n

\u89e3\u538bIPA\u6587\u4ef6\uff1a<\/p>\n

1. \u5c06IPA\u6587\u4ef6\u7684\u540e\u7f00\u540d\u6539\u4e3a.zip\uff0c\u5e76\u89e3\u538b\u8be5\u6587\u4ef6\u3002\u4f8b\u5982\uff0c\u5c06example.ipa\u6539\u4e3aexample.zip\uff0c\u5e76\u53cc\u51fb\u6253\u5f00\u538b\u7f29\u6587\u4ef6\u3002<\/p>\n

2. \u5728\u89e3\u538b\u6587\u4ef6\u5939\u4e2d\uff0c\u627e\u5230Payload\u6587\u4ef6\u5939\uff0c\u5e76\u6253\u5f00\u8be5\u6587\u4ef6\u5939\u3002<\/p>\n

3. \u5728Payload\u6587\u4ef6\u5939\u4e2d\uff0c\u627e\u5230\u6269\u5c55\u540d\u4e3a.app\u7684\u6587\u4ef6\u5939\uff0c\u8fd9\u5c31\u662f\u5e94\u7528\u7a0b\u5e8f\u7684\u4e3b\u8981\u6587\u4ef6\u5939\u3002<\/p>\n

4. \u5c06\u8be5\u6587\u4ef6\u5939\u590d\u5236\u5230\u4e00\u4e2a\u60a8\u9009\u62e9\u7684\u4f4d\u7f6e\uff0c\u4ee5\u5907\u540e\u7eed\u53cd\u7f16\u8bd1\u4f7f\u7528\u3002<\/p>\n

\u53cd\u7f16\u8bd1IPA\u6587\u4ef6\uff1a<\/p>\n

1. \u6253\u5f00\u7ec8\u7aef\uff08Terminal\uff09\u5e94\u7528\u7a0b\u5e8f\uff0c\u5e76\u5bfc\u822a\u81f3\u4fdd\u5b58\u4e86.app\u6587\u4ef6\u5939\u7684\u4f4d\u7f6e\u3002<\/p>\n

2. \u8fd0\u884c\u547d\u4ee4\uff1acd [app\u6587\u4ef6\u5939\u8def\u5f84]\uff0c\u4f8b\u5982\uff1acd \/Users\/your_username\/Desktop\/example.app\u3002<\/p>\n

3. \u8fd0\u884c\u547d\u4ee4\uff1aclass-dump -H .\uff0c\u5176\u4e2d\u201c.\u201d\u8868\u793a\u5f53\u524d\u76ee\u5f55\u3002\u8fd9\u4e2a\u547d\u4ee4\u5c06\u4f1a\u751f\u6210\u4e00<\/p>\n

<\/figure>\n<\/p>\n

\u4e2a\u5934\u6587\u4ef6\uff08.h\uff09\u7684\u76ee\u5f55\uff0c\u5305\u542b\u5e94\u7528\u7a0b\u5e8f\u7684\u7c7b\u548c\u65b9\u6cd5\u58f0\u660e\u3002<\/p>\n

4. \u8fd0\u884c\u547d\u4ee4\uff1afind . -name “*.m” -exec ios-class-guard {} \\;\u3002\u8fd9\u4e2a\u547d\u4ee4\u5c06\u5bf9\u6240\u6709\u7684.m\u6587\u4ef6\u8fdb\u884c\u53cd\u7f16\u8bd1\uff0c\u5e76\u751f\u6210\u6613\u4e8e\u9605\u8bfb\u7684\u6e90\u4ee3\u7801\u6587\u4ef6\uff08.m.out\uff09\u3002<\/p>\n

5. \u60a8\u73b0\u5728\u53ef\u4ee5\u5728\u751f\u6210\u7684\u5934\u6587\u4ef6\u548c\u6e90\u4ee3\u7801\u6587\u4ef6\u4e2d\u8fdb\u884c\u67e5\u770b\u548c\u7f16\u8f91\uff0c\u4ee5\u6ee1\u8db3\u60a8\u7684\u9700\u6c42\u3002<\/p>\n

\u53cd\u7f16\u8bd1IPA\u6587\u4ef6\u662f\u4e00\u9879\u590d\u6742\u7684\u64cd\u4f5c\uff0c\u9700\u8981\u4e00\u4e9b\u4e13\u4e1a\u7684\u5de5\u5177\u548c\u6280\u672f\uff0c\u4f8b\u5982class-dump\u548cios-class-guard\u3002class-dump\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u751f\u6210\u5e94\u7528\u7a0b\u5e8f\u7684\u5934\u6587\u4ef6\uff0c\u63d0\u4f9b\u4e86\u7c7b\u548c\u65b9\u6cd5\u7684\u58f0\u660e\u4fe1\u606f\u3002ios-class-guard\u662f\u53e6\u4e00\u4e2a\u5f00\u6e90\u5de5\u5177\uff0c\u53ef\u4ee5\u5c06\u76ee\u6807\u6587\u4ef6\u7684\u6c47\u7f16\u4ee3\u7801\u8f6c\u6362\u4e3a\u6613\u4e8e\u7406\u89e3\u7684\u6e90\u4ee3\u7801\u3002<\/p>\n

\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u53cd\u7f16\u8bd1\u548c\u4fee\u6539\u4ed6\u4eba\u7684IPA\u6587\u4ef6\u53ef\u80fd\u6d89\u53ca\u5230\u6cd5\u5f8b\u95ee\u9898\u548c\u4f26\u7406\u95ee\u9898\uff0c\u9700\u8981\u9075\u5b88\u76f8\u5173\u6cd5\u5f8b\u6cd5\u89c4\u548c\u9053\u5fb7\u51c6\u5219\u3002\u53cd\u7f16\u8bd1\u548c\u4fee\u6539\u81ea\u5df1\u7684IPA\u6587\u4ef6\u53ef\u7528\u4e8e\u5b66\u4e60\u548c\u7814\u7a76\u76ee\u7684\uff0c\u4f46\u5728\u8fdb\u884c\u7528\u547d\u4ee4\u884c\u6253\u5305ipa\u7684\u4e00\u4e9b\u5751<\/a>\u5546\u4e1a\u4f7f\u7528\u4e4b\u524d\u9700\u8981\u4e0e\u5f00\u53d1\u8005\u548c\u76f8\u5173\u65b9\u9762\u8fdb\u884c\u6c9f\u901a\u548c\u6388\u6743\u3002<\/p>\n

\u5e0c\u671b\u8fd9\u4e2a\u7b80\u5355\u7684\u53cd\u7f16\u8bd1IPA\u6587\u4ef6\u7684\u6559\u7a0b\u80fd\u5e2e\u52a9\u5230\u60a8\uff0c\u5982\u679c\u60a8\u6709\u4efb\u4f55\u95ee\u9898\u6216\u8fdb\u4e00\u6b65\u7684\u9700\u6c42\uff0c\u8bf7\u968f\u65f6\u518d\u6b21\u8054\u7cfb\u6211\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

IPA\u6587\u4ef6\u662fiOS\u5e94\u7528\u7a0b\u5e8f\u7684\u5b89\u88c5\u5305\u6587\u4ef6\uff0c\u901a\u5e38\u5305\u542b\u4e86\u5e94\u7528\u7a0b\u5e8f\u7684\u4e8c\u8fdb\u5236\u4ee3\u7801\u3001\u8d44\u6e90\u6587\u4ef6\u3001\u914d\u7f6e\u6587\u4ef6\u7b49\u3002\u53cd\u7f16\u8bd1IPA\u6587\u4ef6\u53ef\u4ee5\u5c06\u5176\u8f6c\u6362\u4e3a\u6613\u4e8e\u9605\u8bfb\u548c\u7406\u89e3\u7684\u6e90\u4ee3\u7801\u6587\u4ef6\uff0c\u4ee5\u4fbf\u8fdb\u884c\u5206\u6790\u3001\u4fee\u6539\u6216\u518d\u5f00\u53d1\u3002\u53cd\u7f16\u8bd1IPA\u6587\u4ef6\u7684<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[10725,6970,2503,16,3399],"topic":[],"class_list":["post-7916","post","type-post","status-publish","format-standard","hentry","category-appkf","tag-ionic3ipa","tag-iosipa","tag-2503","tag-16","tag-3399"],"_links":{"self":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/7916","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/comments?post=7916"}],"version-history":[{"count":0,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/7916\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/media?parent=7916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/categories?post=7916"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/tags?post=7916"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/topic?post=7916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}