You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Installing pre-release versions through Cocoapods? #1822
It'd be really handy to document the installation procedure for pre-release versions. I'm trying to install it through Cocoapods using the following line:
pod 'MapboxGL', git: 'https://github.com/mapbox/mapbox-gl-native.git'
And it recognises the Podspec (Installing MapboxGL (0.4.4-symbols)), but I get 'MapboxGL/MapboxGL.h' file not found wherever I try to #include it. Am I missing something, or do these releases need to be installed with a different process?
This will get you the latest (pre-)release on GitHub:
pod 'MapboxGL', :podspec => 'https://raw.githubusercontent.com/mapbox/mapbox-gl-native/master/ios/MapboxGL.podspec'
Note that this doesn't checkout this repo or build anything from source, it uses the latest release from here that may or may not have also been released to CocoaPods' public repo.
@frenos 0.4.4 doesn't seem to be in the published repo. 0.4 works fine.
@friedbunny thanks, that works, but is there an obvious way of selecting the version without symbols - it just uses whatever it in the version attribute, which is 0.4.4-symbols. I guess one way would be to take a local copy of the file?
Pod::Spec.newdo |s|
s.name='Mapbox-iOS-SDK's.version='2.1.2's.summary='Open source vector map solution for iOS with full styling capabilities.'s.description='Open source OpenGL-based vector map solution for iOS with full styling capabilities and Cocoa bindings.'s.homepage='https://www.mapbox.com/ios-sdk/'s.license='BSD's.author={'Mapbox'=>'[email protected]'}s.screenshot='https://raw.githubusercontent.com/mapbox/mapbox-gl-native/master/ios/screenshot.png's.social_media_url='https://twitter.com/mapbox's.documentation_url='https://www.mapbox.com/ios-sdk/'s.source={:path=>"/Users/robipresotto/Work/iSea/Mapbox/mapbox-gl-native/build/ios/pkg/static",}s.platform=:ioss.ios.deployment_target='8.0's.requires_arc=trues.source_files='Headers/*.h','MGLDummy.m's.resource_bundle={'Mapbox'=>'Mapbox.bundle/*'}s.vendored_library='libMapbox.a's.module_name='Mapbox's.frameworks='CoreLocation','CoreTelephony','GLKit','ImageIO','MobileCoreServices','QuartzCore','SystemConfiguration's.libraries='c++','sqlite3','z's.xcconfig={'OTHER_CPLUSPLUSFLAGS'=>'-std=gnu++11 -stdlib=libc++','OTHER_LDFLAGS'=>'-ObjC',}end
Activity
frenos commentedon Jul 2, 2015
You don't need to do this anymore I think.
Just use
pod MapboxGLand you will get the current v0.4.4.Or did I miss your problem?
friedbunny commentedon Jul 2, 2015
This will get you the latest (pre-)release on GitHub:
Note that this doesn't checkout this repo or build anything from source, it uses the latest release from here that may or may not have also been released to CocoaPods' public repo.
tomtaylor commentedon Jul 2, 2015
@frenos 0.4.4 doesn't seem to be in the published repo. 0.4 works fine.
@friedbunny thanks, that works, but is there an obvious way of selecting the version without symbols - it just uses whatever it in the version attribute, which is
0.4.4-symbols. I guess one way would be to take a local copy of the file?tomtaylor commentedon Jul 2, 2015
OK, so installing with a local Podspec works file. But now I'm getting what I'm guessing is a separate issue:
friedbunny commentedon Jul 3, 2015
@tomtaylor We're looking to enable build-from-source via CocoaPods in #1437, if that's what you're trying to do.
@incanus may know how to wrangle the podspec to prefer the smaller unsymbolicated release.
incanus commentedon Jul 5, 2015
For interim prereleases:
MapboxGL.podspecto point to.versionto the appropriate spot.x.y.zorx.y.z-symbolsaccordingly.By default, our stable releases (
x.y.0) are not symbolicated.1ec5 commentedon Jul 5, 2015
@tomtaylor, that linker error looks like something that might happen if you haven’t
make clean’d after upgrading.incanus commentedon Jul 9, 2015
@tomtaylor if you have any further info on the link error you saw, would you mind elaborating at #1859? I think we're done here, though.
robipresotto commentedon Sep 17, 2015
I'm trying to setup the pod file to load from local (to prototype features and fix bugs) but 'm not lucky,