Slide 1

Slide 1 text

iOSσόΠε3,500୆Λ؅ཧ͢Δɺ ౦ٸϋϯζͷσόΠεख๏ͱ͸ 2017೥9݄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 apps͸iOS 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.