{"id":8423,"date":"2014-02-05T12:10:59","date_gmt":"2014-02-05T17:10:59","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=8423"},"modified":"2014-02-05T12:10:59","modified_gmt":"2014-02-05T17:10:59","slug":"mans-special-xcode-support","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2014\/02\/05\/mans-special-xcode-support\/","title":{"rendered":"man&rsquo;s Special Xcode Support"},"content":{"rendered":"<p><a href=\"http:\/\/rentzsch.tumblr.com\/post\/75644708164\/mans-special-xcode-support\">Wolf Rentzsch<\/a>:<\/p>\n<blockquote cite=\"http:\/\/rentzsch.tumblr.com\/post\/75644708164\/mans-special-xcode-support\">\n<p>So Apple&rsquo;s <code>man<\/code> calls <code>xcselect_get_manpaths()<\/code> to dynamically add Xcode-specific paths to <code>man<\/code>'s search paths. Sneaky.<\/p>\n<p>[&#8230;]<\/p>\n<p><code>libxcselect.dylib<\/code> is key to Apple&rsquo;s technique of providing stubs binaries at standard locations that do little else but look up the actual tool locations inside <code>\/Applications\/Xcode.app<\/code> and execute them.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Wolf Rentzsch: So Apple&rsquo;s man calls xcselect_get_manpaths() to dynamically add Xcode-specific paths to man's search paths. Sneaky. [&#8230;] libxcselect.dylib is key to Apple&rsquo;s technique of providing stubs binaries at standard locations that do little else but look up the actual tool locations inside \/Applications\/Xcode.app and execute them.<\/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":[2],"tags":[75,30,750,226],"class_list":["post-8423","post","type-post","status-publish","format-standard","hentry","category-technology","tag-developertool","tag-mac","tag-man-pages","tag-xcode"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/8423","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=8423"}],"version-history":[{"count":0,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/8423\/revisions"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=8423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=8423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=8423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}