{"id":8636,"date":"2014-04-01T16:59:12","date_gmt":"2014-04-01T20:59:12","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=8636"},"modified":"2014-04-01T16:59:12","modified_gmt":"2014-04-01T20:59:12","slug":"quicktime-banned-from-mac-app-store","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2014\/04\/01\/quicktime-banned-from-mac-app-store\/","title":{"rendered":"QuickTime Banned From Mac App Store"},"content":{"rendered":"<p><a href=\"https:\/\/twitter.com\/drewmccormack\/status\/450575545378828288\">Drew McCormack<\/a> reports that he received the following error message in Xcode:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/drewmccormack\/status\/450575545378828288\"><p>Deprecated API Usage. Apple no longer accepts submissions of apps that use QuickTime APIs.<\/p><\/blockquote>\n<p>Apple has long had a <a href=\"https:\/\/developer.apple.com\/appstore\/mac\/resources\/approval\/guidelines.html\">guideline<\/a> stating that apps that use deprecated technologies will be rejected. QTKit classes such as <a href=\"https:\/\/developer.apple.com\/library\/mac\/documentation\/quicktime\/reference\/QTKitFramework\/Classes\/QTMovieView_Class\/Reference\/Reference.html#\/\/apple_ref\/doc\/uid\/TP40003800\">QTMovieView<\/a> were only deprecated  in October 2013 with the release of Mac OS X 10.9. This is probably because the replacement, AVFoundation, did not initially <a href=\"http:\/\/mjtsai.com\/blog\/2013\/06\/17\/av-foundation-and-the-void\/\">support<\/a> much of what was possible with QuickTime. For example, its <code>QTMovieView<\/code> equivalent, <a href=\"https:\/\/developer.apple.com\/library\/mac\/documentation\/AVKit\/Reference\/AVPlayerView_Class\/Reference\/Reference.html\">AVPlayerView<\/a> was only <a href=\"https:\/\/twitter.com\/drewmccormack\/status\/450585635498512384\">added in 10.9<\/a>. Prior to that, you had to build your own player using <a href=\"https:\/\/developer.apple.com\/library\/ios\/documentation\/AVFoundation\/Reference\/AVPlayerLayer_Class\/Reference\/Reference.html\">AVPlayerLayer<\/a>.<\/p>\n<p>I always took the guideline to mean <em>deprecated as of the OS version the app is targeting.<\/em> If, in fact, it means <em>deprecated as of the current OS version<\/em>, developers will need to choose between dropping support for older OS versions or writing extra code, i.e. implementing <code>MyPlayerView<\/code> in terms of <code>AVPlayerLayer<\/code>. The latter is not a very attractive use of time. If you&rsquo;re going to rewrite your code, you probably want to use the latest and greatest, not reinvent the <code>AVPlayerView<\/code> wheel and maintain it into the future.<\/p>\n<p>This puts developers in an artificially bad situation. Both the old and new OS versions already have the code to do what&rsquo;s needed. It&rsquo;s just put off-limits.<\/p>\n<p>The other effect of this is that, since <code>AVPlayerLayer<\/code> was added in Mac OS X 10.7, there isn&rsquo;t a good replacement for QTKit if your app targets 10.6. About 10% of my customers and 8% of <a href=\"http:\/\/update.omnigroup.com\">Omni&rsquo;s<\/a> are currently using 10.6, so you might still want to provide updates for those customers&mdash;or at least fix bugs.<\/p>","protected":false},"excerpt":{"rendered":"<p>Drew McCormack reports that he received the following error message in Xcode: Deprecated API Usage. Apple no longer accepts submissions of apps that use QuickTime APIs. Apple has long had a guideline stating that apps that use deprecated technologies will be rejected. QTKit classes such as QTMovieView were only deprecated in October 2013 with the [&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":[273,30,39,210,211,475,71,271,97],"class_list":["post-8636","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-avfoundation","tag-mac","tag-macappstore","tag-snowleopard","tag-lion","tag-mavericks","tag-programming","tag-quicktime","tag-video"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/8636","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=8636"}],"version-history":[{"count":0,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/8636\/revisions"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=8636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=8636"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=8636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}