ios - Different App Icons based on Bundle ID in Build Phases->Run Script -


i had idea have both app store version of application , development version of application on phone. have accomplished changing bundle id. curious if there way write script determine bundle id is, , change app icon based on id is. ideas on how go this? far have script:

bundle_id=$(/usr/libexec/plistbuddy -c "print :cfbundleidentifier" "${build_root}/${infoplist_path}") normal_id="com.appname" if [bundle_id != normal_id];     // set testing app icon else     // use normal app icon fi 

you're looking this: http://nilsou.com/blog/2013/07/29/how-to-have-two-versions-of-the-same-app-on-your-device/


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -