Approaching Size Limit - The size of watch application (50MB limit is headache.)

后端 未结 3 1088
天涯浪人
天涯浪人 2021-01-19 01:59

Our app reaches approx 49MB and we are not halfway. So definitely it will exceed the limit of 50MB. I have few questions as follow.

1) Is On-Demand Resources possibl

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-19 02:37

    Following things can help to reduce size:

    1) Try to use either swift or objective c

    2) Add assets in either in a watch or watch extensions, according to requirement.

    3) Enable bit code

    4) go to the extension's project settings, and set Always Embed Swift Standard Libraries to No.

    Update WatchOs4:

    We have investigated size increase in watchos4. Finally, we find out that dylibs consuming memory.

    libSwiftCode was 16.1mb in watchos3 now it's 23.1mb

    libSwiftFoundation was 6.2mb in watchos3 now it's 9.2mb

    Note:

    From watchOS4 size increased by 25MB, so now watch app size limit is 75MB instead of old 50MB

提交回复
热议问题