Browse Source

Add tvOS deployment_target

Mathieu Acthernoene 5 years ago
parent
commit
0efc97844d

+ 13
- 11
RNPermissions.podspec View File

@@ -2,18 +2,20 @@ require 'json'
2 2
 package = JSON.parse(File.read('./package.json'))
3 3
 
4 4
 Pod::Spec.new do |s|
5
-  s.name            = "RNPermissions"
6
-  s.dependency        "React"
5
+  s.name                      = "RNPermissions"
6
+  s.dependency                  "React"
7 7
 
8
-  s.version         = package["version"]
9
-  s.license         = package["license"]
10
-  s.summary         = package["description"]
11
-  s.authors         = package["author"]
12
-  s.homepage        = package["homepage"]
8
+  s.version                   = package["version"]
9
+  s.license                   = package["license"]
10
+  s.summary                   = package["description"]
11
+  s.authors                   = package["author"]
12
+  s.homepage                  = package["homepage"]
13 13
 
14
-  s.platform        = :ios, "9.0"
15
-  s.requires_arc    = true
14
+  s.platform                  = :ios, "9.0"
15
+  s.ios.deployment_target     = "9.0"
16
+  s.tvos.deployment_target    = "11.0"
17
+  s.requires_arc              = true
16 18
 
17
-  s.source          = { :git => package["repository"]["url"], :tag => s.version }
18
-  s.source_files    = "ios/*.{h,m}"
19
+  s.source                    = { :git => package["repository"]["url"], :tag => s.version }
20
+  s.source_files              = "ios/*.{h,m}"
19 21
 end

+ 16
- 16
example/ios/Podfile.lock View File

@@ -242,21 +242,21 @@ SPEC CHECKSUMS:
242 242
   DoubleConversion: 5805e889d232975c086db112ece9ed034df7a0b2
243 243
   Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51
244 244
   glog: 1f3da668190260b06b429bb211bfbee5cd790c28
245
-  Permission-BluetoothPeripheral: a6c49a6f56e1272cf3a28b3f925380f949976261
246
-  Permission-Calendars: 13d857b0b95bc232b26518f3fb9a37ce3be168a0
247
-  Permission-Camera: 40b0be462fac1db38fedddb01ae4aea898991707
248
-  Permission-Contacts: 3f71dc654b46c87345b442d4cf9b8ae6d4dbcfde
249
-  Permission-FaceID: 107ba5eed56ba7c6c0165c48707d27452b8fe8a1
250
-  Permission-LocationAlways: 06c700f10cd8f5e182d00a4a13eaa1b39e69142c
251
-  Permission-LocationWhenInUse: 52d6deaac51fc0a51ccabb291c80445ed9e67acb
252
-  Permission-MediaLibrary: 64e2e59f8e46c1964729fc408bf7be9180ef7838
253
-  Permission-Microphone: aad740aeb66b54a84b034c7636de8d5078d005cf
254
-  Permission-Motion: e79139a6e6cd646994293e8a01f236e69547cb3f
255
-  Permission-Notifications: 5e9a4e026259b7db0021cde9593725003332425b
256
-  Permission-PhotoLibrary: c87959cfabfb54b2324fd1ec5958bf9a57ffce2c
257
-  Permission-Reminders: 6131282099964b4b2dbfc90b42e01a94cd14ffd6
258
-  Permission-SpeechRecognition: 329c78ba287f665d14c5a38b081500ebdd17d4b0
259
-  Permission-StoreKit: 2386d7ddd0a0a05381446fa87c6d7465e24c270d
245
+  Permission-BluetoothPeripheral: 5cf4dcbf8bf8bfa26cdc8d5e22560ead66907aea
246
+  Permission-Calendars: 671913c79ffcc834b0ca63696f94420ccf8db260
247
+  Permission-Camera: 943fe2127d7547eb5faf127849967e0010375dc5
248
+  Permission-Contacts: f22e9dd0c13aa3db548c67c75fe404a30984fb29
249
+  Permission-FaceID: 07f01e3037e305074a94e4b287ecb55ce0d23ed2
250
+  Permission-LocationAlways: edb0f76f677df94ef6e4fff7075152c80c7b3b91
251
+  Permission-LocationWhenInUse: 4ae6f7b723bd972c1854ab352ed16ab4facdc11e
252
+  Permission-MediaLibrary: 92f69c8b63e1e33ef7eaf4b854774034536493c7
253
+  Permission-Microphone: 1095d084f4998b1bfeccf6df25cb632452f601b6
254
+  Permission-Motion: def24295b0a06686567e44eab11c40fd043fb3fd
255
+  Permission-Notifications: bfb61a77dcacec8742d651e7023732dec4501df1
256
+  Permission-PhotoLibrary: 4002b02a7732a9d7edf13180e87a1233644048cd
257
+  Permission-Reminders: eeac1b0c2d40fd5d9b707fa2a77788745dd7c825
258
+  Permission-SpeechRecognition: 4865644601fc35513e1808aef119b907260bf667
259
+  Permission-StoreKit: 3eb5299146c0f87d30b4146a1fbc02df3256b923
260 260
   React: 53c53c4d99097af47cf60594b8706b4e3321e722
261 261
   React-Core: ba421f6b4f4cbe2fb17c0b6fc675f87622e78a64
262 262
   React-cxxreact: 8384287780c4999351ad9b6e7a149d9ed10a2395
@@ -274,7 +274,7 @@ SPEC CHECKSUMS:
274 274
   React-RCTText: b074d89033583d4f2eb5faf7ea2db3a13c7553a2
275 275
   React-RCTVibration: 2105b2e0e2b66a6408fc69a46c8a7fb5b2fdade0
276 276
   React-RCTWebSocket: cd932a16b7214898b6b7f788c8bddb3637246ac4
277
-  RNPermissions: 4de767fb0ff41240a387b4f1275b51fe0f15f950
277
+  RNPermissions: 3753579000223a353d41b51e41e1d51788b75486
278 278
   RNVectorIcons: 0bb4def82230be1333ddaeee9fcba45f0b288ed4
279 279
   yoga: 312528f5bbbba37b4dcea5ef00e8b4033fdd9411
280 280
 

+ 13
- 11
ios/BluetoothPeripheral.podspec View File

@@ -2,18 +2,20 @@ require 'json'
2 2
 package = JSON.parse(File.read('../package.json'))
3 3
 
4 4
 Pod::Spec.new do |s|
5
-  s.name            = "Permission-BluetoothPeripheral"
6
-  s.dependency        "RNPermissions"
5
+  s.name                      = "Permission-BluetoothPeripheral"
6
+  s.dependency                  "RNPermissions"
7 7
 
8
-  s.version         = package["version"]
9
-  s.license         = package["license"]
10
-  s.summary         = package["description"]
11
-  s.authors         = package["author"]
12
-  s.homepage        = package["homepage"]
8
+  s.version                   = package["version"]
9
+  s.license                   = package["license"]
10
+  s.summary                   = package["description"]
11
+  s.authors                   = package["author"]
12
+  s.homepage                  = package["homepage"]
13 13
 
14
-  s.platform        = :ios, "9.0"
15
-  s.requires_arc    = true
14
+  s.platform                  = :ios, "9.0"
15
+  s.ios.deployment_target     = "9.0"
16
+  s.tvos.deployment_target    = "11.0"
17
+  s.requires_arc              = true
16 18
 
17
-  s.source          = { :git => package["repository"]["url"], :tag => s.version }
18
-  s.source_files    = "BluetoothPeripheral/*.{h,m}"
19
+  s.source                    = { :git => package["repository"]["url"], :tag => s.version }
20
+  s.source_files              = "BluetoothPeripheral/*.{h,m}"
19 21
 end

+ 13
- 11
ios/Calendars.podspec View File

@@ -2,18 +2,20 @@ require 'json'
2 2
 package = JSON.parse(File.read('../package.json'))
3 3
 
4 4
 Pod::Spec.new do |s|
5
-  s.name            = "Permission-Calendars"
6
-  s.dependency        "RNPermissions"
5
+  s.name                      = "Permission-Calendars"
6
+  s.dependency                  "RNPermissions"
7 7
 
8
-  s.version         = package["version"]
9
-  s.license         = package["license"]
10
-  s.summary         = package["description"]
11
-  s.authors         = package["author"]
12
-  s.homepage        = package["homepage"]
8
+  s.version                   = package["version"]
9
+  s.license                   = package["license"]
10
+  s.summary                   = package["description"]
11
+  s.authors                   = package["author"]
12
+  s.homepage                  = package["homepage"]
13 13
 
14
-  s.platform        = :ios, "9.0"
15
-  s.requires_arc    = true
14
+  s.platform                  = :ios, "9.0"
15
+  s.ios.deployment_target     = "9.0"
16
+  s.tvos.deployment_target    = "11.0"
17
+  s.requires_arc              = true
16 18
 
17
-  s.source          = { :git => package["repository"]["url"], :tag => s.version }
18
-  s.source_files    = "Calendars/*.{h,m}"
19
+  s.source                    = { :git => package["repository"]["url"], :tag => s.version }
20
+  s.source_files              = "Calendars/*.{h,m}"
19 21
 end

+ 13
- 11
ios/Camera.podspec View File

@@ -2,18 +2,20 @@ require 'json'
2 2
 package = JSON.parse(File.read('../package.json'))
3 3
 
4 4
 Pod::Spec.new do |s|
5
-  s.name            = "Permission-Camera"
6
-  s.dependency        "RNPermissions"
5
+  s.name                      = "Permission-Camera"
6
+  s.dependency                  "RNPermissions"
7 7
 
8
-  s.version         = package["version"]
9
-  s.license         = package["license"]
10
-  s.summary         = package["description"]
11
-  s.authors         = package["author"]
12
-  s.homepage        = package["homepage"]
8
+  s.version                   = package["version"]
9
+  s.license                   = package["license"]
10
+  s.summary                   = package["description"]
11
+  s.authors                   = package["author"]
12
+  s.homepage                  = package["homepage"]
13 13
 
14
-  s.platform        = :ios, "9.0"
15
-  s.requires_arc    = true
14
+  s.platform                  = :ios, "9.0"
15
+  s.ios.deployment_target     = "9.0"
16
+  s.tvos.deployment_target    = "11.0"
17
+  s.requires_arc              = true
16 18
 
17
-  s.source          = { :git => package["repository"]["url"], :tag => s.version }
18
-  s.source_files    = "Camera/*.{h,m}"
19
+  s.source                    = { :git => package["repository"]["url"], :tag => s.version }
20
+  s.source_files              = "Camera/*.{h,m}"
19 21
 end

+ 13
- 11
ios/Contacts.podspec View File

@@ -2,18 +2,20 @@ require 'json'
2 2
 package = JSON.parse(File.read('../package.json'))
3 3
 
4 4
 Pod::Spec.new do |s|
5
-  s.name            = "Permission-Contacts"
6
-  s.dependency        "RNPermissions"
5
+  s.name                      = "Permission-Contacts"
6
+  s.dependency                  "RNPermissions"
7 7
 
8
-  s.version         = package["version"]
9
-  s.license         = package["license"]
10
-  s.summary         = package["description"]
11
-  s.authors         = package["author"]
12
-  s.homepage        = package["homepage"]
8
+  s.version                   = package["version"]
9
+  s.license                   = package["license"]
10
+  s.summary                   = package["description"]
11
+  s.authors                   = package["author"]
12
+  s.homepage                  = package["homepage"]
13 13
 
14
-  s.platform        = :ios, "9.0"
15
-  s.requires_arc    = true
14
+  s.platform                  = :ios, "9.0"
15
+  s.ios.deployment_target     = "9.0"
16
+  s.tvos.deployment_target    = "11.0"
17
+  s.requires_arc              = true
16 18
 
17
-  s.source          = { :git => package["repository"]["url"], :tag => s.version }
18
-  s.source_files    = "Contacts/*.{h,m}"
19
+  s.source                    = { :git => package["repository"]["url"], :tag => s.version }
20
+  s.source_files              = "Contacts/*.{h,m}"
19 21
 end

+ 13
- 11
ios/FaceID.podspec View File

@@ -2,18 +2,20 @@ require 'json'
2 2
 package = JSON.parse(File.read('../package.json'))
3 3
 
4 4
 Pod::Spec.new do |s|
5
-  s.name            = "Permission-FaceID"
6
-  s.dependency        "RNPermissions"
5
+  s.name                      = "Permission-FaceID"
6
+  s.dependency                  "RNPermissions"
7 7
 
8
-  s.version         = package["version"]
9
-  s.license         = package["license"]
10
-  s.summary         = package["description"]
11
-  s.authors         = package["author"]
12
-  s.homepage        = package["homepage"]
8
+  s.version                   = package["version"]
9
+  s.license                   = package["license"]
10
+  s.summary                   = package["description"]
11
+  s.authors                   = package["author"]
12
+  s.homepage                  = package["homepage"]
13 13
 
14
-  s.platform        = :ios, "9.0"
15
-  s.requires_arc    = true
14
+  s.platform                  = :ios, "9.0"
15
+  s.ios.deployment_target     = "9.0"
16
+  s.tvos.deployment_target    = "11.0"
17
+  s.requires_arc              = true
16 18
 
17
-  s.source          = { :git => package["repository"]["url"], :tag => s.version }
18
-  s.source_files    = "FaceID/*.{h,m}"
19
+  s.source                    = { :git => package["repository"]["url"], :tag => s.version }
20
+  s.source_files              = "FaceID/*.{h,m}"
19 21
 end

+ 13
- 11
ios/LocationAlways.podspec View File

@@ -2,18 +2,20 @@ require 'json'
2 2
 package = JSON.parse(File.read('../package.json'))
3 3
 
4 4
 Pod::Spec.new do |s|
5
-  s.name            = "Permission-LocationAlways"
6
-  s.dependency        "RNPermissions"
5
+  s.name                      = "Permission-LocationAlways"
6
+  s.dependency                  "RNPermissions"
7 7
 
8
-  s.version         = package["version"]
9
-  s.license         = package["license"]
10
-  s.summary         = package["description"]
11
-  s.authors         = package["author"]
12
-  s.homepage        = package["homepage"]
8
+  s.version                   = package["version"]
9
+  s.license                   = package["license"]
10
+  s.summary                   = package["description"]
11
+  s.authors                   = package["author"]
12
+  s.homepage                  = package["homepage"]
13 13
 
14
-  s.platform        = :ios, "9.0"
15
-  s.requires_arc    = true
14
+  s.platform                  = :ios, "9.0"
15
+  s.ios.deployment_target     = "9.0"
16
+  s.tvos.deployment_target    = "11.0"
17
+  s.requires_arc              = true
16 18
 
17
-  s.source          = { :git => package["repository"]["url"], :tag => s.version }
18
-  s.source_files    = "LocationAlways/*.{h,m}"
19
+  s.source                    = { :git => package["repository"]["url"], :tag => s.version }
20
+  s.source_files              = "LocationAlways/*.{h,m}"
19 21
 end

+ 13
- 11
ios/LocationWhenInUse.podspec View File

@@ -2,18 +2,20 @@ require 'json'
2 2
 package = JSON.parse(File.read('../package.json'))
3 3
 
4 4
 Pod::Spec.new do |s|
5
-  s.name            = "Permission-LocationWhenInUse"
6
-  s.dependency        "RNPermissions"
5
+  s.name                      = "Permission-LocationWhenInUse"
6
+  s.dependency                  "RNPermissions"
7 7
 
8
-  s.version         = package["version"]
9
-  s.license         = package["license"]
10
-  s.summary         = package["description"]
11
-  s.authors         = package["author"]
12
-  s.homepage        = package["homepage"]
8
+  s.version                   = package["version"]
9
+  s.license                   = package["license"]
10
+  s.summary                   = package["description"]
11
+  s.authors                   = package["author"]
12
+  s.homepage                  = package["homepage"]
13 13
 
14
-  s.platform        = :ios, "9.0"
15
-  s.requires_arc    = true
14
+  s.platform                  = :ios, "9.0"
15
+  s.ios.deployment_target     = "9.0"
16
+  s.tvos.deployment_target    = "11.0"
17
+  s.requires_arc              = true
16 18
 
17
-  s.source          = { :git => package["repository"]["url"], :tag => s.version }
18
-  s.source_files    = "LocationWhenInUse/*.{h,m}"
19
+  s.source                    = { :git => package["repository"]["url"], :tag => s.version }
20
+  s.source_files              = "LocationWhenInUse/*.{h,m}"
19 21
 end

+ 13
- 11
ios/MediaLibrary.podspec View File

@@ -2,18 +2,20 @@ require 'json'
2 2
 package = JSON.parse(File.read('../package.json'))
3 3
 
4 4
 Pod::Spec.new do |s|
5
-  s.name            = "Permission-MediaLibrary"
6
-  s.dependency        "RNPermissions"
5
+  s.name                      = "Permission-MediaLibrary"
6
+  s.dependency                  "RNPermissions"
7 7
 
8
-  s.version         = package["version"]
9
-  s.license         = package["license"]
10
-  s.summary         = package["description"]
11
-  s.authors         = package["author"]
12
-  s.homepage        = package["homepage"]
8
+  s.version                   = package["version"]
9
+  s.license                   = package["license"]
10
+  s.summary                   = package["description"]
11
+  s.authors                   = package["author"]
12
+  s.homepage                  = package["homepage"]
13 13
 
14
-  s.platform        = :ios, "9.0"
15
-  s.requires_arc    = true
14
+  s.platform                  = :ios, "9.0"
15
+  s.ios.deployment_target     = "9.0"
16
+  s.tvos.deployment_target    = "11.0"
17
+  s.requires_arc              = true
16 18
 
17
-  s.source          = { :git => package["repository"]["url"], :tag => s.version }
18
-  s.source_files    = "MediaLibrary/*.{h,m}"
19
+  s.source                    = { :git => package["repository"]["url"], :tag => s.version }
20
+  s.source_files              = "MediaLibrary/*.{h,m}"
19 21
 end

+ 13
- 11
ios/Microphone.podspec View File

@@ -2,18 +2,20 @@ require 'json'
2 2
 package = JSON.parse(File.read('../package.json'))
3 3
 
4 4
 Pod::Spec.new do |s|
5
-  s.name            = "Permission-Microphone"
6
-  s.dependency        "RNPermissions"
5
+  s.name                      = "Permission-Microphone"
6
+  s.dependency                  "RNPermissions"
7 7
 
8
-  s.version         = package["version"]
9
-  s.license         = package["license"]
10
-  s.summary         = package["description"]
11
-  s.authors         = package["author"]
12
-  s.homepage        = package["homepage"]
8
+  s.version                   = package["version"]
9
+  s.license                   = package["license"]
10
+  s.summary                   = package["description"]
11
+  s.authors                   = package["author"]
12
+  s.homepage                  = package["homepage"]
13 13
 
14
-  s.platform        = :ios, "9.0"
15
-  s.requires_arc    = true
14
+  s.platform                  = :ios, "9.0"
15
+  s.ios.deployment_target     = "9.0"
16
+  s.tvos.deployment_target    = "11.0"
17
+  s.requires_arc              = true
16 18
 
17
-  s.source          = { :git => package["repository"]["url"], :tag => s.version }
18
-  s.source_files    = "Microphone/*.{h,m}"
19
+  s.source                    = { :git => package["repository"]["url"], :tag => s.version }
20
+  s.source_files              = "Microphone/*.{h,m}"
19 21
 end

+ 13
- 11
ios/Motion.podspec View File

@@ -2,18 +2,20 @@ require 'json'
2 2
 package = JSON.parse(File.read('../package.json'))
3 3
 
4 4
 Pod::Spec.new do |s|
5
-  s.name            = "Permission-Motion"
6
-  s.dependency        "RNPermissions"
5
+  s.name                      = "Permission-Motion"
6
+  s.dependency                  "RNPermissions"
7 7
 
8
-  s.version         = package["version"]
9
-  s.license         = package["license"]
10
-  s.summary         = package["description"]
11
-  s.authors         = package["author"]
12
-  s.homepage        = package["homepage"]
8
+  s.version                   = package["version"]
9
+  s.license                   = package["license"]
10
+  s.summary                   = package["description"]
11
+  s.authors                   = package["author"]
12
+  s.homepage                  = package["homepage"]
13 13
 
14
-  s.platform        = :ios, "9.0"
15
-  s.requires_arc    = true
14
+  s.platform                  = :ios, "9.0"
15
+  s.ios.deployment_target     = "9.0"
16
+  s.tvos.deployment_target    = "11.0"
17
+  s.requires_arc              = true
16 18
 
17
-  s.source          = { :git => package["repository"]["url"], :tag => s.version }
18
-  s.source_files    = "Motion/*.{h,m}"
19
+  s.source                    = { :git => package["repository"]["url"], :tag => s.version }
20
+  s.source_files              = "Motion/*.{h,m}"
19 21
 end

+ 13
- 11
ios/Notifications.podspec View File

@@ -2,18 +2,20 @@ require 'json'
2 2
 package = JSON.parse(File.read('../package.json'))
3 3
 
4 4
 Pod::Spec.new do |s|
5
-  s.name            = "Permission-Notifications"
6
-  s.dependency        "RNPermissions"
5
+  s.name                      = "Permission-Notifications"
6
+  s.dependency                  "RNPermissions"
7 7
 
8
-  s.version         = package["version"]
9
-  s.license         = package["license"]
10
-  s.summary         = package["description"]
11
-  s.authors         = package["author"]
12
-  s.homepage        = package["homepage"]
8
+  s.version                   = package["version"]
9
+  s.license                   = package["license"]
10
+  s.summary                   = package["description"]
11
+  s.authors                   = package["author"]
12
+  s.homepage                  = package["homepage"]
13 13
 
14
-  s.platform        = :ios, "9.0"
15
-  s.requires_arc    = true
14
+  s.platform                  = :ios, "9.0"
15
+  s.ios.deployment_target     = "9.0"
16
+  s.tvos.deployment_target    = "11.0"
17
+  s.requires_arc              = true
16 18
 
17
-  s.source          = { :git => package["repository"]["url"], :tag => s.version }
18
-  s.source_files    = "Notifications/*.{h,m}"
19
+  s.source                    = { :git => package["repository"]["url"], :tag => s.version }
20
+  s.source_files              = "Notifications/*.{h,m}"
19 21
 end

+ 13
- 11
ios/PhotoLibrary.podspec View File

@@ -2,18 +2,20 @@ require 'json'
2 2
 package = JSON.parse(File.read('../package.json'))
3 3
 
4 4
 Pod::Spec.new do |s|
5
-  s.name            = "Permission-PhotoLibrary"
6
-  s.dependency        "RNPermissions"
5
+  s.name                      = "Permission-PhotoLibrary"
6
+  s.dependency                  "RNPermissions"
7 7
 
8
-  s.version         = package["version"]
9
-  s.license         = package["license"]
10
-  s.summary         = package["description"]
11
-  s.authors         = package["author"]
12
-  s.homepage        = package["homepage"]
8
+  s.version                   = package["version"]
9
+  s.license                   = package["license"]
10
+  s.summary                   = package["description"]
11
+  s.authors                   = package["author"]
12
+  s.homepage                  = package["homepage"]
13 13
 
14
-  s.platform        = :ios, "9.0"
15
-  s.requires_arc    = true
14
+  s.platform                  = :ios, "9.0"
15
+  s.ios.deployment_target     = "9.0"
16
+  s.tvos.deployment_target    = "11.0"
17
+  s.requires_arc              = true
16 18
 
17
-  s.source          = { :git => package["repository"]["url"], :tag => s.version }
18
-  s.source_files    = "PhotoLibrary/*.{h,m}"
19
+  s.source                    = { :git => package["repository"]["url"], :tag => s.version }
20
+  s.source_files              = "PhotoLibrary/*.{h,m}"
19 21
 end

+ 13
- 11
ios/Reminders.podspec View File

@@ -2,18 +2,20 @@ require 'json'
2 2
 package = JSON.parse(File.read('../package.json'))
3 3
 
4 4
 Pod::Spec.new do |s|
5
-  s.name            = "Permission-Reminders"
6
-  s.dependency        "RNPermissions"
5
+  s.name                      = "Permission-Reminders"
6
+  s.dependency                  "RNPermissions"
7 7
 
8
-  s.version         = package["version"]
9
-  s.license         = package["license"]
10
-  s.summary         = package["description"]
11
-  s.authors         = package["author"]
12
-  s.homepage        = package["homepage"]
8
+  s.version                   = package["version"]
9
+  s.license                   = package["license"]
10
+  s.summary                   = package["description"]
11
+  s.authors                   = package["author"]
12
+  s.homepage                  = package["homepage"]
13 13
 
14
-  s.platform        = :ios, "9.0"
15
-  s.requires_arc    = true
14
+  s.platform                  = :ios, "9.0"
15
+  s.ios.deployment_target     = "9.0"
16
+  s.tvos.deployment_target    = "11.0"
17
+  s.requires_arc              = true
16 18
 
17
-  s.source          = { :git => package["repository"]["url"], :tag => s.version }
18
-  s.source_files    = "Reminders/*.{h,m}"
19
+  s.source                    = { :git => package["repository"]["url"], :tag => s.version }
20
+  s.source_files              = "Reminders/*.{h,m}"
19 21
 end

+ 13
- 11
ios/Siri.podspec View File

@@ -2,18 +2,20 @@ require 'json'
2 2
 package = JSON.parse(File.read('../package.json'))
3 3
 
4 4
 Pod::Spec.new do |s|
5
-  s.name            = "Permission-Siri"
6
-  s.dependency        "RNPermissions"
5
+  s.name                      = "Permission-Siri"
6
+  s.dependency                  "RNPermissions"
7 7
 
8
-  s.version         = package["version"]
9
-  s.license         = package["license"]
10
-  s.summary         = package["description"]
11
-  s.authors         = package["author"]
12
-  s.homepage        = package["homepage"]
8
+  s.version                   = package["version"]
9
+  s.license                   = package["license"]
10
+  s.summary                   = package["description"]
11
+  s.authors                   = package["author"]
12
+  s.homepage                  = package["homepage"]
13 13
 
14
-  s.platform        = :ios, "9.0"
15
-  s.requires_arc    = true
14
+  s.platform                  = :ios, "9.0"
15
+  s.ios.deployment_target     = "9.0"
16
+  s.tvos.deployment_target    = "11.0"
17
+  s.requires_arc              = true
16 18
 
17
-  s.source          = { :git => package["repository"]["url"], :tag => s.version }
18
-  s.source_files    = "Siri/*.{h,m}"
19
+  s.source                    = { :git => package["repository"]["url"], :tag => s.version }
20
+  s.source_files              = "Siri/*.{h,m}"
19 21
 end

+ 13
- 11
ios/SpeechRecognition.podspec View File

@@ -2,18 +2,20 @@ require 'json'
2 2
 package = JSON.parse(File.read('../package.json'))
3 3
 
4 4
 Pod::Spec.new do |s|
5
-  s.name            = "Permission-SpeechRecognition"
6
-  s.dependency        "RNPermissions"
5
+  s.name                      = "Permission-SpeechRecognition"
6
+  s.dependency                  "RNPermissions"
7 7
 
8
-  s.version         = package["version"]
9
-  s.license         = package["license"]
10
-  s.summary         = package["description"]
11
-  s.authors         = package["author"]
12
-  s.homepage        = package["homepage"]
8
+  s.version                   = package["version"]
9
+  s.license                   = package["license"]
10
+  s.summary                   = package["description"]
11
+  s.authors                   = package["author"]
12
+  s.homepage                  = package["homepage"]
13 13
 
14
-  s.platform        = :ios, "9.0"
15
-  s.requires_arc    = true
14
+  s.platform                  = :ios, "9.0"
15
+  s.ios.deployment_target     = "9.0"
16
+  s.tvos.deployment_target    = "11.0"
17
+  s.requires_arc              = true
16 18
 
17
-  s.source          = { :git => package["repository"]["url"], :tag => s.version }
18
-  s.source_files    = "SpeechRecognition/*.{h,m}"
19
+  s.source                    = { :git => package["repository"]["url"], :tag => s.version }
20
+  s.source_files              = "SpeechRecognition/*.{h,m}"
19 21
 end

+ 13
- 11
ios/StoreKit.podspec View File

@@ -2,18 +2,20 @@ require 'json'
2 2
 package = JSON.parse(File.read('../package.json'))
3 3
 
4 4
 Pod::Spec.new do |s|
5
-  s.name            = "Permission-StoreKit"
6
-  s.dependency        "RNPermissions"
5
+  s.name                      = "Permission-StoreKit"
6
+  s.dependency                  "RNPermissions"
7 7
 
8
-  s.version         = package["version"]
9
-  s.license         = package["license"]
10
-  s.summary         = package["description"]
11
-  s.authors         = package["author"]
12
-  s.homepage        = package["homepage"]
8
+  s.version                   = package["version"]
9
+  s.license                   = package["license"]
10
+  s.summary                   = package["description"]
11
+  s.authors                   = package["author"]
12
+  s.homepage                  = package["homepage"]
13 13
 
14
-  s.platform        = :ios, "9.0"
15
-  s.requires_arc    = true
14
+  s.platform                  = :ios, "9.0"
15
+  s.ios.deployment_target     = "9.0"
16
+  s.tvos.deployment_target    = "11.0"
17
+  s.requires_arc              = true
16 18
 
17
-  s.source          = { :git => package["repository"]["url"], :tag => s.version }
18
-  s.source_files    = "StoreKit/*.{h,m}"
19
+  s.source                    = { :git => package["repository"]["url"], :tag => s.version }
20
+  s.source_files              = "StoreKit/*.{h,m}"
19 21
 end