In theory, this should have already been handled by the YapDatabaseRelationship extension via edges. However, in practice, there were situations (cause unknown) where interactions would exist without an edge to their corresponding thread. Rather than being clever with the edge/callback machinery, now threads explicitly delete all their interactions, and interactions delete all their attachments (when applicable). Also, a class to clean up spurious interactions / attachments In the process: - refactored TSYapDatabaseObject init to specify designated initializer - added some testing niceties to TSYapDatabaseObject // FREEBIE
48 lines
1.7 KiB
Ruby
48 lines
1.7 KiB
Ruby
#
|
|
# Be sure to run `pod lib lint SignalServiceKit.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 http://guides.cocoapods.org/syntax/podspec.html
|
|
#
|
|
|
|
Pod::Spec.new do |s|
|
|
s.name = "SignalServiceKit"
|
|
s.version = "0.0.7"
|
|
s.summary = "An Objective-C library for communicating with the Signal messaging service."
|
|
|
|
s.description = <<-DESC
|
|
An Objective-C library for communicating with the Signal messaging service.
|
|
DESC
|
|
|
|
s.homepage = "https://github.com/WhisperSystems/SignalServiceKit"
|
|
s.license = 'GPLv3'
|
|
s.author = { "Frederic Jacobs" => "github@fredericjacobs.com" }
|
|
s.source = { :git => "https://github.com/WhisperSystems/SignalServiceKit.git", :tag => s.version.to_s }
|
|
s.social_media_url = 'https://twitter.com/FredericJacobs'
|
|
|
|
s.platform = :ios, '8.0'
|
|
#s.ios.deployment_target = '8.0'
|
|
#s.osx.deployment_target = '10.9'
|
|
s.requires_arc = true
|
|
s.source_files = 'src/**/*.{h,m,mm}'
|
|
|
|
s.resource = 'src/Security/PinningCertificate/textsecure.cer'
|
|
s.prefix_header_file = 'src/TSPrefix.h'
|
|
s.xcconfig = { 'OTHER_CFLAGS' => '$(inherited) -DSQLITE_HAS_CODEC' }
|
|
|
|
s.dependency '25519'
|
|
s.dependency 'CocoaLumberjack'
|
|
s.dependency 'AFNetworking'
|
|
s.dependency 'AxolotlKit'
|
|
s.dependency 'Mantle'
|
|
s.dependency 'YapDatabase/SQLCipher'
|
|
# NOTE: we're using a custom fork of SocketRocket to support our certificate
|
|
# pinning policy.
|
|
# see Example/TSKitiOSTestApp/Podfile for details
|
|
s.dependency 'SocketRocket'
|
|
s.dependency 'libPhoneNumber-iOS'
|
|
s.dependency 'SSKeychain'
|
|
s.dependency 'TwistedOakCollapsingFutures'
|
|
end
|