Skip to content

Commit 0e43b9f

Browse files
committed
[Update] ObjectBox (1.7.0-sync-rc2)
1 parent 8a6536f commit 0e43b9f

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
Pod::Spec.new do |spec|
2+
spec.name = 'ObjectBox'
3+
spec.version = '1.7.0-sync-rc2'
4+
spec.summary = 'ObjectBox Swift is a superfast, lightweight database for Swift objects.'
5+
6+
spec.description = 'ObjectBox is a superfast object-oriented database with strong relation support. ObjectBox is embedded into your Android, Linux, iOS, macOS, or Windows app.'
7+
spec.homepage = 'https://github.com/objectbox/objectbox-swift'
8+
spec.authors = [ 'ObjectBox' ]
9+
spec.license = 'Apache 2.0, ObjectBox Binary License'
10+
spec.social_media_url = 'https://twitter.com/objectbox_io'
11+
12+
spec.cocoapods_version = '>= 1.9.1'
13+
spec.swift_version = '5.5'
14+
spec.ios.deployment_target = '11.0'
15+
spec.osx.deployment_target = '10.10'
16+
17+
# How to obtain the contents
18+
spec.source = {
19+
:http => 'https://github.com/objectbox/objectbox-swift-spec-staging/releases/download/v1.x/ObjectBox-xcframework-1.7.0-sync-rc2.zip'
20+
}
21+
spec.preserve_paths = '{templates,*.rb,*.sh,*.command,*.app,*.generated.swift,Mac/OBXCodeGen.framework}'
22+
spec.vendored_frameworks = 'ObjectBox.xcframework'
23+
24+
# Skip Apple Silicon
25+
spec.pod_target_xcconfig = {
26+
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64',
27+
'EXCLUDED_ARCHS[sdk=macosx*]' => 'arm64'
28+
}
29+
30+
spec.user_target_xcconfig = {
31+
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64',
32+
'EXCLUDED_ARCHS[sdk=macosx*]' => 'arm64'
33+
}
34+
end
35+

0 commit comments

Comments
 (0)