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

c++ - Linked List error when inserting for the last time -

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

tsql - Pivot with Temp Table (definition for column must include data type) -- SQL Server 2008 -