Xcode previews and llvm Vol.2

Xcode previews and llvm Vol.2

Akio Itaya

April 17, 2020

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

20 slides
  1. ৼΓฦΓ Code Instrumentationʢinstrʣ ͕༗ޮͰɺ Static Framework Λ Link ͢Δͱ͖ɺ
 Linker

    ʹରͯ͠ instr Λ༗ޮʹ͢ΔΑ͏ʹࢦఆ͠ͳ͚Ε͹ͳΒͳ͍ ͱ͍͏ݱ৅͕ SwiftUI ͷ XcodePreviews ಈ࡞࣌ʹൃੜ͢Δ
  2. Code Coverage Runtime Library ܭଌɾ਍அॲཧ App ཧ૝ਤ instrumented code env

    linker -fprofile-instr-generate swiftc -fprofile-instr-generate
  3. Code Coverage Runtime Library ܭଌɾ਍அॲཧ App ݱ࣮ਤ instrumented code env

    linker swiftc -fprofile-instr-generate ❌ -fprofile-instr-generate ͕దԠ͞Ε͍ͯͳ͍
  4. Code Coverage Runtime Library ܭଌɾ਍அॲཧ App ݱ࣮ਤ instrumented code env

    linker swiftc -fprofile-instr-generate ❌ -fprofile-instr-generate ͕దԠ͞Ε͍ͯͳ͍ ͜ͷݱ৅͕ XcodePreviews ༻ͷϏϧυ࣌ʹൃੜ͢Δ

More Decks by Akio Itaya

Other Decks in Programming