-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScannerKit.podspec
More file actions
32 lines (24 loc) · 1.22 KB
/
Copy pathScannerKit.podspec
File metadata and controls
32 lines (24 loc) · 1.22 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
29
30
31
32
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = 'ScannerKit'
s.version = package['version']
s.summary = package['description'] || '3D object scanning components for React Native and Web.'
s.description = <<-DESC
Cross-platform 3D object scanning components for React Native (ARKit/ARCore) and Web (WebXR/photogrammetry capture).
DESC
s.homepage = 'https://github.com/your-org/scanner-kit'
s.license = { :type => package['license'] || 'MIT' }
s.authors = { 'ScannerKit' => 'info@example.com' }
s.platform = :ios, '12.0'
# This spec will usually be consumed via `:path` from node_modules, so source is informational
s.source = { :git => 'https://github.com/your-org/scanner-kit.git', :tag => s.version.to_s }
s.source_files = 'ios/**/*.{h,m,mm,swift}'
s.requires_arc = true
# React Native core dependency
s.dependency 'React-Core'
# Link ARKit weakly so builds work on devices/simulators without ARKit capability
s.weak_frameworks = 'ARKit'
# UIKit is part of iOS SDK; no explicit dependency required, but you can uncomment if preferred
# s.frameworks = 'UIKit'
end