Swift libraries are included twice in the .ipa file

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
4 years ago
a year ago

People

(Reporter: st3fan, Unassigned)

Tracking

unspecified
x86
Mac OS X

Firefox Tracking Flags

(fxios-)

Details

(Reporter)

Description

4 years ago
The swift libraries are packaged twice:

Fennec.ipa/SwiftSupport
Fennec.ipa/Payload/Client.app/Frameworks/libswift*.dylib

One should go away.
(Reporter)

Comment 1

4 years ago
Hints at https://developer.apple.com/library/ios/qa/qa1881/_index.html

"Important: To prevent having multiple copies of Swift libraries in your app, make sure that Embedded Content Contains Swift Code is set to NO in your embedded content."
(Reporter)

Comment 2

4 years ago
I flipped EMBEDDED_CONTENT_CONTAINS_SWIFT to No everywhere. But the resulting IPA still contains the Swift libraries twice. Going to ask on the Apple Forums.
(Reporter)

Comment 4

4 years ago
Oh I just noticed that this only happens in the Enterprise builds. There are no duplicate libraries in the CI server build. So lets find out what the actual Distribution build looks like.
(Reporter)

Updated

4 years ago
tracking-fennec: --- → ?
St3fan is going to investigate.
Assignee: nobody → sarentz
tracking-fennec: ? → +
(Reporter)

Comment 6

4 years ago
Need to backup my iPhone to iTunes so that we can see what kind of .ipa TestFlight put on the store. Assuming the TestFlight IPA will be the same as an App Store release .ipa file.

Updated

3 years ago
tracking-fxios: --- → +
(Reporter)

Updated

3 years ago
Assignee: sarentz → nobody
(Reporter)

Comment 9

3 years ago
Fennec Nightly.ipa, the one the CI server builds, does not have the libraries included twice.

Maybe we are doing a mixed debug/release build for the Firefox and Aurora targets.
(Reporter)

Updated

3 years ago
tracking-fennec: - → ---
tracking-fxios: + → -
Wonder if this is still happening
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WONTFIX
(In reply to Aaron Train [:aaronmt] from comment #10)
> Wonder if this is still happening

It's not clear if this is still an issue
Flags: needinfo?(jdarcangelo)
Sorry, I closed this with the wrong resolution. I checked and this isn't happening any more.
Flags: needinfo?(jdarcangelo)
Resolution: WONTFIX → WORKSFORME
You need to log in before you can comment on or make changes to this bug.