{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/6028","repository_url":"https://api.github.com/repos/CocoaPods/CocoaPods","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/6028/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/6028/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/6028/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/6028","id":182532691,"number":6028,"title":"REGRESSION: Using Framework target for dynamic libs alongside static target","user":{"login":"flovilmart","id":364568,"avatar_url":"https://avatars.githubusercontent.com/u/364568?v=3","gravatar_id":"","url":"https://api.github.com/users/flovilmart","html_url":"https://github.com/flovilmart","followers_url":"https://api.github.com/users/flovilmart/followers","following_url":"https://api.github.com/users/flovilmart/following{/other_user}","gists_url":"https://api.github.com/users/flovilmart/gists{/gist_id}","starred_url":"https://api.github.com/users/flovilmart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flovilmart/subscriptions","organizations_url":"https://api.github.com/users/flovilmart/orgs","repos_url":"https://api.github.com/users/flovilmart/repos","events_url":"https://api.github.com/users/flovilmart/events{/privacy}","received_events_url":"https://api.github.com/users/flovilmart/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/labels/frameworks","name":"frameworks","color":"E11D21"},{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/labels/t3:discussion","name":"t3:discussion","color":"E10288"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":26,"created_at":"2016-10-12T13:57:02Z","updated_at":"2016-10-13T22:08:27Z","closed_at":null,"body":"* [X] I've read and understood the [*CONTRIBUTING guidelines and have done my best effort to follow](https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md).\r\n\r\n# Report\r\n\r\n## What did you do?\r\n\r\nWith CocoaPods v1.0.1, we use an App target and a Framework target. \r\nFor historical reasons, we *need* to have static dependencies for the app target and we use the framework target for the Swift based frameworks. This is a workaround that I recently setup in order for us to have both `use_frameworks!` and not on the same project.\r\n\r\nPlease see demo project [here](https://github.com/flovilmart/CPDemo): \r\n\r\nWhen updating to CocoaPods v1.1.0.rc.3, this behaviour was broken, and now running `pod install`  aborts with the following message:\r\n\r\n<img width=\"566\" alt=\"capture d ecran 2016-10-11 a 11 03 30\" src=\"https://cloud.githubusercontent.com/assets/364568/19312259/a2dd2bc2-905f-11e6-9f64-dd5a21684dbf.png\">\r\n\r\n## What did you expect to happen?\r\n\r\nThe changes in 1.1.0 should be backward compatible, or at least, make sure the 'hack' is still effective.\r\nFramework targets (as dependencies of the app target) should not be blocked from building.\r\n\r\n## What happened instead?\r\n\r\nCocoaPods prevents installation of the dependencies as it's strictly enforcing that all targets in the project should either be `use_frameworks!` or not.\r\n\r\n## CocoaPods Environment\r\n\r\n### Stack\r\n\r\n```\r\n   CocoaPods : 1.1.0.rc.3\r\n        Ruby : ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]\r\n    RubyGems : 2.5.1\r\n        Host : Mac OS X 10.12 (16A320)\r\n       Xcode : 8.0 (8A218a)\r\n         Git : git version 2.5.0\r\nRuby lib dir : /Users/florent/.rvm/rubies/ruby-2.3.0/lib\r\nRepositories : ampme - git@github.com:AmpMe/ampme-podspecs.git @ 8459bcd86da9e3436940e86842405f6b31b8a28d\r\n               master - https://github.com/CocoaPods/Specs.git @ 43398c1104bc10866505e74e6e3b09201c78be47\r\n               mirego - git@github.com:mirego/MCPodSpecs.git @ e54518d6119d2c915dda85a357d37c3346c2559f\r\n```\r\n\r\n### Installation Source\r\n\r\n```\r\nExecutable Path: /Users/florent/.rvm/gems/ruby-2.3.0/bin/pod\r\n```\r\n\r\n### Plugins\r\n\r\n```\r\ncocoapods-deintegrate : 1.0.1\r\ncocoapods-plugins     : 1.0.0\r\ncocoapods-search      : 1.0.0\r\ncocoapods-stats       : 1.0.0\r\ncocoapods-trunk       : 1.1.0.beta.1\r\ncocoapods-try         : 1.1.0\r\n```\r\n\r\n## Project that demonstrates the issue\r\n\r\nhttps://github.com/flovilmart/CPDemo"},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/253653217","html_url":"https://github.com/CocoaPods/CocoaPods/issues/6028#issuecomment-253653217","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/6028","id":253653217,"user":{"login":"k06a","id":702124,"avatar_url":"https://avatars.githubusercontent.com/u/702124?v=3","gravatar_id":"","url":"https://api.github.com/users/k06a","html_url":"https://github.com/k06a","followers_url":"https://api.github.com/users/k06a/followers","following_url":"https://api.github.com/users/k06a/following{/other_user}","gists_url":"https://api.github.com/users/k06a/gists{/gist_id}","starred_url":"https://api.github.com/users/k06a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k06a/subscriptions","organizations_url":"https://api.github.com/users/k06a/orgs","repos_url":"https://api.github.com/users/k06a/repos","events_url":"https://api.github.com/users/k06a/events{/privacy}","received_events_url":"https://api.github.com/users/k06a/received_events","type":"User","site_admin":false},"created_at":"2016-10-13T22:08:27Z","updated_at":"2016-10-13T22:08:27Z","body":"@flovilmart please tell how to use this plugin in podspec?"}}
{"actor":{"display_login":"k06a"}}