-
Notifications
You must be signed in to change notification settings - Fork 1
/
NinchatSDKSwift.podspec
49 lines (42 loc) · 1.8 KB
/
NinchatSDKSwift.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
# coding: utf-8
Pod::Spec.new do |s|
s.name = "NinchatSDKSwift"
s.version = "0.8.2"
s.summary = "iOS SDK for Ninchat, Swift version"
s.description = "For building iOS applications using Ninchat messaging."
s.homepage = "https://ninchat.com/"
s.license = { :type => "Ninchat", :file => "LICENSE.md" }
s.author = { "Antti Hollanti" => "[email protected]" }
s.source = { :git => "https://github.com/somia/ninchat-sdk-ios-swift.git", :tag => "#{s.version}" }
s.ios.deployment_target = "14.3"
# Handle the SDK itself as a subspec with dependencies to the frameworks
s.subspec "SDKSwift" do |ss|
ss.source_files = "NinchatSDKSwift/**/*.{swift}"
ss.resource_bundles = {
"NinchatSwiftSDKUI" => "NinchatSDKSwift/**/*.{storyboard,xib,xcassets,strings,ttf}"
}
end
# The SDK is our main spec
s.default_subspec = "SDKSwift"
# Our dependency (NinchatLowLevel) is a static library, so we must also be
s.static_framework = true
# Due to gomobile bind not supporting bitcode we must switch it off - for
# the pod as well as the user target (app using the SDK). This is unfortunate,
# but hopefully support will be there soon.
# In addition we must suppress 'illegal text relocation' error for i386 platform
s.pod_target_xcconfig = {
"OTHER_LDFLAGS[arch=i386]" => "-Wl,-read_only_relocs,suppress -lstdc++",
"ENABLE_BITCODE" => "NO",
"SWIFT_SUPPRESS_WARNINGS" => "YES",
"ONLY_ACTIVE_ARCHS" => "NO"
}
s.user_target_xcconfig = {
"ENABLE_BITCODE" => "NO"
}
# Cocoapods dependencies
s.dependency "JitsiWebRTC", "106.0.0"
s.dependency 'AnyCodable-FlightSchool', '~> 0.2.3'
s.dependency "AutoLayoutSwift", "4.0.0"
s.dependency "NinchatLowLevelClient", "~> 0.6.0"
s.module_name = "NinchatSDKSwift"
end