{"id":115,"date":"2019-05-14T10:58:26","date_gmt":"2019-05-14T02:58:26","guid":{"rendered":"https:\/\/www.hlzhy.com\/?p=115"},"modified":"2019-06-12T10:17:29","modified_gmt":"2019-06-12T02:17:29","slug":"xcode10-2-1-%e6%8a%a5%e9%94%99no-suitable-image-found-did-find-usr-lib-libauto-dylib-mach-o-but-not-built-for-ios","status":"publish","type":"post","link":"https:\/\/www.hlzhy.com\/?p=115","title":{"rendered":"Xcode10.2.1 \u62a5\u9519\u201cno suitable image found.  Did find: \t\/usr\/lib\/libauto.dylib: mach-o, but not built for iOS\u201d"},"content":{"rendered":"\n<p>\u5728Xcode10.2.1\u4e2d\u8fd0\u884ciOS 9.3\u53ca\u66f4\u65e9\u7248\u672c\u7684\u6a21\u62df\u5668\u53ef\u80fd\u65e0\u6cd5\u542f\u52a8Swift\u5e94\u7528\u7a0b\u5e8f\u6216\u5305\u542bSwift\u4ee3\u7801\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u62a5\u9519\u201cReason: no suitable image found.  Did find:     \/usr\/lib\/libauto.dylib: mach-o, but not built for iOS \u201d<\/p>\n\n\n\n<p><strong>\u89e3\u51b3\u65b9\u6cd5\uff1a<\/strong>\u5728\u7ec8\u7aef\u4e2d\u4e3a\u76f8\u5173\u7248\u672c\u7684iOS\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mkdir '\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 9.3.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/swift'<\/code><\/pre>\n\n\n\n<p class=\"has-small-font-size\"><em>\u6ce8\u610f\uff1a\u8bf7\u5c06\u201ciOS 9.3\u201d\u66ff\u6362\u6210\u4f60\u9700\u8981\u7684iOS\u7248\u672c<\/em><\/p>\n\n\n\n<p>\u53c2\u8003\u94fe\u63a5\uff1a<a href=\"https:\/\/developer.apple.com\/documentation\/xcode_release_notes\/xcode_10_2_1_release_notes?language=objc\">Xcode 10.2.1 Release Notes<\/a><\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>\u5728Xcode10.2.1\u4e2d\u8fd0\u884ciOS 9.3\u53ca\u66f4\u65e9\u7248\u672c\u7684\u6a21\u62df\u5668\u53ef\u80fd\u65e0\u6cd5\u542f\u52a8Swift\u5e94\u7528\u7a0b\u5e8f\u6216\u5305\u542bSwift\u4ee3\u7801\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u62a5\u9519\u201cReaso &hellip; <a href=\"https:\/\/www.hlzhy.com\/?p=115\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb <span class=\"screen-reader-text\">Xcode10.2.1 \u62a5\u9519\u201cno suitable image found.  Did find: \t\/usr\/lib\/libauto.dylib: mach-o, but not built for iOS\u201d<\/span><\/a><!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[4,18],"_links":{"self":[{"href":"https:\/\/www.hlzhy.com\/index.php?rest_route=\/wp\/v2\/posts\/115"}],"collection":[{"href":"https:\/\/www.hlzhy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hlzhy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hlzhy.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hlzhy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=115"}],"version-history":[{"count":6,"href":"https:\/\/www.hlzhy.com\/index.php?rest_route=\/wp\/v2\/posts\/115\/revisions"}],"predecessor-version":[{"id":125,"href":"https:\/\/www.hlzhy.com\/index.php?rest_route=\/wp\/v2\/posts\/115\/revisions\/125"}],"wp:attachment":[{"href":"https:\/\/www.hlzhy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hlzhy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hlzhy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}