Skip to content

Commit

Permalink
Allow to be consumed without use_frameworks!
Browse files Browse the repository at this point in the history
  • Loading branch information
mfazekas committed Mar 10, 2020
1 parent 3667ce3 commit ec0eba8
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
7 changes: 6 additions & 1 deletion example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,18 @@ target 'RNMapboxGLExample' do
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
pod 'react-native-mapbox-gl', :path => '../node_modules/@react-native-mapbox-gl/maps'

#pod 'Mapbox-iOS-SDK', :podspec => '/Users/boga/Work/Freelance/Ruby/MlkFestival/RNMPGL/maps/example/mbgl-pods/Mapbox-iOS-SDK.podsspec.json'
#pod 'MapboxMobileEvents', '~> 0.10.2'


target 'RNMapboxGLExampleTests' do
inherit! :search_paths
# Pods for testing
end

use_frameworks!
pod 'RNMBGLMapboxMobileEvents', :podspec => '../node_modules/@react-native-mapbox-gl/maps/ios/RNMBGLMapboxMobileEvents/RNMBGLMapboxMobileEvents-0.10.2.podspec.json'
# use_frameworks!

use_native_modules!
end

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "RNMBGLMapboxMobileEvents",
"version": "0.10.2",
"summary": "Open source vector map solution for iOS with full styling capabilities.",
"description": "Open source, OpenGL-based vector map solution for iOS with full styling capabilities and Cocoa Touch APIs.",
"homepage": "https://docs.mapbox.com/ios/maps/",
"license": {
"type": "BSD",
"file": "LICENSE.md"
},
"authors": {
"Mapbox": "mobile@mapbox.com"
},
"screenshots": "https://docs.mapbox.com/ios/api/maps/5.7.0/img/screenshot.png",
"social_media_url": "https://twitter.com/mapbox",
"documentation_url": "https://docs.mapbox.com/ios/api/maps/",
"source": {
"http": "https://mapbox.s3.amazonaws.com/mapbox-gl-native/ios/builds/mapbox-ios-sdk-5.7.0-dynamic-with-events.zip",
"flatten": true
},
"platforms": {
"ios": "9.0"
},
"requires_arc": true,
"vendored_frameworks": "dynamic/MapboxMobileEvents.framework",
"module_name": "RNMBGLMapboxMobileEvents",
"preserve_paths": "**/*.bcsymbolmap"
}

0 comments on commit ec0eba8

Please sign in to comment.