-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsprint-react-native.podspec
More file actions
28 lines (21 loc) · 1.01 KB
/
appsprint-react-native.podspec
File metadata and controls
28 lines (21 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
repository = package["repository"]
repository_url = repository.is_a?(Hash) ? repository["url"] : repository
repository_url = repository_url&.sub(/^git\+/, "")
raise "package.json repository.url must be set" if repository_url.nil? || repository_url.empty?
Pod::Spec.new do |s|
s.name = "appsprint-react-native"
s.version = package["version"]
s.summary = package["description"]
s.homepage = package["homepage"]
s.license = package["license"]
s.authors = package["author"]
s.platforms = { :ios => "14.0" }
s.source = { :git => repository_url, :tag => "v#{s.version}" }
s.source_files = "ios/AppSprintBridge.{swift,m}"
s.swift_version = "5.0"
s.dependency "React-Core"
s.ios.vendored_frameworks = "ios/AppSprintSDK.xcframework"
s.frameworks = "Foundation", "UIKit", "CoreTelephony", "Metal", "CoreGraphics", "CryptoKit", "AdServices", "AppTrackingTransparency", "AdSupport"
end