{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4137","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4137/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4137/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4137/events","html_url":"https://github.com/CocoaPods/CocoaPods/pull/4137","id":105273652,"number":4137,"title":"[Installer] Always Link the AggregateTarget as static","user":{"login":"mrackwitz","id":1389011,"avatar_url":"https://avatars.githubusercontent.com/u/1389011?v=3","gravatar_id":"","url":"https://api.github.com/users/mrackwitz","html_url":"https://github.com/mrackwitz","followers_url":"https://api.github.com/users/mrackwitz/followers","following_url":"https://api.github.com/users/mrackwitz/following{/other_user}","gists_url":"https://api.github.com/users/mrackwitz/gists{/gist_id}","starred_url":"https://api.github.com/users/mrackwitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrackwitz/subscriptions","organizations_url":"https://api.github.com/users/mrackwitz/orgs","repos_url":"https://api.github.com/users/mrackwitz/repos","events_url":"https://api.github.com/users/mrackwitz/events{/privacy}","received_events_url":"https://api.github.com/users/mrackwitz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/labels/t1:enhancement","name":"t1:enhancement","color":"02AFE1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-07T22:38:30Z","updated_at":"2015-09-24T18:09:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/pulls/4137","html_url":"https://github.com/CocoaPods/CocoaPods/pull/4137","diff_url":"https://github.com/CocoaPods/CocoaPods/pull/4137.diff","patch_url":"https://github.com/CocoaPods/CocoaPods/pull/4137.patch"},"body":"The AggregateTarget is linked to the user target, so that Xcode can find implicit dependencies. As it contains no symbols a user target can reference to, it was safe to weak link it only and not copy it in the app bundle as it would never loaded. By static linking it instead, we can achieve the same and after link-time there will be no trace left. By avoiding weak linking the aggregate target, we can fix some issues with bitcode and AppStore deployment validation, but that needs larger testing and validation with real-world projects.\r\n\r\n### Note\r\n\r\nThere could be one alternative way to fix that all together and make explicit target dependencies happen: when the Pods.xcodeproj and the aggregate targets are generated, the existing UUID of the prior project need to be picked up or they need to be generated deterministicly, so they remain the same."},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/143007599","html_url":"https://github.com/CocoaPods/CocoaPods/pull/4137#issuecomment-143007599","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4137","id":143007599,"user":{"login":"mrackwitz","id":1389011,"avatar_url":"https://avatars.githubusercontent.com/u/1389011?v=3","gravatar_id":"","url":"https://api.github.com/users/mrackwitz","html_url":"https://github.com/mrackwitz","followers_url":"https://api.github.com/users/mrackwitz/followers","following_url":"https://api.github.com/users/mrackwitz/following{/other_user}","gists_url":"https://api.github.com/users/mrackwitz/gists{/gist_id}","starred_url":"https://api.github.com/users/mrackwitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrackwitz/subscriptions","organizations_url":"https://api.github.com/users/mrackwitz/orgs","repos_url":"https://api.github.com/users/mrackwitz/repos","events_url":"https://api.github.com/users/mrackwitz/events{/privacy}","received_events_url":"https://api.github.com/users/mrackwitz/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T18:09:21Z","updated_at":"2015-09-24T18:09:21Z","body":"Argh, let me fix that."}}