Skip to content

Latest commit

ย 

History

History
17 lines (11 loc) ยท 1.13 KB

bitcode.md

File metadata and controls

17 lines (11 loc) ยท 1.13 KB

Bitcode

Bitcode๋Š” LLVM์˜ IR(Intermediate Representation)์ด๋‹ค.
iOS 9๋ถ€ํ„ฐ ๋„์ž… ๋œ Bitcode๋Š” ํ™œ์„ฑํ™”ํ•˜๊ฒŒ ๋˜๋ฉด ์•ฑ์˜ ์šฉ๋Ÿ‰์ด ์ค„์–ด๋“œ๋Š” ํšจ๊ณผ๋ฅผ ๋ณผ ์ˆ˜ ์žˆ๋‹ค.
์ด๋Š” ๊ฐœ๋ฐœ์ž๋Š” ์—ฌ๋Ÿฌ ์•„ํ‚คํ…์ฒ˜๊ฐ€ ํฌํ•จ๋˜์–ด ์žˆ๋Š” Fat Binary ๋Œ€์‹  Bitcode๋ฅผ AppStore์— ์—…๋กœ๋“œ ํ•˜๊ธฐ ๋•Œ๋ฌธ์ด๋‹ค.

AppStore์—์„œ๋Š” App Thining, App Slicing๋“ฑ์˜ ์ตœ์ ํ™” ์ž‘์—…์„ ๊ฑฐ์นœ ๋’ค ๊ฐ ๋””๋ฐ”์ด์Šค์— ๋Œ€ํ•œ ๋ฐ”์ด๋„ˆ๋ฆฌ ์ปดํŒŒ์ผํ•œ ๋’ค, ์‚ฌ์šฉ์ž์—๊ฒŒ ์ œ๊ณต๋œ๋‹ค.

๋‹จ์ ์œผ๋กœ๋Š” ํฌํ•จ ๋œ Framework ์ค‘ ๋‹จ 1๊ฐœ๋ผ๋„ Bitcode๊ฐ€ ํ™œ์„ฑํ™” ๋˜์–ด ์žˆ์ง€ ์•Š์œผ๋ฉด ์•ฑ์—์„œ ํ™œ์„ฑํ™” ํ•  ์ˆ˜ ์—†๋‹ค๋Š” ์ ๊ณผ,
Firebase Crashlytics์™€ ๊ฐ™์€ Third Party Crash ๋กœ๊ทธ ์ˆ˜์ง‘๊ธฐ๊ฐ€ ๋™์ž‘ํ•˜๊ธฐ ์–ด๋ ค์›Œ์ง„๋‹ค๋Š” ์ ์ด ์žˆ๋‹ค.
Third Party Crash ์ˆ˜์ง‘๊ธฐ๊ฐ€ ๋™์ž‘ํ•˜๊ธฐ ์–ด๋ ค์›Œ์ง€๋Š” ์ด์œ ๋Š” ์•„์นด์ด๋ธŒ์‹œ ๊ฒฐ๊ณผ๋ฌผ์ธ dSYM์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์—†๊ธฐ ๋•Œ๋ฌธ์ด๋‹ค.

๋”ฐ๋ผ์„œ, Bitcode๊ฐ€ ์ ์šฉ ๋œ ์•ฑ์˜ ๊ฒฝ์šฐ Organizer ๋ฉ”๋‰ด๋‚˜, AppStore Connect์—์„œ dSYM์„ ๋‹ค์šด๋กœ๋“œ ๋ฐ›์•„ ์‚ฌ์šฉํ•˜์—ฌ์•ผ ํ•œ๋‹ค.

LLVM IR(Intermediate Representation)

LLVM์˜ ์–ด์…ˆ๋ธ”๋ฆฌ์™€ ์œ ์‚ฌํ•œ ์ €์ˆ˜์ค€ ์–ธ์–ด