Repository navigation
Fix static framework packaging - #5209
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
| 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.
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 ipackagewould produce a static framework that did not include our Objective-C symbols.libMapbox.ato the libtool binary conglomeration step for the static framework.x86_64slices (by settingONLY_ACTIVE_ARCH=NO).make ipackage-foo.make ipackage-foo BUILDTYPE=Release./cc @1ec5 @boundsj