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

5分でわかるExplicitly Built Modules

5分でわかるExplicitly Built Modules

集まれSwift好き!Swift愛好会スピンオフ WWDC24セッション要約会 @ DeNA - connpass
https://love-swift.connpass.com/event/319801/

giginet

June 27, 2024
Tweet

More Decks by giginet

Other Decks in Programming

Transcript

  1. ͳͥΦϓτΠϯͳͷ͔ʁ • Xcode 16ͷॳظ஋Ͱ͸Swiftʹ͍ͭͯ͸ແޮԽ • ·ͩExperimental • ηογϣϯͰ΋Previewͱݴ͍ͬͯΔ • XCCon

    f igͰ͸_EXPERIMENTAL_SWIFT_EXPLICIT_MODULES (Beta 1࣌఺) • ஗͘ͳΔέʔε΋͋Δʁ • ࣄલͷεΩϟϯͷΦʔόʔϔου
  2. variant • ಉҰͷϞδϡʔϧʹରͯ͠ɺimportͯ͠ΔଆͷϏϧυઃఆͷ૊Έ߹ΘͤʹΑ Γෳ਺ͷpcm/swiftmodule͕ੜ੒͞Ε͏Δ(=variant) • Explicitly Built ModulesΛ༗ޮʹ͢Δ͜ͱͰϨϙʔτΛݟΔ͜ͱ͕Ͱ͖Δ • Generate

    Swift modules reportͱ͍͏ϏϧυλεΫͰදࣔ͞ΕΔ • Module͝ͱʹCSV͕ు͖ग़͞ΕɺͦΕͧΕͲͷΑ͏ͳvariantʹΑΔόΠ φϦ͔ΛݟΔ͜ͱ͕Ͱ͖Δ • swiftcʹ౉͞ΕͨίϚϯυϥΠϯҾ਺ͷ૊Έ߹Θͤ