CocoaPods/CocoaPods — Issue #63: Support multiple platforms in one workspace
Author: alloy
Created: 2011-11-14 13:15:58+00:00
State: open

Need to extract TODOs from chat:

```
kommen: alloy: do you have any idea how i should tackle this problem: i have one workspace with 3 projects: the Pods project, an iOS project and a Mac OS project.
kommen: Pods puts it's build products into "Debug-iphoneos" so the ios project can find it
kommen: but the Mac os target looks only in "Debug"
alloy: Hm, I did not yet have to deal with this… Also, it can well be that some source files will be included in a Pods project if the Podfile says that the project is for :ios, which might not be wanted for a :osx project.
alloy: So, I think a few things will have to happen
alloy: First of all you should be able to tell `pod install` for which platform you’re building a Pods project
alloy: Then I think we’ll have to build separate Pods projects for both platforms, it’s the only way I can think of to ensure that you get precisely the source files that you need.
kommen: i see what you mean
alloy: But for now, as a workaround, I think having two workspaces in different directories is the way to go
kommen: i just wanted to write that :)
kommen: i guess i've a very special case here
alloy: Yeah, sad thing is that we’ll have to encounter all the shitty issues first ourselves :)
alloy: Well, I think we should be able to cater for it
alloy: * pass platform to `pod install` instead of in the Podfile
alloy: * create Pods project with different name and library names
alloy: Then you can have it all in one workspace
alloy: So, for instance, if you don’t specify the platform in the Podfile, but specify it like: `pod install --platform ios`, then the Pods dir, project, and targets, should be named ‘Pods-ios’, or so
kommen: right
```