Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mikezang

macrumors 6502a
Original poster
May 22, 2010
939
41
Tokyo, Japan
I duplicated target to create lite version and I modified all "MyTarget copy" to "MyTargetLite", and I can compile it and got two app on my simulator.
I found they have the same MyProduct.app name, do I have to change Lite version to another app name? How can I do it if I have to?

Then I want to use different images and icons for two versions, How can I create different bundle folder? pls give some advise. Thank you very much!
 
I duplicated target to create lite version and I modified all "MyTarget copy" to "MyTargetLite", and I can compile it and got two app on my simulator.
I found they have the same MyProduct.app name, do I have to change Lite version to another app name? How can I do it if I have to?
You don't have to change it but it would be more confusing if you didn't. To change it, modify the Product Name in your Build Settings.

Then I want to use different images and icons for two versions, How can I create different bundle folder? pls give some advise. Thank you very much!
If by "icons" you mean "app icons", simply replace those in your target's Summary tab (see attachment for an example). If for "images" you mean "launch images", I'm not sure if those can be different. Try it, I guess.

P.S. Be sure to change your Bundle Identifier as well.
 

Attachments

  • Screen Shot 2012-11-02 at 10.26.46 AM.png
    Screen Shot 2012-11-02 at 10.26.46 AM.png
    16.5 KB · Views: 96
You don't have to change it but it would be more confusing if you didn't. To change it, modify the Product Name in your Build Settings.
I confirmed that two targets' product name is different, but I am not sure why Xcode created the same name app targets, and MyProductLite in product group is in red color, only MyProduct is there!

If by "icons" you mean "app icons", simply replace those in your target's Summary tab (see attachment for an example). If for "images" you mean "launch images", I'm not sure if those can be different. Try it, I guess.

P.S. Be sure to change your Bundle Identifier as well.
I am still not clear, do I have to use different file name for the Icon.png or Default.png? if they have to use the same name, save them in different folder is ok?

This is first time to use two targets in project, very confuse...
 
I confirmed that two targets' product name is different, but I am not sure why Xcode created the same name app targets, and MyProductLite in product group is in red color, only MyProduct is there!
If it's in red, there is other issues with how you have your new product set up. I would review your Build Settings closely to see if you can determine why.

I am still not clear, do I have to use different file name for the Icon.png or Default.png?
Why wouldn't you use different filenames? Sounds like you are just adding to your own confusion.
 
If it's in red, there is other issues with how you have your new product set up. I would review your Build Settings closely to see if you can determine why.


Why wouldn't you use different filenames? Sounds like you are just adding to your own confusion.
Well, for icons and Default images, I put them in different folder, that is ok.

But for localizable strings, what can I do? they are in ja.lproj folder, how can I use two strings file for Pro and Lite version?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.