Fix pod lib lint warnings
* Remove constant (unused since 64410ab6b3).
* Remove description
* Set Swift version to 5.0
* Don’t allow warnings during `pod lib lint`
This commit is contained in:
parent
2f875bfa87
commit
1d6e3bd1d6
@ -10,11 +10,6 @@ Pod::Spec.new do |s|
|
||||
s.name = "SignalCoreKit"
|
||||
s.version = "1.0.0"
|
||||
s.summary = "A Swift & Objective-C library used by other Signal libraries."
|
||||
|
||||
s.description = <<-DESC
|
||||
A Swift & Objective-C library used by other Signal libraries.
|
||||
DESC
|
||||
|
||||
s.homepage = "https://github.com/signalapp/SignalCoreKit"
|
||||
s.license = 'GPLv3'
|
||||
s.author = { "iOS Team" => "ios@signal.org" }
|
||||
@ -24,6 +19,8 @@ A Swift & Objective-C library used by other Signal libraries.
|
||||
s.platform = :ios, '10.0'
|
||||
s.requires_arc = true
|
||||
|
||||
s.swift_version = '5.0'
|
||||
|
||||
s.source_files = 'SignalCoreKit/src/**/*.{h,m,mm,swift}', 'SignalCoreKit/Private/**/*.{h,m,mm,swift}'
|
||||
|
||||
s.public_header_files = 'SignalCoreKit/src/**/*.h'
|
||||
|
||||
@ -23,9 +23,6 @@ const NSUInteger kAES256CTR_IVLength = 16;
|
||||
// length of authentication tag for AES256-GCM
|
||||
static const NSUInteger kAESGCM256_TagLength = 16;
|
||||
|
||||
// length of key used for websocket envelope authentication
|
||||
static const NSUInteger kHMAC256_EnvelopeKeyLength = 20;
|
||||
|
||||
const NSUInteger kAES256_KeyByteLength = 32;
|
||||
|
||||
@implementation OWSAES256Key
|
||||
|
||||
@ -4,4 +4,4 @@ set -u
|
||||
set -o pipefail
|
||||
|
||||
XCODE_XCCONFIG_FILE=SignalCoreKit/CI.xcconfig \
|
||||
pod lib lint --verbose --allow-warnings
|
||||
pod lib lint --verbose
|
||||
|
||||
Loading…
Reference in New Issue
Block a user