-
Notifications
You must be signed in to change notification settings - Fork 0
/
rapidsnark.podspec
56 lines (46 loc) · 2.02 KB
/
rapidsnark.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
#
# Be sure to run `pod lib lint rapidsnark.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 = 'rapidsnark'
s.version = '0.0.1-alpha.5'
s.summary = 'Swift wrapper for the rapidsnark proof generation library.'
# 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
This library is Swift wrapper for the [Rapidsnark](https://github.com/iden3/rapidsnark). It enables the
generation of proofs for specified circuits within an iOS environment.
DESC
s.homepage = 'https://github.com/iden3/ios-rapidsnark'
s.license = { :type => 'LGPL-3', :file => 'COPYING' }
s.author = { 'Yaroslav Moria' => 'morya.yaroslav@gmail.com' }
s.source = { :git => 'https://github.com/iden3/ios-rapidsnark.git', :tag => s.version.to_s }
s.ios.deployment_target = '12.0'
s.swift_versions = ['5']
s.pod_target_xcconfig = {
'ONLY_ACTIVE_ARCH' => 'YES',
'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES'
}
s.user_target_xcconfig = {
'ONLY_ACTIVE_ARCH' => 'YES',
'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES'
}
s.subspec 'C' do |c|
c.source_files = 'Sources/C/**/*'
c.vendored_frameworks = "Libs/Rapidsnark.xcframework"
c.ios.vendored_frameworks = "Libs/Rapidsnark.xcframework"
end
s.subspec 'rapidsnark' do |rapidsnark|
rapidsnark.source_files = 'Sources/rapidsnark/**/*'
rapidsnark.dependency 'rapidsnark/C'
rapidsnark.ios.dependency 'rapidsnark/C'
end
s.default_subspec = 'rapidsnark'
end