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

長生きするために心臓に悪いリリースはもうやめよう

tokorom
February 14, 2015

 長生きするために心臓に悪いリリースはもうやめよう

iOSのアプリをリリースする前の確認についてのまとめ

tokorom

February 14, 2015
Tweet

More Decks by tokorom

Other Decks in Technology

Transcript

  1. ϦϦʔεલͷ֬ೝํ๏·ͱΊ

    ~ ௕ੜ͖͢ΔͨΊʹ৺ଁʹѱ͍ϦϦʔε͸΋͏΍ΊΑ͏ ~
    Yuta ToKoRo

    iOS App Programer @ cookpad
    iOSΦʔϧελʔζษڧձ

    View full-size slide

  2. ॴ༑ଠ
    @tokorom

    View full-size slide

  3. AppStoreͰϦϦʔε
    •Appleͷ৹͕ࠪऴΘͬͯɺ͋ͱ͸ϘλϯΛԡͨ͠Β
    ެ։͞ΕΔஈ֊

    View full-size slide

  4. ϦϦʔεͬͯා͍
    •ReleaseϘλϯԡ͢ͱ͖ʹण໋͕ॖ·Δ
    •In App Purchase͸ͪΌΜͱಈ͍ͯΔʁ
    •ձࣾͷചΓ্͕͛ ਺ԯԁ ݮΔ͔΋ʂʂ

    View full-size slide

  5. ࠓ೔͢Δ͓࿩
    •ࣾ಺Ͱͷςετ͸͹ͬͪΓʂͰ΋࣮ࡍʹ
    AppStoreͰެ։͞ΕΔΞϓϦ͸େৎ෉ʁ
    •Internal TestersͰ࠷ऴνΣοΫ͠Α͏
    •ӡѱ͘ࣄނ͕ىͬͯ͜͠·ͬͨͱ͖ͷͨΊʹ…

    View full-size slide

  6. ࠓ೔͠ͳ͍͓࿩
    •CI΍ࣗಈԽͷ΍Γ͔ͨ
    •ςετίʔυ΍ςετࣗମͷ࣮ࢪͷ͔ͨ͠
    •External Testersʹ͍ͭͯ

    View full-size slide

  7. ΞϓϦͷαϒϛοτલޙͰͲΜͳ֬
    ೝΛ͍ͯ͠·͔͢ʁ
    LV 1 ϓϩάϥϛϯά͠ͳ͕Βσόοά࣮ߦͯ֬͠ೝ
    LV 2 AdHoc൛ΛTestFlightͳͲͰ഑৴ͯ͠ςετ
    LV 3 ϓϩϞʔγϣϯίʔυΛ࢖ͬͯςετ
    LV 4 iTunes ConnectͷInternal TestersͰςετ

    View full-size slide

  8. ΞϓϦͷαϒϛοτલޙͰͲΜͳ֬
    ೝΛ͍ͯ͠·͔͢ʁ
    LV 1 ϓϩάϥϛϯά͠ͳ͕Βσόοά࣮ߦͯ֬͠ೝ
    LV 2 AdHoc൛ΛTestFlightͳͲͰ഑৴ͯ͠ςετ
    LV 3 ϓϩϞʔγϣϯίʔυΛ࢖ͬͯςετ
    LV 4 iTunes ConnectͷInternal TestersͰςετ

    View full-size slide

  9. ΞϓϦͷαϒϛοτલޙͰͲΜͳ֬
    ೝΛ͍ͯ͠·͔͢ʁ
    LV 1 ϓϩάϥϛϯά͠ͳ͕Βσόοά࣮ߦͯ֬͠ೝ
    LV 2 AdHoc൛ΛTestFlightͳͲͰ഑৴ͯ͠ςετ
    LV 3 ϓϩϞʔγϣϯίʔυΛ࢖ͬͯςετ
    LV 4 iTunes ConnectͷInternal TestersͰςετ
    AppStoreʹެ։͞ΕΔ΋ͷͱ ಉ͡ ΞϓϦ
    AppStoreʹެ։͞ΕΔ΋ͷͱ ҧ͏ ΞϓϦ

    View full-size slide

  10. ΞϓϦͷαϒϛοτલޙͰͲΜͳ֬
    ೝΛ͍ͯ͠·͔͢ʁ
    LV 1 ϓϩάϥϛϯά͠ͳ͕Βσόοά࣮ߦͯ֬͠ೝ
    LV 2 AdHoc൛ΛTestFlightͳͲͰ഑৴ͯ͠ςετ
    LV 3 ϓϩϞʔγϣϯίʔυΛ࢖ͬͯςετ
    LV 4 iTunes ConnectͷInternal TestersͰςετ

    View full-size slide

  11. ΞϓϦͷαϒϛοτલޙͰͲΜͳ֬
    ೝΛ͍ͯ͠·͔͢ʁ
    LV 3 ϓϩϞʔγϣϯίʔυΛ࢖ͬͯςετ
    LV 4 iTunes ConnectͷInternal TestersͰςετ
    Appleͷ৹͕ࠪ ࢝·Δલ
    Appleͷ৹͕ࠪ ऴΘͬͨޙ

    View full-size slide

  12. Internal Testersͱ͸
    •ࡢ೥ͷळౙ͔ΒiTunes ConnectʹՃΘͬͨػೳ
    •Apple͕ങऩͨ͠TestFlightΛऔΓࠐΜͩ΋ͷ
    •iTunes Connectʹαϒϛοτͨ͠ΞϓϦ
    ʢAppStoreެ։༻ͷΞϓϦʣΛςετͰ͖Δ

    View full-size slide

  13. Internal Testersͱ͸
    http://qiita.com/koogawa/items/6851669110aa522a088a

    View full-size slide

  14. Internal Testers ͸ͥͻ׆༻͢΂͖
    •AppStoreͰެ։͞ΕΔ΋ͷͱಉ͡ΞϓϦͰςε
    τՄೳʢण໋͕ॖ·Βͳ͍ʣ
    •Appleͷ৹͕ࠪ։࢝͢ΔલʹςετՄೳʢػձଛ
    ࣦͷ؇࿨ʣ
    •͜ΕΒ̎ͭͷ৚݅Λຬͨ͢།Ұͷํ๏
    •શͯͷΞϓϦͰར༻ՄೳʢϓϩϞʔγϣϯίʔ
    υΛൃߦͰ͖ͳ͍ྨͷΞϓϦͰ΋ʣ

    View full-size slide

  15. Internal Testersͷऑ఺͸ʁ
    •iOS 8 Ҏ߱Ͱ͔͠࢖͑ͳ͍
    •25ਓ·Ͱ͔͠࢖͑ͳ͍
    •׬શͳࣗಈԽ͕Ͱ͖ͳ͍

    View full-size slide

  16. Internal Testersͷ࢖͍Ͳ͜Ζʢݱ࣌఺ʣ
    •ςετϑΣʔζͰ͸ͳ͘ɺ͋͘·Ͱ΋࠷ऴ֬ೝ
    •ࣄલʹςετ͕׬͍ྃͯ͠Δ͏͑ͰɺiTunes
    Connectʹαϒϛοτ͞ΕͨΞϓϦ͕ਖ਼͍͜͠
    ͱΛ਺໊Ͱ֬ೝ

    View full-size slide

  17. ΞϓϦެ։·Ͱʹ࣮ࢪ͢Δ͜ͱ
    phase
    1 ϓϩάϥϛϯά͠ͳ͕Βσόοά࣮ߦͯ֬͠ೝ
    phase
    2 AdHoc൛ΛTestFlightͳͲͰ഑৴ͯ͠ςετ
    phase
    3 iTunes ConnectͷInternal TestersͰςετ
    phase
    4 (ϓϩϞʔγϣϯίʔυΛ࢖ͬͯςετ)

    View full-size slide

  18. Internal Testers VS CI
    •Internal TestersͱCIʢJenkinsͱ͔Travis CIͰς
    ετ༻ΞϓϦΛࣗಈ഑৴ʣ͸Ͳ͕ͬͪڧ͍ʁ

    View full-size slide

  19. Internal Testers VS CI
    •྆ํ࢖͏ͷ͕ڧ͍ʂ

    View full-size slide

  20. phase
    1 ϓϩάϥϛϯά͠ͳ͕Βσόοά࣮ߦͯ֬͠ೝ
    phase
    2 AdHoc൛ΛTestFlightͳͲͰ഑৴ͯ͠ςετ
    phase
    3 iTunes ConnectͷInternal TestersͰςετ
    phase
    4 (ϓϩϞʔγϣϯίʔυΛ࢖ͬͯςετ)
    Internal Testers VS CI
    CIͰαϙʔτ͢Δ෦෼

    View full-size slide

  21. ͓͢͢ΊͷCIʢࣗಈԽʣ
    http://kishikawakatsumi.hatenablog.com/entry/20141022/1413963656

    View full-size slide

  22. ͜ͷํ๏ͷ͍͢͝ͱ͜Ζ
    •ςετ࣮ࢪ༻ͱAppStoreαϒϛοτ༻ͰϏϧυ
    ͠ͳ͓͞ͳ͍
    •ςετ࣮ࢪͨ͠΋ͷͱಉ͡ΞϓϦͷॺ໊͚ͩΛ
    ม͑ͨ΋ͷΛαϒϛοτͰ͖Δ

    View full-size slide

  23. ͜ͷํ๏ͷ͍͢͝ͱ͜Ζ
    •αϒϛοτ͞ΕͨΞϓϦͷਖ਼౰ੑΛ୲อ͢Δͱ
    ͍͏෦෼͸ɺInternal TestersͰ࣮ݱ͍ͨ͜͠ͱ
    ͱ nearly equal

    View full-size slide

  24. phase
    1 ϓϩάϥϛϯά͠ͳ͕Βσόοά࣮ߦͯ֬͠ೝ
    phase
    2 AdHoc൛ΛTestFlightͳͲͰ഑৴ͯ͠ςετ
    phase3 iTunes ConnectͷInternal TestersͰςετ
    phase4 (ϓϩϞʔγϣϯίʔυΛ࢖ͬͯςετ)
    CIͰαϙʔτ͢Δ෦෼
    ͜ͷํ๏ͷ͍͢͝ͱ͜Ζ

    View full-size slide

  25. Internal Testers͸࠷ޙͷ໳൪
    •CIʢࣗಈԽʣ͕׬ᘳͳΒInternal Testers͸΋͸
    ΍ෆཁͳ͘Β͍
    •ສ͕ҰCIʹෆඋ͕͋ͬͨͱ͖ͷͨΊʹɺ೦ͷͨ
    ΊInternal TestersͰ࠷ऴνΣοΫ

    View full-size slide

  26. ສ͕Ұͷࣄނͷͱ͖ͷͨΊʹ…
    •ޙ͔Βݟฦͤͳ͍৘ใ͸όοΫΞοϓ͓ͯ͘͠
    •AppStoreʹެ։͞Ε͍ͯͨաڈͷόʔδϣϯΛ
    ֬ೝͰ͖ΔΑ͏ʹ͓ͯ͘͠

    View full-size slide

  27. Build Details
    •keychain-access-
    groups ͳͲ

    View full-size slide

  28. AppStoreͰެ։͞ΕͨΞϓϦ
    •iTunesͰ࣮ࡍʹެ։͞ΕͨΞϓϦͷipaΛऔಘ
    •όʔδϣϯ͝ͱʹอ؅͓ͯ͘͠

    View full-size slide

  29. ࠓ೔ͷ͓͞Β͍
    •Internal TestersͰ࠷ऴνΣοΫ͠Α͏
    •AppStoreʹެ։͞ΕΔͷͱ΄΅ಉ͡ΞϓϦͰςετՄೳ
    •Appleͷ৹ࠪલʹςετՄೳ
    •CIͱڝ߹͢Δ΋ͷͰ͸͋Γ·ͤΜ
    •ສ͕ҰͷͨΊʹޙ͔ΒऔΓฦͤͳ͍σʔλ͸อ
    ଘ͓ͯ͜͠͏

    View full-size slide

  30. More Information
    Yuta ToKoRo
    iOS App Programer
    @tokorom
    http://www.tokoro.me/

    View full-size slide

  31. SwiftͰiOSΞϓϦ։ൃ
    •̎ͭͷΞϓϦΛ։ൃ/ϦϦʔε͠·ͨ͠
    •શ෦Ͱ̑ສߦ͘Β͍SwiftͰίʔυΛॻ͖·ͨ͠

    View full-size slide

  32. SwiftͰॻ͍ͯͲ͏ͩͬͨʁ
    •ίʔυΛॻ͘ྔ͕Objective-CΑΓ΋ݮͬͨ
    •ϓϩάϥϛϯάͷεϐʔυ্͕͕ͬͨʢମײʣ
    •Ϋϥογϡόά͕ܶతʹݮΓ·ͨ͠ʢOptional
    ͷԸܙʣ

    View full-size slide

  33. τʔλϧͷ։ൃεϐʔυ͸ʁ
    •ϓϩάϥϛϯάࣗମͷεϐʔυ͸͕͋ͬͨ…
    •ʹ΋͔͔ΘΒͣτʔλϧͷ։ൃεϐʔυ͸མͪ
    ͨ

    View full-size slide

  34. Swiftͷ࠷େͷऑ఺

    Ϗϧυ͕࣌ؒ
    ܶ஗

    View full-size slide

  35. Swiftͷ࠷େͷऑ఺
    Objective-C Swift
    ̍ߦमਖ਼ͨ͠ޙͷ
    Ϗϧυ࣌ؒ
    Xcode 6.1.1
    10ສߦ͘Β͍ͷن໛
    10ඵ
    4ສߦ͘Β͍ͷن໛
    300ඵ

    View full-size slide

  36. Xcode 6.3 beta Ͱվળʂ
    Objective-C Swift
    ̍ߦमਖ਼ͨ͠ޙͷ
    Ϗϧυ࣌ؒ
    Xcode 6.3
    10ສߦ͘Β͍ͷن໛
    10ඵ
    4ສߦ͘Β͍ͷن໛
    10ඵ

    View full-size slide

  37. Xcode 6.3 beta Ͱվળʂ
    •ͨͩ͠ɺͲͷΫϥεΛฤू͢Δ͔ʹΑͬͯϏϧ
    υ࣌ؒ͸มΘΓ·͢
    •ଟ͘ͷΫϥε͔Βґଘ͞Ε͍ͯΔΫϥεΛฤू
    ͢Δͱ͖͸͜Ε·ͰͲ͓Γܶ஗ʢ̑෼ʣͰ͢

    View full-size slide

  38. Ϗϧυ࣌ؒΛ଎͘͢Δʹ͸ʁ
    •ϓϩάϥϛϯάͷͱ͖ʹແବͳґଘؔ܎Λഉআ
    ͢ΔΑ͏৺͕͚Δ
    •XcodeͷόʔδϣϯΞοϓΛ଴ͭʢ͓ͦΒͩ͘
    ΜͩΜͱվળ͞Ε͍ͯ͘ʣ
    •Mac ProΛങ͏ʂ

    View full-size slide

  39. Ϗϧυ࣌ؒΛ଎͘͢Δʹ͸ʁ
    •Mac ProΛങ͏

    View full-size slide

  40. ·ͱΊ
    •΅͘͸Swiftେ޷͖ͳͷͰ͜Ε͔Β΋࢖͍ଓ͚·
    ͢

    View full-size slide

  41. More Information
    Yuta ToKoRo
    iOS App Programer
    @tokorom
    http://www.tokoro.me/

    View full-size slide