{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/546","labels_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/546/labels{/name}","comments_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/546/comments","events_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/546/events","html_url":"https://github.com/facebook/AsyncDisplayKit/issues/546","id":93860262,"number":546,"title":"Static library copy headers build phase is incorrect","user":{"login":"JonasGessner","id":1156152,"avatar_url":"https://avatars.githubusercontent.com/u/1156152?v=3","gravatar_id":"","url":"https://api.github.com/users/JonasGessner","html_url":"https://github.com/JonasGessner","followers_url":"https://api.github.com/users/JonasGessner/followers","following_url":"https://api.github.com/users/JonasGessner/following{/other_user}","gists_url":"https://api.github.com/users/JonasGessner/gists{/gist_id}","starred_url":"https://api.github.com/users/JonasGessner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonasGessner/subscriptions","organizations_url":"https://api.github.com/users/JonasGessner/orgs","repos_url":"https://api.github.com/users/JonasGessner/repos","events_url":"https://api.github.com/users/JonasGessner/events{/privacy}","received_events_url":"https://api.github.com/users/JonasGessner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-08T18:36:40Z","updated_at":"2015-11-30T11:28:02Z","closed_at":"2015-11-28T23:39:10Z","body":"The static library target has a \"Copy Headers\" build phase. This won't work when archiving and the docs for creating a static library explicitly advise against using a \"Copy Headers\" build phase in a static library (it is meant for frameworks). A \"Copy Files\" build phase should be used instead.\r\n\r\nhttps://developer.apple.com/library/ios/technotes/iOSStaticLibraries/Articles/creating.html\r\n\r\n\"If your library target has a “Copy Headers” build phase, you should delete it; copy headers build phases do not work correctly with static library targets when performing the “Archive” action in Xcode.\"\r\n\r\nIt is a very easy fix and archiving will work once the \"Copy Files\" build phase is used."},"comment":{"url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/comments/160605081","html_url":"https://github.com/facebook/AsyncDisplayKit/issues/546#issuecomment-160605081","issue_url":"https://api.github.com/repos/facebook/AsyncDisplayKit/issues/546","id":160605081,"user":{"login":"paulyoung","id":84700,"avatar_url":"https://avatars.githubusercontent.com/u/84700?v=3","gravatar_id":"","url":"https://api.github.com/users/paulyoung","html_url":"https://github.com/paulyoung","followers_url":"https://api.github.com/users/paulyoung/followers","following_url":"https://api.github.com/users/paulyoung/following{/other_user}","gists_url":"https://api.github.com/users/paulyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/paulyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulyoung/subscriptions","organizations_url":"https://api.github.com/users/paulyoung/orgs","repos_url":"https://api.github.com/users/paulyoung/repos","events_url":"https://api.github.com/users/paulyoung/events{/privacy}","received_events_url":"https://api.github.com/users/paulyoung/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T11:28:01Z","updated_at":"2015-11-30T11:28:01Z","body":"The only warnings I'm currently aware of are:\r\n\r\n- for `AsyncDisplayKit.xcodeproj` to update to recommended settings\r\n- a warning related to the C++ \"header pollution\" issue described in https://github.com/facebook/AsyncDisplayKit/pull/632#issuecomment-140858968 which @appleguy let @rcancro know about\r\n\r\nThis is using an older release of AsyncDisplayKit, so these may have been addressed since then.\r\n\r\nI'll try updating and report back soon."}}