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

后端 未结 3 1119
天涯浪人
天涯浪人 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:28

    To answer your first question, yes on-demand resources is an available option for watchOS. See here and here

    Additionally, the first link above describes 'slicing' which allows you to specify resources to target devices, thus reducing your overall app footprint.

    To address your third question, go to the extension's project settings, and set Always Embed Swift Standard Libraries to 'No'.

    Also, remove the Newtonsoft.Json library from the watch extension project, if it exists

提交回复
热议问题