{"id":9480,"date":"2014-09-04T14:15:23","date_gmt":"2014-09-04T18:15:23","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=9480"},"modified":"2014-09-16T13:19:13","modified_gmt":"2014-09-16T17:19:13","slug":"faux-pas-1-0-1","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2014\/09\/04\/faux-pas-1-0-1\/","title":{"rendered":"Faux Pas 1.0.1"},"content":{"rendered":"<p><a href=\"http:\/\/fauxpasapp.com\">Faux Pas<\/a>:<\/p>\n<blockquote cite=\"http:\/\/fauxpasapp.com\"><p>What the Clang Static Analyzer is to your code, Faux Pas is to your whole Xcode project.<\/p>\n<p>Faux Pas inspects your iOS or Mac app&rsquo;s Xcode project and warns about possible bugs, as well as about maintainability and style issues.<\/p><\/blockquote>\n<p>I downloaded this a while ago but hadn&rsquo;t gotten a chance to try it out until I was reminded of it by <a href=\"http:\/\/inessential.com\/2014\/08\/27\/faux_pas_for_xcode\">Brent Simmons<\/a>. I love the <a href=\"http:\/\/fauxpasapp.com\/blog\/2014\/introducing-faux-pas\/\">idea<\/a>, but when I ran it on all my projects it didn&rsquo;t help much. It recommended that I use <tt>GCC_PREPROCESSOR_DEFINITIONS<\/tt> rather than <tt>OTHER_CFLAGS<\/tt> and <tt>-D<\/tt>, which seems like a good suggestion. The other times it flagged were either debatable style issues or just plain wrong (e.g. telling me that my <tt>.app<\/tt> and <tt>.xctest<\/tt> bundles should be added to version control).<\/p>\n<p>I guess the bottom line is that my projects were in OK shape to begin with. I can see this tool being more useful for people working on teams or with code that they inherited.<\/p>\n<p>Update (2014-09-16): The problem with telling me that I should add my build products to version control is fixed in Faux Pas 1.1.<\/p>","protected":false},"excerpt":{"rendered":"<p>Faux Pas: What the Clang Static Analyzer is to your code, Faux Pas is to your whole Xcode project. Faux Pas inspects your iOS or Mac app&rsquo;s Xcode project and warns about possible bugs, as well as about maintainability and style issues. I downloaded this a while ago but hadn&rsquo;t gotten a chance to try [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[75,988,31,30,32,71,226],"class_list":["post-9480","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-developertool","tag-faux-pas","tag-ios","tag-mac","tag-macapp","tag-programming","tag-xcode"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/9480","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=9480"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/9480\/revisions"}],"predecessor-version":[{"id":9619,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/9480\/revisions\/9619"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=9480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=9480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=9480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}