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

モバイルプラットフォーム ビルド自動化のおはなし

モバイルプラットフォーム ビルド自動化のおはなし

Tetsuya Mori

July 31, 2014
Tweet

More Decks by Tetsuya Mori

Other Decks in Programming

Transcript

  1. XIPBNJ w େֶΛ ࣗओతʹ ଔۀޙɺϕϯνϟʔΛసʑɻ w 8FCͷϑϩϯτΤϯυɺαʔόαΠυ͕ಘҙɻ w Α͏΍͘6OJUZྺ೥νϣΠʹͳΓ·ͨ͠ɻ w

    "84ͱΩϟοΩϟ΢ϑϑ͢Δͷ΋޷͖Ͱ͢ɻ w Կނ͔ࣾ಺Πϯϑϥ΋΍Β͞Εʜ΍ͬͯ·͢ɻ w ۙࠒ͸#BDLCPOFKT ͱ$P⒎FF4DSJQUͱ4"44 ͱٔΕͯ·͢ɻ
  2. MTMBBQQT ৿ͷ͑΄Μؗ ͳΓ͖Γ ͬ͜͝ϥϯυ ύζϧςΠϧζ
 ͓͔͠ͷ͘ʹΛ ͭ͘Δͷ͡Ό ͳΓ͖Γ ΞΠεΫϦʔϜ ԰͞Μͬ͜͝

    ͳΓ͖Γ ϚϚͬ͜͝ ͓ห౰Λͭ͘Ζ͏ʂ ͑͜΄Μ ͓͔͠ͷՈΛ ͭ͘Ζ͏ʂ ϋϯόʔΨʔ ΍͞Μͬ͜͝ ඈߦػΛ ૊ΈཱͯΑ͏ʂ i18n i18n i18n i18n 8PSLJO 1SPHSFTT
  3. &YQPSU1SPKFDU w 6OJUZ&EJUPS#VJME1JQFMJOF#VJME1MBZFS  w 4DFOFϑΝΠϧύεͷ഑ྻ w ग़ྗઌͷύε w Ϗϧυର৅ϓϥοτϑΥʔϜ

    w Կ͔Φϓγϣϯ ͳ͍ͳΒ#VJME0QUJPO/POFͰ͓L BuildPipeline.BuildPlayer(
 new string[] {
 "path/to/scene1",
 "path/to/scene2",
 // ...
 },
 "path/to/output",
 BuildTarget.Android,
 BuildOptions.Development | BuildOptions.AcceptExternalModificationsToPlayer
 );
  4. #VJME1BDLBHJOH J04YDPEFCVJME w xcodebuildίϚϯυͷҾ਺͸ҎԼͷΑ͏ͳײ͡
 ؀ڥґଘ͋Δ͔΋Ͷɻ -project "path/to/Unity-iPhone.xcodeproj" \! -sdk iphoneos

    \! -target "Unity-iPhone" \! -configuration Release \! clean build \! CODE_SIGN_IDENTITY="iPhone Distribution" \! PROVISIONING_PROFILE="$ProvisioningProfileID$"
  5. #VJME1BDLBHJOH "OESPJEHSBEMF w CVJMEHSBEMF͸͜Μͳײ͡ w ଟগ(SBEMF ͔ͯ(SPPWZ ͷ஌ࣝඞཁ͔΋ w VOJUZDMBTTFTKBSΛϩʔΧϧͷ.BWFOϦϙδτϦʹ৯Θ

    ͤΔඞཁ͕͋ͬͨΓ w ಛʹ'BDFCPPL4%,GPS6OJUZ࢖͏৔߹ɺͨͿΜඞਢ w HSBEMFQSPQFSUJFT͕ඞཁͩͬͨΓ w ৭ʑ໘౗Ͱ͆͢