开发者

xcode 4 editing multiple targets duplicates changes

I have a project setup with two separate projects in two separate schemes, the only difference between the two targets is that they have different bundle ids and different icons. However whenever I change the second target and build it the changes are c开发者_运维百科opied to the first target. I'm not sure what's going on, the only thing I could think of is they have the same product name so the app executable name is the same. Does someone know if this is causing it and if so how could i fix, or is something else going on?

Thanks


Presuming that in your new target have you specified a new plist file and that the target points to this plist file and as you pointed out you also changed the product name in the build settings, the only thing I can think of at this point is that your schemes are both pointing to the same executable. Open both schemes in the scheme editor and look at what the executable field is pointing to. They may both be pointing to the same thing.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜