Skip to content

Commit 553892a

Browse files
Enable autolinking on iOS
This podspec file enables autolinking on iOS for React Native >0.60. This should help avoid any necessary linking setup to use this library.
1 parent 4781218 commit 553892a

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

react-native-mdm.podspec

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
require 'json'
3+
4+
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
5+
6+
Pod::Spec.new do |s|
7+
s.name = package['name']
8+
s.version = package['version']
9+
s.summary = package['description']
10+
s.license = package['license']
11+
s.authors = package['author']
12+
s.homepage = "https://github.com/robinpowered/react-native-mdm"
13+
s.platforms = { :ios => "9.0", :osx => "10.14" }
14+
s.source = { :git => "https://github.com/robinpowered/react-native-mdm.git", :tag => "v#{s.version}" }
15+
s.source_files = "ios/**/*.{h,m}"
16+
s.dependency 'React'
17+
s.dependency 'AppConfigSettingsFramework'
18+
end

0 commit comments

Comments
 (0)