Harrison Xi
Harrison Xi

Reputation: 796

Assets.car generated by Xcode 10 is larger than Xcode 9?

I create a framework target and add a media.xcassets into it. (to avoid app icon & launcher image.) This is the info of media.xcassets:

enter image description here

When I use Xcode 10 GM to build this framework, I get a assets.car more than 20MB! And if I use Xcode 9.4 to build this framework, the size of assets.car is 16MB.

Then I try to change the deploy target version of framework, and get these results:

enter image description here

I want to keep size of my app smaller. So should I avoid to use image assets? Is this a bug of Xcode 10?

Upvotes: 4

Views: 1059

Answers (1)

Yibin Pan
Yibin Pan

Reputation: 77

Maybe this link https://forums.developer.apple.com/thread/108467 will help, it seems that Apple will optimize the assets.car file when your app is ready for sale in AppStore.

Upvotes: 1

Related Questions