Lets Explore Bitcode in iOS (one component of App Thinning)

Lets Explore Bitcode in iOS (one component of App Thinning)

Welcoming all Xcoders!

There are three components of app thinning :-

1)Bitcode

2)Slicing

3)On-demand resources.

 We can say its Apple’s new way of optimizing apps before they’re downloaded :)

Bitcode is an intermediate representation of a compiled program. Apps you upload to iTunes Connect that contain bitcode will be compiled and linked on the store. Including bitcode will allow Apple to re-optimize your app binary in the future without the need to submit a new version of your app to the store.

Bitcode automatically compiles the app for the most recent compiler and optimizes it for specific architectures (i.e. arm64 for 64 bit processors)

Bitcode makes downloads smaller by eliminating optimizations that are made for different architectures and rather downloads only the relevant optimizations

Bitcode mandatory for watchOS apps, it's still optional for iOS.

You can Enable or Disable Bitcode from Build Setting.

By default "include bitcode" is selected when you are uploading App to the App Store.

We will discuss Slicing and On-demand resources in next Publication.

Reference

https://letstiny.com/4AMvR

Get your iOS Apps Developed at ZetrixWeb Infotech LLP with latest swift version and stay one step ahead.

ZetrixWeb Infotech LLP


要查看或添加评论,请登录

Janakkumar T.的更多文章

社区洞察

其他会员也浏览了