Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
How$to$handle$bitcode
@ikesyo
関西モバイルアプリ研究会!#7,!2015)10)28!Wed
#関モバ
@ikesyo
!ikesyo_nnid
いけしょー/池田翔
京都でフリーランスのiOSエンジニア
(時々Android)しています
フリュー㈱のモバイル開発の
チームにジョイン中。
✨!Contribu*ons!✨
• Himotoki
• Reac,veCocoa
• Carthage
• APIKit
• Result
• AMScrollingNavbar
Xcode&7
App#Thinning
App#Thinning
• App$Thinning$(iOS,$tvOS,$watchOS)
• Slicing$(iOS,$tvOS)
• Bitcode
• On5Demand$Resources$(iOS,$tvOS)
Bitcode
Bitcode
• LLVM%IR%embedded%in%binaries
• iOS9%4%LLVM%bitcode基礎知識%4%Qiita
• iOS9%4%Xcode7でのembed4bitcodeオプション%4%Qiita
• Car...
ENABLE_BITCODE
• The%project%se-ng%for%enabling%bitcode
• ENABLE_BITCODE=NO%=>%No%bitcode
• ENABLE_BITCODE=YES%=>
• bitcod...
BITCODE_GENERATION_MODE
• ENABLE_BITCODE=YES"with"build"ac)on"=>
• BITCODE_GENERATION_MODE=marker
• ENABLE_BITCODE=YES"wit...
BITCODE_GENERATION_MODE
• Se$ng'BITCODE_GENERATION_MODE=bitcode'explicitly'
enables'embedding'full'bitcode'for'build'ac8on...
!!Without'full'bitcode!!
ld:$warning:$full$bitcode$bundle$could$not$be$generated$because$
'XXX/XXX'$was$built$only$with$bi...
*.bcsymbolmap,files!❗❓
• Required)for)mapping)bitcode)with)dSYM)files.
• Must)be)included)in)the)archive)if)you)check)on)bot...
*.bcsymbolmap,and,Carthage
• Copy&bcsymbolmap&files&when&building&by&kballard&8&Pull&Request&
#853&8&Carthage/Carthage
• Wo...
Carthage(0.9.4
is#released#yesterday
!!with%the%bitcode+support%features!!
!!Happy%bitcoding!!!!
Thank&you❗"
How to handle bitcode
Upcoming SlideShare
Loading in …5
×

How to handle bitcode

7,423 views

Published on

関西モバイルアプリ研究会 #7での発表スライドです。

Published in: Engineering
  • Dating for everyone is here: ❶❶❶ http://bit.ly/39sFWPG ❶❶❶
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Sex in your area is here: ❶❶❶ http://bit.ly/39sFWPG ❶❶❶
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

How to handle bitcode

  1. 1. How$to$handle$bitcode @ikesyo 関西モバイルアプリ研究会!#7,!2015)10)28!Wed #関モバ
  2. 2. @ikesyo !ikesyo_nnid いけしょー/池田翔 京都でフリーランスのiOSエンジニア (時々Android)しています フリュー㈱のモバイル開発の チームにジョイン中。
  3. 3. ✨!Contribu*ons!✨ • Himotoki • Reac,veCocoa • Carthage • APIKit • Result • AMScrollingNavbar
  4. 4. Xcode&7
  5. 5. App#Thinning
  6. 6. App#Thinning • App$Thinning$(iOS,$tvOS,$watchOS) • Slicing$(iOS,$tvOS) • Bitcode • On5Demand$Resources$(iOS,$tvOS)
  7. 7. Bitcode
  8. 8. Bitcode • LLVM%IR%embedded%in%binaries • iOS9%4%LLVM%bitcode基礎知識%4%Qiita • iOS9%4%Xcode7でのembed4bitcodeオプション%4%Qiita • Carthage%と%Bitcode%対応についてのまとめ%4%意識低い開発者の Blog
  9. 9. ENABLE_BITCODE • The%project%se-ng%for%enabling%bitcode • ENABLE_BITCODE=NO%=>%No%bitcode • ENABLE_BITCODE=YES%=> • bitcode(marker%is%embedded%for%build%ac:on • full(bitcode%is%embeded%for%archive%ac:on
  10. 10. BITCODE_GENERATION_MODE • ENABLE_BITCODE=YES"with"build"ac)on"=> • BITCODE_GENERATION_MODE=marker • ENABLE_BITCODE=YES"with"archive"ac)on"=> • BITCODE_GENERATION_MODE=bitcode • =marker:"/fembed/bitcode/marker"is"passed"to"the"compiler • =bitcode:"/fembed/bitcode"is"passed"to"the"compiler
  11. 11. BITCODE_GENERATION_MODE • Se$ng'BITCODE_GENERATION_MODE=bitcode'explicitly' enables'embedding'full'bitcode'for'build'ac8on. • BITCODE'support'A'Issue'#535'A'Carthage/Carthage • Support'embedding'bitcode'when'ENABLE_BITCODE=YES'by' ikesyo'A'Pull'Request'#839'A'Carthage/Carthage
  12. 12. !!Without'full'bitcode!! ld:$warning:$full$bitcode$bundle$could$not$be$generated$because$ 'XXX/XXX'$was$built$only$with$bitcode$marker.$The$library$must$be$ generated$from$Xcode$archive$build$with$bitcode$enabled$(Xcode$ se>ng$ENABLE_BITCODE) Invalid$Bundle$J$Failed$to$verify$bitcode$in$XXX.framework/XXX:$ error:$Bundle$only$contains$bitcodeJmarker$App.app/Frameworks/ XXX.framework/XXX$(armv7)$...
  13. 13. *.bcsymbolmap,files!❗❓ • Required)for)mapping)bitcode)with)dSYM)files. • Must)be)included)in)the)archive)if)you)check)on)both)"Include) app)symbols)for...")and)"Include)bitcode")when)you)validate)or) upload)to)iTC. The$archive$did$not$contain$<DVTFilePath:0x7f88ca959ef0:'/ Users/username/Library/Developer/Xcode/Archives/2015J08J17/ Project$2015J08J17$14.46.29.xcarchive/BCSymbolMaps/ DCF72CBFJ7889J372DJB549J2CFA181C32CA.bcsymbolmap'>$as$ expected.
  14. 14. *.bcsymbolmap,and,Carthage • Copy&bcsymbolmap&files&when&building&by&kballard&8&Pull&Request& #853&8&Carthage/Carthage • Workaround&at&the&moment&(Carthage&0.9.3) • When&using&bitcodeHenabled&frameworks&built&by&Carthage,& you&should&check&off&"Include&app&symbols&for&your& applicaNon..."
  15. 15. Carthage(0.9.4 is#released#yesterday !!with%the%bitcode+support%features!!
  16. 16. !!Happy%bitcoding!!!!
  17. 17. Thank&you❗"

×