Closed Bug 1138960 Opened 9 years ago Closed 7 years ago

Swift libraries are included twice in the .ipa file

Categories

(Firefox for iOS :: Build & Test, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Tracking Status
fxios - ---

People

(Reporter: st3fan, Unassigned)

References

Details

The swift libraries are packaged twice:

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

One should go away.
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."
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.
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.
tracking-fennec: --- → ?
St3fan is going to investigate.
Assignee: nobody → sarentz
tracking-fennec: ? → +
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.
Assignee: sarentz → nobody
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.
tracking-fennec: - → ---
Wonder if this is still happening
Status: NEW → RESOLVED
Closed: 7 years 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.