This repository has been archived by the owner on Mar 7, 2023. It is now read-only.
forked from OpenMined/SwiftSyft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OpenMinedSwiftSyft.podspec
64 lines (51 loc) · 2.28 KB
/
OpenMinedSwiftSyft.podspec
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#
# Be sure to run `pod lib lint SwiftSyft.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'OpenMinedSwiftSyft'
s.module_name = 'SwiftSyft'
s.version = '0.5.0-rc.1'
s.summary = 'The official Syft worker for iOS, built in Swift.'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
SwiftSyft allows developers to integrate their apps as a worker to PySyft to facilitate
Federated Learning.
DESC
s.homepage = 'https://github.com/OpenMined/SwiftSyft'
s.license = { :type => 'Apache 2.0', :file => 'LICENSE' }
s.author = { 'OpenMined' => '[email protected]' }
s.source = { :git => 'https://github.com/OpenMined/SwiftSyft.git', :tag => "v#{s.version.to_s}" }
s.pod_target_xcconfig = { 'ENABLE_BITCODE' => 'NO' }
s.ios.deployment_target = '13.0'
s.swift_versions = '5.1.3'
s.source_files = 'SwiftSyft/**/*'
s.static_framework = true
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
s.pod_target_xcconfig = {
'HEADER_SEARCH_PATHS' => '$(inherited) "${PODS_ROOT}/LibTorch/install/include"',
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
}
# s.resource_bundles = {
# 'SwiftSyft' => ['SwiftSyft/Assets/*.png']
# }
# s.public_header_files = 'SwiftSyft/Classes/TorchWrapper/apis/*.h'
s.private_header_files = 'SwiftSyft/Classes/TorchWrapper/src/*.h'
# s.frameworks = 'UIKit', 'MapKit'
s.dependency 'LibTorch', '~> 1.7'
s.dependency 'GoogleWebRTC', '~> 1.1.0'
s.dependency 'SyftProto', '0.4.9'
s.test_spec 'Tests' do |test_spec|
test_spec.source_files = 'Tests/*.swift'
test_spec.resources = 'Tests/Resources/*.{json,proto}'
test_spec.dependency 'OHHTTPStubs/Swift'
test_spec.requires_app_host = true
end
end