-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Building for iOS framework does not generate the podspec file #15377
Comments
We removed the generated local podspec in #15027 as part of improving validation and streamlining the build process. Can you say more about how you used this file? |
I agree with your decision, but the readme is not updated. My issue is about a having symbols when a crash occurs. I only get |
Ah, thanks for pointing that out — we’ll update the docs soon. To use a local build via CocoaPods, one way would be to edit mapbox-gl-native/platform/ios/Mapbox-iOS-SDK.podspec Lines 17 to 20 in 8e1bd18
... to this: m.source = {
:path => "../../build/ios/pkg/dynamic/",
:flatten => true
} And then point your Podfile to that podspec. Another way would be to overwrite the CocoaPods-downloaded version with the custom-built |
Thanks! |
That’s expected, as the binaries in debug builds should keep all of their symbols (and other unoptimized ephemera) that would otherwise be stripped out into a dSYM for a size- and/or performance-optimized release build. |
I think we can close this |
Building the iOS framework does not generate the podspec file.
'{...}/build/ios/pkg/{dynamic|static}/Mapbox-iOS-SDK.podspec'
The command I used is
make iframework BUILDTYPE=Debug
The text was updated successfully, but these errors were encountered: