ios - How to prevent SwiftSupport libraries to be included twice -
when export our application, firefox ios, .ipa
file, swiftsupport
directory included twice:
./payload/client.app/frameworks/libswiftcore.dylib ./payload/client.app/frameworks/libswiftcoreaudio.dylib ./payload/client.app/frameworks/libswiftcoregraphics.dylib ./payload/client.app/frameworks/libswiftcoreimage.dylib ./payload/client.app/frameworks/libswiftdarwin.dylib ./payload/client.app/frameworks/libswiftdispatch.dylib ./payload/client.app/frameworks/libswiftfoundation.dylib ./payload/client.app/frameworks/libswiftobjectivec.dylib ./payload/client.app/frameworks/libswiftsecurity.dylib ./payload/client.app/frameworks/libswiftuikit.dylib ./swiftsupport/libswiftcore.dylib ./swiftsupport/libswiftcoreaudio.dylib ./swiftsupport/libswiftcoregraphics.dylib ./swiftsupport/libswiftcoreimage.dylib ./swiftsupport/libswiftdarwin.dylib ./swiftsupport/libswiftdispatch.dylib ./swiftsupport/libswiftfoundation.dylib ./swiftsupport/libswiftobjectivec.dylib ./swiftsupport/libswiftsecurity.dylib ./swiftsupport/libswiftuikit.dylib
this .ipa
file has been built release profile , exported app store distribution.
has seen before? asked twice on apple developer forums no responses.
unfortunately, ipa size still matters applewatch, since throws validation error if size beyond measly 50 mb limit (with bloat included).
fortunately, setting "embedded content contains swift" on apple watch application target no reduced apple watch size 16.5 mb, , passing validation.
note: whole app written in swift, embedded swift-based framworks. code in watchkit extension, not application!
i asked on forums if solution appropriate or not, no responses yet .. also, submitted build itunes connect, , has been processing 30 mins (sigh). post here, or remove answer if faced issues approach.
you can see in screenshot below how watchkit app missing frameworks folder in newer archive, removing 16.5 mb
Comments
Post a Comment