{"id":21,"date":"2021-04-30T09:26:48","date_gmt":"2021-04-30T14:26:48","guid":{"rendered":"http:\/\/www.christianleon.pro\/blog\/?p=21"},"modified":"2021-04-30T09:26:48","modified_gmt":"2021-04-30T14:26:48","slug":"ver-tiempo-de-compilacion-en-xcode","status":"publish","type":"post","link":"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/","title":{"rendered":"Ver tiempo de compilaci\u00f3n en XCode"},"content":{"rendered":"\n<p>Para poder ver el tiempo de compilaci\u00f3n de un proyecto de XCode, primero hay que cerrar XCode. Luego se introduce el siguiente comando desde la app <strong>Terminal<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>defaults write com.apple.dt.Xcode ShowBuildOperationDuration -bool YES<\/code><\/pre>\n\n\n\n<p>Una vez hecho esto, se pueden ver los tiempos de build o construcci\u00f3n desde la <strong>Toolbar<\/strong>. Para ello solo compilamos, pero no ejecutamos. Esto se puede hacer presionando <strong>Command + B<\/strong> o bien desde el men\u00fa <strong>Product>Build<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"583\" height=\"67\" src=\"http:\/\/www.christianleon.pro\/blog\/wp-content\/uploads\/2021\/04\/image-1.png\" alt=\"\" class=\"wp-image-23\"\/><\/figure>\n\n\n\n<p>Otra forma de obtener los tiempos de compilaci\u00f3n es ir a <strong>Product>Perform Action>Timing Summary<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"577\" height=\"517\" src=\"http:\/\/www.christianleon.pro\/blog\/wp-content\/uploads\/2021\/04\/image-2.png\" alt=\"\" class=\"wp-image-25\"\/><\/figure>\n\n\n\n<p>Luego hay que dar clic en el <strong>Report Navigator<\/strong> o presionar <strong>Command + 9<\/strong> para abrirlo directamente y luego seleccionar la \u00faltima build. Seleccionamos <strong>Recent<\/strong> y nos desplazamos al final de la lista para ver el <strong>Build Timing Summary<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1653\" height=\"210\" src=\"http:\/\/www.christianleon.pro\/blog\/wp-content\/uploads\/2021\/04\/image-3.png\" alt=\"\" class=\"wp-image-26\"\/><\/figure>\n\n\n\n<p>Esta opci\u00f3n nos dar\u00e1 los tiempos cada vez que hagamos cambios en el proyecto o si limpiamos el proyecto y hacemos una build desde cero para poder ver todos los tiempos de compilaci\u00f3n.<\/p>\n\n\n\n<p>Para optimizar tiempos de compilaci\u00f3n les recomiendo dar un vistazo al v\u00eddeo <a href=\"https:\/\/developer.apple.com\/videos\/play\/wwdc2018\/408\/\">Building Faster with XCode de la WWDC 2018<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Para poder ver el tiempo de compilaci\u00f3n de un proyecto de XCode, primero hay que cerrar XCode. Luego se introduce el siguiente comando desde la app Terminal: Una vez hecho esto, se pueden ver los tiempos de build o construcci\u00f3n desde la Toolbar. Para ello solo compilamos, pero no ejecutamos. Esto se puede hacer presionando [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,5],"tags":[],"class_list":["post-21","post","type-post","status-publish","format-standard","hentry","category-ios","category-xcode"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Ver tiempo de compilaci\u00f3n en XCode - Christian Le\u00f3n Pro<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/\" \/>\n<meta property=\"og:locale\" content=\"es_MX\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ver tiempo de compilaci\u00f3n en XCode - Christian Le\u00f3n Pro\" \/>\n<meta property=\"og:description\" content=\"Para poder ver el tiempo de compilaci\u00f3n de un proyecto de XCode, primero hay que cerrar XCode. Luego se introduce el siguiente comando desde la app Terminal: Una vez hecho esto, se pueden ver los tiempos de build o construcci\u00f3n desde la Toolbar. Para ello solo compilamos, pero no ejecutamos. Esto se puede hacer presionando [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/\" \/>\n<meta property=\"og:site_name\" content=\"Christian Le\u00f3n Pro\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-30T14:26:48+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.christianleon.pro\/blog\/wp-content\/uploads\/2021\/04\/image-1.png\" \/>\n<meta name=\"author\" content=\"Christian Le\u00f3n\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Christian Le\u00f3n\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/\"},\"author\":{\"name\":\"Christian Le\u00f3n\",\"@id\":\"https:\/\/www.christianleon.pro\/blog\/#\/schema\/person\/c8d83df9e01bef7c7e625b4b0e66d947\"},\"headline\":\"Ver tiempo de compilaci\u00f3n en XCode\",\"datePublished\":\"2021-04-30T14:26:48+00:00\",\"dateModified\":\"2021-04-30T14:26:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/\"},\"wordCount\":183,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.christianleon.pro\/blog\/#\/schema\/person\/c8d83df9e01bef7c7e625b4b0e66d947\"},\"image\":{\"@id\":\"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.christianleon.pro\/blog\/wp-content\/uploads\/2021\/04\/image-1.png\",\"articleSection\":[\"iOS\",\"XCode\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/\",\"url\":\"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/\",\"name\":\"Ver tiempo de compilaci\u00f3n en XCode - Christian Le\u00f3n Pro\",\"isPartOf\":{\"@id\":\"https:\/\/www.christianleon.pro\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.christianleon.pro\/blog\/wp-content\/uploads\/2021\/04\/image-1.png\",\"datePublished\":\"2021-04-30T14:26:48+00:00\",\"dateModified\":\"2021-04-30T14:26:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/#primaryimage\",\"url\":\"https:\/\/www.christianleon.pro\/blog\/wp-content\/uploads\/2021\/04\/image-1.png\",\"contentUrl\":\"https:\/\/www.christianleon.pro\/blog\/wp-content\/uploads\/2021\/04\/image-1.png\",\"width\":583,\"height\":67},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Inicio\",\"item\":\"https:\/\/www.christianleon.pro\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ver tiempo de compilaci\u00f3n en XCode\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.christianleon.pro\/blog\/#website\",\"url\":\"https:\/\/www.christianleon.pro\/blog\/\",\"name\":\"CL Blog\",\"description\":\"Desarrollo en Swift\",\"publisher\":{\"@id\":\"https:\/\/www.christianleon.pro\/blog\/#\/schema\/person\/c8d83df9e01bef7c7e625b4b0e66d947\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.christianleon.pro\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.christianleon.pro\/blog\/#\/schema\/person\/c8d83df9e01bef7c7e625b4b0e66d947\",\"name\":\"Christian Le\u00f3n\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/www.christianleon.pro\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cab6b4de43f27280baeadb7344ccc645?s=96&d=retro&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cab6b4de43f27280baeadb7344ccc645?s=96&d=retro&r=g\",\"caption\":\"Christian Le\u00f3n\"},\"logo\":{\"@id\":\"https:\/\/www.christianleon.pro\/blog\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/www.christianleon.pro\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Ver tiempo de compilaci\u00f3n en XCode - Christian Le\u00f3n Pro","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/","og_locale":"es_MX","og_type":"article","og_title":"Ver tiempo de compilaci\u00f3n en XCode - Christian Le\u00f3n Pro","og_description":"Para poder ver el tiempo de compilaci\u00f3n de un proyecto de XCode, primero hay que cerrar XCode. Luego se introduce el siguiente comando desde la app Terminal: Una vez hecho esto, se pueden ver los tiempos de build o construcci\u00f3n desde la Toolbar. Para ello solo compilamos, pero no ejecutamos. Esto se puede hacer presionando [&hellip;]","og_url":"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/","og_site_name":"Christian Le\u00f3n Pro","article_published_time":"2021-04-30T14:26:48+00:00","og_image":[{"url":"http:\/\/www.christianleon.pro\/blog\/wp-content\/uploads\/2021\/04\/image-1.png","type":"","width":"","height":""}],"author":"Christian Le\u00f3n","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Christian Le\u00f3n","Tiempo de lectura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/#article","isPartOf":{"@id":"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/"},"author":{"name":"Christian Le\u00f3n","@id":"https:\/\/www.christianleon.pro\/blog\/#\/schema\/person\/c8d83df9e01bef7c7e625b4b0e66d947"},"headline":"Ver tiempo de compilaci\u00f3n en XCode","datePublished":"2021-04-30T14:26:48+00:00","dateModified":"2021-04-30T14:26:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/"},"wordCount":183,"commentCount":0,"publisher":{"@id":"https:\/\/www.christianleon.pro\/blog\/#\/schema\/person\/c8d83df9e01bef7c7e625b4b0e66d947"},"image":{"@id":"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/#primaryimage"},"thumbnailUrl":"http:\/\/www.christianleon.pro\/blog\/wp-content\/uploads\/2021\/04\/image-1.png","articleSection":["iOS","XCode"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/","url":"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/","name":"Ver tiempo de compilaci\u00f3n en XCode - Christian Le\u00f3n Pro","isPartOf":{"@id":"https:\/\/www.christianleon.pro\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/#primaryimage"},"image":{"@id":"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/#primaryimage"},"thumbnailUrl":"http:\/\/www.christianleon.pro\/blog\/wp-content\/uploads\/2021\/04\/image-1.png","datePublished":"2021-04-30T14:26:48+00:00","dateModified":"2021-04-30T14:26:48+00:00","breadcrumb":{"@id":"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/#primaryimage","url":"https:\/\/www.christianleon.pro\/blog\/wp-content\/uploads\/2021\/04\/image-1.png","contentUrl":"https:\/\/www.christianleon.pro\/blog\/wp-content\/uploads\/2021\/04\/image-1.png","width":583,"height":67},{"@type":"BreadcrumbList","@id":"https:\/\/www.christianleon.pro\/blog\/ver-tiempo-de-compilacion-en-xcode\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Inicio","item":"https:\/\/www.christianleon.pro\/blog\/"},{"@type":"ListItem","position":2,"name":"Ver tiempo de compilaci\u00f3n en XCode"}]},{"@type":"WebSite","@id":"https:\/\/www.christianleon.pro\/blog\/#website","url":"https:\/\/www.christianleon.pro\/blog\/","name":"CL Blog","description":"Desarrollo en Swift","publisher":{"@id":"https:\/\/www.christianleon.pro\/blog\/#\/schema\/person\/c8d83df9e01bef7c7e625b4b0e66d947"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.christianleon.pro\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":["Person","Organization"],"@id":"https:\/\/www.christianleon.pro\/blog\/#\/schema\/person\/c8d83df9e01bef7c7e625b4b0e66d947","name":"Christian Le\u00f3n","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.christianleon.pro\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cab6b4de43f27280baeadb7344ccc645?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cab6b4de43f27280baeadb7344ccc645?s=96&d=retro&r=g","caption":"Christian Le\u00f3n"},"logo":{"@id":"https:\/\/www.christianleon.pro\/blog\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/www.christianleon.pro\/blog"]}]}},"_links":{"self":[{"href":"https:\/\/www.christianleon.pro\/blog\/wp-json\/wp\/v2\/posts\/21","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.christianleon.pro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.christianleon.pro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.christianleon.pro\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.christianleon.pro\/blog\/wp-json\/wp\/v2\/comments?post=21"}],"version-history":[{"count":4,"href":"https:\/\/www.christianleon.pro\/blog\/wp-json\/wp\/v2\/posts\/21\/revisions"}],"predecessor-version":[{"id":27,"href":"https:\/\/www.christianleon.pro\/blog\/wp-json\/wp\/v2\/posts\/21\/revisions\/27"}],"wp:attachment":[{"href":"https:\/\/www.christianleon.pro\/blog\/wp-json\/wp\/v2\/media?parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.christianleon.pro\/blog\/wp-json\/wp\/v2\/categories?post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.christianleon.pro\/blog\/wp-json\/wp\/v2\/tags?post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}