{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3694","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3694/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3694/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3694/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3694","id":88912504,"number":3694,"title":"Correct usage of exclusive pods per target","user":{"login":"steakknife","id":224304,"avatar_url":"https://avatars.githubusercontent.com/u/224304?v=3","gravatar_id":"","url":"https://api.github.com/users/steakknife","html_url":"https://github.com/steakknife","followers_url":"https://api.github.com/users/steakknife/followers","following_url":"https://api.github.com/users/steakknife/following{/other_user}","gists_url":"https://api.github.com/users/steakknife/gists{/gist_id}","starred_url":"https://api.github.com/users/steakknife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steakknife/subscriptions","organizations_url":"https://api.github.com/users/steakknife/orgs","repos_url":"https://api.github.com/users/steakknife/repos","events_url":"https://api.github.com/users/steakknife/events{/privacy}","received_events_url":"https://api.github.com/users/steakknife/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-17T05:01:50Z","updated_at":"2015-06-18T00:37:34Z","closed_at":"2015-06-18T00:37:34Z","body":":rainbow:   (Browsed other issues like #3655, but this seems to be sufficiently different.)\r\n\r\n**Goal:** Most pods to be linked to all targets, with some additional pods to be included in the app and the testing targets.\r\n\r\n- Xcode 6.3.2\r\n- cocoapods 0.37.2\r\n\r\nOn a newly re-created Xcode project, this happens (last two warnings)\r\n\r\n### `pod install` output\r\n\r\nWhere `{{app_name}}` == SomeProjectName\r\n\r\n```shell\r\n~/Projects/{{app_name}} git:master ❯❯❯ pod install                       \r\nAnalyzing dependencies\r\nPre-downloading: `ISO8601DateFormatterValueTransformer` from `https://github.com/steakknife/ISO8601DateFormatterValueTransformer.git`, commit `b5c047a9cb9572b399892bcf010f8e1ace46f0aa`\r\nPre-downloading: `MagicalRecord` from `https://github.com/magicalpanda/MagicalRecord.git`, branch `develop`, commit `77c186ab7a993d9743a6d2dd8ff78088989f65a2`\r\nPre-downloading: `Nimble` from `https://github.com/steakknife/Nimble.git`, commit `03c0279cdd6b57765626968bab1fb4328af2c9a8`\r\nPre-downloading: `Quick` from `https://github.com/steakknife/Quick.git`, commit `ff9b2487b59003af0d246ba1834dc4605c45ef14`\r\nPre-downloading: `RestKit` from `https://github.com/steakknife/RestKit.git`, commit `415262bd4c57819845563d1c5e557077d11117bb`\r\nPre-downloading: `performSelector-swift` from `https://github.com/steakknife/performSelector-swift.git`, commit `bcf0bac6cd55506681faca5a5a4bc401defb79b1`\r\nDownloading dependencies\r\nInstalling AFNetworking (1.3.4)\r\nInstalling CocoaMark (0.3)\r\nInstalling ISO8601DateFormatter (0.7)\r\nInstalling ISO8601DateFormatterValueTransformer (0.6.1)\r\nInstalling MagicalRecord (2.3.0-beta.6)\r\nInstalling Nimble (0.3.1)\r\nInstalling Quick (0.2.3)\r\nInstalling RKValueTransformers (1.1.2)\r\nInstalling RestKit (0.24.1)\r\nInstalling Reveal-iOS-SDK (1.5.1)\r\nInstalling SOCKit (1.1)\r\nInstalling TransitionKit (2.1.1)\r\nInstalling hoedown (3.0.3)\r\nInstalling performSelector-swift (0.1.0)\r\nGenerating Pods project\r\nIntegrating client project\r\n\r\n[!] Please close any current Xcode sessions and use `{{app_name}}.xcworkspace` for this project from now on.\r\n\r\n[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `{{app_name}}` to `Pods/Target Support Files/Pods-{{app_name}}/Pods-{{app_name}}.debug.xcconfig` or include the `Pods/Target Support Files/Pods-{{app_name}}/Pods-{{app_name}}.debug.xcconfig` in your build configuration.\r\n\r\n[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `{{app_name}}` to `Pods/Target Support Files/Pods-{{app_name}}/Pods-{{app_name}}.release.xcconfig` or include the `Pods/Target Support Files/Pods-{{app_name}}/Pods-{{app_name}}.release.xcconfig` in your build configuration.\r\n```\r\n\r\n### Podfile\r\n\r\n```ruby\r\nsource 'https://github.com/CocoaPods/Specs.git'\r\nuse_frameworks!\r\n\r\nplatform :ios, '8.0'\r\n\r\n# --- CoreData\r\n\r\npod 'RestKit', git: 'https://github.com/steakknife/RestKit.git', branch: 'feature__fix_swift'\r\npod 'MagicalRecord/Shorthand', git: 'https://github.com/magicalpanda/MagicalRecord.git', branch: 'develop', commit: '77c186ab7a993d9743a6d2dd8ff78088989f65a2'\r\npod 'ISO8601DateFormatterValueTransformer', git: 'https://github.com/steakknife/ISO8601DateFormatterValueTransformer.git', branch: '0.6.x'\r\n\r\n# ....\r\n\r\ntarget :{{app_name}}, exclusive: true do\r\n  use_frameworks!\r\n  pod 'Reveal-iOS-SDK', configurations: ['Debug']\r\nend\r\n\r\ntarget :{{app_name}}Tests, exclusive: true do\r\n  use_frameworks!\r\n  pod 'Quick', git: 'https://github.com/steakknife/Quick.git', branch: 'swift-1.2'\r\n  pod 'Nimble', git: 'https://github.com/steakknife/Nimble.git', branch: 'swift-1.2'\r\nend\r\n```\r\n\r\nShould there some way to accomplish this using Podfile syntax, without extra workspace/project manual tweaks like an animal?\r\n"},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/112994497","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3694#issuecomment-112994497","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3694","id":112994497,"user":{"login":"steakknife","id":224304,"avatar_url":"https://avatars.githubusercontent.com/u/224304?v=3","gravatar_id":"","url":"https://api.github.com/users/steakknife","html_url":"https://github.com/steakknife","followers_url":"https://api.github.com/users/steakknife/followers","following_url":"https://api.github.com/users/steakknife/following{/other_user}","gists_url":"https://api.github.com/users/steakknife/gists{/gist_id}","starred_url":"https://api.github.com/users/steakknife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steakknife/subscriptions","organizations_url":"https://api.github.com/users/steakknife/orgs","repos_url":"https://api.github.com/users/steakknife/repos","events_url":"https://api.github.com/users/steakknife/events{/privacy}","received_events_url":"https://api.github.com/users/steakknife/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T00:37:34Z","updated_at":"2015-06-18T00:37:34Z","body":"Using the following `Podfile` also results in the same warnings, because this seems to make logical sense and the `Pods-{{app_name}}-environment.h` and `Pods-{{app_name}}Tests-environment.h` look good.   The app works and tests work, so this appears to be the right answer:\r\n\r\n```ruby\r\nsource 'https://github.com/CocoaPods/Specs.git'\r\nuse_frameworks!\r\n\r\nplatform :ios, '8.0'\r\n\r\n# --- CoreData\r\n\r\npod 'RestKit', git: 'https://github.com/steakknife/RestKit.git', branch: 'feature__fix_swift'\r\npod 'MagicalRecord/Shorthand', git: 'https://github.com/magicalpanda/MagicalRecord.git', branch: 'develop', commit: '77c186ab7a993d9743a6d2dd8ff78088989f65a2'\r\npod 'ISO8601DateFormatterValueTransformer', git: 'https://github.com/steakknife/ISO8601DateFormatterValueTransformer.git', branch: '0.6.x'\r\n\r\n# ....\r\n\r\ntarget :{{app_name}} do\r\n  use_frameworks!\r\n  pod 'Reveal-iOS-SDK', configurations: ['Debug']\r\nend\r\n\r\ntarget :{{app_name}}Tests do\r\n  use_frameworks!\r\n  pod 'Quick', git: 'https://github.com/steakknife/Quick.git', branch: 'swift-1.2'\r\n  pod 'Nimble', git: 'https://github.com/steakknife/Nimble.git', branch: 'swift-1.2'\r\nend\r\n```"}}