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

Xcode8 で開発はどうかわったのか

Xcode8 で開発はどうかわったのか

iOSオールスターズ2
https://eventdots.jp/event/602872

Toshihiro Morimoto

November 20, 2016
Tweet

More Decks by Toshihiro Morimoto

Other Decks in Technology

Transcript

  1. View Debugging • ϘλϯΛԡ͔ͯ͠Βͷ࣮ߦ଎౓͕ 70% ͸΍͘ͳͬͨ • transform, blur ͞Ε͍ͯͯ΋ਖ਼֬ʹϨϯμϦϯά͞ΕΔ

    • Ϋϥεఆٛʹඈ΂Δ • ΞυϨεͰϑΟϧλϦϯάͰ͖Δ • ݱࡏͷ AutoLayout ͷ੍໿Λ֬ೝͰ͖Δ
  2. Manual • Don’t set CODE_SIGN_IDENTITY • Use the new general

    tab UI • Use the capabilities tab • Migrate to automatic
  3. ΊΜͲ͍͘͞ϙΠϯτ • Team ͕ҟͳΔ - Automatic Signing ͩͱෳ਺νʔϜΛ·ͨ͛ͳ͍ • BUNDLE

    IDENTIFIER ͕ҟͳΔ - Company ΞΧ΢ϯτͰ Automatic Signing Ͱɹ Ϗϧυ͸Ͱ͖Δ - Automatic Signing Ͱ archive ͕Ͱ͖ͳ͍
  4. Enterprise ରԠํ๏ -खಈϏϧυ- 1. ֘౰͢Δ Cert, Provisioning Profile ΛΠϯετʔϧ 2.

    Customised Signing Λ࢖͏ 3. ഑෍༻ͷ Configuration(scheme) ʹ Provisioning Profile Λબ୒ 4. archive -> export
  5. Enterprise ରԠํ๏ -fastlane- खಈϏϧυͱಉ͡Α͏ͳ͜ͱΛ͢Ε͹͍͍ 1. gym Ͱ࣮ߦ͢Δલʹ fastlane-plugin- update_project_codesigning Λ࢖ͬͯ

    Customised Signing ʹมߋ 2. Cert, Provisioning Profile ͷࢦఆΛ xcconfig ʹॻ͍ͯ ͓͘ 3. ഑෍༻ͷ Configuration ʹ xcconfig Λࢦఆ͓ͯ͘͠ 4. gym Ͱ࣮ߦ͢Δޙʹ Automatic Signing ʹมߋ
  6. xcconfig ͷαϯϓϧ CODE_SIGN_IDENTITY = 1Q5231V7YW // CODE_SIGN_IDENTITY = iPhone Distribution:

    dealforest (1Q5231V7YW) PROVISIONING_PROFILE_SPECIFIER = PROVISIONING_PROFILE_app = f3f8281b- a115-4529-8dnd-60e111d92fae PROVISIONING_PROFILE = $(PROVISIONING_PROFILE_$ (WRAPPER_EXTENSION))
  7. Xcode Plugin • ඇެࣜͰ Xcode ͷ Plugin Λ࡞Δ͜ͱ͕Ͱ͖·ͨ͠ • Alcatraz

    ͱ͍͏ Package Manager ΋͋Γ·ͨ͠ • Xcode 8 ʹͳ͔ͬͯΒ͸ެࣜͰ Xcode Extension ͕ αϙʔτ͞Ε࢖͑ͳ͘ͳΓ·ͨ͠ (ؤுΕ͹࢖͑Δ)
  8. UUID ͷ௥Ճํ๏ $ find ~/Library/Application\ Support/Developer/ Shared/Xcode/Plug-ins -name Info.plist -maxdepth

    3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID`