Closed Bug 1638200 Opened 4 years ago Closed 4 years ago

Unsupported Architecture error in Glean when building Firefox iOS

Categories

(Data Platform and Tools :: Glean: SDK, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: travis_, Unassigned)

Details

(Whiteboard: [telemetry:glean-rs:m?])

Invalid Segment Alignment. The app binary at 'Client.app/Frameworks/Glean.framework/Glean' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version.

These errors were reported by nishant on Slack in #firefox-iOS

This will go away with static linkage as the main binaries of the app are correctly arch stripped (or not) automatically.

Come to think of it, I should look at this, I suspect it wasn't properly integrated on our end, of course this should be properly stripped as a dylib on our end. WIll do so now and report back.

Thanks, any input on this would be appreciated. We didn't run into this problem with Lockwise-iOS, and I noticed that it is set to "Do Not Embed" and Firefox is set to "Embed and Sign" the Glean.framework. I wonder if that makes any difference?

Yup, this doesn't look correct. Carthage frameworks need to be copied in the "Copy Carthage Dependencies" phase.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.