-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Conversation
👍 |
@1ec5 reminded me that I should mention a weird issue I encountered while trying to use libtool to smoosh together the constituent libraries: When the simulator libraries did not include an I don’t understand why, but libtool became able to combine all of the constituent libraries once I set |
Another note, with a hat-tip to @1ec5:
|
- Include libMapbox.a, which contains our Obj-C classes, in the fat archive. - Simulator libraries now always include x86_64 slices.
9eaa05a
to
f41546e
Compare
@@ -84,6 +84,7 @@ xcodebuild \ | |||
CURRENT_SHORT_VERSION=${SHORT_VERSION} \ | |||
CURRENT_SEMANTIC_VERSION=${SEM_VERSION} \ | |||
CURRENT_COMMIT_HASH=${HASH} \ | |||
ONLY_ACTIVE_ARCH=NO \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should revisit whether this flag is necessary after mapbox/mason#181 lands. Ideally we’d stick to just the standard architectures, to minimize the build size.
Fixes #5071, where
make ipackage
would produce a static framework that did not include our Objective-C symbols.libMapbox.a
to the libtool binary conglomeration step for the static framework.x86_64
slices (by settingONLY_ACTIVE_ARCH=NO
).make ipackage-foo
.make ipackage-foo BUILDTYPE=Release
./cc @1ec5 @boundsj