[ios] Preserve bcsymbolmap files when using CocoaPods

Bitcode symbol map files (`bcsymbolmap`) are used in conjunction with dSYMs to symbolicate crashes. CocoaPods doesn't yet preserve these or add them to an app's `xcarchive`, so the developer needs to do this themselves (typically as an install-only build copy phase).
This commit is contained in:
Jason Wray
2018-06-28 17:18:51 -04:00
committed by GitHub
parent e323daf71f
commit acbcf7e7e6
4 changed files with 10 additions and 0 deletions

View File

@@ -4,6 +4,10 @@ Mapbox welcomes participation and contributions from everyone. Please read [CONT
## 4.2.0
### Packaging
* When integrating this framework using CocoaPods, the included bcsymbolmap files are now preserved. If you have bitcode enabled and you are seeing incorrectly symbolicated crash logs, you should create a build phase in your Xcode project that copies these bcsymbolmap files to your app’s Products Directory when installing. ([#12257](https://github.com/mapbox/mapbox-gl-native/pull/12257))
### Styles and rendering
* Added an `MGLRasterStyleLayer.rasterResamplingMode` property for configuring how raster style layers are overscaled. ([#12176](https://github.com/mapbox/mapbox-gl-native/pull/12176))

View File

@@ -27,4 +27,6 @@ Pod::Spec.new do |m|
m.vendored_frameworks = 'dynamic/Mapbox.framework'
m.module_name = 'Mapbox'
m.preserve_path = '**/*.bcsymbolmap'
end

View File

@@ -27,4 +27,6 @@ Pod::Spec.new do |m|
m.vendored_frameworks = 'dynamic/Mapbox.framework'
m.module_name = 'Mapbox'
m.preserve_path = '**/*.bcsymbolmap'
end

View File

@@ -27,4 +27,6 @@ Pod::Spec.new do |m|
m.vendored_frameworks = 'dynamic/Mapbox.framework'
m.module_name = 'Mapbox'
m.preserve_path = '**/*.bcsymbolmap'
end