Slide 1

Slide 1 text

J04ύοέʔδϚωʔδϟʔฃಆه ೥ɺ Նɻ .PCJMF"DU0/-*/& 5PNPLJ,PCBZBTIJ!UFNPLJ

Slide 2

Slide 2 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE ࣗݾ঺հ 2 Tomoki Kobayashi Twitter/GitHub @temoki ϞόΠϧΞϓϦΤϯδχΞ J04 "OESPJE 'MVUUFS 'JSFCBTF גࣜձࣾελϝϯ TUNO JOD 56/"(ΤϯήʔδϝϯτܦӦϓϥοτϑΥʔϜ '"/54αϒεΫܕΦϯϥΠϯϑΝϯαϩϯ

Slide 3

Slide 3 text

J04ΞϓϦ։ൃʹ͓͚Δ ύοέʔδϚωʔδϟʔ

Slide 4

Slide 4 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE J04ύοέʔδϚωʔδϟʔ 4 w$PDPB1PET w$BSUIBHF w4XJGU1. wͦͷଞ

Slide 5

Slide 5 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE J04ύοέʔδϚωʔδϟʔελϝϯͰ͸ʁ 5 w$PDPB1PET w$BSUIBHF w4XJGU1. wͦͷଞ ˠ͞Α͏ͳΒ ˠϝΠϯ Ϗϧυ࣌ؒ༏ઌ ˠ$BSUIBHFඇରԠͷΈ ˠ.JOUͰ4XJGU$-*

Slide 6

Slide 6 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE J04ύοέʔδϚωʔδϟʔࠓ೔ͷςʔϚ 6 J04ύοέʔδϚωʔδϟʔ ͱͷಆ͍ͷه࿥

Slide 7

Slide 7 text

೥ɺՆɻ $BSUIBHFͱͷಆ͍͕࢝·Δ ๻͸J04ϦϦʔεͱಉ࣌ʹ ରԠ൪ΞϓϦΛϦϦʔε͔͚ͨͬͨͩ͠ͳͷʹ

Slide 8

Slide 8 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE $BSUIBHFͱͷಆ͍ه࿥͸2JJUBʹ 8 https://qiita.com/temoki/items/e3c05ee7e0f7a37b87e9

Slide 9

Slide 9 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE M1 $BSUIBHFͱͷಆ͍ݪҼ͸ʜ 9

Slide 10

Slide 10 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE $BSUIBHFͱͷಆ͍Τϥʔͷ֓ཁ 10 the same architectures (arm64) and can't be in the same fat output file ΤϥʔൃੜՕॴ xcrun lipo -create w MJQP͸ҟͳΔΞʔΩςΫνϟͷෳ਺ͷόΠφϦΛ݁߹ͯ͠ 
 6OJWFSTBMόΠφϦΛ࡞Δπʔϧʢ9DPEFಉࠝʣ w $BSUIBHF͸J04σόΠεͱJ04γϛϡϨʔλ޲͚ͷ'SBNFXPSLΛ 
 ͦΕͧΕϏϧυ͔ͯ͠ΒMJQPʹΑΓ6OJWFSTBM'SBNFXPSLΛ࡞੒͢Δ Τϥʔϝοηʔδ

Slide 11

Slide 11 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE $BSUIBHFͱͷಆ͍9DPEF 11 iOS Simulator Mac (Intel) iOS Device x86_64 arm64 Universal arm64 + x86_64 lipo -create

Slide 12

Slide 12 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE $BSUIBHFͱͷಆ͍9DPEF 12 iOS Simulator Mac (Intel + M1) iOS Device arm64 Universal x86_64 + arm64 lipo -create the same architectures (arm64) and can't be in the same fat output file

Slide 13

Slide 13 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE $BSUIBHFͱͷಆ͍ຊՈͷ1JOOFEJTTVF 13 https://github.com/Carthage/Carthage/issues/3019

Slide 14

Slide 14 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE $BSUIBHFͱͷಆ͍ϫʔΫΞϥ΢ϯυ 14 https://github.com/Carthage/Carthage/blob/master/Documentation/Xcode12Workaround.md ϫʔΫΞϥ΢ϯυεΫϦϓτΛ࢖༻͢Δ

Slide 15

Slide 15 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE $BSUIBHFͱͷಆ͍ϫʔΫΞϥ΢ϯυεΫϦϓτ 15 ΞʔΩςΫνϟ͕ॏෳ͠ͳ͍Α͏ʹEXCLUDED_ARCHSΛઃఆ

Slide 16

Slide 16 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE $BSUIBHFͱͷಆ͍4XJGU1.΁Ҡߦ͠Α͏ʂ 16 w $BSUIBHFͷࠜຊతͳ໰୊͕ͳ͔ͳ͔ղফ͞Εͳ͍ 
 ϫʔΫΞϥ΢ϯυͰ͸..BDͰಈ࡞͠ͳ͍ w 9DPEFͰ4XJGU1.͕౷߹ɺ 
 ґଘύοέʔδͷ4XJGU1.αϙʔτ΋ਐΜͰ͖ͨ w 'JSFCBTF4%,΋೥݄͔Β4XJGU1.αϙʔτΛ Ќఏڙ։࢝ʂ $BSUIBHF͸&YQFSJNFOUBMͳҐஔ෇͚ Αͬ͠Όɺ͜ΕΛػʹ4XJGU1.ʹҠߦͨ͠Ζʂ

Slide 17

Slide 17 text

4XJGU1.ͱͷಆ͍

Slide 18

Slide 18 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE 4XJGU1.ͱͷಆ͍ 18 $*Ͱ4XJGU1.ͷϏϧυ੒Ռ෺ΛΩϟογϡ 'JSFCBTF4%,Λ4XJGU1.Ͱ૊ΈࠐΉ

Slide 19

Slide 19 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE 4XJGU1.ͱͷಆ͍ 19 $*Ͱ4XJGU1.ͷϏϧυ੒Ռ෺ΛΩϟογϡ 'JSFCBTF4%,Λ4XJGU1.Ͱ૊ΈࠐΉ

Slide 20

Slide 20 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE 4XJGU1.ͱͷಆ͍'JSFCBTF4%,Λ૊ΈࠐΉ 20 https://qiita.com/temoki/items/da91bffe5a347103b0ca w ·੍͍͔ͩͭ͘ݶࣄ߲͕͋Δ w ໰୊΋͋ΔͷͰϫʔΫΞϥ΢ϯυͰͷӡ༻͕ඞཁ ͋͘·ͰЌ൛ https://github.com/firebase/firebase-ios-sdk/blob/master/SwiftPackageManager.md

Slide 21

Slide 21 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE 4XJGU1.ͱͷಆ͍ 21 $*Ͱ4XJGU1.ͷϏϧυ੒Ռ෺ΛΩϟογϡ 'JSFCBTF4%,Λ4XJGU1.Ͱ૊ΈࠐΉ

Slide 22

Slide 22 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE 4XJGU1.ͱͷಆ͍Ϗϧυ੒Ռ෺ͷΩϟογϡ 22 https://qiita.com/temoki/items/045c375e1127dbd1bbf2 w Ϋϩʔϯͨ͠ϦϙδτϦ͸ΩϟογϡՄ w Ϗϧυ੒Ռ෺͸ΩϟογϡͰ͖ͦ͏ʹͳ͍ʜ Ϗϧυ੒Ռ෺͸ΩϟογϡͰ͖ͳ͍

Slide 23

Slide 23 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE 4XJGU1.Ϗϧυ࣌ؒΛ཈͑Δʹ͸ʜ 23 w 9DPEF͔ΒϏϧυࡁόΠφϦΛఏڙՄೳʹͳͬͨ 
 ιʔείʔυ͕ඇެ։Ͱ΋഑෍Մೳͱ͢Δ͜ͱ͕໨త w 'JSFCBTF"OBMZUJDT͸͜ΕͰ഑෍͞Ε͍ͯΔ w όΠφϦͰͷఏڙ͕౰ͨΓલʹͳΔ೔͕དྷͳ͍͔ͳʜ 4XJGU1.΁ͷҠߦ͸Ұ୴அ೦͢Δ͜ͱʹ

Slide 24

Slide 24 text

࠶ͼ$BSUIBHF΁

Slide 25

Slide 25 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE w ݄ॳʹ$BSUIBHFϦϦʔε w 9$'SBNFXPSLରԠʹΑΓɺ͋ͷ໰୊͕ղফ͞Εͨʂ ࠶ͼ$BSUIBHF΁͋ͷ໰୊͕ղফ͞Εͨʂ 25

Slide 26

Slide 26 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE w ෳ਺ϓϥοτϑΥʔϜ޲͚ͷ'SBNFXPSLΛ 
 ୯Ұͷόϯυϧʹ·ͱΊͨ΋ͷʢMJQPෆཁʣ w ετΞఏग़࣌ʹγϛϡϨʔλ༻όΠφϦ͸ແࢹ͞ΕΔ 
 $BSUIBHF͸DPQZGSBNFXPSLίϚϯυͰআ֎͍ͯͨ͠ w 4XJGU1.͸͜ΕΛϏϧυࡁόΠφϦͱͯ͠ఏڙ͢Δ ࠶ͼ$BSUIBHF΁9$'SBNFXPSLͬͯʁ 26

Slide 27

Slide 27 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE ࠶ͼ$BSUIBHF΁9$'SBNFXPSLʹҠߦ͢Δ 27 w —use-xcframeworksΦϓγϣϯͰcarthage࣮ߦ w ैདྷͷ*.framework͸ϓϩδΣΫτ͔Β࡟আ w ୅ΘΓʹ*.xcframworkΛϓϩδΣΫτʹ௥Ճ w #VJME1IBTFTͷcarthage copy-framewokΛ 
 ࣮ߦ͢ΔεΫϦϓτΛ࡟আ ͍Ζ͍ΖεοΩϦͰ͢ΘE ?@?

Slide 28

Slide 28 text

࢒Δ՝୊

Slide 29

Slide 29 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE ࢒Δ՝୊ 29 w 'JSFCBTF4%,͸$BSUIBHFͩͱैདྷͷ'SBNFXPSLܗࣜͰ 
 ϏϧυࡁόΠφϦ͕ఏڙ͞ΕΔͷͰ..BD্γϛϡϨʔλ Ͱಈ࡞͠ͳ͍ 
 $BSUIBHF͕9$'SBNFXPSLʹରԠ͠ͳ͍͔Βͱ͍͏ཧ༝ w $BSUIBHF޲͚ͷ'JSFCBTF"OBMZUJDT͕Ҏ߱ͷ 
 όʔδϣϯఏڙ͞Εͳ͍ʜ https://github.com/firebase/firebase-ios-sdk/blob/master/AppleSilicon.md#carthage

Slide 30

Slide 30 text

$PQZSJHIU˜TUNO JOD"MMSJHIUTSFTFSWFE 30

Slide 31

Slide 31 text

ಆ͍͸ଓ͘ͷͰ͋ͬͨʜ

Slide 32

Slide 32 text

No content