iOSDC Japan 2017「iOSデバイス3,500台を管理する、 東急ハンズのデバイス手法とは」
by
Yusuke Kuroiwa
Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
iOSσόΠε3,500Λཧ͢Δɺ ౦ٸϋϯζͷσόΠεख๏ͱ 20179݄17 (iOSDC Japan 2017) Yusuke Kuroiwa
Slide 2
Slide 2 text
Who? • Yusuke Kuroiwa • ͖ΜͪΌΜɻ • ϋϯζϥϘגࣜձࣾ • iOS Engineer • iPad POS Appઃܭɾ։ൃɾಋೖɾઃஔɾӡ༻ • iOS Device Management ← Twitter: @wa_kinchan GitHub: @wakinchan
Slide 3
Slide 3 text
ࡢͷiOSDCͰͷొஃ ౦ٸϋϯζͷPOS͔ΒֶΜͩɺۀ iOSΞϓϦͷ͖߹͍ํ Silent Push௨ͰΞϓϦࡴ͢Ϛϯ
Slide 4
Slide 4 text
౦ٸϋϯζͷ iOS Devices
Slide 5
Slide 5 text
iTouch ౦ٸϋϯζͷPDA
Slide 6
Slide 6 text
౦ٸϋϯζͷiPod touch • iPod touch 5, 6th: 3,000 (ॱ࣍iPhone SEʹஔ͖͑༧ఆ) • ΞϓϦͷػೳ: ൃɺࡏݿ֬ೝɺݕࡧɺ • AppStoreͷ20Ҏ্ͷΞϓϦΛΠϯετʔϧ
Slide 7
Slide 7 text
HandsPOS ౦ٸϋϯζͷPOS
Slide 8
Slide 8 text
౦ٸϋϯζͷiPad • iPad Air 2, iPad 5th: 800ຕ 㱺 ల։ޙ: 1,600ຕ • ΞϓϦͷػೳ: iPad POS
Slide 9
Slide 9 text
ΩοςΟϯάͬͯେม
Slide 10
Slide 10 text
No content
Slide 11
Slide 11 text
No content
Slide 12
Slide 12 text
ΩοςΟϯάΛ Կʹ؆ུԽ͢Δ͔
Slide 13
Slide 13 text
ΩοςΟϯάͷෛՙΛܰݮͤ͞ΔαʔϏε • MDM/MAM: σόΠεཧ(֤छMDMίϚϯυૹ৴)ɺΞϓϦɾཧ • DEP: Α͏ͦ͜ը໘ͷઃఆͷݮɺMDMڧ੍ࢀՃ • VPP: ΞϓϦϥΠηϯεҰׅߪೖɺMDMʹ͔ΒՄೳ • AC2: ߏϓϩϑΝΠϧ(.mobileconfig)ͷ࡞
Slide 14
Slide 14 text
MDM (Mobile Device Management) • σόΠεཧ͕Մೳʂ • ֤छใऔಘ (OS Version, Model, Serial Number, Device Disk Capacity, …) • ߏϓϩϑΝΠϧ (.mobileconfig) ͷ • Provisioning Profileͷ • iOSΞοϓσʔτ, ฆࣦϞʔυ༗ޮ(Ґஔใऔಘ), ϦϞʔτϫΠϓ • γϟοτμϯ & Ϧϒʔτ
Slide 15
Slide 15 text
MDM services • CLOMO • Meraki • Mobile Iron (ϞόΠϧΞΠΞϯ) • Apple Configurator 2 (Profile Manager) • …
Slide 16
Slide 16 text
MDM Protocol • https://developer.apple.com/library/content/documentation/Miscellaneous/Reference/ MobileDeviceManagementProtocolRef/3-MDM_Protocol/MDM_Protocol.html
Slide 17
Slide 17 text
Provisioning Profile distribution • In-House appͷProvisioning Profileظݶ͕1 • ࣄނͷݩ (͜ΕͰΞϓϦͷΞοϓσʔτΛͤͣͱߋ৽͕Մೳ) • Provisioning Profile͚ͩMDMͰՄೳ • ※ ద༻͢Δʹ࠶ىಈඞཁ
Slide 18
Slide 18 text
MAM (Mobile Application Management) • ϞόΠϧΞϓϦͷཧ͕ՄೳʂେMDMͱ౷߹ • ΞϓϦΠϯετʔϧ/আɺΞϓϦҰཡऔಘɺVPPϥΠηϯ ε༩/ണୣ • ཧग़དྷΔίϯςϯπ • VPP Apps (AppStore Apps), In-House App • Book
Slide 19
Slide 19 text
౦ٸϋϯζͰར༻͍ͯ͠ΔMDM
Slide 20
Slide 20 text
VPP (Volume Purchase Program ) • AppStoreͰ͞Ε͍ͯΔΞϓϦ(ϥΠηϯε)ΛҰׅͰߪೖ͕Մೳ • ແঈ/༗ঈΞϓϦ྆ํߪೖՄೳ • ҰׅͰߪೖͨ͠ϥΠηϯεΛMDM͔Βཧ͕Մೳ
Slide 21
Slide 21 text
Device-based apps distribution • MDM͔ΒσόΠεʹରͯ͠VPPͷϥΠηϯεΛ༩Λग़དྷΔ • σόΠεʹରͯ͠༩Λߦ͏ͨΊɺApple ID͕ෆཁ • ͜ΕʹΑΓඇৗʹָʹAppStoreΞϓϦΛཧग़དྷΔ • ର: User-based appsiOS 9ҎલओྲྀͰ͋ͬͨ(Apple IDඞਢ)
Slide 22
Slide 22 text
DEP (Device Enrollment Program ) • iOSσόΠεΛ։෧ͯ͠ىಈͨ͠ॠ͔ؒΒɺΑ͏ͦ͜ը໘ͷ ෆཁͳઃఆ߲͕আ͞ΕɺΩοςΟϯάָ͕ʹͳΔ
Slide 23
Slide 23 text
DEPػೳ • Α͏ͦ͜ը໘ͰɺMDMͷࢀՃΛڧ੍͕ՄೳɺࢹରϞʔυʹग़དྷΔ • ͦͷޙɺMDMͷػೳͰඞཁͳΞϓϦͷࣗಈΠϯετʔϧɺࣗಈϓϩϑΝ Πϧద༻͜ͱͰɺΩοςΟϯάͷ࡞ۀॖՄೳ
Slide 24
Slide 24 text
DEPར༻݅ • DEPΛར༻͢ΔʹDEPʹରԠͨ͠AppleӦൢചళ͔Βσ όΠεΛങ͏ඞཁ͕͋ΓɺങͬͨΒͦͷΛͲ͜ͷMDM ʹඥ͚Δ͔Λࣄલʹઃఆ͓ͯ͘͠ඞཁ͋Δ
Slide 25
Slide 25 text
AC2 (Apple Configurator 2) • macOS application (Mac AppStoreʹ͋Δ) • ߏϓϩϑΝΠϧ(.mobileconfig)ͷ࡞ (xmlܗࣜ) • iOSଆͰը໘ૢ࡞ແ͠ʹɺઃఆͷྲྀ͠ࠐΈ͕Մೳ
Slide 26
Slide 26 text
Configuration Profile Reference • https://developer.apple.com/library/content/featuredarticles/iPhoneConfigurationProfileRef/ Introduction/Introduction.html
Slide 27
Slide 27 text
ΩοςΟϯάͷෛՙΛܰݮͤ͞ΔαʔϏε • MDM/MAM: σόΠεཧ(֤छMDMίϚϯυૹ৴)ɺΞϓϦɾཧ • DEP: Α͏ͦ͜ը໘ͷઃఆͷݮɺMDMڧ੍ࢀՃ • VPP: ΞϓϦϥΠηϯεҰׅߪೖɺMDMʹ͔ΒՄೳ • AC2: ߏϓϩϑΝΠϧ(.mobileconfig)ͷ࡞
Slide 28
Slide 28 text
Tips!
Slide 29
Slide 29 text
MDMͷΞϓϦͷΠϯετʔϧ௨ ಧ͔ͳ͍ Tips 1
Slide 30
Slide 30 text
MDMͷΞϓϦͷΠϯετʔϧ௨ ಧ͔ͳ͍ • MDMͷΞϓϦͷΠϯετʔϧ௨͕ʹ౸ୡͤͣɺΞο ϓσʔτ͕ग़དྷͳ͍߹͕͋Δ • MDMϓογϡ௨Λར༻ͯ͠ʹରͯ͠ॲཧΛߦ͏ • Ξοϓσʔτग़དྷͳ͍ͱɺPOSϨδͱͯ͠க໋తͰ͋ ΓɺΞοϓσʔτ࿙ΕʹΑΔళฮͷ࿈བྷɺి͕େม
Slide 31
Slide 31 text
No content
Slide 32
Slide 32 text
ࣗͷΞϓϦ͔Β ࣗരΞοϓσʔτػೳΛ ࣮Ͱ͖ͳ͍͔
Slide 33
Slide 33 text
SFSafariViewControllerͰɺ ΠϯετʔϧϦϯΫΛදࣔͯ͠ ΠϯετʔϧϘλϯΛԡͯ͠Β͑Εɺ ࣗരͰΞοϓσʔτग़དྷΔΜ͡ΌͶ?
Slide 34
Slide 34 text
SFSafariViewController Harakiri-Updater • ݁Ռ: ग़དྷͨ • UIWebViewग़དྷͳ͔ͬͨ(ݖݶ͕ͳ͍) • 3λοϓͰΞοϓσʔτՄೳʹ
Slide 35
Slide 35 text
ͬͱ؆୯ʹग़དྷͳ͍͔
Slide 36
Slide 36 text
URL Scheme Harakiri-Updater • itms-service:// ͳURLεΩʔϜͰmanifest plistΛ։͘ • iOS 11 GMҎ߱ࣗಈΞϓϦ͕ࢮͳͳ͍ͨΊɺ exit(EXIT_SUCCESS) Ͱࣗര͢Δඞཁ͕͋Δ
Slide 37
Slide 37 text
Demo
Slide 38
Slide 38 text
ϫϯλοϓͰग़དྷͨ
Slide 39
Slide 39 text
Wi-FiଓΛϗϫΠτϦετͰ ੍ݶ͢ΔઃఆʹؾΛ͚ͭΖ!! Tips 2
Slide 40
Slide 40 text
Wi-FiϓϩϑΝΠϧ
Slide 41
Slide 41 text
Wi-FiଓΛϗϫΠτϦετ੍ݶ • ϓϩϑΝΠϧʹΑͬͯΠϯετʔϧ͞Εͨ Wi-Fi ωοτ ϫʔΫͷΈଓ (ࢹରͷΈ) iOS10.3Ҏ߱
Slide 42
Slide 42 text
Wi-FiଓΛϗϫΠτϦετ੍ݶ 1. AC2Ͱ࡞ͨ͠Wi-FiઃఆͷϓϩϑΝΠϧΛʹྲྀ͠ࠐΉ 2. AC2Ͱ࡞ͨ͠Wi-FiଓϗϫΠτϦετ੍ݶઃఆͷϓϩ ϑΝΠϧΛʹྲྀ͠ࠐΉ 3. Wi-FiઃఆͷϓϩϑΝΠϧͰࢦఆ͞ΕͨSSIDͷΈ͕ɺଓ ͕Մೳʹ
Slide 43
Slide 43 text
Wi-FiϓϩϑΝΠϧ͕ͳ͍ͷʹ Wi-Fi੍ݶϗϫΠτϦετઃఆ͕ೖΔͱ…
Slide 44
Slide 44 text
iTunesͰϦΧόϦ͢Δ·Ͱೋͱ ॳظԽ͕ग़དྷͳ͍ ཕײ͋ΔΑ..͜ͷػೳ
Slide 45
Slide 45 text
ղܾํ๏ • Wi-FiઃఆͱWi-FiଓϗϫΠτϦετ੍ݶ ઃఆΛҰॹͷϓϩϑΝΠϧʹ͢Δ
Slide 46
Slide 46 text
ϋϯζϥϘ iOS x Swift όϦόϦͬͯ·͢ Լͷϒʔεʹདྷ͍ͯͩ͘͞
Slide 47
Slide 47 text
WE ARE HIRING!! HANDS LAB INC.