Repository navigation
[build] Package bcsymbolmap files; cleanup packaging script - #9613
Conversation
This was a faux framework once required by Fabric.
|
Looking more closely at Update: they’ll be shipped if you don’t move/delete them from the framework. |
|
Turns out that Carthage won’t copy in bcsymbolmaps from precompiled binaries (only frameworks it builds itself), so that’s a bummer. Still, including these files in the distribution has no downside and is potentially valuable, if the developer chooses to take advantage of them and/or if package manager support improves. Carthage/Carthage#684 and CocoaPods/CocoaPods#6536 show the way forward, if someone wanted to implement support. |
08b963e to
82c2d4b
Compare
.bcsymbolmapfiles are text files with a list of symbols available in our framework, used to map recompiled bitcode to named symbols for crash reporting. These files are generated in the build process, one per device architecture, and share UUIDs with those slices/dSYMs.These bcsymbolmap files can be included during the app archiving process and uploaded to Apple.
does this automatically. (Copy bcsymbolmap files when building Carthage/Carthage#853)strip-framework.shalready supports this. (Copy bcsymbolmap files to build products folder when archiving realm/realm-swift#2759)08b963e packages these files alongside our dynamic framework. When uploaded with an app archive, this should theoretically help eliminate the pesky
__hiddensymbols issue (#8463).Notes
Also did some more Fabric cleanup
612a1e8 follows up on #9264 and removes the Fabric-specific static framework + bundle mode, first introduced in #4232, later updated in #4783.
/cc @1ec5 @boundsj @fabian-guerra