I have an iPhone app. I would like to create 2 other versions with different skins. The core code is the same. What's the best practice to handle this? Can I mark groups in the Xcode to skip those skins and use only the unmarked when开发者_运维知识库 I build it? (3 skins groups with different images)
Or can I handle this with git/svn?
Thanks!
I'd probably do that via a shell script phase, something like this (it's basically duplicating a Copy Files phase, but those can't be configured enough):
cp -r "${SRCROOT}/Resources/${SKINNAME}" "${CONFIGURATION_BUILD_DIR}/${PRODUCT_NAME}/Contents/Resources/"
You can create different targets for each of your application and use the resources only required for the current target.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论