Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Switching Icon.png depending on each environment

Switching Icon.png depending on each environment

Naoki ISHIKAWA

November 13, 2013
Tweet

More Decks by Naoki ISHIKAWA

Other Decks in Technology

Transcript

  1. 1.User-Defined Macro ͷ௥Ճ 1. (Xcode 5ͷΈ) Project ϑΝΠϧΛબ୒ޙɺϝ χϡʔ͔Β Editor->Add

    Build Setting->Add User-Defined Setting 2. User-Defined Λબ୒͠ɺҎԼͷཁྖͰهड़
  2. 3. Script ͷ௥Ճ • (Xcode 5ͷΈ) Project ϑΝΠϧΛબ୒ޙɺϝ χϡʔ͔Β Editor->Add

    Build Phase->Add Run Script Build Phase • ҎԼͷΑ͏ͳ shell script Λೖྗ cp Test/${PHASE}[email protected] ${TARGET_BUILD_DIR}/${PRODUCT_NAME}.app/[email protected] !9