Compare commits
11 Commits
master
...
release/un
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
764e949142 | ||
|
|
bdd7409de4 | ||
|
|
7ac38fc2af | ||
|
|
a88958a8db | ||
|
|
08dc99f1ca | ||
|
|
37db607728 | ||
|
|
fd23a4b2b6 | ||
|
|
520a1c4279 | ||
|
|
eaff655ebc | ||
|
|
7bd1372b0c | ||
|
|
c58c617694 |
@ -1,5 +1,5 @@
|
||||
language: objective-c
|
||||
osx_image: xcode9.2
|
||||
osx_image: xcode8.3
|
||||
|
||||
before_script:
|
||||
- export LANG=en_US.UTF-8
|
||||
|
||||
@ -1 +1 @@
|
||||
github "CocoaLumberjack/CocoaLumberjack" "3.3.0"
|
||||
github "CocoaLumberjack/CocoaLumberjack" "3.2.0"
|
||||
|
||||
@ -23,7 +23,7 @@ framework module YapDatabase {
|
||||
}
|
||||
|
||||
// Extension: View
|
||||
|
||||
|
||||
explicit module YapDatabaseView {
|
||||
header "YapDatabaseView.h"
|
||||
header "YapDatabaseViewOptions.h"
|
||||
@ -140,12 +140,6 @@ framework module YapDatabase {
|
||||
header "YapDatabaseConnectionProxy.h"
|
||||
}
|
||||
|
||||
// Extension: ConnectionPool
|
||||
|
||||
explicit module YapDatabaseConnectionPool {
|
||||
header "YapDatabaseConnectionPool.h"
|
||||
}
|
||||
|
||||
// Extension: ActionManager
|
||||
|
||||
explicit module YapDatabaseActionManager {
|
||||
@ -164,18 +158,4 @@ framework module YapDatabase {
|
||||
header "YapDatabaseCrossProcessNotificationConnection.h"
|
||||
header "YapDatabaseCrossProcessNotificationTransaction.h"
|
||||
}
|
||||
|
||||
// Extension: CloudCore
|
||||
|
||||
explicit module YapDatabaseCloudCore {
|
||||
header "YapDatabaseCloudCore.h"
|
||||
header "YapDatabaseCloudCoreOptions.h"
|
||||
header "YapDatabaseCloudCoreConnection.h"
|
||||
header "YapDatabaseCloudCoreTransaction.h"
|
||||
header "YapManyToManyCache.h"
|
||||
header "YapDatabaseCloudCoreOperation.h"
|
||||
header "YapDatabaseCloudCorePipelineDelegate.h"
|
||||
header "YapDatabaseCloudCorePipeline.h"
|
||||
header "YapDatabaseCloudCoreGraph.h"
|
||||
}
|
||||
}
|
||||
|
||||
@ -16,7 +16,6 @@
|
||||
@import YapDatabase.YapDatabaseHooks;
|
||||
@import YapDatabase.YapDatabaseRTreeIndex;
|
||||
@import YapDatabase.YapDatabaseConnectionProxy;
|
||||
@import YapDatabase.YapDatabaseConnectionPool;
|
||||
@import YapDatabase.YapDatabaseActionManager;
|
||||
#if !TARGET_OS_WATCH
|
||||
@import YapDatabase.YapDatabaseCloudKit;
|
||||
|
||||
@ -68,7 +68,7 @@ framework module YapDatabase {
|
||||
}
|
||||
|
||||
// Extension: SecondaryIndex
|
||||
|
||||
|
||||
explicit module YapDatabaseSecondaryIndex {
|
||||
header "YapDatabaseSecondaryIndex.h"
|
||||
header "YapDatabaseSecondaryIndexSetup.h"
|
||||
@ -140,12 +140,6 @@ framework module YapDatabase {
|
||||
header "YapDatabaseConnectionProxy.h"
|
||||
}
|
||||
|
||||
// Extension: ConnectionPool
|
||||
|
||||
explicit module YapDatabaseConnectionPool {
|
||||
header "YapDatabaseConnectionPool.h"
|
||||
}
|
||||
|
||||
// Extension: ActionManager
|
||||
|
||||
explicit module YapDatabaseActionManager {
|
||||
@ -164,18 +158,4 @@ framework module YapDatabase {
|
||||
header "YapDatabaseCrossProcessNotificationConnection.h"
|
||||
header "YapDatabaseCrossProcessNotificationTransaction.h"
|
||||
}
|
||||
|
||||
// Extension: CloudCore
|
||||
|
||||
explicit module YapDatabaseCloudCore {
|
||||
header "YapDatabaseCloudCore.h"
|
||||
header "YapDatabaseCloudCoreOptions.h"
|
||||
header "YapDatabaseCloudCoreConnection.h"
|
||||
header "YapDatabaseCloudCoreTransaction.h"
|
||||
header "YapManyToManyCache.h"
|
||||
header "YapDatabaseCloudCoreOperation.h"
|
||||
header "YapDatabaseCloudCorePipelineDelegate.h"
|
||||
header "YapDatabaseCloudCorePipeline.h"
|
||||
header "YapDatabaseCloudCoreGraph.h"
|
||||
}
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ framework module YapDatabase {
|
||||
}
|
||||
|
||||
// Extension: View
|
||||
|
||||
|
||||
explicit module YapDatabaseView {
|
||||
header "YapDatabaseView.h"
|
||||
header "YapDatabaseViewOptions.h"
|
||||
@ -34,16 +34,16 @@ framework module YapDatabase {
|
||||
header "YapDatabaseViewRangeOptions.h"
|
||||
}
|
||||
|
||||
// Extension: AutoView
|
||||
// Extension: AutoView
|
||||
|
||||
explicit module YapDatabaseAutoView {
|
||||
header "YapDatabaseViewTypes.h"
|
||||
header "YapDatabaseAutoView.h"
|
||||
header "YapDatabaseAutoViewConnection.h"
|
||||
header "YapDatabaseAutoViewTransaction.h"
|
||||
explicit module YapDatabaseAutoView {
|
||||
header "YapDatabaseViewTypes.h"
|
||||
header "YapDatabaseAutoView.h"
|
||||
header "YapDatabaseAutoViewConnection.h"
|
||||
header "YapDatabaseAutoViewTransaction.h"
|
||||
|
||||
export YapDatabaseView
|
||||
}
|
||||
export YapDatabaseView
|
||||
}
|
||||
|
||||
// Extension: FilteredView
|
||||
|
||||
@ -140,12 +140,6 @@ framework module YapDatabase {
|
||||
header "YapDatabaseConnectionProxy.h"
|
||||
}
|
||||
|
||||
// Extension: ConnectionPool
|
||||
|
||||
explicit module YapDatabaseConnectionPool {
|
||||
header "YapDatabaseConnectionPool.h"
|
||||
}
|
||||
|
||||
// Extension: ActionManager
|
||||
|
||||
explicit module YapDatabaseActionManager {
|
||||
@ -164,18 +158,4 @@ framework module YapDatabase {
|
||||
header "YapDatabaseCrossProcessNotificationConnection.h"
|
||||
header "YapDatabaseCrossProcessNotificationTransaction.h"
|
||||
}
|
||||
|
||||
// Extension: CloudCore
|
||||
|
||||
explicit module YapDatabaseCloudCore {
|
||||
header "YapDatabaseCloudCore.h"
|
||||
header "YapDatabaseCloudCoreOptions.h"
|
||||
header "YapDatabaseCloudCoreConnection.h"
|
||||
header "YapDatabaseCloudCoreTransaction.h"
|
||||
header "YapManyToManyCache.h"
|
||||
header "YapDatabaseCloudCoreOperation.h"
|
||||
header "YapDatabaseCloudCorePipelineDelegate.h"
|
||||
header "YapDatabaseCloudCorePipeline.h"
|
||||
header "YapDatabaseCloudCoreGraph.h"
|
||||
}
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ framework module YapDatabase {
|
||||
}
|
||||
|
||||
// Extension: View
|
||||
|
||||
|
||||
explicit module YapDatabaseView {
|
||||
header "YapDatabaseView.h"
|
||||
header "YapDatabaseViewOptions.h"
|
||||
@ -34,16 +34,16 @@ framework module YapDatabase {
|
||||
header "YapDatabaseViewRangeOptions.h"
|
||||
}
|
||||
|
||||
// Extension: AutoView
|
||||
// Extension: AutoView
|
||||
|
||||
explicit module YapDatabaseAutoView {
|
||||
header "YapDatabaseViewTypes.h"
|
||||
header "YapDatabaseAutoView.h"
|
||||
header "YapDatabaseAutoViewConnection.h"
|
||||
header "YapDatabaseAutoViewTransaction.h"
|
||||
explicit module YapDatabaseAutoView {
|
||||
header "YapDatabaseViewTypes.h"
|
||||
header "YapDatabaseAutoView.h"
|
||||
header "YapDatabaseAutoViewConnection.h"
|
||||
header "YapDatabaseAutoViewTransaction.h"
|
||||
|
||||
export YapDatabaseView
|
||||
}
|
||||
export YapDatabaseView
|
||||
}
|
||||
|
||||
// Extension: FilteredView
|
||||
|
||||
@ -140,12 +140,6 @@ framework module YapDatabase {
|
||||
header "YapDatabaseConnectionProxy.h"
|
||||
}
|
||||
|
||||
// Extension: ConnectionPool
|
||||
|
||||
explicit module YapDatabaseConnectionPool {
|
||||
header "YapDatabaseConnectionPool.h"
|
||||
}
|
||||
|
||||
// Extension: ActionManager
|
||||
|
||||
explicit module YapDatabaseActionManager {
|
||||
@ -164,18 +158,4 @@ framework module YapDatabase {
|
||||
header "YapDatabaseCrossProcessNotificationConnection.h"
|
||||
header "YapDatabaseCrossProcessNotificationTransaction.h"
|
||||
}
|
||||
|
||||
// Extension: CloudCore
|
||||
|
||||
explicit module YapDatabaseCloudCore {
|
||||
header "YapDatabaseCloudCore.h"
|
||||
header "YapDatabaseCloudCoreOptions.h"
|
||||
header "YapDatabaseCloudCoreConnection.h"
|
||||
header "YapDatabaseCloudCoreTransaction.h"
|
||||
header "YapManyToManyCache.h"
|
||||
header "YapDatabaseCloudCoreOperation.h"
|
||||
header "YapDatabaseCloudCorePipelineDelegate.h"
|
||||
header "YapDatabaseCloudCorePipeline.h"
|
||||
header "YapDatabaseCloudCoreGraph.h"
|
||||
}
|
||||
}
|
||||
|
||||
@ -28,6 +28,8 @@ It has the following features:
|
||||
|
||||
* **Performance**. Fetch thousands of objects on the main thread without dropping a frame.
|
||||
|
||||
* **Objective-C**. A simple to use Objective-C API means you'll be up and running in no time.
|
||||
|
||||
<br/>
|
||||
|
||||
**[See what the API looks like in "hello world" for YapDatabase](https://github.com/yapstudios/YapDatabase/wiki/Hello-World)**<br/>
|
||||
|
||||
@ -21,9 +21,6 @@
|
||||
|
||||
@end
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark -
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
* Standard inverse relationship: (child)->(parent)
|
||||
@ -39,10 +36,6 @@
|
||||
|
||||
@end
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark -
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
* Retain count relationship: (retainer)->(retained)
|
||||
* nodeDeleteRule = YDB_DeleteDestinationIfAllSourcesDeleted
|
||||
@ -58,10 +51,6 @@
|
||||
|
||||
@end
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark -
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
* Inverse retain count relationship: (retained)->(retainer)
|
||||
* nodeDeleteRule = YDB_DeleteSourceIfAllDestinationsDeleted
|
||||
@ -77,10 +66,6 @@
|
||||
|
||||
@end
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark -
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
* Standard file relationship: (parent)->(file)
|
||||
* nodeDeleteRule = YDB_DeleteDestinationIfSourceDeleted
|
||||
@ -95,10 +80,6 @@
|
||||
|
||||
@end
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark -
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
* Retain count file relationship: (parent)->(file)
|
||||
* nodeDeleteRule = YDB_DeleteDestinationIfAllSourcesDeleted
|
||||
@ -113,30 +94,3 @@
|
||||
@property (nonatomic, copy, readwrite) NSURL *fileURL;
|
||||
|
||||
@end
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark -
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
* Notify & Delete relationship: (parent)->(child)
|
||||
* nodeDeleteRule = YDB_DeleteDestinationIfSourceDeleted | YDB_NotifyIfSourceDeleted
|
||||
*
|
||||
* So the parent node creates the edge which points to the child node.
|
||||
* And the child should get deleted if the parent is deleted.
|
||||
* But the child node also needs to get notified first.
|
||||
**/
|
||||
@interface Node_Notify : NSObject <NSCoding, YapDatabaseRelationshipNode>
|
||||
|
||||
@property (nonatomic, strong, readonly) NSString *key;
|
||||
@property (nonatomic, strong, readwrite) NSString *child;
|
||||
|
||||
@end
|
||||
|
||||
@interface Node_NotifyCount : NSObject <NSCoding, YapDatabaseRelationshipNode>
|
||||
|
||||
@property (nonatomic, strong, readonly) NSString *key;
|
||||
|
||||
+ (NSUInteger)notifyCount;
|
||||
|
||||
@end
|
||||
|
||||
@ -319,105 +319,4 @@
|
||||
return @[ edge ];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark -
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@implementation Node_Notify
|
||||
|
||||
@synthesize key = key;
|
||||
@synthesize child = child;
|
||||
|
||||
- (id)init
|
||||
{
|
||||
if ((self = [super init]))
|
||||
{
|
||||
key = [[NSUUID UUID] UUIDString];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (id)initWithCoder:(NSCoder *)decoder
|
||||
{
|
||||
if ((self = [super init]))
|
||||
{
|
||||
key = [decoder decodeObjectForKey:@"key"];
|
||||
child = [decoder decodeObjectForKey:@"child"];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)encodeWithCoder:(NSCoder *)coder
|
||||
{
|
||||
[coder encodeObject:key forKey:@"key"];
|
||||
[coder encodeObject:child forKey:@"child"];
|
||||
}
|
||||
|
||||
- (NSArray *)yapDatabaseRelationshipEdges
|
||||
{
|
||||
if (child == nil) return nil;
|
||||
|
||||
YapDatabaseRelationshipEdge *edge =
|
||||
[YapDatabaseRelationshipEdge edgeWithName:@"child"
|
||||
destinationKey:child
|
||||
collection:nil
|
||||
nodeDeleteRules:(YDB_DeleteDestinationIfSourceDeleted | YDB_NotifyIfSourceDeleted)];
|
||||
|
||||
return @[ edge ];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark -
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@implementation Node_NotifyCount
|
||||
|
||||
static NSUInteger notifyCount = 0;
|
||||
|
||||
@synthesize key = key;
|
||||
|
||||
- (id)init
|
||||
{
|
||||
if ((self = [super init]))
|
||||
{
|
||||
key = [[NSUUID UUID] UUIDString];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (id)initWithCoder:(NSCoder *)decoder
|
||||
{
|
||||
if ((self = [super init]))
|
||||
{
|
||||
key = [decoder decodeObjectForKey:@"key"];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)encodeWithCoder:(NSCoder *)coder
|
||||
{
|
||||
[coder encodeObject:key forKey:@"key"];
|
||||
}
|
||||
|
||||
- (NSArray<YapDatabaseRelationshipEdge *> *)yapDatabaseRelationshipEdges
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (id)yapDatabaseRelationshipEdgeDeleted:(YapDatabaseRelationshipEdge *)edge
|
||||
withReason:(YDB_NotifyReason)reason
|
||||
{
|
||||
notifyCount++;
|
||||
return nil;
|
||||
}
|
||||
|
||||
+ (NSUInteger)notifyCount
|
||||
{
|
||||
return notifyCount;
|
||||
}
|
||||
|
||||
@end
|
||||
@end
|
||||
@ -50,7 +50,7 @@
|
||||
YapDatabaseConnection *connection = [database newConnection];
|
||||
|
||||
YapDatabaseFullTextSearchHandler *handler = [YapDatabaseFullTextSearchHandler withObjectBlock:
|
||||
^(YapDatabaseReadTransaction *transaction, NSMutableDictionary *dict, NSString *collection, NSString *key, id object){
|
||||
^(NSMutableDictionary *dict, NSString *collection, NSString *key, id object){
|
||||
|
||||
[dict setObject:object forKey:@"content"];
|
||||
}];
|
||||
@ -169,7 +169,7 @@
|
||||
YapDatabaseConnection *connection = [database newConnection];
|
||||
|
||||
YapDatabaseFullTextSearchHandler *handler = [YapDatabaseFullTextSearchHandler withObjectBlock:
|
||||
^(YapDatabaseReadTransaction *transaction, NSMutableDictionary *dict, NSString *collection, NSString *key, id object){
|
||||
^(NSMutableDictionary *dict, NSString *collection, NSString *key, id object){
|
||||
|
||||
[dict setObject:object forKey:@"content"];
|
||||
}];
|
||||
|
||||
@ -4217,184 +4217,4 @@
|
||||
XCTAssert(count == 4);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark -
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
* Issue #399 - https://github.com/yapstudios/YapDatabase/pull/399
|
||||
**/
|
||||
- (void)testIssue399
|
||||
{
|
||||
NSString *databasePath = [self databasePath:NSStringFromSelector(_cmd)];
|
||||
|
||||
[[NSFileManager defaultManager] removeItemAtPath:databasePath error:NULL];
|
||||
YapDatabase *database = [[YapDatabase alloc] initWithPath:databasePath];
|
||||
|
||||
XCTAssertNotNil(database);
|
||||
|
||||
YapDatabaseConnection *connection = [database newConnection];
|
||||
|
||||
YapDatabaseRelationship *relationship = [[YapDatabaseRelationship alloc] init];
|
||||
|
||||
BOOL registered = [database registerExtension:relationship withName:@"relationship"];
|
||||
|
||||
XCTAssertTrue(registered, @"Error registering extension");
|
||||
|
||||
[connection readWriteWithBlock:^(YapDatabaseReadWriteTransaction *transaction) {
|
||||
|
||||
NSString *srcWithMissingDst = @"src1";
|
||||
NSString *dstWithMissingSrc = @"dst2";
|
||||
|
||||
// NSString *missingPath = [self databasePath:@"phoney_baloney"];
|
||||
// NSURL *missingURL = [NSURL fileURLWithPath:missingPath isDirectory:NO];
|
||||
|
||||
// We're ensuring we don't get an assertion in [YapDatabaseRelationshipTransaction deleteEdge:]
|
||||
|
||||
[transaction setObject:srcWithMissingDst forKey:srcWithMissingDst inCollection:nil];
|
||||
[transaction setObject:dstWithMissingSrc forKey:dstWithMissingSrc inCollection:nil];
|
||||
|
||||
YapDatabaseRelationshipEdge *e1 =
|
||||
[YapDatabaseRelationshipEdge edgeWithName:@"test1"
|
||||
sourceKey:srcWithMissingDst
|
||||
collection:nil
|
||||
destinationKey:@"missing"
|
||||
collection:nil
|
||||
nodeDeleteRules:YDB_DeleteDestinationIfSourceDeleted];
|
||||
|
||||
YapDatabaseRelationshipEdge *e2 =
|
||||
[YapDatabaseRelationshipEdge edgeWithName:@"test3"
|
||||
sourceKey:@"missing"
|
||||
collection:nil
|
||||
destinationKey:dstWithMissingSrc
|
||||
collection:nil
|
||||
nodeDeleteRules:YDB_DeleteSourceIfDestinationDeleted];
|
||||
|
||||
YapDatabaseRelationshipEdge *e3 =
|
||||
[YapDatabaseRelationshipEdge edgeWithName:@"test4"
|
||||
sourceKey:@"missing"
|
||||
collection:nil
|
||||
destinationKey:@"missing"
|
||||
collection:nil
|
||||
nodeDeleteRules:YDB_DeleteSourceIfDestinationDeleted];
|
||||
|
||||
// YapDatabaseRelationshipEdge *e4 =
|
||||
// [YapDatabaseRelationshipEdge edgeWithName:@"test2"
|
||||
// sourceKey:@"missing"
|
||||
// collection:nil
|
||||
// destinationFileURL:missingURL
|
||||
// nodeDeleteRules:YDB_DeleteDestinationIfSourceDeleted];
|
||||
|
||||
[[transaction ext:@"relationship"] addEdge:e1];
|
||||
[[transaction ext:@"relationship"] addEdge:e2];
|
||||
[[transaction ext:@"relationship"] addEdge:e3];
|
||||
// [[transaction ext:@"relationship"] addEdge:e4];
|
||||
}];
|
||||
}
|
||||
|
||||
/**
|
||||
* Issue #399 refers to a crash when:
|
||||
* - manual edges are being used
|
||||
* - an edge is being immediately deleted
|
||||
* - but the NotInDatabase flag wasn't being set
|
||||
*
|
||||
* We discovered a similar crash when using protocolEdges.
|
||||
**/
|
||||
- (void)testIssue399_protocol
|
||||
{
|
||||
NSString *databasePath = [self databasePath:NSStringFromSelector(_cmd)];
|
||||
|
||||
[[NSFileManager defaultManager] removeItemAtPath:databasePath error:NULL];
|
||||
YapDatabase *database = [[YapDatabase alloc] initWithPath:databasePath];
|
||||
|
||||
XCTAssertNotNil(database);
|
||||
|
||||
YapDatabaseConnection *connection = [database newConnection];
|
||||
|
||||
YapDatabaseRelationship *relationship = [[YapDatabaseRelationship alloc] init];
|
||||
|
||||
BOOL registered = [database registerExtension:relationship withName:@"relationship"];
|
||||
|
||||
XCTAssertTrue(registered, @"Error registering extension");
|
||||
|
||||
__block Node_Standard *node = nil;
|
||||
|
||||
[connection readWriteWithBlock:^(YapDatabaseReadWriteTransaction *transaction) {
|
||||
|
||||
[transaction setObject:@"string" forKey:@"valid" inCollection:nil];
|
||||
|
||||
node = [[Node_Standard alloc] init];
|
||||
node.childKeys = @[@"valid", @"invalid-1"];
|
||||
|
||||
// The node.childKeys has 2 items,
|
||||
// and so it will attempt to create 2 edges.
|
||||
// - The first is valid
|
||||
// - The second is invalid
|
||||
//
|
||||
// The invalid edge should be deleted during [YapDBRelationshipTransaction flush].
|
||||
//
|
||||
// Note:
|
||||
// In this case, 'node' is a newly inserted item in the database.
|
||||
// Which means the code path taken is different from a modified item.
|
||||
// So we need another unit test to achieve proper unit test coverage for this issue.
|
||||
//
|
||||
[transaction setObject:node forKey:node.key inCollection:nil];
|
||||
}];
|
||||
|
||||
[connection readWriteWithBlock:^(YapDatabaseReadWriteTransaction * _Nonnull transaction) {
|
||||
|
||||
node = [transaction objectForKey:node.key inCollection:nil];
|
||||
node.childKeys = @[@"valid", @"invalid-2"];
|
||||
|
||||
// In this case, 'node' is a modified item in the database.
|
||||
// Which means the code path taken is different from an inserted item.
|
||||
//
|
||||
[transaction setObject:node forKey:node.key inCollection:nil];
|
||||
}];
|
||||
}
|
||||
|
||||
/**
|
||||
* Issue #426 - https://github.com/yapstudios/YapDatabase/issues/426
|
||||
**/
|
||||
- (void)testDeleteAndNotify
|
||||
{
|
||||
NSString *databasePath = [self databasePath:NSStringFromSelector(_cmd)];
|
||||
|
||||
[[NSFileManager defaultManager] removeItemAtPath:databasePath error:NULL];
|
||||
YapDatabase *database = [[YapDatabase alloc] initWithPath:databasePath];
|
||||
|
||||
XCTAssertNotNil(database);
|
||||
|
||||
YapDatabaseConnection *connection = [database newConnection];
|
||||
|
||||
YapDatabaseRelationship *relationship = [[YapDatabaseRelationship alloc] init];
|
||||
|
||||
BOOL registered = [database registerExtension:relationship withName:@"relationship"];
|
||||
|
||||
XCTAssertTrue(registered, @"Error registering extension");
|
||||
|
||||
__block NSString *parentKey = nil;
|
||||
|
||||
[connection readWriteWithBlock:^(YapDatabaseReadWriteTransaction *transaction) {
|
||||
|
||||
Node_NotifyCount *child = [[Node_NotifyCount alloc] init];
|
||||
|
||||
Node_Notify *parent = [[Node_Notify alloc] init];
|
||||
parent.child = child.key;
|
||||
parentKey = parent.key;
|
||||
|
||||
[transaction setObject:parent forKey:parent.key inCollection:nil];
|
||||
[transaction setObject:child forKey:child.key inCollection:nil];
|
||||
}];
|
||||
|
||||
XCTAssert([Node_NotifyCount notifyCount] == 0);
|
||||
|
||||
[connection readWriteWithBlock:^(YapDatabaseReadWriteTransaction *transaction) {
|
||||
|
||||
[transaction removeObjectForKey:parentKey inCollection:nil];
|
||||
}];
|
||||
|
||||
XCTAssert([Node_NotifyCount notifyCount] == 1);
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@ -169,7 +169,7 @@
|
||||
// Setup FTS
|
||||
|
||||
YapDatabaseFullTextSearchHandler *handler = [YapDatabaseFullTextSearchHandler withObjectBlock:
|
||||
^(YapDatabaseReadTransaction *transaction, NSMutableDictionary *dict, NSString *collection, NSString *key, id object){
|
||||
^(NSMutableDictionary *dict, NSString *collection, NSString *key, id object){
|
||||
|
||||
[dict setObject:object forKey:@"content"];
|
||||
}];
|
||||
@ -259,7 +259,7 @@
|
||||
// Setup FTS
|
||||
|
||||
YapDatabaseFullTextSearchHandler *handler = [YapDatabaseFullTextSearchHandler withObjectBlock:
|
||||
^(YapDatabaseReadTransaction *transaction, NSMutableDictionary *dict, NSString *collection, NSString *key, id object){
|
||||
^(NSMutableDictionary *dict, NSString *collection, NSString *key, id object){
|
||||
|
||||
[dict setObject:object forKey:@"content"];
|
||||
}];
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
project 'YapDatabaseTesting.xcodeproj'
|
||||
platform :osx, '10.12'
|
||||
platform :osx, '10.10'
|
||||
|
||||
target 'YapDatabase' do
|
||||
pod "YapDatabase", path: '../../'
|
||||
|
||||
@ -1,72 +1,69 @@
|
||||
PODS:
|
||||
- CocoaLumberjack (3.4.1):
|
||||
- CocoaLumberjack/Default (= 3.4.1)
|
||||
- CocoaLumberjack/Extensions (= 3.4.1)
|
||||
- CocoaLumberjack/Default (3.4.1)
|
||||
- CocoaLumberjack/Extensions (3.4.1):
|
||||
- CocoaLumberjack (3.2.0):
|
||||
- CocoaLumberjack/Default (= 3.2.0)
|
||||
- CocoaLumberjack/Extensions (= 3.2.0)
|
||||
- CocoaLumberjack/Default (3.2.0)
|
||||
- CocoaLumberjack/Extensions (3.2.0):
|
||||
- CocoaLumberjack/Default
|
||||
- YapDatabase (3.0.2):
|
||||
- YapDatabase/Standard (= 3.0.2)
|
||||
- YapDatabase/Standard (3.0.2):
|
||||
- YapDatabase/Standard/Core (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions (= 3.0.2)
|
||||
- YapDatabase/Standard/Core (3.0.2):
|
||||
- YapDatabase (3.0):
|
||||
- YapDatabase/Standard (= 3.0)
|
||||
- YapDatabase/Standard (3.0):
|
||||
- YapDatabase/Standard/Core (= 3.0)
|
||||
- YapDatabase/Standard/Extensions (= 3.0)
|
||||
- YapDatabase/Standard/Core (3.0):
|
||||
- CocoaLumberjack
|
||||
- YapDatabase/Standard/Extensions (3.0.2):
|
||||
- YapDatabase/Standard/Extensions (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/ActionManager (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/AutoView (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/CloudCore (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/CloudKit (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/ConnectionPool (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/ConnectionProxy (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/CrossProcessNotification (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/FilteredView (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/FullTextSearch (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/Hooks (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/ManualView (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/Relationships (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/RTreeIndex (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/SearchResultsView (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/SecondaryIndex (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/View (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/ActionManager (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/ActionManager (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/AutoView (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/CloudCore (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/CloudKit (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/ConnectionProxy (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/CrossProcessNotification (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/FilteredView (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/FullTextSearch (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/Hooks (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/ManualView (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/Relationships (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/RTreeIndex (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/SearchResultsView (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/SecondaryIndex (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/View (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/ActionManager (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/AutoView
|
||||
- YapDatabase/Standard/Extensions/AutoView (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/AutoView (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/View
|
||||
- YapDatabase/Standard/Extensions/CloudCore (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/CloudCore (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/CloudKit (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/CloudKit (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/ConnectionPool (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/ConnectionProxy (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/ConnectionProxy (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/CrossProcessNotification (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/CrossProcessNotification (3.0.2):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/FilteredView (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/FilteredView (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/View
|
||||
- YapDatabase/Standard/Extensions/FullTextSearch (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/FullTextSearch (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/Hooks (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/Hooks (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/ManualView (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/ManualView (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/View
|
||||
- YapDatabase/Standard/Extensions/Relationships (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/Relationships (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/RTreeIndex (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/RTreeIndex (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/SearchResultsView (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/SearchResultsView (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/AutoView
|
||||
- YapDatabase/Standard/Extensions/FullTextSearch
|
||||
- YapDatabase/Standard/Extensions/SecondaryIndex (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/SecondaryIndex (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/View (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/View (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
|
||||
DEPENDENCIES:
|
||||
@ -77,9 +74,9 @@ EXTERNAL SOURCES:
|
||||
:path: ../../
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
CocoaLumberjack: 2e258a064cacc8eb9a2aca318e24d02a0a7fd56d
|
||||
YapDatabase: 972eccb0c997d0dafe8192dccf7f58351914baf1
|
||||
CocoaLumberjack: 9b4aed7073d242f29cc2f62068d995faf67f703a
|
||||
YapDatabase: 0cef6c79948169c924ae325d430ffcfa8a5231c2
|
||||
|
||||
PODFILE CHECKSUM: 8dceb5c937bc6e9558d8d75103d141eef959b637
|
||||
PODFILE CHECKSUM: 27f2264941859e807f069adfc2aa0a50167ae03d
|
||||
|
||||
COCOAPODS: 1.4.0
|
||||
COCOAPODS: 1.2.1
|
||||
|
||||
@ -86,10 +86,10 @@ public func DDLogError(_ message: @autoclosure () -> String, level: DDLogLevel =
|
||||
public func CurrentFileName(_ fileName: StaticString = #file) -> String {
|
||||
var str = String(describing: fileName)
|
||||
if let idx = str.range(of: "/", options: .backwards)?.upperBound {
|
||||
str = String(str[idx...])
|
||||
str = str.substring(from: idx)
|
||||
}
|
||||
if let idx = str.range(of: ".", options: .backwards)?.lowerBound {
|
||||
str = String(str[..<idx])
|
||||
str = str.substring(to: idx)
|
||||
}
|
||||
return str
|
||||
}
|
||||
|
||||
@ -397,7 +397,7 @@ extern unsigned long long const kDDDefaultLogFilesDiskQuota;
|
||||
* You can optionally force the current log file to be rolled with this method.
|
||||
* CompletionBlock will be called on main queue.
|
||||
*/
|
||||
- (void)rollLogFileWithCompletionBlock:(void (^)(void))completionBlock NS_SWIFT_NAME(rollLogFile(withCompletion:));
|
||||
- (void)rollLogFileWithCompletionBlock:(void (^)())completionBlock NS_SWIFT_NAME(rollLogFile(withCompletion:));
|
||||
|
||||
/**
|
||||
* Method is deprecated.
|
||||
|
||||
@ -279,18 +279,47 @@ unsigned long long const kDDDefaultLogFilesDiskQuota = 20 * 1024 * 1024; // 20
|
||||
- (BOOL)isLogFile:(NSString *)fileName {
|
||||
NSString *appName = [self applicationName];
|
||||
|
||||
// We need to add a space to the name as otherwise we could match applications that have the name prefix.
|
||||
BOOL hasProperPrefix = [fileName hasPrefix:[appName stringByAppendingString:@" "]];
|
||||
BOOL hasProperPrefix = [fileName hasPrefix:appName];
|
||||
BOOL hasProperSuffix = [fileName hasSuffix:@".log"];
|
||||
|
||||
return (hasProperPrefix && hasProperSuffix);
|
||||
BOOL hasProperDate = NO;
|
||||
|
||||
if (hasProperPrefix && hasProperSuffix) {
|
||||
NSUInteger lengthOfMiddle = fileName.length - appName.length - @".log".length;
|
||||
|
||||
// Date string should have at least 16 characters - " 2013-12-03 17-14"
|
||||
if (lengthOfMiddle >= 17) {
|
||||
NSRange range = NSMakeRange(appName.length, lengthOfMiddle);
|
||||
|
||||
NSString *middle = [fileName substringWithRange:range];
|
||||
NSArray *components = [middle componentsSeparatedByString:@" "];
|
||||
|
||||
// When creating logfile if there is existing file with the same name, we append attemp number at the end.
|
||||
// Thats why here we can have three or four components. For details see createNewLogFile method.
|
||||
//
|
||||
// Components:
|
||||
// "", "2013-12-03", "17-14"
|
||||
// or
|
||||
// "", "2013-12-03", "17-14", "1"
|
||||
if (components.count == 3 || components.count == 4) {
|
||||
NSString *dateString = [NSString stringWithFormat:@"%@ %@", components[1], components[2]];
|
||||
NSDateFormatter *dateFormatter = [self logFileDateFormatter];
|
||||
|
||||
NSDate *date = [dateFormatter dateFromString:dateString];
|
||||
|
||||
if (date) {
|
||||
hasProperDate = YES;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return (hasProperPrefix && hasProperDate && hasProperSuffix);
|
||||
}
|
||||
|
||||
// if you change formatter, then change sortedLogFileInfos method also accordingly
|
||||
- (NSDateFormatter *)logFileDateFormatter {
|
||||
NSMutableDictionary *dictionary = [[NSThread currentThread]
|
||||
threadDictionary];
|
||||
NSString *dateFormat = @"yyyy'-'MM'-'dd'--'HH'-'mm'-'ss'-'SSS'";
|
||||
NSString *dateFormat = @"yyyy'-'MM'-'dd' 'HH'-'mm'";
|
||||
NSString *key = [NSString stringWithFormat:@"logFileDateFormatter.%@", dateFormat];
|
||||
NSDateFormatter *dateFormatter = dictionary[key];
|
||||
|
||||
@ -388,35 +417,13 @@ unsigned long long const kDDDefaultLogFilesDiskQuota = 20 * 1024 * 1024; // 20
|
||||
}
|
||||
|
||||
- (NSArray *)sortedLogFileInfos {
|
||||
return [[self unsortedLogFileInfos] sortedArrayUsingComparator:^NSComparisonResult(DDLogFileInfo * _Nonnull obj1, DDLogFileInfo * _Nonnull obj2) {
|
||||
NSDate *date1 = [NSDate new];
|
||||
NSDate *date2 = [NSDate new];
|
||||
|
||||
NSArray<NSString *> *arrayComponent = [[obj1 fileName] componentsSeparatedByString:@" "];
|
||||
if (arrayComponent.count > 0) {
|
||||
NSString *stringDate = arrayComponent.lastObject;
|
||||
stringDate = [stringDate stringByReplacingOccurrencesOfString:@".log" withString:@""];
|
||||
stringDate = [stringDate stringByReplacingOccurrencesOfString:@".archived" withString:@""];
|
||||
date1 = [[self logFileDateFormatter] dateFromString:stringDate] ?: [obj1 creationDate];
|
||||
}
|
||||
|
||||
arrayComponent = [[obj2 fileName] componentsSeparatedByString:@" "];
|
||||
if (arrayComponent.count > 0) {
|
||||
NSString *stringDate = arrayComponent.lastObject;
|
||||
stringDate = [stringDate stringByReplacingOccurrencesOfString:@".log" withString:@""];
|
||||
stringDate = [stringDate stringByReplacingOccurrencesOfString:@".archived" withString:@""];
|
||||
date2 = [[self logFileDateFormatter] dateFromString:stringDate] ?: [obj2 creationDate];
|
||||
}
|
||||
|
||||
return [date2 compare:date1 ?: [NSDate new]];
|
||||
}];
|
||||
|
||||
return [[self unsortedLogFileInfos] sortedArrayUsingSelector:@selector(reverseCompareByCreationDate:)];
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark Creation
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//if you change newLogFileName , then change isLogFile method also accordingly
|
||||
|
||||
- (NSString *)newLogFileName {
|
||||
NSString *appName = [self applicationName];
|
||||
|
||||
@ -772,7 +779,7 @@ unsigned long long const kDDDefaultLogFilesDiskQuota = 20 * 1024 * 1024; // 20
|
||||
[self rollLogFileWithCompletionBlock:nil];
|
||||
}
|
||||
|
||||
- (void)rollLogFileWithCompletionBlock:(void (^)(void))completionBlock {
|
||||
- (void)rollLogFileWithCompletionBlock:(void (^)())completionBlock {
|
||||
// This method is public.
|
||||
// We need to execute the rolling on our logging thread/queue.
|
||||
|
||||
|
||||
@ -351,16 +351,17 @@ static NSUInteger _numProcessors;
|
||||
// Dispatch semaphores call down to the kernel only when the calling thread needs to be blocked.
|
||||
// If the calling semaphore does not need to block, no kernel call is made.
|
||||
|
||||
dispatch_semaphore_wait(_queueSemaphore, DISPATCH_TIME_FOREVER);
|
||||
|
||||
// We've now sure we won't overflow the queue.
|
||||
// It is time to queue our log message.
|
||||
|
||||
dispatch_block_t logBlock = ^{
|
||||
dispatch_semaphore_wait(_queueSemaphore, DISPATCH_TIME_FOREVER);
|
||||
@autoreleasepool {
|
||||
[self lt_log:logMessage];
|
||||
}
|
||||
};
|
||||
|
||||
// We've now sure we won't overflow the queue.
|
||||
// It is time to queue our log message.
|
||||
|
||||
if (asyncFlag) {
|
||||
dispatch_async(_loggingQueue, logBlock);
|
||||
} else {
|
||||
|
||||
@ -25,6 +25,7 @@
|
||||
/**
|
||||
* This class provides a logger for the Apple os_log facility.
|
||||
**/
|
||||
API_AVAILABLE(ios(10.0), macos(10.12), tvos(10.0), watchos(3.0))
|
||||
@interface DDOSLogger : DDAbstractLogger <DDLogger>
|
||||
|
||||
/**
|
||||
|
||||
@ -48,30 +48,26 @@ static DDOSLogger *sharedInstance;
|
||||
return;
|
||||
}
|
||||
|
||||
if(@available(iOS 10.0, macOS 10.12, tvOS 10.0, watchOS 3.0, *)) {
|
||||
NSString * message = _logFormatter ? [_logFormatter formatLogMessage:logMessage] : logMessage->_message;
|
||||
|
||||
if (message) {
|
||||
const char *msg = [message UTF8String];
|
||||
|
||||
NSString * message = _logFormatter ? [_logFormatter formatLogMessage:logMessage] : logMessage->_message;
|
||||
if (message) {
|
||||
const char *msg = [message UTF8String];
|
||||
|
||||
switch (logMessage->_flag) {
|
||||
case DDLogFlagError :
|
||||
os_log_error(OS_LOG_DEFAULT, "%{public}s", msg);
|
||||
break;
|
||||
case DDLogFlagWarning :
|
||||
case DDLogFlagInfo :
|
||||
os_log_info(OS_LOG_DEFAULT, "%{public}s", msg);
|
||||
break;
|
||||
case DDLogFlagDebug :
|
||||
case DDLogFlagVerbose :
|
||||
default :
|
||||
os_log_debug(OS_LOG_DEFAULT, "%{public}s", msg);
|
||||
break;
|
||||
}
|
||||
switch (logMessage->_flag) {
|
||||
case DDLogFlagError :
|
||||
os_log_error(OS_LOG_DEFAULT, msg);
|
||||
break;
|
||||
case DDLogFlagWarning :
|
||||
case DDLogFlagInfo :
|
||||
os_log_info(OS_LOG_DEFAULT, msg);
|
||||
break;
|
||||
case DDLogFlagDebug :
|
||||
case DDLogFlagVerbose :
|
||||
default :
|
||||
os_log_debug(OS_LOG_DEFAULT, msg);
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
- (NSString *)loggerName {
|
||||
|
||||
26
Testing/Xcode-desktop/Pods/CocoaLumberjack/Classes/Extensions/DDContextFilterLogFormatter.m
generated
Executable file → Normal file
26
Testing/Xcode-desktop/Pods/CocoaLumberjack/Classes/Extensions/DDContextFilterLogFormatter.m
generated
Executable file → Normal file
@ -14,7 +14,7 @@
|
||||
// prior written permission of Deusty, LLC.
|
||||
|
||||
#import "DDContextFilterLogFormatter.h"
|
||||
#import <pthread/pthread.h>
|
||||
#import <libkern/OSAtomic.h>
|
||||
|
||||
#if !__has_feature(objc_arc)
|
||||
#error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
|
||||
@ -131,7 +131,7 @@
|
||||
|
||||
|
||||
@interface DDLoggingContextSet () {
|
||||
pthread_mutex_t _mutex;
|
||||
OSSpinLock _lock;
|
||||
NSMutableSet *_set;
|
||||
}
|
||||
|
||||
@ -143,40 +143,36 @@
|
||||
- (instancetype)init {
|
||||
if ((self = [super init])) {
|
||||
_set = [[NSMutableSet alloc] init];
|
||||
pthread_mutex_init(&_mutex, NULL);
|
||||
_lock = OS_SPINLOCK_INIT;
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)dealloc {
|
||||
pthread_mutex_destroy(&_mutex);
|
||||
}
|
||||
|
||||
- (void)addToSet:(NSUInteger)loggingContext {
|
||||
pthread_mutex_lock(&_mutex);
|
||||
OSSpinLockLock(&_lock);
|
||||
{
|
||||
[_set addObject:@(loggingContext)];
|
||||
}
|
||||
pthread_mutex_unlock(&_mutex);
|
||||
OSSpinLockUnlock(&_lock);
|
||||
}
|
||||
|
||||
- (void)removeFromSet:(NSUInteger)loggingContext {
|
||||
pthread_mutex_lock(&_mutex);
|
||||
OSSpinLockLock(&_lock);
|
||||
{
|
||||
[_set removeObject:@(loggingContext)];
|
||||
}
|
||||
pthread_mutex_unlock(&_mutex);
|
||||
OSSpinLockUnlock(&_lock);
|
||||
}
|
||||
|
||||
- (NSArray *)currentSet {
|
||||
NSArray *result = nil;
|
||||
|
||||
pthread_mutex_lock(&_mutex);
|
||||
OSSpinLockLock(&_lock);
|
||||
{
|
||||
result = [_set allObjects];
|
||||
}
|
||||
pthread_mutex_unlock(&_mutex);
|
||||
OSSpinLockUnlock(&_lock);
|
||||
|
||||
return result;
|
||||
}
|
||||
@ -184,11 +180,11 @@
|
||||
- (BOOL)isInSet:(NSUInteger)loggingContext {
|
||||
BOOL result = NO;
|
||||
|
||||
pthread_mutex_lock(&_mutex);
|
||||
OSSpinLockLock(&_lock);
|
||||
{
|
||||
result = [_set containsObject:@(loggingContext)];
|
||||
}
|
||||
pthread_mutex_unlock(&_mutex);
|
||||
OSSpinLockUnlock(&_lock);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
23
Testing/Xcode-desktop/Pods/CocoaLumberjack/Classes/Extensions/DDDispatchQueueLogFormatter.m
generated
Executable file → Normal file
23
Testing/Xcode-desktop/Pods/CocoaLumberjack/Classes/Extensions/DDDispatchQueueLogFormatter.m
generated
Executable file → Normal file
@ -14,9 +14,10 @@
|
||||
// prior written permission of Deusty, LLC.
|
||||
|
||||
#import "DDDispatchQueueLogFormatter.h"
|
||||
#import <pthread/pthread.h>
|
||||
#import <libkern/OSAtomic.h>
|
||||
#import <objc/runtime.h>
|
||||
|
||||
|
||||
#if !__has_feature(objc_arc)
|
||||
#error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
|
||||
#endif
|
||||
@ -28,7 +29,7 @@
|
||||
int32_t _atomicLoggerCount;
|
||||
NSDateFormatter *_threadUnsafeDateFormatter; // Use [self stringFromDate]
|
||||
|
||||
pthread_mutex_t _mutex;
|
||||
OSSpinLock _lock;
|
||||
|
||||
NSUInteger _minQueueLength; // _prefix == Only access via atomic property
|
||||
NSUInteger _maxQueueLength; // _prefix == Only access via atomic property
|
||||
@ -62,7 +63,7 @@
|
||||
|
||||
_minQueueLength = 0;
|
||||
_maxQueueLength = 0;
|
||||
pthread_mutex_init(&_mutex, NULL);
|
||||
_lock = OS_SPINLOCK_INIT;
|
||||
_replacements = [[NSMutableDictionary alloc] init];
|
||||
|
||||
// Set default replacements:
|
||||
@ -80,10 +81,6 @@
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)dealloc {
|
||||
pthread_mutex_destroy(&_mutex);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark Configuration
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
@ -94,17 +91,17 @@
|
||||
- (NSString *)replacementStringForQueueLabel:(NSString *)longLabel {
|
||||
NSString *result = nil;
|
||||
|
||||
pthread_mutex_lock(&_mutex);
|
||||
OSSpinLockLock(&_lock);
|
||||
{
|
||||
result = _replacements[longLabel];
|
||||
}
|
||||
pthread_mutex_unlock(&_mutex);
|
||||
OSSpinLockUnlock(&_lock);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
- (void)setReplacementString:(NSString *)shortLabel forQueueLabel:(NSString *)longLabel {
|
||||
pthread_mutex_lock(&_mutex);
|
||||
OSSpinLockLock(&_lock);
|
||||
{
|
||||
if (shortLabel) {
|
||||
_replacements[longLabel] = shortLabel;
|
||||
@ -112,7 +109,7 @@
|
||||
[_replacements removeObjectForKey:longLabel];
|
||||
}
|
||||
}
|
||||
pthread_mutex_unlock(&_mutex);
|
||||
OSSpinLockUnlock(&_lock);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
@ -217,11 +214,11 @@
|
||||
fullLabel = logMessage->_threadName;
|
||||
}
|
||||
|
||||
pthread_mutex_lock(&_mutex);
|
||||
OSSpinLockLock(&_lock);
|
||||
{
|
||||
abrvLabel = _replacements[fullLabel];
|
||||
}
|
||||
pthread_mutex_unlock(&_mutex);
|
||||
OSSpinLockUnlock(&_lock);
|
||||
|
||||
if (abrvLabel) {
|
||||
queueThreadLabel = abrvLabel;
|
||||
|
||||
10
Testing/Xcode-desktop/Pods/CocoaLumberjack/README.md
generated
10
Testing/Xcode-desktop/Pods/CocoaLumberjack/README.md
generated
@ -151,16 +151,14 @@ Configure your logging however you want. Change log levels per file (perfect for
|
||||
|
||||
### Requirements
|
||||
The current version of Lumberjack requires:
|
||||
- Xcode 9 or later
|
||||
- Swift 4.0 or later
|
||||
- iOS 6 or later
|
||||
- OS X 10.8 or later
|
||||
- Xcode 8 or later
|
||||
- Swift 3.0 or later
|
||||
- iOS 5 or later
|
||||
- OS X 10.7 or later
|
||||
- WatchOS 2 or later
|
||||
- TVOS 9 or later
|
||||
|
||||
#### Backwards compability
|
||||
- for iOS 5 and OS X 10.7, use the 3.3 version
|
||||
- for Xcode 8 and Swift 3, use the 3.2 version
|
||||
- for Xcode 7.3 and Swift 2.3, use the 2.4.0 version
|
||||
- for Xcode 7.3 and Swift 2.2, use the 2.3.0 version
|
||||
- for Xcode 7.2 and 7.1, use the 2.2.0 version
|
||||
|
||||
@ -1 +0,0 @@
|
||||
../../../../../../YapDatabase/Extensions/ConnectionPool/YapDatabaseConnectionPool.h
|
||||
@ -1 +0,0 @@
|
||||
../../../../../../YapDatabase/Utilities/YapDatabaseCryptoUtils.h
|
||||
@ -1 +0,0 @@
|
||||
../../../../../../YapDatabase/Extensions/ConnectionPool/YapDatabaseConnectionPool.h
|
||||
@ -1 +0,0 @@
|
||||
../../../../../../YapDatabase/Utilities/YapDatabaseCryptoUtils.h
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "YapDatabase",
|
||||
"version": "3.0.2",
|
||||
"version": "3.0",
|
||||
"summary": "A key/value store built atop sqlite for iOS & Mac.",
|
||||
"homepage": "https://github.com/yapstudios/YapDatabase",
|
||||
"license": "MIT",
|
||||
@ -9,10 +9,10 @@
|
||||
},
|
||||
"source": {
|
||||
"git": "https://github.com/yapstudios/YapDatabase.git",
|
||||
"tag": "3.0.2"
|
||||
"tag": "3.0"
|
||||
},
|
||||
"platforms": {
|
||||
"osx": "10.10",
|
||||
"osx": "10.9",
|
||||
"ios": "8.0",
|
||||
"tvos": "9.0",
|
||||
"watchos": "2.0"
|
||||
@ -139,10 +139,6 @@
|
||||
"name": "ConnectionProxy",
|
||||
"source_files": "YapDatabase/Extensions/ConnectionProxy/**/*.{h,m,mm,c}"
|
||||
},
|
||||
{
|
||||
"name": "ConnectionPool",
|
||||
"source_files": "YapDatabase/Extensions/ConnectionPool/**/*.{h,m,mm,c}"
|
||||
},
|
||||
{
|
||||
"name": "ActionManager",
|
||||
"osx": {
|
||||
@ -292,10 +288,6 @@
|
||||
"name": "ConnectionProxy",
|
||||
"source_files": "YapDatabase/Extensions/ConnectionProxy/**/*.{h,m,mm,c}"
|
||||
},
|
||||
{
|
||||
"name": "ConnectionPool",
|
||||
"source_files": "YapDatabase/Extensions/ConnectionPool/**/*.{h,m,mm,c}"
|
||||
},
|
||||
{
|
||||
"name": "ActionManager",
|
||||
"osx": {
|
||||
|
||||
95
Testing/Xcode-desktop/Pods/Manifest.lock
generated
95
Testing/Xcode-desktop/Pods/Manifest.lock
generated
@ -1,72 +1,69 @@
|
||||
PODS:
|
||||
- CocoaLumberjack (3.4.1):
|
||||
- CocoaLumberjack/Default (= 3.4.1)
|
||||
- CocoaLumberjack/Extensions (= 3.4.1)
|
||||
- CocoaLumberjack/Default (3.4.1)
|
||||
- CocoaLumberjack/Extensions (3.4.1):
|
||||
- CocoaLumberjack (3.2.0):
|
||||
- CocoaLumberjack/Default (= 3.2.0)
|
||||
- CocoaLumberjack/Extensions (= 3.2.0)
|
||||
- CocoaLumberjack/Default (3.2.0)
|
||||
- CocoaLumberjack/Extensions (3.2.0):
|
||||
- CocoaLumberjack/Default
|
||||
- YapDatabase (3.0.2):
|
||||
- YapDatabase/Standard (= 3.0.2)
|
||||
- YapDatabase/Standard (3.0.2):
|
||||
- YapDatabase/Standard/Core (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions (= 3.0.2)
|
||||
- YapDatabase/Standard/Core (3.0.2):
|
||||
- YapDatabase (3.0):
|
||||
- YapDatabase/Standard (= 3.0)
|
||||
- YapDatabase/Standard (3.0):
|
||||
- YapDatabase/Standard/Core (= 3.0)
|
||||
- YapDatabase/Standard/Extensions (= 3.0)
|
||||
- YapDatabase/Standard/Core (3.0):
|
||||
- CocoaLumberjack
|
||||
- YapDatabase/Standard/Extensions (3.0.2):
|
||||
- YapDatabase/Standard/Extensions (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/ActionManager (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/AutoView (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/CloudCore (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/CloudKit (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/ConnectionPool (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/ConnectionProxy (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/CrossProcessNotification (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/FilteredView (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/FullTextSearch (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/Hooks (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/ManualView (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/Relationships (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/RTreeIndex (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/SearchResultsView (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/SecondaryIndex (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/View (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/ActionManager (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/ActionManager (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/AutoView (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/CloudCore (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/CloudKit (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/ConnectionProxy (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/CrossProcessNotification (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/FilteredView (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/FullTextSearch (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/Hooks (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/ManualView (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/Relationships (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/RTreeIndex (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/SearchResultsView (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/SecondaryIndex (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/View (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/ActionManager (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/AutoView
|
||||
- YapDatabase/Standard/Extensions/AutoView (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/AutoView (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/View
|
||||
- YapDatabase/Standard/Extensions/CloudCore (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/CloudCore (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/CloudKit (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/CloudKit (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/ConnectionPool (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/ConnectionProxy (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/ConnectionProxy (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/CrossProcessNotification (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/CrossProcessNotification (3.0.2):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/FilteredView (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/FilteredView (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/View
|
||||
- YapDatabase/Standard/Extensions/FullTextSearch (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/FullTextSearch (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/Hooks (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/Hooks (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/ManualView (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/ManualView (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/View
|
||||
- YapDatabase/Standard/Extensions/Relationships (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/Relationships (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/RTreeIndex (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/RTreeIndex (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/SearchResultsView (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/SearchResultsView (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/AutoView
|
||||
- YapDatabase/Standard/Extensions/FullTextSearch
|
||||
- YapDatabase/Standard/Extensions/SecondaryIndex (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/SecondaryIndex (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/View (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/View (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
|
||||
DEPENDENCIES:
|
||||
@ -77,9 +74,9 @@ EXTERNAL SOURCES:
|
||||
:path: ../../
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
CocoaLumberjack: 2e258a064cacc8eb9a2aca318e24d02a0a7fd56d
|
||||
YapDatabase: 972eccb0c997d0dafe8192dccf7f58351914baf1
|
||||
CocoaLumberjack: 9b4aed7073d242f29cc2f62068d995faf67f703a
|
||||
YapDatabase: 0cef6c79948169c924ae325d430ffcfa8a5231c2
|
||||
|
||||
PODFILE CHECKSUM: 8dceb5c937bc6e9558d8d75103d141eef959b637
|
||||
PODFILE CHECKSUM: 27f2264941859e807f069adfc2aa0a50167ae03d
|
||||
|
||||
COCOAPODS: 1.4.0
|
||||
COCOAPODS: 1.2.1
|
||||
|
||||
3692
Testing/Xcode-desktop/Pods/Pods.xcodeproj/project.pbxproj
generated
3692
Testing/Xcode-desktop/Pods/Pods.xcodeproj/project.pbxproj
generated
File diff suppressed because it is too large
Load Diff
@ -1,8 +1,8 @@
|
||||
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack
|
||||
CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/CocoaLumberjack
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/CocoaLumberjack" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/CocoaLumberjack" "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_BUILD_DIR = $BUILD_DIR
|
||||
PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_ROOT = ${SRCROOT}
|
||||
PODS_TARGET_SRCROOT = ${PODS_ROOT}/CocoaLumberjack
|
||||
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
|
||||
|
||||
@ -6,14 +6,6 @@ mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
|
||||
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
|
||||
|
||||
# Used as a return value for each invocation of `strip_invalid_archs` function.
|
||||
STRIP_BINARY_RETVAL=0
|
||||
|
||||
# This protects against multiple targets copying the same framework dependency at the same time. The solution
|
||||
# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
|
||||
RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
|
||||
|
||||
# Copies and strips a vendored framework
|
||||
install_framework()
|
||||
{
|
||||
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
|
||||
@ -31,9 +23,9 @@ install_framework()
|
||||
source="$(readlink "${source}")"
|
||||
fi
|
||||
|
||||
# Use filter instead of exclude so missing patterns don't throw errors.
|
||||
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
|
||||
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
|
||||
# use filter instead of exclude so missing patterns dont' throw errors
|
||||
echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
|
||||
rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
|
||||
|
||||
local basename
|
||||
basename="$(basename -s .framework "$1")"
|
||||
@ -62,34 +54,6 @@ install_framework()
|
||||
fi
|
||||
}
|
||||
|
||||
# Copies and strips a vendored dSYM
|
||||
install_dsym() {
|
||||
local source="$1"
|
||||
if [ -r "$source" ]; then
|
||||
# Copy the dSYM into a the targets temp dir.
|
||||
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\""
|
||||
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}"
|
||||
|
||||
local basename
|
||||
basename="$(basename -s .framework.dSYM "$source")"
|
||||
binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}"
|
||||
|
||||
# Strip invalid architectures so "fat" simulator / device frameworks work on device
|
||||
if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then
|
||||
strip_invalid_archs "$binary"
|
||||
fi
|
||||
|
||||
if [[ $STRIP_BINARY_RETVAL == 1 ]]; then
|
||||
# Move the stripped file into its final destination.
|
||||
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\""
|
||||
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}"
|
||||
else
|
||||
# The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing.
|
||||
touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# Signs a framework with the provided identity
|
||||
code_sign_if_enabled() {
|
||||
if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
|
||||
@ -108,19 +72,11 @@ code_sign_if_enabled() {
|
||||
# Strip invalid architectures
|
||||
strip_invalid_archs() {
|
||||
binary="$1"
|
||||
# Get architectures for current target binary
|
||||
binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)"
|
||||
# Intersect them with the architectures we are building for
|
||||
intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)"
|
||||
# If there are no archs supported by this binary then warn the user
|
||||
if [[ -z "$intersected_archs" ]]; then
|
||||
echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)."
|
||||
STRIP_BINARY_RETVAL=0
|
||||
return
|
||||
fi
|
||||
# Get architectures for current file
|
||||
archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)"
|
||||
stripped=""
|
||||
for arch in $binary_archs; do
|
||||
if ! [[ "${ARCHS}" == *"$arch"* ]]; then
|
||||
for arch in $archs; do
|
||||
if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then
|
||||
# Strip non-valid architectures in-place
|
||||
lipo -remove "$arch" -output "$binary" "$binary" || exit 1
|
||||
stripped="$stripped $arch"
|
||||
@ -129,7 +85,6 @@ strip_invalid_archs() {
|
||||
if [[ "$stripped" ]]; then
|
||||
echo "Stripped $binary of architectures:$stripped"
|
||||
fi
|
||||
STRIP_BINARY_RETVAL=1
|
||||
}
|
||||
|
||||
if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
|
||||
|
||||
@ -8,10 +8,6 @@ RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
|
||||
|
||||
XCASSET_FILES=()
|
||||
|
||||
# This protects against multiple targets copying the same framework dependency at the same time. The solution
|
||||
# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
|
||||
RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
|
||||
|
||||
case "${TARGETED_DEVICE_FAMILY}" in
|
||||
1,2)
|
||||
TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
|
||||
@ -48,29 +44,29 @@ EOM
|
||||
fi
|
||||
case $RESOURCE_PATH in
|
||||
*.storyboard)
|
||||
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true
|
||||
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
|
||||
ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
|
||||
;;
|
||||
*.xib)
|
||||
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true
|
||||
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
|
||||
ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
|
||||
;;
|
||||
*.framework)
|
||||
echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true
|
||||
echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true
|
||||
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
;;
|
||||
*.xcdatamodel)
|
||||
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true
|
||||
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\""
|
||||
xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom"
|
||||
;;
|
||||
*.xcdatamodeld)
|
||||
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true
|
||||
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\""
|
||||
xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd"
|
||||
;;
|
||||
*.xcmappingmodel)
|
||||
echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true
|
||||
echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\""
|
||||
xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm"
|
||||
;;
|
||||
*.xcassets)
|
||||
@ -78,7 +74,7 @@ EOM
|
||||
XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
|
||||
;;
|
||||
*)
|
||||
echo "$RESOURCE_PATH" || true
|
||||
echo "$RESOURCE_PATH"
|
||||
echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY"
|
||||
;;
|
||||
esac
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/CocoaLumberjack" "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack" "${PODS_CONFIGURATION_BUILD_DIR}/YapDatabase"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/CocoaLumberjack" "$PODS_CONFIGURATION_BUILD_DIR/YapDatabase"
|
||||
OTHER_CFLAGS = $(inherited) -DYAP_STANDARD_SQLITE $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/CocoaLumberjack" -isystem "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
OTHER_LDFLAGS = $(inherited) -ObjC -l"CocoaLumberjack" -l"YapDatabase" -l"c++" -l"sqlite3" -framework "SystemConfiguration"
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_BUILD_DIR = $BUILD_DIR
|
||||
PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
|
||||
PODS_ROOT = ${SRCROOT}/Pods
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/CocoaLumberjack" "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack" "${PODS_CONFIGURATION_BUILD_DIR}/YapDatabase"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/CocoaLumberjack" "$PODS_CONFIGURATION_BUILD_DIR/YapDatabase"
|
||||
OTHER_CFLAGS = $(inherited) -DYAP_STANDARD_SQLITE $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/CocoaLumberjack" -isystem "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
OTHER_LDFLAGS = $(inherited) -ObjC -l"CocoaLumberjack" -l"YapDatabase" -l"c++" -l"sqlite3" -framework "SystemConfiguration"
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_BUILD_DIR = $BUILD_DIR
|
||||
PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
|
||||
PODS_ROOT = ${SRCROOT}/Pods
|
||||
|
||||
@ -6,14 +6,6 @@ mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
|
||||
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
|
||||
|
||||
# Used as a return value for each invocation of `strip_invalid_archs` function.
|
||||
STRIP_BINARY_RETVAL=0
|
||||
|
||||
# This protects against multiple targets copying the same framework dependency at the same time. The solution
|
||||
# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
|
||||
RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
|
||||
|
||||
# Copies and strips a vendored framework
|
||||
install_framework()
|
||||
{
|
||||
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
|
||||
@ -31,9 +23,9 @@ install_framework()
|
||||
source="$(readlink "${source}")"
|
||||
fi
|
||||
|
||||
# Use filter instead of exclude so missing patterns don't throw errors.
|
||||
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
|
||||
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
|
||||
# use filter instead of exclude so missing patterns dont' throw errors
|
||||
echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
|
||||
rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
|
||||
|
||||
local basename
|
||||
basename="$(basename -s .framework "$1")"
|
||||
@ -62,34 +54,6 @@ install_framework()
|
||||
fi
|
||||
}
|
||||
|
||||
# Copies and strips a vendored dSYM
|
||||
install_dsym() {
|
||||
local source="$1"
|
||||
if [ -r "$source" ]; then
|
||||
# Copy the dSYM into a the targets temp dir.
|
||||
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\""
|
||||
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}"
|
||||
|
||||
local basename
|
||||
basename="$(basename -s .framework.dSYM "$source")"
|
||||
binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}"
|
||||
|
||||
# Strip invalid architectures so "fat" simulator / device frameworks work on device
|
||||
if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then
|
||||
strip_invalid_archs "$binary"
|
||||
fi
|
||||
|
||||
if [[ $STRIP_BINARY_RETVAL == 1 ]]; then
|
||||
# Move the stripped file into its final destination.
|
||||
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\""
|
||||
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}"
|
||||
else
|
||||
# The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing.
|
||||
touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# Signs a framework with the provided identity
|
||||
code_sign_if_enabled() {
|
||||
if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
|
||||
@ -108,19 +72,11 @@ code_sign_if_enabled() {
|
||||
# Strip invalid architectures
|
||||
strip_invalid_archs() {
|
||||
binary="$1"
|
||||
# Get architectures for current target binary
|
||||
binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)"
|
||||
# Intersect them with the architectures we are building for
|
||||
intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)"
|
||||
# If there are no archs supported by this binary then warn the user
|
||||
if [[ -z "$intersected_archs" ]]; then
|
||||
echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)."
|
||||
STRIP_BINARY_RETVAL=0
|
||||
return
|
||||
fi
|
||||
# Get architectures for current file
|
||||
archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)"
|
||||
stripped=""
|
||||
for arch in $binary_archs; do
|
||||
if ! [[ "${ARCHS}" == *"$arch"* ]]; then
|
||||
for arch in $archs; do
|
||||
if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then
|
||||
# Strip non-valid architectures in-place
|
||||
lipo -remove "$arch" -output "$binary" "$binary" || exit 1
|
||||
stripped="$stripped $arch"
|
||||
@ -129,7 +85,6 @@ strip_invalid_archs() {
|
||||
if [[ "$stripped" ]]; then
|
||||
echo "Stripped $binary of architectures:$stripped"
|
||||
fi
|
||||
STRIP_BINARY_RETVAL=1
|
||||
}
|
||||
|
||||
if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
|
||||
|
||||
@ -8,10 +8,6 @@ RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
|
||||
|
||||
XCASSET_FILES=()
|
||||
|
||||
# This protects against multiple targets copying the same framework dependency at the same time. The solution
|
||||
# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
|
||||
RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
|
||||
|
||||
case "${TARGETED_DEVICE_FAMILY}" in
|
||||
1,2)
|
||||
TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
|
||||
@ -48,29 +44,29 @@ EOM
|
||||
fi
|
||||
case $RESOURCE_PATH in
|
||||
*.storyboard)
|
||||
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true
|
||||
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
|
||||
ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
|
||||
;;
|
||||
*.xib)
|
||||
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true
|
||||
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
|
||||
ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
|
||||
;;
|
||||
*.framework)
|
||||
echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true
|
||||
echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true
|
||||
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
;;
|
||||
*.xcdatamodel)
|
||||
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true
|
||||
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\""
|
||||
xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom"
|
||||
;;
|
||||
*.xcdatamodeld)
|
||||
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true
|
||||
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\""
|
||||
xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd"
|
||||
;;
|
||||
*.xcmappingmodel)
|
||||
echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true
|
||||
echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\""
|
||||
xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm"
|
||||
;;
|
||||
*.xcassets)
|
||||
@ -78,7 +74,7 @@ EOM
|
||||
XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
|
||||
;;
|
||||
*)
|
||||
echo "$RESOURCE_PATH" || true
|
||||
echo "$RESOURCE_PATH"
|
||||
echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY"
|
||||
;;
|
||||
esac
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/CocoaLumberjack" "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack" "${PODS_CONFIGURATION_BUILD_DIR}/YapDatabase"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/CocoaLumberjack" "$PODS_CONFIGURATION_BUILD_DIR/YapDatabase"
|
||||
OTHER_CFLAGS = $(inherited) -DYAP_STANDARD_SQLITE $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/CocoaLumberjack" -isystem "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
OTHER_LDFLAGS = $(inherited) -ObjC -l"CocoaLumberjack" -l"YapDatabase" -l"c++" -l"sqlite3" -framework "SystemConfiguration"
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_BUILD_DIR = $BUILD_DIR
|
||||
PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
|
||||
PODS_ROOT = ${SRCROOT}/Pods
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/CocoaLumberjack" "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack" "${PODS_CONFIGURATION_BUILD_DIR}/YapDatabase"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/CocoaLumberjack" "$PODS_CONFIGURATION_BUILD_DIR/YapDatabase"
|
||||
OTHER_CFLAGS = $(inherited) -DYAP_STANDARD_SQLITE $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/CocoaLumberjack" -isystem "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
OTHER_LDFLAGS = $(inherited) -ObjC -l"CocoaLumberjack" -l"YapDatabase" -l"c++" -l"sqlite3" -framework "SystemConfiguration"
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_BUILD_DIR = $BUILD_DIR
|
||||
PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
|
||||
PODS_ROOT = ${SRCROOT}/Pods
|
||||
|
||||
@ -6,14 +6,6 @@ mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
|
||||
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
|
||||
|
||||
# Used as a return value for each invocation of `strip_invalid_archs` function.
|
||||
STRIP_BINARY_RETVAL=0
|
||||
|
||||
# This protects against multiple targets copying the same framework dependency at the same time. The solution
|
||||
# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
|
||||
RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
|
||||
|
||||
# Copies and strips a vendored framework
|
||||
install_framework()
|
||||
{
|
||||
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
|
||||
@ -31,9 +23,9 @@ install_framework()
|
||||
source="$(readlink "${source}")"
|
||||
fi
|
||||
|
||||
# Use filter instead of exclude so missing patterns don't throw errors.
|
||||
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
|
||||
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
|
||||
# use filter instead of exclude so missing patterns dont' throw errors
|
||||
echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
|
||||
rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
|
||||
|
||||
local basename
|
||||
basename="$(basename -s .framework "$1")"
|
||||
@ -62,34 +54,6 @@ install_framework()
|
||||
fi
|
||||
}
|
||||
|
||||
# Copies and strips a vendored dSYM
|
||||
install_dsym() {
|
||||
local source="$1"
|
||||
if [ -r "$source" ]; then
|
||||
# Copy the dSYM into a the targets temp dir.
|
||||
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\""
|
||||
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}"
|
||||
|
||||
local basename
|
||||
basename="$(basename -s .framework.dSYM "$source")"
|
||||
binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}"
|
||||
|
||||
# Strip invalid architectures so "fat" simulator / device frameworks work on device
|
||||
if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then
|
||||
strip_invalid_archs "$binary"
|
||||
fi
|
||||
|
||||
if [[ $STRIP_BINARY_RETVAL == 1 ]]; then
|
||||
# Move the stripped file into its final destination.
|
||||
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\""
|
||||
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}"
|
||||
else
|
||||
# The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing.
|
||||
touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# Signs a framework with the provided identity
|
||||
code_sign_if_enabled() {
|
||||
if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
|
||||
@ -108,19 +72,11 @@ code_sign_if_enabled() {
|
||||
# Strip invalid architectures
|
||||
strip_invalid_archs() {
|
||||
binary="$1"
|
||||
# Get architectures for current target binary
|
||||
binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)"
|
||||
# Intersect them with the architectures we are building for
|
||||
intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)"
|
||||
# If there are no archs supported by this binary then warn the user
|
||||
if [[ -z "$intersected_archs" ]]; then
|
||||
echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)."
|
||||
STRIP_BINARY_RETVAL=0
|
||||
return
|
||||
fi
|
||||
# Get architectures for current file
|
||||
archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)"
|
||||
stripped=""
|
||||
for arch in $binary_archs; do
|
||||
if ! [[ "${ARCHS}" == *"$arch"* ]]; then
|
||||
for arch in $archs; do
|
||||
if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then
|
||||
# Strip non-valid architectures in-place
|
||||
lipo -remove "$arch" -output "$binary" "$binary" || exit 1
|
||||
stripped="$stripped $arch"
|
||||
@ -129,7 +85,6 @@ strip_invalid_archs() {
|
||||
if [[ "$stripped" ]]; then
|
||||
echo "Stripped $binary of architectures:$stripped"
|
||||
fi
|
||||
STRIP_BINARY_RETVAL=1
|
||||
}
|
||||
|
||||
if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
|
||||
|
||||
@ -8,10 +8,6 @@ RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
|
||||
|
||||
XCASSET_FILES=()
|
||||
|
||||
# This protects against multiple targets copying the same framework dependency at the same time. The solution
|
||||
# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
|
||||
RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
|
||||
|
||||
case "${TARGETED_DEVICE_FAMILY}" in
|
||||
1,2)
|
||||
TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
|
||||
@ -48,29 +44,29 @@ EOM
|
||||
fi
|
||||
case $RESOURCE_PATH in
|
||||
*.storyboard)
|
||||
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true
|
||||
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
|
||||
ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
|
||||
;;
|
||||
*.xib)
|
||||
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true
|
||||
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
|
||||
ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
|
||||
;;
|
||||
*.framework)
|
||||
echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true
|
||||
echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true
|
||||
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
;;
|
||||
*.xcdatamodel)
|
||||
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true
|
||||
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\""
|
||||
xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom"
|
||||
;;
|
||||
*.xcdatamodeld)
|
||||
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true
|
||||
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\""
|
||||
xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd"
|
||||
;;
|
||||
*.xcmappingmodel)
|
||||
echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true
|
||||
echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\""
|
||||
xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm"
|
||||
;;
|
||||
*.xcassets)
|
||||
@ -78,7 +74,7 @@ EOM
|
||||
XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
|
||||
;;
|
||||
*)
|
||||
echo "$RESOURCE_PATH" || true
|
||||
echo "$RESOURCE_PATH"
|
||||
echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY"
|
||||
;;
|
||||
esac
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/CocoaLumberjack" "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack" "${PODS_CONFIGURATION_BUILD_DIR}/YapDatabase"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/CocoaLumberjack" "$PODS_CONFIGURATION_BUILD_DIR/YapDatabase"
|
||||
OTHER_CFLAGS = $(inherited) -DYAP_STANDARD_SQLITE $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/CocoaLumberjack" -isystem "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
OTHER_LDFLAGS = $(inherited) -ObjC -l"CocoaLumberjack" -l"YapDatabase" -l"c++" -l"sqlite3" -framework "SystemConfiguration"
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_BUILD_DIR = $BUILD_DIR
|
||||
PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
|
||||
PODS_ROOT = ${SRCROOT}/Pods
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/CocoaLumberjack" "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack" "${PODS_CONFIGURATION_BUILD_DIR}/YapDatabase"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/CocoaLumberjack" "$PODS_CONFIGURATION_BUILD_DIR/YapDatabase"
|
||||
OTHER_CFLAGS = $(inherited) -DYAP_STANDARD_SQLITE $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/CocoaLumberjack" -isystem "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
OTHER_LDFLAGS = $(inherited) -ObjC -l"CocoaLumberjack" -l"YapDatabase" -l"c++" -l"sqlite3" -framework "SystemConfiguration"
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_BUILD_DIR = $BUILD_DIR
|
||||
PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
|
||||
PODS_ROOT = ${SRCROOT}/Pods
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/YapDatabase
|
||||
CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/YapDatabase
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/YapDatabase" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/CocoaLumberjack" "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/CocoaLumberjack"
|
||||
OTHER_CFLAGS = $(inherited) -DYAP_STANDARD_SQLITE
|
||||
OTHER_LDFLAGS = -l"c++" -l"sqlite3" -framework "SystemConfiguration"
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_BUILD_DIR = $BUILD_DIR
|
||||
PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_ROOT = ${SRCROOT}
|
||||
PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../..
|
||||
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
|
||||
|
||||
@ -436,7 +436,7 @@
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastTestingUpgradeCheck = 0510;
|
||||
LastUpgradeCheck = 0910;
|
||||
LastUpgradeCheck = 0820;
|
||||
ORGANIZATIONNAME = "Robbie Hanson";
|
||||
TargetAttributes = {
|
||||
98987F7E1C71D79600173D90 = {
|
||||
@ -501,16 +501,13 @@
|
||||
files = (
|
||||
);
|
||||
inputPaths = (
|
||||
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
|
||||
"${PODS_ROOT}/Manifest.lock",
|
||||
);
|
||||
name = "[CP] Check Pods Manifest.lock";
|
||||
outputPaths = (
|
||||
"$(DERIVED_FILE_DIR)/Pods-MultiprocessApp-checkManifestLockResult.txt",
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
||||
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
|
||||
showEnvVarsInLog = 0;
|
||||
};
|
||||
32E94495040550E360BC0A06 /* [CP] Check Pods Manifest.lock */ = {
|
||||
@ -519,16 +516,13 @@
|
||||
files = (
|
||||
);
|
||||
inputPaths = (
|
||||
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
|
||||
"${PODS_ROOT}/Manifest.lock",
|
||||
);
|
||||
name = "[CP] Check Pods Manifest.lock";
|
||||
outputPaths = (
|
||||
"$(DERIVED_FILE_DIR)/Pods-YapDatabase-checkManifestLockResult.txt",
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
||||
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
|
||||
showEnvVarsInLog = 0;
|
||||
};
|
||||
3F3B1E8341485E819B1ECFB9 /* [CP] Copy Pods Resources */ = {
|
||||
@ -597,16 +591,13 @@
|
||||
files = (
|
||||
);
|
||||
inputPaths = (
|
||||
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
|
||||
"${PODS_ROOT}/Manifest.lock",
|
||||
);
|
||||
name = "[CP] Check Pods Manifest.lock";
|
||||
outputPaths = (
|
||||
"$(DERIVED_FILE_DIR)/Pods-YapDatabaseTests-checkManifestLockResult.txt",
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
||||
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
|
||||
showEnvVarsInLog = 0;
|
||||
};
|
||||
DDAB329B4D08BE3FF60F3C63 /* [CP] Copy Pods Resources */ = {
|
||||
@ -724,6 +715,7 @@
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.11;
|
||||
MTL_ENABLE_DEBUG_INFO = YES;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
};
|
||||
@ -748,6 +740,7 @@
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.11;
|
||||
MTL_ENABLE_DEBUG_INFO = NO;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
};
|
||||
@ -760,18 +753,12 @@
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_COMMA = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
@ -794,7 +781,7 @@
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.12;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.10;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
SDKROOT = macosx;
|
||||
};
|
||||
@ -807,18 +794,12 @@
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
||||
CLANG_CXX_LIBRARY = "libc++";
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||
CLANG_WARN_COMMA = YES;
|
||||
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
||||
CLANG_WARN_EMPTY_BODY = YES;
|
||||
CLANG_WARN_ENUM_CONVERSION = YES;
|
||||
CLANG_WARN_INFINITE_RECURSION = YES;
|
||||
CLANG_WARN_INT_CONVERSION = YES;
|
||||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||
CLANG_WARN_UNREACHABLE_CODE = YES;
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
@ -834,7 +815,7 @@
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.12;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.10;
|
||||
SDKROOT = macosx;
|
||||
};
|
||||
name = Release;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0910"
|
||||
LastUpgradeVersion = "0820"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
@ -26,7 +26,6 @@
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
language = ""
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<Testables>
|
||||
</Testables>
|
||||
@ -46,7 +45,6 @@
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
language = ""
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0910"
|
||||
LastUpgradeVersion = "0820"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
|
||||
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>IDEDidComputeMac32BitWarning</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
@ -1,72 +1,69 @@
|
||||
PODS:
|
||||
- CocoaLumberjack (3.4.1):
|
||||
- CocoaLumberjack/Default (= 3.4.1)
|
||||
- CocoaLumberjack/Extensions (= 3.4.1)
|
||||
- CocoaLumberjack/Default (3.4.1)
|
||||
- CocoaLumberjack/Extensions (3.4.1):
|
||||
- CocoaLumberjack (3.2.0):
|
||||
- CocoaLumberjack/Default (= 3.2.0)
|
||||
- CocoaLumberjack/Extensions (= 3.2.0)
|
||||
- CocoaLumberjack/Default (3.2.0)
|
||||
- CocoaLumberjack/Extensions (3.2.0):
|
||||
- CocoaLumberjack/Default
|
||||
- YapDatabase (3.0.2):
|
||||
- YapDatabase/Standard (= 3.0.2)
|
||||
- YapDatabase/Standard (3.0.2):
|
||||
- YapDatabase/Standard/Core (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions (= 3.0.2)
|
||||
- YapDatabase/Standard/Core (3.0.2):
|
||||
- YapDatabase (3.0):
|
||||
- YapDatabase/Standard (= 3.0)
|
||||
- YapDatabase/Standard (3.0):
|
||||
- YapDatabase/Standard/Core (= 3.0)
|
||||
- YapDatabase/Standard/Extensions (= 3.0)
|
||||
- YapDatabase/Standard/Core (3.0):
|
||||
- CocoaLumberjack
|
||||
- YapDatabase/Standard/Extensions (3.0.2):
|
||||
- YapDatabase/Standard/Extensions (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/ActionManager (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/AutoView (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/CloudCore (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/CloudKit (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/ConnectionPool (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/ConnectionProxy (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/CrossProcessNotification (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/FilteredView (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/FullTextSearch (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/Hooks (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/ManualView (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/Relationships (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/RTreeIndex (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/SearchResultsView (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/SecondaryIndex (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/View (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/ActionManager (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/ActionManager (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/AutoView (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/CloudCore (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/CloudKit (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/ConnectionProxy (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/CrossProcessNotification (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/FilteredView (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/FullTextSearch (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/Hooks (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/ManualView (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/Relationships (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/RTreeIndex (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/SearchResultsView (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/SecondaryIndex (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/View (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/ActionManager (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/AutoView
|
||||
- YapDatabase/Standard/Extensions/AutoView (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/AutoView (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/View
|
||||
- YapDatabase/Standard/Extensions/CloudCore (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/CloudCore (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/CloudKit (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/CloudKit (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/ConnectionPool (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/ConnectionProxy (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/ConnectionProxy (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/CrossProcessNotification (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/CrossProcessNotification (3.0.2):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/FilteredView (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/FilteredView (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/View
|
||||
- YapDatabase/Standard/Extensions/FullTextSearch (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/FullTextSearch (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/Hooks (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/Hooks (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/ManualView (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/ManualView (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/View
|
||||
- YapDatabase/Standard/Extensions/Relationships (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/Relationships (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/RTreeIndex (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/RTreeIndex (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/SearchResultsView (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/SearchResultsView (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/AutoView
|
||||
- YapDatabase/Standard/Extensions/FullTextSearch
|
||||
- YapDatabase/Standard/Extensions/SecondaryIndex (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/SecondaryIndex (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/View (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/View (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
|
||||
DEPENDENCIES:
|
||||
@ -77,9 +74,9 @@ EXTERNAL SOURCES:
|
||||
:path: ../../
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
CocoaLumberjack: 2e258a064cacc8eb9a2aca318e24d02a0a7fd56d
|
||||
YapDatabase: 972eccb0c997d0dafe8192dccf7f58351914baf1
|
||||
CocoaLumberjack: 9b4aed7073d242f29cc2f62068d995faf67f703a
|
||||
YapDatabase: 0cef6c79948169c924ae325d430ffcfa8a5231c2
|
||||
|
||||
PODFILE CHECKSUM: 56e0faf7e85fac2003da53b861394c2731e637d4
|
||||
|
||||
COCOAPODS: 1.4.0
|
||||
COCOAPODS: 1.2.1
|
||||
|
||||
@ -86,10 +86,10 @@ public func DDLogError(_ message: @autoclosure () -> String, level: DDLogLevel =
|
||||
public func CurrentFileName(_ fileName: StaticString = #file) -> String {
|
||||
var str = String(describing: fileName)
|
||||
if let idx = str.range(of: "/", options: .backwards)?.upperBound {
|
||||
str = String(str[idx...])
|
||||
str = str.substring(from: idx)
|
||||
}
|
||||
if let idx = str.range(of: ".", options: .backwards)?.lowerBound {
|
||||
str = String(str[..<idx])
|
||||
str = str.substring(to: idx)
|
||||
}
|
||||
return str
|
||||
}
|
||||
|
||||
@ -397,7 +397,7 @@ extern unsigned long long const kDDDefaultLogFilesDiskQuota;
|
||||
* You can optionally force the current log file to be rolled with this method.
|
||||
* CompletionBlock will be called on main queue.
|
||||
*/
|
||||
- (void)rollLogFileWithCompletionBlock:(void (^)(void))completionBlock NS_SWIFT_NAME(rollLogFile(withCompletion:));
|
||||
- (void)rollLogFileWithCompletionBlock:(void (^)())completionBlock NS_SWIFT_NAME(rollLogFile(withCompletion:));
|
||||
|
||||
/**
|
||||
* Method is deprecated.
|
||||
|
||||
@ -279,18 +279,47 @@ unsigned long long const kDDDefaultLogFilesDiskQuota = 20 * 1024 * 1024; // 20
|
||||
- (BOOL)isLogFile:(NSString *)fileName {
|
||||
NSString *appName = [self applicationName];
|
||||
|
||||
// We need to add a space to the name as otherwise we could match applications that have the name prefix.
|
||||
BOOL hasProperPrefix = [fileName hasPrefix:[appName stringByAppendingString:@" "]];
|
||||
BOOL hasProperPrefix = [fileName hasPrefix:appName];
|
||||
BOOL hasProperSuffix = [fileName hasSuffix:@".log"];
|
||||
|
||||
return (hasProperPrefix && hasProperSuffix);
|
||||
BOOL hasProperDate = NO;
|
||||
|
||||
if (hasProperPrefix && hasProperSuffix) {
|
||||
NSUInteger lengthOfMiddle = fileName.length - appName.length - @".log".length;
|
||||
|
||||
// Date string should have at least 16 characters - " 2013-12-03 17-14"
|
||||
if (lengthOfMiddle >= 17) {
|
||||
NSRange range = NSMakeRange(appName.length, lengthOfMiddle);
|
||||
|
||||
NSString *middle = [fileName substringWithRange:range];
|
||||
NSArray *components = [middle componentsSeparatedByString:@" "];
|
||||
|
||||
// When creating logfile if there is existing file with the same name, we append attemp number at the end.
|
||||
// Thats why here we can have three or four components. For details see createNewLogFile method.
|
||||
//
|
||||
// Components:
|
||||
// "", "2013-12-03", "17-14"
|
||||
// or
|
||||
// "", "2013-12-03", "17-14", "1"
|
||||
if (components.count == 3 || components.count == 4) {
|
||||
NSString *dateString = [NSString stringWithFormat:@"%@ %@", components[1], components[2]];
|
||||
NSDateFormatter *dateFormatter = [self logFileDateFormatter];
|
||||
|
||||
NSDate *date = [dateFormatter dateFromString:dateString];
|
||||
|
||||
if (date) {
|
||||
hasProperDate = YES;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return (hasProperPrefix && hasProperDate && hasProperSuffix);
|
||||
}
|
||||
|
||||
// if you change formatter, then change sortedLogFileInfos method also accordingly
|
||||
- (NSDateFormatter *)logFileDateFormatter {
|
||||
NSMutableDictionary *dictionary = [[NSThread currentThread]
|
||||
threadDictionary];
|
||||
NSString *dateFormat = @"yyyy'-'MM'-'dd'--'HH'-'mm'-'ss'-'SSS'";
|
||||
NSString *dateFormat = @"yyyy'-'MM'-'dd' 'HH'-'mm'";
|
||||
NSString *key = [NSString stringWithFormat:@"logFileDateFormatter.%@", dateFormat];
|
||||
NSDateFormatter *dateFormatter = dictionary[key];
|
||||
|
||||
@ -388,35 +417,13 @@ unsigned long long const kDDDefaultLogFilesDiskQuota = 20 * 1024 * 1024; // 20
|
||||
}
|
||||
|
||||
- (NSArray *)sortedLogFileInfos {
|
||||
return [[self unsortedLogFileInfos] sortedArrayUsingComparator:^NSComparisonResult(DDLogFileInfo * _Nonnull obj1, DDLogFileInfo * _Nonnull obj2) {
|
||||
NSDate *date1 = [NSDate new];
|
||||
NSDate *date2 = [NSDate new];
|
||||
|
||||
NSArray<NSString *> *arrayComponent = [[obj1 fileName] componentsSeparatedByString:@" "];
|
||||
if (arrayComponent.count > 0) {
|
||||
NSString *stringDate = arrayComponent.lastObject;
|
||||
stringDate = [stringDate stringByReplacingOccurrencesOfString:@".log" withString:@""];
|
||||
stringDate = [stringDate stringByReplacingOccurrencesOfString:@".archived" withString:@""];
|
||||
date1 = [[self logFileDateFormatter] dateFromString:stringDate] ?: [obj1 creationDate];
|
||||
}
|
||||
|
||||
arrayComponent = [[obj2 fileName] componentsSeparatedByString:@" "];
|
||||
if (arrayComponent.count > 0) {
|
||||
NSString *stringDate = arrayComponent.lastObject;
|
||||
stringDate = [stringDate stringByReplacingOccurrencesOfString:@".log" withString:@""];
|
||||
stringDate = [stringDate stringByReplacingOccurrencesOfString:@".archived" withString:@""];
|
||||
date2 = [[self logFileDateFormatter] dateFromString:stringDate] ?: [obj2 creationDate];
|
||||
}
|
||||
|
||||
return [date2 compare:date1 ?: [NSDate new]];
|
||||
}];
|
||||
|
||||
return [[self unsortedLogFileInfos] sortedArrayUsingSelector:@selector(reverseCompareByCreationDate:)];
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark Creation
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//if you change newLogFileName , then change isLogFile method also accordingly
|
||||
|
||||
- (NSString *)newLogFileName {
|
||||
NSString *appName = [self applicationName];
|
||||
|
||||
@ -772,7 +779,7 @@ unsigned long long const kDDDefaultLogFilesDiskQuota = 20 * 1024 * 1024; // 20
|
||||
[self rollLogFileWithCompletionBlock:nil];
|
||||
}
|
||||
|
||||
- (void)rollLogFileWithCompletionBlock:(void (^)(void))completionBlock {
|
||||
- (void)rollLogFileWithCompletionBlock:(void (^)())completionBlock {
|
||||
// This method is public.
|
||||
// We need to execute the rolling on our logging thread/queue.
|
||||
|
||||
|
||||
@ -351,16 +351,17 @@ static NSUInteger _numProcessors;
|
||||
// Dispatch semaphores call down to the kernel only when the calling thread needs to be blocked.
|
||||
// If the calling semaphore does not need to block, no kernel call is made.
|
||||
|
||||
dispatch_semaphore_wait(_queueSemaphore, DISPATCH_TIME_FOREVER);
|
||||
|
||||
// We've now sure we won't overflow the queue.
|
||||
// It is time to queue our log message.
|
||||
|
||||
dispatch_block_t logBlock = ^{
|
||||
dispatch_semaphore_wait(_queueSemaphore, DISPATCH_TIME_FOREVER);
|
||||
@autoreleasepool {
|
||||
[self lt_log:logMessage];
|
||||
}
|
||||
};
|
||||
|
||||
// We've now sure we won't overflow the queue.
|
||||
// It is time to queue our log message.
|
||||
|
||||
if (asyncFlag) {
|
||||
dispatch_async(_loggingQueue, logBlock);
|
||||
} else {
|
||||
|
||||
@ -25,6 +25,7 @@
|
||||
/**
|
||||
* This class provides a logger for the Apple os_log facility.
|
||||
**/
|
||||
API_AVAILABLE(ios(10.0), macos(10.12), tvos(10.0), watchos(3.0))
|
||||
@interface DDOSLogger : DDAbstractLogger <DDLogger>
|
||||
|
||||
/**
|
||||
|
||||
@ -48,30 +48,26 @@ static DDOSLogger *sharedInstance;
|
||||
return;
|
||||
}
|
||||
|
||||
if(@available(iOS 10.0, macOS 10.12, tvOS 10.0, watchOS 3.0, *)) {
|
||||
NSString * message = _logFormatter ? [_logFormatter formatLogMessage:logMessage] : logMessage->_message;
|
||||
|
||||
if (message) {
|
||||
const char *msg = [message UTF8String];
|
||||
|
||||
NSString * message = _logFormatter ? [_logFormatter formatLogMessage:logMessage] : logMessage->_message;
|
||||
if (message) {
|
||||
const char *msg = [message UTF8String];
|
||||
|
||||
switch (logMessage->_flag) {
|
||||
case DDLogFlagError :
|
||||
os_log_error(OS_LOG_DEFAULT, "%{public}s", msg);
|
||||
break;
|
||||
case DDLogFlagWarning :
|
||||
case DDLogFlagInfo :
|
||||
os_log_info(OS_LOG_DEFAULT, "%{public}s", msg);
|
||||
break;
|
||||
case DDLogFlagDebug :
|
||||
case DDLogFlagVerbose :
|
||||
default :
|
||||
os_log_debug(OS_LOG_DEFAULT, "%{public}s", msg);
|
||||
break;
|
||||
}
|
||||
switch (logMessage->_flag) {
|
||||
case DDLogFlagError :
|
||||
os_log_error(OS_LOG_DEFAULT, msg);
|
||||
break;
|
||||
case DDLogFlagWarning :
|
||||
case DDLogFlagInfo :
|
||||
os_log_info(OS_LOG_DEFAULT, msg);
|
||||
break;
|
||||
case DDLogFlagDebug :
|
||||
case DDLogFlagVerbose :
|
||||
default :
|
||||
os_log_debug(OS_LOG_DEFAULT, msg);
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
- (NSString *)loggerName {
|
||||
|
||||
26
Testing/Xcode-mobile/Pods/CocoaLumberjack/Classes/Extensions/DDContextFilterLogFormatter.m
generated
Executable file → Normal file
26
Testing/Xcode-mobile/Pods/CocoaLumberjack/Classes/Extensions/DDContextFilterLogFormatter.m
generated
Executable file → Normal file
@ -14,7 +14,7 @@
|
||||
// prior written permission of Deusty, LLC.
|
||||
|
||||
#import "DDContextFilterLogFormatter.h"
|
||||
#import <pthread/pthread.h>
|
||||
#import <libkern/OSAtomic.h>
|
||||
|
||||
#if !__has_feature(objc_arc)
|
||||
#error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
|
||||
@ -131,7 +131,7 @@
|
||||
|
||||
|
||||
@interface DDLoggingContextSet () {
|
||||
pthread_mutex_t _mutex;
|
||||
OSSpinLock _lock;
|
||||
NSMutableSet *_set;
|
||||
}
|
||||
|
||||
@ -143,40 +143,36 @@
|
||||
- (instancetype)init {
|
||||
if ((self = [super init])) {
|
||||
_set = [[NSMutableSet alloc] init];
|
||||
pthread_mutex_init(&_mutex, NULL);
|
||||
_lock = OS_SPINLOCK_INIT;
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)dealloc {
|
||||
pthread_mutex_destroy(&_mutex);
|
||||
}
|
||||
|
||||
- (void)addToSet:(NSUInteger)loggingContext {
|
||||
pthread_mutex_lock(&_mutex);
|
||||
OSSpinLockLock(&_lock);
|
||||
{
|
||||
[_set addObject:@(loggingContext)];
|
||||
}
|
||||
pthread_mutex_unlock(&_mutex);
|
||||
OSSpinLockUnlock(&_lock);
|
||||
}
|
||||
|
||||
- (void)removeFromSet:(NSUInteger)loggingContext {
|
||||
pthread_mutex_lock(&_mutex);
|
||||
OSSpinLockLock(&_lock);
|
||||
{
|
||||
[_set removeObject:@(loggingContext)];
|
||||
}
|
||||
pthread_mutex_unlock(&_mutex);
|
||||
OSSpinLockUnlock(&_lock);
|
||||
}
|
||||
|
||||
- (NSArray *)currentSet {
|
||||
NSArray *result = nil;
|
||||
|
||||
pthread_mutex_lock(&_mutex);
|
||||
OSSpinLockLock(&_lock);
|
||||
{
|
||||
result = [_set allObjects];
|
||||
}
|
||||
pthread_mutex_unlock(&_mutex);
|
||||
OSSpinLockUnlock(&_lock);
|
||||
|
||||
return result;
|
||||
}
|
||||
@ -184,11 +180,11 @@
|
||||
- (BOOL)isInSet:(NSUInteger)loggingContext {
|
||||
BOOL result = NO;
|
||||
|
||||
pthread_mutex_lock(&_mutex);
|
||||
OSSpinLockLock(&_lock);
|
||||
{
|
||||
result = [_set containsObject:@(loggingContext)];
|
||||
}
|
||||
pthread_mutex_unlock(&_mutex);
|
||||
OSSpinLockUnlock(&_lock);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
23
Testing/Xcode-mobile/Pods/CocoaLumberjack/Classes/Extensions/DDDispatchQueueLogFormatter.m
generated
Executable file → Normal file
23
Testing/Xcode-mobile/Pods/CocoaLumberjack/Classes/Extensions/DDDispatchQueueLogFormatter.m
generated
Executable file → Normal file
@ -14,9 +14,10 @@
|
||||
// prior written permission of Deusty, LLC.
|
||||
|
||||
#import "DDDispatchQueueLogFormatter.h"
|
||||
#import <pthread/pthread.h>
|
||||
#import <libkern/OSAtomic.h>
|
||||
#import <objc/runtime.h>
|
||||
|
||||
|
||||
#if !__has_feature(objc_arc)
|
||||
#error This file must be compiled with ARC. Use -fobjc-arc flag (or convert project to ARC).
|
||||
#endif
|
||||
@ -28,7 +29,7 @@
|
||||
int32_t _atomicLoggerCount;
|
||||
NSDateFormatter *_threadUnsafeDateFormatter; // Use [self stringFromDate]
|
||||
|
||||
pthread_mutex_t _mutex;
|
||||
OSSpinLock _lock;
|
||||
|
||||
NSUInteger _minQueueLength; // _prefix == Only access via atomic property
|
||||
NSUInteger _maxQueueLength; // _prefix == Only access via atomic property
|
||||
@ -62,7 +63,7 @@
|
||||
|
||||
_minQueueLength = 0;
|
||||
_maxQueueLength = 0;
|
||||
pthread_mutex_init(&_mutex, NULL);
|
||||
_lock = OS_SPINLOCK_INIT;
|
||||
_replacements = [[NSMutableDictionary alloc] init];
|
||||
|
||||
// Set default replacements:
|
||||
@ -80,10 +81,6 @@
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)dealloc {
|
||||
pthread_mutex_destroy(&_mutex);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#pragma mark Configuration
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
@ -94,17 +91,17 @@
|
||||
- (NSString *)replacementStringForQueueLabel:(NSString *)longLabel {
|
||||
NSString *result = nil;
|
||||
|
||||
pthread_mutex_lock(&_mutex);
|
||||
OSSpinLockLock(&_lock);
|
||||
{
|
||||
result = _replacements[longLabel];
|
||||
}
|
||||
pthread_mutex_unlock(&_mutex);
|
||||
OSSpinLockUnlock(&_lock);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
- (void)setReplacementString:(NSString *)shortLabel forQueueLabel:(NSString *)longLabel {
|
||||
pthread_mutex_lock(&_mutex);
|
||||
OSSpinLockLock(&_lock);
|
||||
{
|
||||
if (shortLabel) {
|
||||
_replacements[longLabel] = shortLabel;
|
||||
@ -112,7 +109,7 @@
|
||||
[_replacements removeObjectForKey:longLabel];
|
||||
}
|
||||
}
|
||||
pthread_mutex_unlock(&_mutex);
|
||||
OSSpinLockUnlock(&_lock);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
@ -217,11 +214,11 @@
|
||||
fullLabel = logMessage->_threadName;
|
||||
}
|
||||
|
||||
pthread_mutex_lock(&_mutex);
|
||||
OSSpinLockLock(&_lock);
|
||||
{
|
||||
abrvLabel = _replacements[fullLabel];
|
||||
}
|
||||
pthread_mutex_unlock(&_mutex);
|
||||
OSSpinLockUnlock(&_lock);
|
||||
|
||||
if (abrvLabel) {
|
||||
queueThreadLabel = abrvLabel;
|
||||
|
||||
10
Testing/Xcode-mobile/Pods/CocoaLumberjack/README.md
generated
10
Testing/Xcode-mobile/Pods/CocoaLumberjack/README.md
generated
@ -151,16 +151,14 @@ Configure your logging however you want. Change log levels per file (perfect for
|
||||
|
||||
### Requirements
|
||||
The current version of Lumberjack requires:
|
||||
- Xcode 9 or later
|
||||
- Swift 4.0 or later
|
||||
- iOS 6 or later
|
||||
- OS X 10.8 or later
|
||||
- Xcode 8 or later
|
||||
- Swift 3.0 or later
|
||||
- iOS 5 or later
|
||||
- OS X 10.7 or later
|
||||
- WatchOS 2 or later
|
||||
- TVOS 9 or later
|
||||
|
||||
#### Backwards compability
|
||||
- for iOS 5 and OS X 10.7, use the 3.3 version
|
||||
- for Xcode 8 and Swift 3, use the 3.2 version
|
||||
- for Xcode 7.3 and Swift 2.3, use the 2.4.0 version
|
||||
- for Xcode 7.3 and Swift 2.2, use the 2.3.0 version
|
||||
- for Xcode 7.2 and 7.1, use the 2.2.0 version
|
||||
|
||||
@ -1 +0,0 @@
|
||||
../../../../../../YapDatabase/Extensions/ConnectionPool/YapDatabaseConnectionPool.h
|
||||
@ -1 +0,0 @@
|
||||
../../../../../../YapDatabase/Utilities/YapDatabaseCryptoUtils.h
|
||||
@ -1 +0,0 @@
|
||||
../../../../../../YapDatabase/Extensions/ConnectionPool/YapDatabaseConnectionPool.h
|
||||
@ -1 +0,0 @@
|
||||
../../../../../../YapDatabase/Utilities/YapDatabaseCryptoUtils.h
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "YapDatabase",
|
||||
"version": "3.0.2",
|
||||
"version": "3.0",
|
||||
"summary": "A key/value store built atop sqlite for iOS & Mac.",
|
||||
"homepage": "https://github.com/yapstudios/YapDatabase",
|
||||
"license": "MIT",
|
||||
@ -9,10 +9,10 @@
|
||||
},
|
||||
"source": {
|
||||
"git": "https://github.com/yapstudios/YapDatabase.git",
|
||||
"tag": "3.0.2"
|
||||
"tag": "3.0"
|
||||
},
|
||||
"platforms": {
|
||||
"osx": "10.10",
|
||||
"osx": "10.9",
|
||||
"ios": "8.0",
|
||||
"tvos": "9.0",
|
||||
"watchos": "2.0"
|
||||
@ -139,10 +139,6 @@
|
||||
"name": "ConnectionProxy",
|
||||
"source_files": "YapDatabase/Extensions/ConnectionProxy/**/*.{h,m,mm,c}"
|
||||
},
|
||||
{
|
||||
"name": "ConnectionPool",
|
||||
"source_files": "YapDatabase/Extensions/ConnectionPool/**/*.{h,m,mm,c}"
|
||||
},
|
||||
{
|
||||
"name": "ActionManager",
|
||||
"osx": {
|
||||
@ -292,10 +288,6 @@
|
||||
"name": "ConnectionProxy",
|
||||
"source_files": "YapDatabase/Extensions/ConnectionProxy/**/*.{h,m,mm,c}"
|
||||
},
|
||||
{
|
||||
"name": "ConnectionPool",
|
||||
"source_files": "YapDatabase/Extensions/ConnectionPool/**/*.{h,m,mm,c}"
|
||||
},
|
||||
{
|
||||
"name": "ActionManager",
|
||||
"osx": {
|
||||
|
||||
93
Testing/Xcode-mobile/Pods/Manifest.lock
generated
93
Testing/Xcode-mobile/Pods/Manifest.lock
generated
@ -1,72 +1,69 @@
|
||||
PODS:
|
||||
- CocoaLumberjack (3.4.1):
|
||||
- CocoaLumberjack/Default (= 3.4.1)
|
||||
- CocoaLumberjack/Extensions (= 3.4.1)
|
||||
- CocoaLumberjack/Default (3.4.1)
|
||||
- CocoaLumberjack/Extensions (3.4.1):
|
||||
- CocoaLumberjack (3.2.0):
|
||||
- CocoaLumberjack/Default (= 3.2.0)
|
||||
- CocoaLumberjack/Extensions (= 3.2.0)
|
||||
- CocoaLumberjack/Default (3.2.0)
|
||||
- CocoaLumberjack/Extensions (3.2.0):
|
||||
- CocoaLumberjack/Default
|
||||
- YapDatabase (3.0.2):
|
||||
- YapDatabase/Standard (= 3.0.2)
|
||||
- YapDatabase/Standard (3.0.2):
|
||||
- YapDatabase/Standard/Core (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions (= 3.0.2)
|
||||
- YapDatabase/Standard/Core (3.0.2):
|
||||
- YapDatabase (3.0):
|
||||
- YapDatabase/Standard (= 3.0)
|
||||
- YapDatabase/Standard (3.0):
|
||||
- YapDatabase/Standard/Core (= 3.0)
|
||||
- YapDatabase/Standard/Extensions (= 3.0)
|
||||
- YapDatabase/Standard/Core (3.0):
|
||||
- CocoaLumberjack
|
||||
- YapDatabase/Standard/Extensions (3.0.2):
|
||||
- YapDatabase/Standard/Extensions (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/ActionManager (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/AutoView (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/CloudCore (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/CloudKit (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/ConnectionPool (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/ConnectionProxy (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/CrossProcessNotification (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/FilteredView (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/FullTextSearch (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/Hooks (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/ManualView (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/Relationships (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/RTreeIndex (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/SearchResultsView (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/SecondaryIndex (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/View (= 3.0.2)
|
||||
- YapDatabase/Standard/Extensions/ActionManager (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/ActionManager (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/AutoView (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/CloudCore (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/CloudKit (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/ConnectionProxy (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/CrossProcessNotification (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/FilteredView (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/FullTextSearch (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/Hooks (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/ManualView (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/Relationships (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/RTreeIndex (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/SearchResultsView (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/SecondaryIndex (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/View (= 3.0)
|
||||
- YapDatabase/Standard/Extensions/ActionManager (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/AutoView
|
||||
- YapDatabase/Standard/Extensions/AutoView (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/AutoView (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/View
|
||||
- YapDatabase/Standard/Extensions/CloudCore (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/CloudCore (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/CloudKit (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/CloudKit (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/ConnectionPool (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/ConnectionProxy (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/ConnectionProxy (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/CrossProcessNotification (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/CrossProcessNotification (3.0.2):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/FilteredView (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/FilteredView (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/View
|
||||
- YapDatabase/Standard/Extensions/FullTextSearch (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/FullTextSearch (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/Hooks (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/Hooks (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/ManualView (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/ManualView (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/View
|
||||
- YapDatabase/Standard/Extensions/Relationships (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/Relationships (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/RTreeIndex (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/RTreeIndex (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/SearchResultsView (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/SearchResultsView (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/AutoView
|
||||
- YapDatabase/Standard/Extensions/FullTextSearch
|
||||
- YapDatabase/Standard/Extensions/SecondaryIndex (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/SecondaryIndex (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
- YapDatabase/Standard/Extensions/View (3.0.2):
|
||||
- YapDatabase/Standard/Extensions/View (3.0):
|
||||
- YapDatabase/Standard/Core
|
||||
|
||||
DEPENDENCIES:
|
||||
@ -77,9 +74,9 @@ EXTERNAL SOURCES:
|
||||
:path: ../../
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
CocoaLumberjack: 2e258a064cacc8eb9a2aca318e24d02a0a7fd56d
|
||||
YapDatabase: 972eccb0c997d0dafe8192dccf7f58351914baf1
|
||||
CocoaLumberjack: 9b4aed7073d242f29cc2f62068d995faf67f703a
|
||||
YapDatabase: 0cef6c79948169c924ae325d430ffcfa8a5231c2
|
||||
|
||||
PODFILE CHECKSUM: 56e0faf7e85fac2003da53b861394c2731e637d4
|
||||
|
||||
COCOAPODS: 1.4.0
|
||||
COCOAPODS: 1.2.1
|
||||
|
||||
3405
Testing/Xcode-mobile/Pods/Pods.xcodeproj/project.pbxproj
generated
3405
Testing/Xcode-mobile/Pods/Pods.xcodeproj/project.pbxproj
generated
File diff suppressed because it is too large
Load Diff
@ -1,8 +1,8 @@
|
||||
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack
|
||||
CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/CocoaLumberjack
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/CocoaLumberjack" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/CocoaLumberjack" "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_BUILD_DIR = $BUILD_DIR
|
||||
PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_ROOT = ${SRCROOT}
|
||||
PODS_TARGET_SRCROOT = ${PODS_ROOT}/CocoaLumberjack
|
||||
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
|
||||
|
||||
@ -6,14 +6,6 @@ mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
|
||||
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
|
||||
|
||||
# Used as a return value for each invocation of `strip_invalid_archs` function.
|
||||
STRIP_BINARY_RETVAL=0
|
||||
|
||||
# This protects against multiple targets copying the same framework dependency at the same time. The solution
|
||||
# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
|
||||
RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
|
||||
|
||||
# Copies and strips a vendored framework
|
||||
install_framework()
|
||||
{
|
||||
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
|
||||
@ -31,9 +23,9 @@ install_framework()
|
||||
source="$(readlink "${source}")"
|
||||
fi
|
||||
|
||||
# Use filter instead of exclude so missing patterns don't throw errors.
|
||||
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
|
||||
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
|
||||
# use filter instead of exclude so missing patterns dont' throw errors
|
||||
echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
|
||||
rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
|
||||
|
||||
local basename
|
||||
basename="$(basename -s .framework "$1")"
|
||||
@ -62,34 +54,6 @@ install_framework()
|
||||
fi
|
||||
}
|
||||
|
||||
# Copies and strips a vendored dSYM
|
||||
install_dsym() {
|
||||
local source="$1"
|
||||
if [ -r "$source" ]; then
|
||||
# Copy the dSYM into a the targets temp dir.
|
||||
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\""
|
||||
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}"
|
||||
|
||||
local basename
|
||||
basename="$(basename -s .framework.dSYM "$source")"
|
||||
binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}"
|
||||
|
||||
# Strip invalid architectures so "fat" simulator / device frameworks work on device
|
||||
if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then
|
||||
strip_invalid_archs "$binary"
|
||||
fi
|
||||
|
||||
if [[ $STRIP_BINARY_RETVAL == 1 ]]; then
|
||||
# Move the stripped file into its final destination.
|
||||
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\""
|
||||
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}"
|
||||
else
|
||||
# The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing.
|
||||
touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# Signs a framework with the provided identity
|
||||
code_sign_if_enabled() {
|
||||
if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
|
||||
@ -108,19 +72,11 @@ code_sign_if_enabled() {
|
||||
# Strip invalid architectures
|
||||
strip_invalid_archs() {
|
||||
binary="$1"
|
||||
# Get architectures for current target binary
|
||||
binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)"
|
||||
# Intersect them with the architectures we are building for
|
||||
intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)"
|
||||
# If there are no archs supported by this binary then warn the user
|
||||
if [[ -z "$intersected_archs" ]]; then
|
||||
echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)."
|
||||
STRIP_BINARY_RETVAL=0
|
||||
return
|
||||
fi
|
||||
# Get architectures for current file
|
||||
archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)"
|
||||
stripped=""
|
||||
for arch in $binary_archs; do
|
||||
if ! [[ "${ARCHS}" == *"$arch"* ]]; then
|
||||
for arch in $archs; do
|
||||
if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then
|
||||
# Strip non-valid architectures in-place
|
||||
lipo -remove "$arch" -output "$binary" "$binary" || exit 1
|
||||
stripped="$stripped $arch"
|
||||
@ -129,7 +85,6 @@ strip_invalid_archs() {
|
||||
if [[ "$stripped" ]]; then
|
||||
echo "Stripped $binary of architectures:$stripped"
|
||||
fi
|
||||
STRIP_BINARY_RETVAL=1
|
||||
}
|
||||
|
||||
if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
|
||||
|
||||
@ -8,10 +8,6 @@ RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
|
||||
|
||||
XCASSET_FILES=()
|
||||
|
||||
# This protects against multiple targets copying the same framework dependency at the same time. The solution
|
||||
# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
|
||||
RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
|
||||
|
||||
case "${TARGETED_DEVICE_FAMILY}" in
|
||||
1,2)
|
||||
TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
|
||||
@ -48,29 +44,29 @@ EOM
|
||||
fi
|
||||
case $RESOURCE_PATH in
|
||||
*.storyboard)
|
||||
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true
|
||||
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
|
||||
ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
|
||||
;;
|
||||
*.xib)
|
||||
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true
|
||||
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
|
||||
ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
|
||||
;;
|
||||
*.framework)
|
||||
echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true
|
||||
echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true
|
||||
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
;;
|
||||
*.xcdatamodel)
|
||||
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true
|
||||
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\""
|
||||
xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom"
|
||||
;;
|
||||
*.xcdatamodeld)
|
||||
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true
|
||||
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\""
|
||||
xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd"
|
||||
;;
|
||||
*.xcmappingmodel)
|
||||
echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true
|
||||
echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\""
|
||||
xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm"
|
||||
;;
|
||||
*.xcassets)
|
||||
@ -78,7 +74,7 @@ EOM
|
||||
XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
|
||||
;;
|
||||
*)
|
||||
echo "$RESOURCE_PATH" || true
|
||||
echo "$RESOURCE_PATH"
|
||||
echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY"
|
||||
;;
|
||||
esac
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/CocoaLumberjack" "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack" "${PODS_CONFIGURATION_BUILD_DIR}/YapDatabase"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/CocoaLumberjack" "$PODS_CONFIGURATION_BUILD_DIR/YapDatabase"
|
||||
OTHER_CFLAGS = $(inherited) -DYAP_STANDARD_SQLITE $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/CocoaLumberjack" -isystem "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
OTHER_LDFLAGS = $(inherited) -ObjC -l"CocoaLumberjack" -l"YapDatabase" -l"c++" -l"sqlite3" -framework "SystemConfiguration"
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_BUILD_DIR = $BUILD_DIR
|
||||
PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
|
||||
PODS_ROOT = ${SRCROOT}/Pods
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/CocoaLumberjack" "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack" "${PODS_CONFIGURATION_BUILD_DIR}/YapDatabase"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/CocoaLumberjack" "$PODS_CONFIGURATION_BUILD_DIR/YapDatabase"
|
||||
OTHER_CFLAGS = $(inherited) -DYAP_STANDARD_SQLITE $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/CocoaLumberjack" -isystem "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
OTHER_LDFLAGS = $(inherited) -ObjC -l"CocoaLumberjack" -l"YapDatabase" -l"c++" -l"sqlite3" -framework "SystemConfiguration"
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_BUILD_DIR = $BUILD_DIR
|
||||
PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
|
||||
PODS_ROOT = ${SRCROOT}/Pods
|
||||
|
||||
@ -6,14 +6,6 @@ mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
|
||||
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
|
||||
|
||||
# Used as a return value for each invocation of `strip_invalid_archs` function.
|
||||
STRIP_BINARY_RETVAL=0
|
||||
|
||||
# This protects against multiple targets copying the same framework dependency at the same time. The solution
|
||||
# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
|
||||
RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
|
||||
|
||||
# Copies and strips a vendored framework
|
||||
install_framework()
|
||||
{
|
||||
if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
|
||||
@ -31,9 +23,9 @@ install_framework()
|
||||
source="$(readlink "${source}")"
|
||||
fi
|
||||
|
||||
# Use filter instead of exclude so missing patterns don't throw errors.
|
||||
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
|
||||
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
|
||||
# use filter instead of exclude so missing patterns dont' throw errors
|
||||
echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
|
||||
rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
|
||||
|
||||
local basename
|
||||
basename="$(basename -s .framework "$1")"
|
||||
@ -62,34 +54,6 @@ install_framework()
|
||||
fi
|
||||
}
|
||||
|
||||
# Copies and strips a vendored dSYM
|
||||
install_dsym() {
|
||||
local source="$1"
|
||||
if [ -r "$source" ]; then
|
||||
# Copy the dSYM into a the targets temp dir.
|
||||
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\""
|
||||
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}"
|
||||
|
||||
local basename
|
||||
basename="$(basename -s .framework.dSYM "$source")"
|
||||
binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}"
|
||||
|
||||
# Strip invalid architectures so "fat" simulator / device frameworks work on device
|
||||
if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then
|
||||
strip_invalid_archs "$binary"
|
||||
fi
|
||||
|
||||
if [[ $STRIP_BINARY_RETVAL == 1 ]]; then
|
||||
# Move the stripped file into its final destination.
|
||||
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\""
|
||||
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}"
|
||||
else
|
||||
# The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing.
|
||||
touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# Signs a framework with the provided identity
|
||||
code_sign_if_enabled() {
|
||||
if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
|
||||
@ -108,19 +72,11 @@ code_sign_if_enabled() {
|
||||
# Strip invalid architectures
|
||||
strip_invalid_archs() {
|
||||
binary="$1"
|
||||
# Get architectures for current target binary
|
||||
binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)"
|
||||
# Intersect them with the architectures we are building for
|
||||
intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)"
|
||||
# If there are no archs supported by this binary then warn the user
|
||||
if [[ -z "$intersected_archs" ]]; then
|
||||
echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)."
|
||||
STRIP_BINARY_RETVAL=0
|
||||
return
|
||||
fi
|
||||
# Get architectures for current file
|
||||
archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)"
|
||||
stripped=""
|
||||
for arch in $binary_archs; do
|
||||
if ! [[ "${ARCHS}" == *"$arch"* ]]; then
|
||||
for arch in $archs; do
|
||||
if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then
|
||||
# Strip non-valid architectures in-place
|
||||
lipo -remove "$arch" -output "$binary" "$binary" || exit 1
|
||||
stripped="$stripped $arch"
|
||||
@ -129,7 +85,6 @@ strip_invalid_archs() {
|
||||
if [[ "$stripped" ]]; then
|
||||
echo "Stripped $binary of architectures:$stripped"
|
||||
fi
|
||||
STRIP_BINARY_RETVAL=1
|
||||
}
|
||||
|
||||
if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
|
||||
|
||||
@ -8,10 +8,6 @@ RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
|
||||
|
||||
XCASSET_FILES=()
|
||||
|
||||
# This protects against multiple targets copying the same framework dependency at the same time. The solution
|
||||
# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
|
||||
RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
|
||||
|
||||
case "${TARGETED_DEVICE_FAMILY}" in
|
||||
1,2)
|
||||
TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
|
||||
@ -48,29 +44,29 @@ EOM
|
||||
fi
|
||||
case $RESOURCE_PATH in
|
||||
*.storyboard)
|
||||
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true
|
||||
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
|
||||
ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
|
||||
;;
|
||||
*.xib)
|
||||
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true
|
||||
echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
|
||||
ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
|
||||
;;
|
||||
*.framework)
|
||||
echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true
|
||||
echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true
|
||||
rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
|
||||
;;
|
||||
*.xcdatamodel)
|
||||
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true
|
||||
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\""
|
||||
xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom"
|
||||
;;
|
||||
*.xcdatamodeld)
|
||||
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true
|
||||
echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\""
|
||||
xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd"
|
||||
;;
|
||||
*.xcmappingmodel)
|
||||
echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true
|
||||
echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\""
|
||||
xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm"
|
||||
;;
|
||||
*.xcassets)
|
||||
@ -78,7 +74,7 @@ EOM
|
||||
XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
|
||||
;;
|
||||
*)
|
||||
echo "$RESOURCE_PATH" || true
|
||||
echo "$RESOURCE_PATH"
|
||||
echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY"
|
||||
;;
|
||||
esac
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/CocoaLumberjack" "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack" "${PODS_CONFIGURATION_BUILD_DIR}/YapDatabase"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/CocoaLumberjack" "$PODS_CONFIGURATION_BUILD_DIR/YapDatabase"
|
||||
OTHER_CFLAGS = $(inherited) -DYAP_STANDARD_SQLITE $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/CocoaLumberjack" -isystem "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
OTHER_LDFLAGS = $(inherited) -ObjC -l"CocoaLumberjack" -l"YapDatabase" -l"c++" -l"sqlite3" -framework "SystemConfiguration"
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_BUILD_DIR = $BUILD_DIR
|
||||
PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
|
||||
PODS_ROOT = ${SRCROOT}/Pods
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/CocoaLumberjack" "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack" "${PODS_CONFIGURATION_BUILD_DIR}/YapDatabase"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/CocoaLumberjack" "$PODS_CONFIGURATION_BUILD_DIR/YapDatabase"
|
||||
OTHER_CFLAGS = $(inherited) -DYAP_STANDARD_SQLITE $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/CocoaLumberjack" -isystem "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
OTHER_LDFLAGS = $(inherited) -ObjC -l"CocoaLumberjack" -l"YapDatabase" -l"c++" -l"sqlite3" -framework "SystemConfiguration"
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_BUILD_DIR = $BUILD_DIR
|
||||
PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
|
||||
PODS_ROOT = ${SRCROOT}/Pods
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/YapDatabase
|
||||
CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/YapDatabase
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/YapDatabase" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/CocoaLumberjack" "${PODS_ROOT}/Headers/Public/YapDatabase"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CocoaLumberjack"
|
||||
LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/CocoaLumberjack"
|
||||
OTHER_CFLAGS = $(inherited) -DYAP_STANDARD_SQLITE
|
||||
OTHER_LDFLAGS = -l"c++" -l"sqlite3" -framework "SystemConfiguration"
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_BUILD_DIR = $BUILD_DIR
|
||||
PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_ROOT = ${SRCROOT}
|
||||
PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../..
|
||||
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
|
||||
|
||||
@ -553,16 +553,13 @@
|
||||
files = (
|
||||
);
|
||||
inputPaths = (
|
||||
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
|
||||
"${PODS_ROOT}/Manifest.lock",
|
||||
);
|
||||
name = "[CP] Check Pods Manifest.lock";
|
||||
outputPaths = (
|
||||
"$(DERIVED_FILE_DIR)/Pods-YapDatabase-checkManifestLockResult.txt",
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
||||
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
|
||||
showEnvVarsInLog = 0;
|
||||
};
|
||||
3397BBC53BC83C63A5C6FE2F /* [CP] Copy Pods Resources */ = {
|
||||
@ -629,16 +626,13 @@
|
||||
files = (
|
||||
);
|
||||
inputPaths = (
|
||||
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
|
||||
"${PODS_ROOT}/Manifest.lock",
|
||||
);
|
||||
name = "[CP] Check Pods Manifest.lock";
|
||||
outputPaths = (
|
||||
"$(DERIVED_FILE_DIR)/Pods-YapDatabaseTests-checkManifestLockResult.txt",
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
||||
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
|
||||
showEnvVarsInLog = 0;
|
||||
};
|
||||
/* End PBXShellScriptBuildPhase section */
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = "YapDatabase"
|
||||
s.version = "3.1.1"
|
||||
s.version = "3.0.2"
|
||||
s.summary = "A key/value store built atop sqlite for iOS & Mac."
|
||||
s.homepage = "https://github.com/yapstudios/YapDatabase"
|
||||
s.license = 'MIT'
|
||||
@ -13,7 +13,7 @@ Pod::Spec.new do |s|
|
||||
:tag => s.version.to_s
|
||||
}
|
||||
|
||||
s.osx.deployment_target = '10.10'
|
||||
s.osx.deployment_target = '10.9'
|
||||
s.ios.deployment_target = '8.0'
|
||||
s.tvos.deployment_target = '9.0'
|
||||
s.watchos.deployment_target = '2.0'
|
||||
@ -109,10 +109,6 @@ Pod::Spec.new do |s|
|
||||
sse.subspec 'ConnectionProxy' do |ssee|
|
||||
ssee.source_files = 'YapDatabase/Extensions/ConnectionProxy/**/*.{h,m,mm,c}'
|
||||
end
|
||||
|
||||
sse.subspec 'ConnectionPool' do |ssee|
|
||||
ssee.source_files = 'YapDatabase/Extensions/ConnectionPool/**/*.{h,m,mm,c}'
|
||||
end
|
||||
|
||||
sse.subspec 'ActionManager' do |ssee|
|
||||
ssee.osx.framework = 'SystemConfiguration'
|
||||
@ -214,10 +210,6 @@ Pod::Spec.new do |s|
|
||||
sse.subspec 'ConnectionProxy' do |ssee|
|
||||
ssee.source_files = 'YapDatabase/Extensions/ConnectionProxy/**/*.{h,m,mm,c}'
|
||||
end
|
||||
|
||||
sse.subspec 'ConnectionPool' do |ssee|
|
||||
ssee.source_files = 'YapDatabase/Extensions/ConnectionPool/**/*.{h,m,mm,c}'
|
||||
end
|
||||
|
||||
sse.subspec 'ActionManager' do |ssee|
|
||||
ssee.osx.framework = 'SystemConfiguration'
|
||||
|
||||
@ -685,94 +685,6 @@
|
||||
DCAF52501C4867B000562C92 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = DCAF524F1C4867B000562C92 /* main.m */; };
|
||||
DCAF52541C48681000562C92 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = DCAF52521C48681000562C92 /* Main.storyboard */; };
|
||||
DCAF52581C48685400562C92 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = DCAF52571C48685400562C92 /* Assets.xcassets */; };
|
||||
DCB8AD0020604A26000B2D76 /* YapDatabaseConnectionPool.m in Sources */ = {isa = PBXBuildFile; fileRef = DCB8ACFE20604A25000B2D76 /* YapDatabaseConnectionPool.m */; };
|
||||
DCB8AD0120604A26000B2D76 /* YapDatabaseConnectionPool.h in Headers */ = {isa = PBXBuildFile; fileRef = DCB8ACFF20604A25000B2D76 /* YapDatabaseConnectionPool.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCB8AD0220604A89000B2D76 /* YapDatabaseConnectionPool.m in Sources */ = {isa = PBXBuildFile; fileRef = DCB8ACFE20604A25000B2D76 /* YapDatabaseConnectionPool.m */; };
|
||||
DCB8AD0320604A8A000B2D76 /* YapDatabaseConnectionPool.m in Sources */ = {isa = PBXBuildFile; fileRef = DCB8ACFE20604A25000B2D76 /* YapDatabaseConnectionPool.m */; };
|
||||
DCB8AD0420604A8B000B2D76 /* YapDatabaseConnectionPool.m in Sources */ = {isa = PBXBuildFile; fileRef = DCB8ACFE20604A25000B2D76 /* YapDatabaseConnectionPool.m */; };
|
||||
DCB8AD0520604A9D000B2D76 /* YapDatabaseConnectionPool.h in Headers */ = {isa = PBXBuildFile; fileRef = DCB8ACFF20604A25000B2D76 /* YapDatabaseConnectionPool.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCB8AD0620604A9E000B2D76 /* YapDatabaseConnectionPool.h in Headers */ = {isa = PBXBuildFile; fileRef = DCB8ACFF20604A25000B2D76 /* YapDatabaseConnectionPool.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCB8AD0720604A9E000B2D76 /* YapDatabaseConnectionPool.h in Headers */ = {isa = PBXBuildFile; fileRef = DCB8ACFF20604A25000B2D76 /* YapDatabaseConnectionPool.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C4B1FAE0EC50086289D /* YapDatabaseCloudCoreConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C331FAE0EC50086289D /* YapDatabaseCloudCoreConnection.m */; };
|
||||
DCBA3C4C1FAE0EC50086289D /* YapDatabaseCloudCoreConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C331FAE0EC50086289D /* YapDatabaseCloudCoreConnection.m */; };
|
||||
DCBA3C4D1FAE0EC50086289D /* YapDatabaseCloudCoreConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C331FAE0EC50086289D /* YapDatabaseCloudCoreConnection.m */; };
|
||||
DCBA3C4E1FAE0EC50086289D /* YapDatabaseCloudCoreConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C331FAE0EC50086289D /* YapDatabaseCloudCoreConnection.m */; };
|
||||
DCBA3C4F1FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C341FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C501FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C341FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C511FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C341FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C521FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C341FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C531FAE0EC50086289D /* YapDatabaseCloudCore.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C351FAE0EC50086289D /* YapDatabaseCloudCore.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C541FAE0EC50086289D /* YapDatabaseCloudCore.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C351FAE0EC50086289D /* YapDatabaseCloudCore.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C551FAE0EC50086289D /* YapDatabaseCloudCore.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C351FAE0EC50086289D /* YapDatabaseCloudCore.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C561FAE0EC50086289D /* YapDatabaseCloudCore.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C351FAE0EC50086289D /* YapDatabaseCloudCore.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C571FAE0EC50086289D /* YapDatabaseCloudCoreOptions.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C361FAE0EC50086289D /* YapDatabaseCloudCoreOptions.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C581FAE0EC50086289D /* YapDatabaseCloudCoreOptions.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C361FAE0EC50086289D /* YapDatabaseCloudCoreOptions.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C591FAE0EC50086289D /* YapDatabaseCloudCoreOptions.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C361FAE0EC50086289D /* YapDatabaseCloudCoreOptions.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C5A1FAE0EC50086289D /* YapDatabaseCloudCoreOptions.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C361FAE0EC50086289D /* YapDatabaseCloudCoreOptions.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C5B1FAE0EC50086289D /* YapDatabaseCloudCorePrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C381FAE0EC50086289D /* YapDatabaseCloudCorePrivate.h */; };
|
||||
DCBA3C5C1FAE0EC50086289D /* YapDatabaseCloudCorePrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C381FAE0EC50086289D /* YapDatabaseCloudCorePrivate.h */; };
|
||||
DCBA3C5D1FAE0EC50086289D /* YapDatabaseCloudCorePrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C381FAE0EC50086289D /* YapDatabaseCloudCorePrivate.h */; };
|
||||
DCBA3C5E1FAE0EC50086289D /* YapDatabaseCloudCorePrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C381FAE0EC50086289D /* YapDatabaseCloudCorePrivate.h */; };
|
||||
DCBA3C5F1FAE0EC50086289D /* YapDatabaseCloudCoreOperationPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C391FAE0EC50086289D /* YapDatabaseCloudCoreOperationPrivate.h */; };
|
||||
DCBA3C601FAE0EC50086289D /* YapDatabaseCloudCoreOperationPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C391FAE0EC50086289D /* YapDatabaseCloudCoreOperationPrivate.h */; };
|
||||
DCBA3C611FAE0EC50086289D /* YapDatabaseCloudCoreOperationPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C391FAE0EC50086289D /* YapDatabaseCloudCoreOperationPrivate.h */; };
|
||||
DCBA3C621FAE0EC50086289D /* YapDatabaseCloudCoreOperationPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C391FAE0EC50086289D /* YapDatabaseCloudCoreOperationPrivate.h */; };
|
||||
DCBA3C631FAE0EC50086289D /* YapDatabaseCloudCorePipelinePrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C3A1FAE0EC50086289D /* YapDatabaseCloudCorePipelinePrivate.h */; };
|
||||
DCBA3C641FAE0EC50086289D /* YapDatabaseCloudCorePipelinePrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C3A1FAE0EC50086289D /* YapDatabaseCloudCorePipelinePrivate.h */; };
|
||||
DCBA3C651FAE0EC50086289D /* YapDatabaseCloudCorePipelinePrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C3A1FAE0EC50086289D /* YapDatabaseCloudCorePipelinePrivate.h */; };
|
||||
DCBA3C661FAE0EC50086289D /* YapDatabaseCloudCorePipelinePrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C3A1FAE0EC50086289D /* YapDatabaseCloudCorePipelinePrivate.h */; };
|
||||
DCBA3C671FAE0EC50086289D /* YapManyToManyCache.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C3C1FAE0EC50086289D /* YapManyToManyCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C681FAE0EC50086289D /* YapManyToManyCache.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C3C1FAE0EC50086289D /* YapManyToManyCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C691FAE0EC50086289D /* YapManyToManyCache.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C3C1FAE0EC50086289D /* YapManyToManyCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C6A1FAE0EC50086289D /* YapManyToManyCache.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C3C1FAE0EC50086289D /* YapManyToManyCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C6B1FAE0EC50086289D /* YapDatabaseCloudCoreOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C3E1FAE0EC50086289D /* YapDatabaseCloudCoreOperation.m */; };
|
||||
DCBA3C6C1FAE0EC50086289D /* YapDatabaseCloudCoreOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C3E1FAE0EC50086289D /* YapDatabaseCloudCoreOperation.m */; };
|
||||
DCBA3C6D1FAE0EC50086289D /* YapDatabaseCloudCoreOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C3E1FAE0EC50086289D /* YapDatabaseCloudCoreOperation.m */; };
|
||||
DCBA3C6E1FAE0EC50086289D /* YapDatabaseCloudCoreOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C3E1FAE0EC50086289D /* YapDatabaseCloudCoreOperation.m */; };
|
||||
DCBA3C6F1FAE0EC50086289D /* YapDatabaseCloudCoreOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C3F1FAE0EC50086289D /* YapDatabaseCloudCoreOperation.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C701FAE0EC50086289D /* YapDatabaseCloudCoreOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C3F1FAE0EC50086289D /* YapDatabaseCloudCoreOperation.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C711FAE0EC50086289D /* YapDatabaseCloudCoreOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C3F1FAE0EC50086289D /* YapDatabaseCloudCoreOperation.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C721FAE0EC50086289D /* YapDatabaseCloudCoreOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C3F1FAE0EC50086289D /* YapDatabaseCloudCoreOperation.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C731FAE0EC50086289D /* YapManyToManyCache.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C401FAE0EC50086289D /* YapManyToManyCache.m */; };
|
||||
DCBA3C741FAE0EC50086289D /* YapManyToManyCache.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C401FAE0EC50086289D /* YapManyToManyCache.m */; };
|
||||
DCBA3C751FAE0EC50086289D /* YapManyToManyCache.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C401FAE0EC50086289D /* YapManyToManyCache.m */; };
|
||||
DCBA3C761FAE0EC50086289D /* YapManyToManyCache.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C401FAE0EC50086289D /* YapManyToManyCache.m */; };
|
||||
DCBA3C771FAE0EC50086289D /* YapDatabaseCloudCoreGraph.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C421FAE0EC50086289D /* YapDatabaseCloudCoreGraph.m */; };
|
||||
DCBA3C781FAE0EC50086289D /* YapDatabaseCloudCoreGraph.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C421FAE0EC50086289D /* YapDatabaseCloudCoreGraph.m */; };
|
||||
DCBA3C791FAE0EC50086289D /* YapDatabaseCloudCoreGraph.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C421FAE0EC50086289D /* YapDatabaseCloudCoreGraph.m */; };
|
||||
DCBA3C7A1FAE0EC50086289D /* YapDatabaseCloudCoreGraph.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C421FAE0EC50086289D /* YapDatabaseCloudCoreGraph.m */; };
|
||||
DCBA3C7B1FAE0EC50086289D /* YapDatabaseCloudCorePipeline.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C431FAE0EC50086289D /* YapDatabaseCloudCorePipeline.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C7C1FAE0EC50086289D /* YapDatabaseCloudCorePipeline.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C431FAE0EC50086289D /* YapDatabaseCloudCorePipeline.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C7D1FAE0EC50086289D /* YapDatabaseCloudCorePipeline.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C431FAE0EC50086289D /* YapDatabaseCloudCorePipeline.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C7E1FAE0EC50086289D /* YapDatabaseCloudCorePipeline.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C431FAE0EC50086289D /* YapDatabaseCloudCorePipeline.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C7F1FAE0EC50086289D /* YapDatabaseCloudCoreGraph.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C441FAE0EC50086289D /* YapDatabaseCloudCoreGraph.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C801FAE0EC50086289D /* YapDatabaseCloudCoreGraph.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C441FAE0EC50086289D /* YapDatabaseCloudCoreGraph.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C811FAE0EC50086289D /* YapDatabaseCloudCoreGraph.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C441FAE0EC50086289D /* YapDatabaseCloudCoreGraph.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C821FAE0EC50086289D /* YapDatabaseCloudCoreGraph.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C441FAE0EC50086289D /* YapDatabaseCloudCoreGraph.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C831FAE0EC50086289D /* YapDatabaseCloudCorePipeline.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C451FAE0EC50086289D /* YapDatabaseCloudCorePipeline.m */; };
|
||||
DCBA3C841FAE0EC50086289D /* YapDatabaseCloudCorePipeline.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C451FAE0EC50086289D /* YapDatabaseCloudCorePipeline.m */; };
|
||||
DCBA3C851FAE0EC50086289D /* YapDatabaseCloudCorePipeline.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C451FAE0EC50086289D /* YapDatabaseCloudCorePipeline.m */; };
|
||||
DCBA3C861FAE0EC50086289D /* YapDatabaseCloudCorePipeline.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C451FAE0EC50086289D /* YapDatabaseCloudCorePipeline.m */; };
|
||||
DCBA3C871FAE0EC50086289D /* YapDatabaseCloudCorePipelineDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C461FAE0EC50086289D /* YapDatabaseCloudCorePipelineDelegate.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C881FAE0EC50086289D /* YapDatabaseCloudCorePipelineDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C461FAE0EC50086289D /* YapDatabaseCloudCorePipelineDelegate.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C891FAE0EC50086289D /* YapDatabaseCloudCorePipelineDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C461FAE0EC50086289D /* YapDatabaseCloudCorePipelineDelegate.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C8A1FAE0EC50086289D /* YapDatabaseCloudCorePipelineDelegate.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C461FAE0EC50086289D /* YapDatabaseCloudCorePipelineDelegate.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C8B1FAE0EC50086289D /* YapDatabaseCloudCoreConnection.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C471FAE0EC50086289D /* YapDatabaseCloudCoreConnection.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C8C1FAE0EC50086289D /* YapDatabaseCloudCoreConnection.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C471FAE0EC50086289D /* YapDatabaseCloudCoreConnection.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C8D1FAE0EC50086289D /* YapDatabaseCloudCoreConnection.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C471FAE0EC50086289D /* YapDatabaseCloudCoreConnection.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C8E1FAE0EC50086289D /* YapDatabaseCloudCoreConnection.h in Headers */ = {isa = PBXBuildFile; fileRef = DCBA3C471FAE0EC50086289D /* YapDatabaseCloudCoreConnection.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
DCBA3C8F1FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C481FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.m */; };
|
||||
DCBA3C901FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C481FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.m */; };
|
||||
DCBA3C911FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C481FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.m */; };
|
||||
DCBA3C921FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C481FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.m */; };
|
||||
DCBA3C931FAE0EC50086289D /* YapDatabaseCloudCoreOptions.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C491FAE0EC50086289D /* YapDatabaseCloudCoreOptions.m */; };
|
||||
DCBA3C941FAE0EC50086289D /* YapDatabaseCloudCoreOptions.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C491FAE0EC50086289D /* YapDatabaseCloudCoreOptions.m */; };
|
||||
DCBA3C951FAE0EC50086289D /* YapDatabaseCloudCoreOptions.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C491FAE0EC50086289D /* YapDatabaseCloudCoreOptions.m */; };
|
||||
DCBA3C961FAE0EC50086289D /* YapDatabaseCloudCoreOptions.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C491FAE0EC50086289D /* YapDatabaseCloudCoreOptions.m */; };
|
||||
DCBA3C971FAE0EC50086289D /* YapDatabaseCloudCore.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C4A1FAE0EC50086289D /* YapDatabaseCloudCore.m */; };
|
||||
DCBA3C981FAE0EC50086289D /* YapDatabaseCloudCore.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C4A1FAE0EC50086289D /* YapDatabaseCloudCore.m */; };
|
||||
DCBA3C991FAE0EC50086289D /* YapDatabaseCloudCore.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C4A1FAE0EC50086289D /* YapDatabaseCloudCore.m */; };
|
||||
DCBA3C9A1FAE0EC50086289D /* YapDatabaseCloudCore.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBA3C4A1FAE0EC50086289D /* YapDatabaseCloudCore.m */; };
|
||||
DCD881441BE941E200317214 /* YapDatabaseSearchQueuePrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = DCD881431BE941D200317214 /* YapDatabaseSearchQueuePrivate.h */; };
|
||||
DCD881451BE941E300317214 /* YapDatabaseSearchQueuePrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = DCD881431BE941D200317214 /* YapDatabaseSearchQueuePrivate.h */; };
|
||||
DCD881521BE94BC400317214 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = DCD881481BE94BC400317214 /* AppDelegate.m */; };
|
||||
@ -1394,28 +1306,6 @@
|
||||
DCAF52531C48681000562C92 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Main.storyboard; sourceTree = "<group>"; };
|
||||
DCAF52551C48683200562C92 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = "Framework/TestModuleMap-Mac/Info.plist"; sourceTree = "<group>"; };
|
||||
DCAF52571C48685400562C92 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = "Framework/TestModuleMap-Mac/Assets.xcassets"; sourceTree = "<group>"; };
|
||||
DCB8ACFE20604A25000B2D76 /* YapDatabaseConnectionPool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YapDatabaseConnectionPool.m; sourceTree = "<group>"; };
|
||||
DCB8ACFF20604A25000B2D76 /* YapDatabaseConnectionPool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YapDatabaseConnectionPool.h; sourceTree = "<group>"; };
|
||||
DCBA3C331FAE0EC50086289D /* YapDatabaseCloudCoreConnection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YapDatabaseCloudCoreConnection.m; sourceTree = "<group>"; };
|
||||
DCBA3C341FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YapDatabaseCloudCoreTransaction.h; sourceTree = "<group>"; };
|
||||
DCBA3C351FAE0EC50086289D /* YapDatabaseCloudCore.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YapDatabaseCloudCore.h; sourceTree = "<group>"; };
|
||||
DCBA3C361FAE0EC50086289D /* YapDatabaseCloudCoreOptions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YapDatabaseCloudCoreOptions.h; sourceTree = "<group>"; };
|
||||
DCBA3C381FAE0EC50086289D /* YapDatabaseCloudCorePrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YapDatabaseCloudCorePrivate.h; sourceTree = "<group>"; };
|
||||
DCBA3C391FAE0EC50086289D /* YapDatabaseCloudCoreOperationPrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YapDatabaseCloudCoreOperationPrivate.h; sourceTree = "<group>"; };
|
||||
DCBA3C3A1FAE0EC50086289D /* YapDatabaseCloudCorePipelinePrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YapDatabaseCloudCorePipelinePrivate.h; sourceTree = "<group>"; };
|
||||
DCBA3C3C1FAE0EC50086289D /* YapManyToManyCache.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YapManyToManyCache.h; sourceTree = "<group>"; };
|
||||
DCBA3C3E1FAE0EC50086289D /* YapDatabaseCloudCoreOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YapDatabaseCloudCoreOperation.m; sourceTree = "<group>"; };
|
||||
DCBA3C3F1FAE0EC50086289D /* YapDatabaseCloudCoreOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YapDatabaseCloudCoreOperation.h; sourceTree = "<group>"; };
|
||||
DCBA3C401FAE0EC50086289D /* YapManyToManyCache.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YapManyToManyCache.m; sourceTree = "<group>"; };
|
||||
DCBA3C421FAE0EC50086289D /* YapDatabaseCloudCoreGraph.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YapDatabaseCloudCoreGraph.m; sourceTree = "<group>"; };
|
||||
DCBA3C431FAE0EC50086289D /* YapDatabaseCloudCorePipeline.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YapDatabaseCloudCorePipeline.h; sourceTree = "<group>"; };
|
||||
DCBA3C441FAE0EC50086289D /* YapDatabaseCloudCoreGraph.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YapDatabaseCloudCoreGraph.h; sourceTree = "<group>"; };
|
||||
DCBA3C451FAE0EC50086289D /* YapDatabaseCloudCorePipeline.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YapDatabaseCloudCorePipeline.m; sourceTree = "<group>"; };
|
||||
DCBA3C461FAE0EC50086289D /* YapDatabaseCloudCorePipelineDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YapDatabaseCloudCorePipelineDelegate.h; sourceTree = "<group>"; };
|
||||
DCBA3C471FAE0EC50086289D /* YapDatabaseCloudCoreConnection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YapDatabaseCloudCoreConnection.h; sourceTree = "<group>"; };
|
||||
DCBA3C481FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YapDatabaseCloudCoreTransaction.m; sourceTree = "<group>"; };
|
||||
DCBA3C491FAE0EC50086289D /* YapDatabaseCloudCoreOptions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YapDatabaseCloudCoreOptions.m; sourceTree = "<group>"; };
|
||||
DCBA3C4A1FAE0EC50086289D /* YapDatabaseCloudCore.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YapDatabaseCloudCore.m; sourceTree = "<group>"; };
|
||||
DCD881291BE93C1000317214 /* TestModuleMap-iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "TestModuleMap-iOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
DCD881431BE941D200317214 /* YapDatabaseSearchQueuePrivate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = YapDatabaseSearchQueuePrivate.h; sourceTree = "<group>"; };
|
||||
DCD881471BE94BC400317214 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
|
||||
@ -1629,11 +1519,9 @@
|
||||
children = (
|
||||
DC6C28D91CAAFE3B00166CE4 /* ActionManager */,
|
||||
371A7B851EF18AB0004176EC /* AutoView */,
|
||||
DCBA3C321FAE0EC50086289D /* CloudCore */,
|
||||
DC651F191BCEC77E00188E23 /* CloudKit */,
|
||||
DCB8ACFD20604A25000B2D76 /* ConnectionPool */,
|
||||
DCAF523C1C48636C00562C92 /* ConnectionProxy */,
|
||||
DC6C28BC1CAAF8DF00166CE4 /* CrossProcessNotification */,
|
||||
DCAF523C1C48636C00562C92 /* ConnectionProxy */,
|
||||
DC651F191BCEC77E00188E23 /* CloudKit */,
|
||||
DC651F391BCEC77E00188E23 /* FilteredView */,
|
||||
DC651F441BCEC77E00188E23 /* FullTextSearch */,
|
||||
DC651F511BCEC77E00188E23 /* Hooks */,
|
||||
@ -2108,74 +1996,6 @@
|
||||
name = "TestModuleMap-Shared";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
DCB8ACFD20604A25000B2D76 /* ConnectionPool */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
DCB8ACFF20604A25000B2D76 /* YapDatabaseConnectionPool.h */,
|
||||
DCB8ACFE20604A25000B2D76 /* YapDatabaseConnectionPool.m */,
|
||||
);
|
||||
path = ConnectionPool;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
DCBA3C321FAE0EC50086289D /* CloudCore */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
DCBA3C371FAE0EC50086289D /* Internal */,
|
||||
DCBA3C3B1FAE0EC50086289D /* Utilities */,
|
||||
DCBA3C351FAE0EC50086289D /* YapDatabaseCloudCore.h */,
|
||||
DCBA3C4A1FAE0EC50086289D /* YapDatabaseCloudCore.m */,
|
||||
DCBA3C361FAE0EC50086289D /* YapDatabaseCloudCoreOptions.h */,
|
||||
DCBA3C491FAE0EC50086289D /* YapDatabaseCloudCoreOptions.m */,
|
||||
DCBA3C471FAE0EC50086289D /* YapDatabaseCloudCoreConnection.h */,
|
||||
DCBA3C331FAE0EC50086289D /* YapDatabaseCloudCoreConnection.m */,
|
||||
DCBA3C341FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.h */,
|
||||
DCBA3C481FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.m */,
|
||||
);
|
||||
path = CloudCore;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
DCBA3C371FAE0EC50086289D /* Internal */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
DCBA3C381FAE0EC50086289D /* YapDatabaseCloudCorePrivate.h */,
|
||||
DCBA3C391FAE0EC50086289D /* YapDatabaseCloudCoreOperationPrivate.h */,
|
||||
DCBA3C3A1FAE0EC50086289D /* YapDatabaseCloudCorePipelinePrivate.h */,
|
||||
);
|
||||
path = Internal;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
DCBA3C3B1FAE0EC50086289D /* Utilities */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
DCBA3C3C1FAE0EC50086289D /* YapManyToManyCache.h */,
|
||||
DCBA3C401FAE0EC50086289D /* YapManyToManyCache.m */,
|
||||
DCBA3C3D1FAE0EC50086289D /* Operations */,
|
||||
DCBA3C411FAE0EC50086289D /* Execution */,
|
||||
);
|
||||
path = Utilities;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
DCBA3C3D1FAE0EC50086289D /* Operations */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
DCBA3C3F1FAE0EC50086289D /* YapDatabaseCloudCoreOperation.h */,
|
||||
DCBA3C3E1FAE0EC50086289D /* YapDatabaseCloudCoreOperation.m */,
|
||||
);
|
||||
path = Operations;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
DCBA3C411FAE0EC50086289D /* Execution */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
DCBA3C461FAE0EC50086289D /* YapDatabaseCloudCorePipelineDelegate.h */,
|
||||
DCBA3C431FAE0EC50086289D /* YapDatabaseCloudCorePipeline.h */,
|
||||
DCBA3C451FAE0EC50086289D /* YapDatabaseCloudCorePipeline.m */,
|
||||
DCBA3C441FAE0EC50086289D /* YapDatabaseCloudCoreGraph.h */,
|
||||
DCBA3C421FAE0EC50086289D /* YapDatabaseCloudCoreGraph.m */,
|
||||
);
|
||||
path = Execution;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
DCD881461BE94BC400317214 /* TestModuleMap-iOS */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
@ -2317,10 +2137,8 @@
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
DCDAF7461D81DC3E00C827C6 /* YapActionable.h in Headers */,
|
||||
DCBA3C5A1FAE0EC50086289D /* YapDatabaseCloudCoreOptions.h in Headers */,
|
||||
DC6266591D80D14B00557968 /* YapDatabaseCrossProcessNotificationConnection.h in Headers */,
|
||||
DC6266571D80D14400557968 /* YapDatabaseCrossProcessNotification.h in Headers */,
|
||||
DCB8AD0720604A9E000B2D76 /* YapDatabaseConnectionPool.h in Headers */,
|
||||
DC62664F1D80D11700557968 /* YapDatabaseExtension.h in Headers */,
|
||||
DC6266421D80D0EA00557968 /* YapDatabaseStatement.h in Headers */,
|
||||
DCDAF73C1D81DC2A00C827C6 /* YapReachability.h in Headers */,
|
||||
@ -2335,9 +2153,7 @@
|
||||
DC6266BF1D80D33C00557968 /* YapDatabaseFilteredView.h in Headers */,
|
||||
DC6266451D80D0F300557968 /* YapMemoryTable.h in Headers */,
|
||||
DC6266851D80D21700557968 /* YapDatabaseRTreeIndexOptions.h in Headers */,
|
||||
DCBA3C821FAE0EC50086289D /* YapDatabaseCloudCoreGraph.h in Headers */,
|
||||
DC6266901D80D24F00557968 /* YapDatabaseSecondaryIndexHandler.h in Headers */,
|
||||
DCBA3C721FAE0EC50086289D /* YapDatabaseCloudCoreOperation.h in Headers */,
|
||||
DCDAF7501D81DC5B00C827C6 /* YapDatabaseActionManagerConnection.h in Headers */,
|
||||
DC62661B1D80D05C00557968 /* YapDatabaseConnection.h in Headers */,
|
||||
DC6266A01D80D28F00557968 /* YapDatabaseViewState.h in Headers */,
|
||||
@ -2347,22 +2163,18 @@
|
||||
DC6266B61D80D2F800557968 /* YapDatabaseSearchResultsView.h in Headers */,
|
||||
DCDAF7481D81DC4600C827C6 /* YapActionItem.h in Headers */,
|
||||
DC6266711D80D1C900557968 /* YapDatabaseRelationshipEdgePrivate.h in Headers */,
|
||||
DCBA3C561FAE0EC50086289D /* YapDatabaseCloudCore.h in Headers */,
|
||||
DC62665B1D80D15200557968 /* YapDatabaseCrossProcessNotificationTransaction.h in Headers */,
|
||||
DC62666A1D80D1AA00557968 /* YapDatabaseHooksPrivate.h in Headers */,
|
||||
DC6266511D80D11F00557968 /* YapDatabaseExtensionConnection.h in Headers */,
|
||||
DC62664C1D80D10700557968 /* YapTouch.h in Headers */,
|
||||
DC62662D1D80D0A300557968 /* YapProxyObject.h in Headers */,
|
||||
DCBA3C521FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.h in Headers */,
|
||||
DC6266BC1D80D30D00557968 /* YapDatabaseSearchResultsViewTransaction.h in Headers */,
|
||||
DC6266831D80D21000557968 /* YapDatabaseRTreeIndexHandler.h in Headers */,
|
||||
DC6266621D80D18500557968 /* YapDatabaseFullTextSearchConnection.h in Headers */,
|
||||
DC6266C11D80D34300557968 /* YapDatabaseFilteredViewConnection.h in Headers */,
|
||||
DC6266941D80D25C00557968 /* YapDatabaseSecondaryIndexSetup.h in Headers */,
|
||||
DCBA3C621FAE0EC50086289D /* YapDatabaseCloudCoreOperationPrivate.h in Headers */,
|
||||
DC62663B1D80D0D500557968 /* YapDatabaseConnectionState.h in Headers */,
|
||||
DC6266491D80D0FE00557968 /* YapProxyObjectPrivate.h in Headers */,
|
||||
DCBA3C7E1FAE0EC50086289D /* YapDatabaseCloudCorePipeline.h in Headers */,
|
||||
DC6266641D80D18D00557968 /* YapDatabaseFullTextSearchHandler.h in Headers */,
|
||||
DC6266A41D80D29F00557968 /* YapDatabaseViewMappings.h in Headers */,
|
||||
4B5B1BE71F13E7EA008A2CDC /* YapDatabaseAtomic.h in Headers */,
|
||||
@ -2380,7 +2192,6 @@
|
||||
DC62662F1D80D0AC00557968 /* YapSet.h in Headers */,
|
||||
DC6266191D80D05300557968 /* YapDatabase.h in Headers */,
|
||||
DC6266791D80D1E600557968 /* YapDatabaseRelationshipNode.h in Headers */,
|
||||
DCBA3C5E1FAE0EC50086289D /* YapDatabaseCloudCorePrivate.h in Headers */,
|
||||
DC6266AC1D80D2BC00557968 /* YapDatabaseViewOptions.h in Headers */,
|
||||
DCDAF7421D81DC3300C827C6 /* YapActionItemPrivate.h in Headers */,
|
||||
371A7BA21EF18AC9004176EC /* YapDatabaseAutoViewTransaction.h in Headers */,
|
||||
@ -2399,13 +2210,11 @@
|
||||
DC62664A1D80D10100557968 /* YapRowidSet.h in Headers */,
|
||||
DC6266AE1D80D2C200557968 /* YapDatabaseViewTransaction.h in Headers */,
|
||||
DC6266BE1D80D33900557968 /* YapDatabaseFilteredViewPrivate.h in Headers */,
|
||||
DCBA3C661FAE0EC50086289D /* YapDatabaseCloudCorePipelinePrivate.h in Headers */,
|
||||
DC62669E1D80D28900557968 /* YapDatabaseViewPrivate.h in Headers */,
|
||||
371A7BB61EF18B36004176EC /* YapDirtyDictionary.h in Headers */,
|
||||
DC6266211D80D07500557968 /* YapBidirectionalCache.h in Headers */,
|
||||
DC62666D1D80D1B300557968 /* YapDatabaseHooksConnection.h in Headers */,
|
||||
DC62664E1D80D11300557968 /* YapDatabaseExtensionPrivate.h in Headers */,
|
||||
DCBA3C6A1FAE0EC50086289D /* YapManyToManyCache.h in Headers */,
|
||||
DC6266441D80D0F000557968 /* YapDatabaseString.h in Headers */,
|
||||
371A7BA01EF18AC9004176EC /* YapDatabaseAutoView.h in Headers */,
|
||||
DC6266231D80D08000557968 /* YapMutationStack.h in Headers */,
|
||||
@ -2420,7 +2229,6 @@
|
||||
DC62661F1D80D06B00557968 /* YapDatabaseTransaction.h in Headers */,
|
||||
DCDAF74C1D81DC4F00C827C6 /* YapDatabaseActionManager.h in Headers */,
|
||||
DC62667F1D80D20300557968 /* YapDatabaseRTreeIndex.h in Headers */,
|
||||
DCBA3C8A1FAE0EC50086289D /* YapDatabaseCloudCorePipelineDelegate.h in Headers */,
|
||||
DC6266A81D80D2AE00557968 /* YapDatabaseView.h in Headers */,
|
||||
DC6266381D80D0CC00557968 /* yap_vfs_shim.h in Headers */,
|
||||
DC62665F1D80D17C00557968 /* YapDatabaseFullTextSearchPrivate.h in Headers */,
|
||||
@ -2433,7 +2241,6 @@
|
||||
DCDAF7541D81DC6600C827C6 /* YapDatabaseActionManagerTransaction.h in Headers */,
|
||||
DC6266271D80D08F00557968 /* YapCollectionKey.h in Headers */,
|
||||
371A7BA11EF18AC9004176EC /* YapDatabaseAutoViewConnection.h in Headers */,
|
||||
DCBA3C8E1FAE0EC50086289D /* YapDatabaseCloudCoreConnection.h in Headers */,
|
||||
DC6266871D80D21E00557968 /* YapDatabaseRTreeIndexSetup.h in Headers */,
|
||||
DC6266B21D80D2EA00557968 /* YapDatabaseSearchQueuePrivate.h in Headers */,
|
||||
DC6266601D80D17F00557968 /* YapDatabaseFullTextSearch.h in Headers */,
|
||||
@ -2451,7 +2258,6 @@
|
||||
DCE760EB1D78B566009C83A0 /* YapDatabaseCloudKitTypes.h in Headers */,
|
||||
DCE760D31D78B159009C83A0 /* YapDatabaseExtension.h in Headers */,
|
||||
DCE760C61D78B127009C83A0 /* YapDatabaseStatement.h in Headers */,
|
||||
DCBA3C611FAE0EC50086289D /* YapDatabaseCloudCoreOperationPrivate.h in Headers */,
|
||||
DCE761211D78B652009C83A0 /* YapDatabaseSecondaryIndexOptions.h in Headers */,
|
||||
DCE760D91D78B16E009C83A0 /* YapDatabaseExtensionTypes.h in Headers */,
|
||||
DCE760F81D78B592009C83A0 /* YDBCKChangeSet.h in Headers */,
|
||||
@ -2464,17 +2270,14 @@
|
||||
DCE761071D78B5E4009C83A0 /* YapDatabaseViewRangeOptionsPrivate.h in Headers */,
|
||||
DCE761571D78B75D009C83A0 /* YapDatabaseRelationshipOptions.h in Headers */,
|
||||
DCE760AF1D78B0D5009C83A0 /* YapMurmurHash.h in Headers */,
|
||||
DCBA3C811FAE0EC50086289D /* YapDatabaseCloudCoreGraph.h in Headers */,
|
||||
DCE760F01D78B579009C83A0 /* YDBCKChangeQueue.h in Headers */,
|
||||
DCE760AD1D78B0CC009C83A0 /* YapDatabaseQuery.h in Headers */,
|
||||
DCE760D51D78B160009C83A0 /* YapDatabaseExtensionConnection.h in Headers */,
|
||||
DCBA3C651FAE0EC50086289D /* YapDatabaseCloudCorePipelinePrivate.h in Headers */,
|
||||
DCE761601D78B784009C83A0 /* YapDatabaseRTreeIndexHandler.h in Headers */,
|
||||
DCE761081D78B5E7009C83A0 /* YapDatabaseViewState.h in Headers */,
|
||||
DC55F47B1D78E065007CEF3A /* YapDatabaseCrossProcessNotificationPrivate.h in Headers */,
|
||||
DCE760E31D78B542009C83A0 /* YapDatabaseCloudKit.h in Headers */,
|
||||
DCE760D01D78B145009C83A0 /* YapTouch.h in Headers */,
|
||||
DCBA3C891FAE0EC50086289D /* YapDatabaseCloudCorePipelineDelegate.h in Headers */,
|
||||
DCE760FA1D78B599009C83A0 /* YDBCKMergeInfo.h in Headers */,
|
||||
DCE761291D78B677009C83A0 /* YapDatabaseSearchQueue.h in Headers */,
|
||||
DCE7615E1D78B77E009C83A0 /* YapDatabaseRTreeIndexConnection.h in Headers */,
|
||||
@ -2487,7 +2290,6 @@
|
||||
DCE761141D78B612009C83A0 /* YapDatabaseViewOptions.h in Headers */,
|
||||
DCE975291F6D7EAE00496D00 /* YapDatabaseConnectionConfig.h in Headers */,
|
||||
DCE7612D1D78B686009C83A0 /* YapDatabaseSearchResultsViewConnection.h in Headers */,
|
||||
DCBA3C711FAE0EC50086289D /* YapDatabaseCloudCoreOperation.h in Headers */,
|
||||
DCE760CD1D78B13B009C83A0 /* YapProxyObjectPrivate.h in Headers */,
|
||||
DCE761501D78B738009C83A0 /* YapDatabaseRelationship.h in Headers */,
|
||||
DCE760D71D78B166009C83A0 /* YapDatabaseExtensionTransaction.h in Headers */,
|
||||
@ -2506,12 +2308,10 @@
|
||||
DCE761331D78B6B2009C83A0 /* YapDatabaseFullTextSearchPrivate.h in Headers */,
|
||||
DCE761541D78B74A009C83A0 /* YapDatabaseRelationshipEdge.h in Headers */,
|
||||
DCE760B31D78B0E5009C83A0 /* YapSet.h in Headers */,
|
||||
DCBA3C8D1FAE0EC50086289D /* YapDatabaseCloudCoreConnection.h in Headers */,
|
||||
DCE761121D78B60A009C83A0 /* YapDatabaseViewConnection.h in Headers */,
|
||||
DCE760F61D78B58B009C83A0 /* YDBCKRecordTableInfo.h in Headers */,
|
||||
DCE761251D78B660009C83A0 /* YapDatabaseSecondaryIndexTransaction.h in Headers */,
|
||||
DCE760E51D78B54D009C83A0 /* YapDatabaseCloudKitConnection.h in Headers */,
|
||||
DCBA3C5D1FAE0EC50086289D /* YapDatabaseCloudCorePrivate.h in Headers */,
|
||||
DCDAF7471D81DC4500C827C6 /* YapActionItem.h in Headers */,
|
||||
DCE761591D78B763009C83A0 /* YapDatabaseRelationshipTransaction.h in Headers */,
|
||||
DCE7609D1D78B06E009C83A0 /* YapDatabase.h in Headers */,
|
||||
@ -2526,7 +2326,6 @@
|
||||
371A7BA71EF18AC9004176EC /* YapDatabaseViewTypes.h in Headers */,
|
||||
DCE761101D78B602009C83A0 /* YapDatabaseView.h in Headers */,
|
||||
DCE761041D78B5DB009C83A0 /* YapDatabaseViewPageMetadata.h in Headers */,
|
||||
DCBA3C551FAE0EC50086289D /* YapDatabaseCloudCore.h in Headers */,
|
||||
DCDAF7451D81DC3D00C827C6 /* YapActionable.h in Headers */,
|
||||
371A7BB71EF18B36004176EC /* YapDirtyDictionary.h in Headers */,
|
||||
DCE7614F1D78B735009C83A0 /* YapDatabaseRelationshipPrivate.h in Headers */,
|
||||
@ -2547,12 +2346,10 @@
|
||||
DCE760A11D78B081009C83A0 /* YapDatabaseOptions.h in Headers */,
|
||||
DCE760A31D78B089009C83A0 /* YapDatabaseTransaction.h in Headers */,
|
||||
DCE761021D78B5D5009C83A0 /* YapDatabaseViewPage.h in Headers */,
|
||||
DCBA3C591FAE0EC50086289D /* YapDatabaseCloudCoreOptions.h in Headers */,
|
||||
DCE761271D78B672009C83A0 /* YapDatabaseSearchQueuePrivate.h in Headers */,
|
||||
DCE7611A1D78B638009C83A0 /* YapDatabaseSecondaryIndexPrivate.h in Headers */,
|
||||
DCE761001D78B5CF009C83A0 /* YapDatabaseViewChangePrivate.h in Headers */,
|
||||
DCE761521D78B742009C83A0 /* YapDatabaseRelationshipConnection.h in Headers */,
|
||||
DCB8AD0620604A9E000B2D76 /* YapDatabaseConnectionPool.h in Headers */,
|
||||
DCE760E71D78B556009C83A0 /* YapDatabaseCloudKitOptions.h in Headers */,
|
||||
DCE761361D78B6BC009C83A0 /* YapDatabaseFullTextSearchConnection.h in Headers */,
|
||||
DCE7615B1D78B775009C83A0 /* YapDatabaseRTreeIndexPrivate.h in Headers */,
|
||||
@ -2560,14 +2357,12 @@
|
||||
DCE7614A1D78B71C009C83A0 /* YapDatabaseHooksConnection.h in Headers */,
|
||||
DCE7614E1D78B732009C83A0 /* YapDatabaseRelationshipEdgePrivate.h in Headers */,
|
||||
DCDAF7431D81DC3700C827C6 /* YapDatabaseActionManagerPrivate.h in Headers */,
|
||||
DCBA3C691FAE0EC50086289D /* YapManyToManyCache.h in Headers */,
|
||||
371A7BA51EF18AC9004176EC /* YapDatabaseAutoViewConnection.h in Headers */,
|
||||
DCE7613A1D78B6CC009C83A0 /* YapDatabaseFullTextSearchSnippetOptions.h in Headers */,
|
||||
DCE760BC1D78B108009C83A0 /* yap_vfs_shim.h in Headers */,
|
||||
DC55F47E1D78E071007CEF3A /* YapDatabaseCrossProcessNotificationConnection.h in Headers */,
|
||||
DCE760C31D78B11E009C83A0 /* YapDatabaseManager.h in Headers */,
|
||||
DCE760FE1D78B5A8009C83A0 /* YDBCKRecordInfo.h in Headers */,
|
||||
DCBA3C511FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.h in Headers */,
|
||||
DCE760B51D78B0EC009C83A0 /* YapWhitelistBlacklist.h in Headers */,
|
||||
DCE7610E1D78B5FB009C83A0 /* YapDatabaseViewRangeOptions.h in Headers */,
|
||||
DCE760AB1D78B0C4009C83A0 /* YapCollectionKey.h in Headers */,
|
||||
@ -2575,7 +2370,6 @@
|
||||
DCE760B71D78B0F7009C83A0 /* NSDate+YapDatabase.h in Headers */,
|
||||
DCE7611B1D78B63B009C83A0 /* YapDatabaseSecondaryIndex.h in Headers */,
|
||||
DCE7615C1D78B778009C83A0 /* YapDatabaseRTreeIndex.h in Headers */,
|
||||
DCBA3C7D1FAE0EC50086289D /* YapDatabaseCloudCorePipeline.h in Headers */,
|
||||
DCDAF7531D81DC6600C827C6 /* YapDatabaseActionManagerTransaction.h in Headers */,
|
||||
DCE761661D78B799009C83A0 /* YapDatabaseRTreeIndexTransaction.h in Headers */,
|
||||
DC55F4801D78E078007CEF3A /* YapDatabaseCrossProcessNotificationTransaction.h in Headers */,
|
||||
@ -2596,7 +2390,6 @@
|
||||
DCD881441BE941E200317214 /* YapDatabaseSearchQueuePrivate.h in Headers */,
|
||||
DC6C28EA1CAAFE3B00166CE4 /* YapActionable.h in Headers */,
|
||||
DC6521451BCEC77E00188E23 /* YapMurmurHash.h in Headers */,
|
||||
DCBA3C5F1FAE0EC50086289D /* YapDatabaseCloudCoreOperationPrivate.h in Headers */,
|
||||
DC6C28EC1CAAFE3B00166CE4 /* YapActionItem.h in Headers */,
|
||||
DC6520591BCEC77E00188E23 /* YapDatabaseHooksTransaction.h in Headers */,
|
||||
DC65203B1BCEC77E00188E23 /* YapDatabaseFullTextSearch.h in Headers */,
|
||||
@ -2609,17 +2402,14 @@
|
||||
DC6520831BCEC77E00188E23 /* YapDatabaseRelationshipTransaction.h in Headers */,
|
||||
DC65205F1BCEC77E00188E23 /* YapDatabaseExtension.h in Headers */,
|
||||
DC6520BF1BCEC77E00188E23 /* YapDatabaseSecondaryIndexConnection.h in Headers */,
|
||||
DCBA3C7F1FAE0EC50086289D /* YapDatabaseCloudCoreGraph.h in Headers */,
|
||||
DC6520471BCEC77E00188E23 /* YapDatabaseFullTextSearchSnippetOptions.h in Headers */,
|
||||
DC6520FF1BCEC77E00188E23 /* YapDatabaseViewTransaction.h in Headers */,
|
||||
DC6520FB1BCEC77E00188E23 /* YapDatabaseViewOptions.h in Headers */,
|
||||
DCBA3C631FAE0EC50086289D /* YapDatabaseCloudCorePipelinePrivate.h in Headers */,
|
||||
DC65200B1BCEC77E00188E23 /* YDBCKRecord.h in Headers */,
|
||||
DC6520991BCEC77E00188E23 /* YapDatabaseRTreeIndexSetup.h in Headers */,
|
||||
DC6520AD1BCEC77E00188E23 /* YapDatabaseSearchResultsViewConnection.h in Headers */,
|
||||
DC65202D1BCEC77E00188E23 /* YapDatabaseFilteredViewConnection.h in Headers */,
|
||||
DC6521551BCEC77E00188E23 /* YapDatabase.h in Headers */,
|
||||
DCBA3C871FAE0EC50086289D /* YapDatabaseCloudCorePipelineDelegate.h in Headers */,
|
||||
DC6C28F81CAAFE3B00166CE4 /* YapDatabaseActionManagerTransaction.h in Headers */,
|
||||
DC6520EB1BCEC77E00188E23 /* YapDatabaseViewMappings.h in Headers */,
|
||||
DC65206B1BCEC77E00188E23 /* YapDatabaseExtensionTypes.h in Headers */,
|
||||
@ -2632,7 +2422,6 @@
|
||||
DC6C28E61CAAFE3B00166CE4 /* YapActionItemPrivate.h in Headers */,
|
||||
DCE975271F6D7EAE00496D00 /* YapDatabaseConnectionConfig.h in Headers */,
|
||||
DC65209D1BCEC77E00188E23 /* YapDatabaseRTreeIndexTransaction.h in Headers */,
|
||||
DCBA3C6F1FAE0EC50086289D /* YapDatabaseCloudCoreOperation.h in Headers */,
|
||||
DC6520CF1BCEC77E00188E23 /* YapDatabaseSecondaryIndexTransaction.h in Headers */,
|
||||
DC65207D1BCEC77E00188E23 /* YapDatabaseRelationshipNode.h in Headers */,
|
||||
371A7BAC1EF18ACA004176EC /* YapDatabaseAutoView.h in Headers */,
|
||||
@ -2651,12 +2440,10 @@
|
||||
DC65201B1BCEC77E00188E23 /* YapDatabaseCloudKitOptions.h in Headers */,
|
||||
DC6520551BCEC77E00188E23 /* YapDatabaseHooksConnection.h in Headers */,
|
||||
DC6C28CF1CAAF8DF00166CE4 /* YapDatabaseCrossProcessNotificationTransaction.h in Headers */,
|
||||
DCBA3C8B1FAE0EC50086289D /* YapDatabaseCloudCoreConnection.h in Headers */,
|
||||
DC65208D1BCEC77E00188E23 /* YapDatabaseRTreeIndexConnection.h in Headers */,
|
||||
DC6521391BCEC77E00188E23 /* YapCache.h in Headers */,
|
||||
DC6C28FE1CAAFE7F00166CE4 /* NSDate+YapDatabase.h in Headers */,
|
||||
DC65204B1BCEC77E00188E23 /* YapDatabaseFullTextSearchTransaction.h in Headers */,
|
||||
DCBA3C5B1FAE0EC50086289D /* YapDatabaseCloudCorePrivate.h in Headers */,
|
||||
DC6520171BCEC77E00188E23 /* YapDatabaseCloudKitConnection.h in Headers */,
|
||||
DC6520631BCEC77E00188E23 /* YapDatabaseExtensionConnection.h in Headers */,
|
||||
DC6520E71BCEC77E00188E23 /* YapDatabaseViewChange.h in Headers */,
|
||||
@ -2671,7 +2458,6 @@
|
||||
DC6520071BCEC77E00188E23 /* YDBCKMergeInfo.h in Headers */,
|
||||
371A7BAF1EF18ACA004176EC /* YapDatabaseViewTypes.h in Headers */,
|
||||
DC6520BB1BCEC77E00188E23 /* YapDatabaseSecondaryIndex.h in Headers */,
|
||||
DCBA3C531FAE0EC50086289D /* YapDatabaseCloudCore.h in Headers */,
|
||||
DC6520A31BCEC77E00188E23 /* YapDatabaseSearchQueue.h in Headers */,
|
||||
DC6520EF1BCEC77E00188E23 /* YapDatabaseViewRangeOptions.h in Headers */,
|
||||
371A7BB91EF18B37004176EC /* YapDirtyDictionary.h in Headers */,
|
||||
@ -2692,12 +2478,10 @@
|
||||
DC651FFB1BCEC77E00188E23 /* YDBCKMappingTableInfo.h in Headers */,
|
||||
65580CA61BF36A020055E65C /* yap_vfs_shim.h in Headers */,
|
||||
DC651FF31BCEC77E00188E23 /* YDBCKChangeQueue.h in Headers */,
|
||||
DCBA3C571FAE0EC50086289D /* YapDatabaseCloudCoreOptions.h in Headers */,
|
||||
DC6520B91BCEC77E00188E23 /* YapDatabaseSecondaryIndexPrivate.h in Headers */,
|
||||
DC65204F1BCEC77E00188E23 /* YapDatabaseHooksPrivate.h in Headers */,
|
||||
DC6520871BCEC77E00188E23 /* YapDatabaseRTreeIndexPrivate.h in Headers */,
|
||||
DC65212F1BCEC77E00188E23 /* YapProxyObjectPrivate.h in Headers */,
|
||||
DCB8AD0120604A26000B2D76 /* YapDatabaseConnectionPool.h in Headers */,
|
||||
DC6C28C51CAAF8DF00166CE4 /* YapDatabaseCrossProcessNotificationPrivate.h in Headers */,
|
||||
DC6521351BCEC77E00188E23 /* YapTouch.h in Headers */,
|
||||
DC6C28F01CAAFE3B00166CE4 /* YapDatabaseActionManager.h in Headers */,
|
||||
@ -2705,14 +2489,12 @@
|
||||
DC6520E31BCEC77E00188E23 /* YapDatabaseViewState.h in Headers */,
|
||||
DC6520D51BCEC77E00188E23 /* YapDatabaseViewMappingsPrivate.h in Headers */,
|
||||
DC65211D1BCEC77E00188E23 /* YapDatabaseStatement.h in Headers */,
|
||||
DCBA3C671FAE0EC50086289D /* YapManyToManyCache.h in Headers */,
|
||||
371A7BAD1EF18ACA004176EC /* YapDatabaseAutoViewConnection.h in Headers */,
|
||||
DC6C28941CAAF03200166CE4 /* YapBidirectionalCache.h in Headers */,
|
||||
DC6520A11BCEC77E00188E23 /* YapDatabaseSearchResultsViewPrivate.h in Headers */,
|
||||
DC65212B1BCEC77E00188E23 /* YapNull.h in Headers */,
|
||||
DC6521071BCEC77E00188E23 /* NSDictionary+YapDatabase.h in Headers */,
|
||||
DC6521271BCEC77E00188E23 /* YapMemoryTable.h in Headers */,
|
||||
DCBA3C4F1FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.h in Headers */,
|
||||
DC65210F1BCEC77E00188E23 /* YapDatabaseConnectionState.h in Headers */,
|
||||
DC6521131BCEC77E00188E23 /* YapDatabaseLogging.h in Headers */,
|
||||
DC6521311BCEC77E00188E23 /* YapRowidSet.h in Headers */,
|
||||
@ -2720,7 +2502,6 @@
|
||||
DC6520DB1BCEC77E00188E23 /* YapDatabaseViewPageMetadata.h in Headers */,
|
||||
DC6521171BCEC77E00188E23 /* YapDatabaseManager.h in Headers */,
|
||||
DC6C28CB1CAAF8DF00166CE4 /* YapDatabaseCrossProcessNotificationConnection.h in Headers */,
|
||||
DCBA3C7B1FAE0EC50086289D /* YapDatabaseCloudCorePipeline.h in Headers */,
|
||||
DC6520DF1BCEC77E00188E23 /* YapDatabaseViewPrivate.h in Headers */,
|
||||
DC6520E11BCEC77E00188E23 /* YapDatabaseViewRangeOptionsPrivate.h in Headers */,
|
||||
DC65206F1BCEC77E00188E23 /* YapDatabaseRelationshipPrivate.h in Headers */,
|
||||
@ -2741,7 +2522,6 @@
|
||||
DCD881451BE941E300317214 /* YapDatabaseSearchQueuePrivate.h in Headers */,
|
||||
DC6C28EB1CAAFE3B00166CE4 /* YapActionable.h in Headers */,
|
||||
DC6521461BCEC77E00188E23 /* YapMurmurHash.h in Headers */,
|
||||
DCBA3C601FAE0EC50086289D /* YapDatabaseCloudCoreOperationPrivate.h in Headers */,
|
||||
DC6C28ED1CAAFE3B00166CE4 /* YapActionItem.h in Headers */,
|
||||
DC65205A1BCEC77E00188E23 /* YapDatabaseHooksTransaction.h in Headers */,
|
||||
DC65203C1BCEC77E00188E23 /* YapDatabaseFullTextSearch.h in Headers */,
|
||||
@ -2754,17 +2534,14 @@
|
||||
DC6520841BCEC77E00188E23 /* YapDatabaseRelationshipTransaction.h in Headers */,
|
||||
DC6520601BCEC77E00188E23 /* YapDatabaseExtension.h in Headers */,
|
||||
DC6520C01BCEC77E00188E23 /* YapDatabaseSecondaryIndexConnection.h in Headers */,
|
||||
DCBA3C801FAE0EC50086289D /* YapDatabaseCloudCoreGraph.h in Headers */,
|
||||
DC6520481BCEC77E00188E23 /* YapDatabaseFullTextSearchSnippetOptions.h in Headers */,
|
||||
DC6521001BCEC77E00188E23 /* YapDatabaseViewTransaction.h in Headers */,
|
||||
DC6520FC1BCEC77E00188E23 /* YapDatabaseViewOptions.h in Headers */,
|
||||
DCBA3C641FAE0EC50086289D /* YapDatabaseCloudCorePipelinePrivate.h in Headers */,
|
||||
DC65200C1BCEC77E00188E23 /* YDBCKRecord.h in Headers */,
|
||||
DC65209A1BCEC77E00188E23 /* YapDatabaseRTreeIndexSetup.h in Headers */,
|
||||
DC6520AE1BCEC77E00188E23 /* YapDatabaseSearchResultsViewConnection.h in Headers */,
|
||||
DC65202E1BCEC77E00188E23 /* YapDatabaseFilteredViewConnection.h in Headers */,
|
||||
DC6521561BCEC77E00188E23 /* YapDatabase.h in Headers */,
|
||||
DCBA3C881FAE0EC50086289D /* YapDatabaseCloudCorePipelineDelegate.h in Headers */,
|
||||
DC6C28F91CAAFE3B00166CE4 /* YapDatabaseActionManagerTransaction.h in Headers */,
|
||||
DC6520EC1BCEC77E00188E23 /* YapDatabaseViewMappings.h in Headers */,
|
||||
DC65206C1BCEC77E00188E23 /* YapDatabaseExtensionTypes.h in Headers */,
|
||||
@ -2777,7 +2554,6 @@
|
||||
DC6C28E71CAAFE3B00166CE4 /* YapActionItemPrivate.h in Headers */,
|
||||
DCE975281F6D7EAE00496D00 /* YapDatabaseConnectionConfig.h in Headers */,
|
||||
DC65209E1BCEC77E00188E23 /* YapDatabaseRTreeIndexTransaction.h in Headers */,
|
||||
DCBA3C701FAE0EC50086289D /* YapDatabaseCloudCoreOperation.h in Headers */,
|
||||
DC6520D01BCEC77E00188E23 /* YapDatabaseSecondaryIndexTransaction.h in Headers */,
|
||||
DC65207E1BCEC77E00188E23 /* YapDatabaseRelationshipNode.h in Headers */,
|
||||
371A7BA81EF18AC9004176EC /* YapDatabaseAutoView.h in Headers */,
|
||||
@ -2796,12 +2572,10 @@
|
||||
DC65201C1BCEC77E00188E23 /* YapDatabaseCloudKitOptions.h in Headers */,
|
||||
DC6520561BCEC77E00188E23 /* YapDatabaseHooksConnection.h in Headers */,
|
||||
DC6C28D01CAAF8DF00166CE4 /* YapDatabaseCrossProcessNotificationTransaction.h in Headers */,
|
||||
DCBA3C8C1FAE0EC50086289D /* YapDatabaseCloudCoreConnection.h in Headers */,
|
||||
DC65208E1BCEC77E00188E23 /* YapDatabaseRTreeIndexConnection.h in Headers */,
|
||||
DC65213A1BCEC77E00188E23 /* YapCache.h in Headers */,
|
||||
DC6C28FF1CAAFE7F00166CE4 /* NSDate+YapDatabase.h in Headers */,
|
||||
DC65204C1BCEC77E00188E23 /* YapDatabaseFullTextSearchTransaction.h in Headers */,
|
||||
DCBA3C5C1FAE0EC50086289D /* YapDatabaseCloudCorePrivate.h in Headers */,
|
||||
DC6520181BCEC77E00188E23 /* YapDatabaseCloudKitConnection.h in Headers */,
|
||||
DC6520641BCEC77E00188E23 /* YapDatabaseExtensionConnection.h in Headers */,
|
||||
DC6520E81BCEC77E00188E23 /* YapDatabaseViewChange.h in Headers */,
|
||||
@ -2816,7 +2590,6 @@
|
||||
DC6520081BCEC77E00188E23 /* YDBCKMergeInfo.h in Headers */,
|
||||
371A7BAB1EF18AC9004176EC /* YapDatabaseViewTypes.h in Headers */,
|
||||
DC6520BC1BCEC77E00188E23 /* YapDatabaseSecondaryIndex.h in Headers */,
|
||||
DCBA3C541FAE0EC50086289D /* YapDatabaseCloudCore.h in Headers */,
|
||||
DC6520A41BCEC77E00188E23 /* YapDatabaseSearchQueue.h in Headers */,
|
||||
DC6520F01BCEC77E00188E23 /* YapDatabaseViewRangeOptions.h in Headers */,
|
||||
371A7BB81EF18B37004176EC /* YapDirtyDictionary.h in Headers */,
|
||||
@ -2837,12 +2610,10 @@
|
||||
DC651FFC1BCEC77E00188E23 /* YDBCKMappingTableInfo.h in Headers */,
|
||||
65580CA81BF36AA20055E65C /* yap_vfs_shim.h in Headers */,
|
||||
DC651FF41BCEC77E00188E23 /* YDBCKChangeQueue.h in Headers */,
|
||||
DCBA3C581FAE0EC50086289D /* YapDatabaseCloudCoreOptions.h in Headers */,
|
||||
DC6520BA1BCEC77E00188E23 /* YapDatabaseSecondaryIndexPrivate.h in Headers */,
|
||||
DC6520501BCEC77E00188E23 /* YapDatabaseHooksPrivate.h in Headers */,
|
||||
DC6520881BCEC77E00188E23 /* YapDatabaseRTreeIndexPrivate.h in Headers */,
|
||||
DC6521301BCEC77E00188E23 /* YapProxyObjectPrivate.h in Headers */,
|
||||
DCB8AD0520604A9D000B2D76 /* YapDatabaseConnectionPool.h in Headers */,
|
||||
DC6C28C61CAAF8DF00166CE4 /* YapDatabaseCrossProcessNotificationPrivate.h in Headers */,
|
||||
DC6521361BCEC77E00188E23 /* YapTouch.h in Headers */,
|
||||
DC6C28F11CAAFE3B00166CE4 /* YapDatabaseActionManager.h in Headers */,
|
||||
@ -2850,14 +2621,12 @@
|
||||
DC6520E41BCEC77E00188E23 /* YapDatabaseViewState.h in Headers */,
|
||||
DC6520D61BCEC77E00188E23 /* YapDatabaseViewMappingsPrivate.h in Headers */,
|
||||
DC65211E1BCEC77E00188E23 /* YapDatabaseStatement.h in Headers */,
|
||||
DCBA3C681FAE0EC50086289D /* YapManyToManyCache.h in Headers */,
|
||||
371A7BA91EF18AC9004176EC /* YapDatabaseAutoViewConnection.h in Headers */,
|
||||
DC6C28951CAAF03200166CE4 /* YapBidirectionalCache.h in Headers */,
|
||||
DC6520A21BCEC77E00188E23 /* YapDatabaseSearchResultsViewPrivate.h in Headers */,
|
||||
DC65212C1BCEC77E00188E23 /* YapNull.h in Headers */,
|
||||
DC6521081BCEC77E00188E23 /* NSDictionary+YapDatabase.h in Headers */,
|
||||
DC6521281BCEC77E00188E23 /* YapMemoryTable.h in Headers */,
|
||||
DCBA3C501FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.h in Headers */,
|
||||
DC6521101BCEC77E00188E23 /* YapDatabaseConnectionState.h in Headers */,
|
||||
DC6521141BCEC77E00188E23 /* YapDatabaseLogging.h in Headers */,
|
||||
DC6521321BCEC77E00188E23 /* YapRowidSet.h in Headers */,
|
||||
@ -2865,7 +2634,6 @@
|
||||
DC6520DC1BCEC77E00188E23 /* YapDatabaseViewPageMetadata.h in Headers */,
|
||||
DC6521181BCEC77E00188E23 /* YapDatabaseManager.h in Headers */,
|
||||
DC6C28CC1CAAF8DF00166CE4 /* YapDatabaseCrossProcessNotificationConnection.h in Headers */,
|
||||
DCBA3C7C1FAE0EC50086289D /* YapDatabaseCloudCorePipeline.h in Headers */,
|
||||
DC6520E01BCEC77E00188E23 /* YapDatabaseViewPrivate.h in Headers */,
|
||||
DC6520E21BCEC77E00188E23 /* YapDatabaseViewRangeOptionsPrivate.h in Headers */,
|
||||
DC6520701BCEC77E00188E23 /* YapDatabaseRelationshipPrivate.h in Headers */,
|
||||
@ -3204,7 +2972,6 @@
|
||||
DCDAF7561D81DC6D00C827C6 /* YapDatabaseActionManagerTransaction.m in Sources */,
|
||||
DC6266A71D80D2AA00557968 /* YapDatabaseViewRangeOptions.m in Sources */,
|
||||
DC62661E1D80D06700557968 /* YapDatabaseOptions.m in Sources */,
|
||||
DCBA3C6E1FAE0EC50086289D /* YapDatabaseCloudCoreOperation.m in Sources */,
|
||||
DC6266501D80D11B00557968 /* YapDatabaseExtension.m in Sources */,
|
||||
DCE975261F6D7EAE00496D00 /* YapDatabaseConnectionConfig.m in Sources */,
|
||||
DC62670E1D80E46600557968 /* yap_vfs_shim.m in Sources */,
|
||||
@ -3213,7 +2980,6 @@
|
||||
DC6266521D80D12300557968 /* YapDatabaseExtensionConnection.m in Sources */,
|
||||
DC6266A11D80D29100557968 /* YapDatabaseViewState.m in Sources */,
|
||||
DC6266C01D80D34000557968 /* YapDatabaseFilteredView.m in Sources */,
|
||||
DCBA3C861FAE0EC50086289D /* YapDatabaseCloudCorePipeline.m in Sources */,
|
||||
DC6266691D80D19F00557968 /* YapDatabaseFullTextSearchTransaction.m in Sources */,
|
||||
DC6266B51D80D2F500557968 /* YapDatabaseSearchQueue.m in Sources */,
|
||||
DC6266701D80D1BE00557968 /* YapDatabaseHooksTransaction.m in Sources */,
|
||||
@ -3222,7 +2988,6 @@
|
||||
DC6266781D80D1E300557968 /* YapDatabaseRelationshipEdge.m in Sources */,
|
||||
DC62665E1D80D16400557968 /* YapDatabaseConnectionProxy.m in Sources */,
|
||||
DC6266801D80D20700557968 /* YapDatabaseRTreeIndex.m in Sources */,
|
||||
DCB8AD0420604A8B000B2D76 /* YapDatabaseConnectionPool.m in Sources */,
|
||||
DC6266A51D80D2A300557968 /* YapDatabaseViewMappings.m in Sources */,
|
||||
DC62665C1D80D15600557968 /* YapDatabaseCrossProcessNotificationTransaction.m in Sources */,
|
||||
DC6266261D80D08C00557968 /* YapCache.m in Sources */,
|
||||
@ -3230,13 +2995,11 @@
|
||||
DC6266301D80D0B000557968 /* YapSet.m in Sources */,
|
||||
DC6266281D80D09300557968 /* YapCollectionKey.m in Sources */,
|
||||
DC6266AD1D80D2C000557968 /* YapDatabaseViewOptions.m in Sources */,
|
||||
DCBA3C4E1FAE0EC50086289D /* YapDatabaseCloudCoreConnection.m in Sources */,
|
||||
DC6266BB1D80D30A00557968 /* YapDatabaseSearchResultsViewOptions.m in Sources */,
|
||||
DC6266A31D80D29C00557968 /* YapDatabaseViewChange.m in Sources */,
|
||||
DC6266651D80D19100557968 /* YapDatabaseFullTextSearchHandler.m in Sources */,
|
||||
DC6266931D80D25900557968 /* YapDatabaseSecondaryIndexOptions.m in Sources */,
|
||||
DC6266971D80D26700557968 /* YapDatabaseSecondaryIndexTransaction.m in Sources */,
|
||||
DCBA3C921FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.m in Sources */,
|
||||
DC62664B1D80D10400557968 /* YapRowidSet.mm in Sources */,
|
||||
DC6266C61D80D35600557968 /* YapDatabaseFilteredViewTypes.m in Sources */,
|
||||
371A7B931EF18ABA004176EC /* YapDatabaseViewTypes.m in Sources */,
|
||||
@ -3267,18 +3030,14 @@
|
||||
DC6266671D80D19700557968 /* YapDatabaseFullTextSearchSnippetOptions.m in Sources */,
|
||||
DC6266541D80D12B00557968 /* YapDatabaseExtensionTransaction.m in Sources */,
|
||||
DC62661C1D80D06000557968 /* YapDatabaseConnection.m in Sources */,
|
||||
DCBA3C961FAE0EC50086289D /* YapDatabaseCloudCoreOptions.m in Sources */,
|
||||
DC62664D1D80D10900557968 /* YapTouch.m in Sources */,
|
||||
DCBA3C761FAE0EC50086289D /* YapManyToManyCache.m in Sources */,
|
||||
DC6266AB1D80D2B900557968 /* YapDatabaseViewConnection.m in Sources */,
|
||||
DC6266861D80D21B00557968 /* YapDatabaseRTreeIndexOptions.m in Sources */,
|
||||
DCBA3C7A1FAE0EC50086289D /* YapDatabaseCloudCoreGraph.m in Sources */,
|
||||
DC6266321D80D0B800557968 /* YapWhitelistBlacklist.m in Sources */,
|
||||
DC62666E1D80D1B700557968 /* YapDatabaseHooksConnection.m in Sources */,
|
||||
DC6266BD1D80D31100557968 /* YapDatabaseSearchResultsViewTransaction.m in Sources */,
|
||||
DC6266911D80D25300557968 /* YapDatabaseSecondaryIndexHandler.m in Sources */,
|
||||
DC62665A1D80D14F00557968 /* YapDatabaseCrossProcessNotificationConnection.m in Sources */,
|
||||
DCBA3C9A1FAE0EC50086289D /* YapDatabaseCloudCore.m in Sources */,
|
||||
DCDAF7521D81DC6200C827C6 /* YapDatabaseActionManagerConnection.m in Sources */,
|
||||
DC6266361D80D0C600557968 /* NSDictionary+YapDatabase.m in Sources */,
|
||||
DC6266AF1D80D2C600557968 /* YapDatabaseViewTransaction.m in Sources */,
|
||||
@ -3330,7 +3089,6 @@
|
||||
DCE760A41D78B08D009C83A0 /* YapDatabaseTransaction.m in Sources */,
|
||||
DCE760F71D78B58E009C83A0 /* YDBCKRecordTableInfo.m in Sources */,
|
||||
DCE7613D1D78B6D8009C83A0 /* YapDatabaseFullTextSearchTransaction.m in Sources */,
|
||||
DCBA3C851FAE0EC50086289D /* YapDatabaseCloudCorePipeline.m in Sources */,
|
||||
DCE760E81D78B55A009C83A0 /* YapDatabaseCloudKitOptions.m in Sources */,
|
||||
DCE760C41D78B121009C83A0 /* YapDatabaseManager.m in Sources */,
|
||||
DCE760A21D78B086009C83A0 /* YapDatabaseOptions.m in Sources */,
|
||||
@ -3345,7 +3103,6 @@
|
||||
DCE761321D78B699009C83A0 /* YapDatabaseSearchResultsViewTransaction.m in Sources */,
|
||||
DCDAF7511D81DC6100C827C6 /* YapDatabaseActionManagerConnection.m in Sources */,
|
||||
DC55F4811D78E07D007CEF3A /* YapDatabaseCrossProcessNotificationTransaction.m in Sources */,
|
||||
DCBA3C751FAE0EC50086289D /* YapManyToManyCache.m in Sources */,
|
||||
DCE761531D78B747009C83A0 /* YapDatabaseRelationshipConnection.m in Sources */,
|
||||
DCE7612C1D78B683009C83A0 /* YapDatabaseSearchResultsView.m in Sources */,
|
||||
DCE761651D78B796009C83A0 /* YapDatabaseRTreeIndexSetup.m in Sources */,
|
||||
@ -3356,8 +3113,6 @@
|
||||
DCE761031D78B5D8009C83A0 /* YapDatabaseViewPage.mm in Sources */,
|
||||
DCE761301D78B691009C83A0 /* YapDatabaseSearchResultsViewOptions.m in Sources */,
|
||||
DCE760D61D78B163009C83A0 /* YapDatabaseExtensionConnection.m in Sources */,
|
||||
DCBA3C911FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.m in Sources */,
|
||||
DCBA3C951FAE0EC50086289D /* YapDatabaseCloudCoreOptions.m in Sources */,
|
||||
DCE761491D78B719009C83A0 /* YapDatabaseHooks.m in Sources */,
|
||||
DC55F47F1D78E075007CEF3A /* YapDatabaseCrossProcessNotificationConnection.m in Sources */,
|
||||
DCE760F11D78B57C009C83A0 /* YDBCKChangeQueue.m in Sources */,
|
||||
@ -3389,11 +3144,9 @@
|
||||
DCE760F31D78B582009C83A0 /* YDBCKChangeRecord.m in Sources */,
|
||||
DCE7612A1D78B67B009C83A0 /* YapDatabaseSearchQueue.m in Sources */,
|
||||
DCE7610B1D78B5F1009C83A0 /* YapDatabaseViewChange.m in Sources */,
|
||||
DCB8AD0320604A8A000B2D76 /* YapDatabaseConnectionPool.m in Sources */,
|
||||
DCE760B01D78B0DA009C83A0 /* YapMurmurHash.m in Sources */,
|
||||
DCE761091D78B5EA009C83A0 /* YapDatabaseViewState.m in Sources */,
|
||||
DCE7609E1D78B075009C83A0 /* YapDatabase.m in Sources */,
|
||||
DCBA3C791FAE0EC50086289D /* YapDatabaseCloudCoreGraph.m in Sources */,
|
||||
DCE761371D78B6C1009C83A0 /* YapDatabaseFullTextSearchConnection.m in Sources */,
|
||||
DCE760E41D78B54A009C83A0 /* YapDatabaseCloudKit.m in Sources */,
|
||||
DCDAF7551D81DC6C00C827C6 /* YapDatabaseActionManagerTransaction.m in Sources */,
|
||||
@ -3402,11 +3155,8 @@
|
||||
DCE760C21D78B11A009C83A0 /* YapDatabaseLogging.m in Sources */,
|
||||
DCE761201D78B64E009C83A0 /* YapDatabaseSecondaryIndexHandler.m in Sources */,
|
||||
371A7B951EF18ABB004176EC /* YapDatabaseAutoViewConnection.m in Sources */,
|
||||
DCBA3C991FAE0EC50086289D /* YapDatabaseCloudCore.m in Sources */,
|
||||
DCE760CC1D78B138009C83A0 /* YapNull.m in Sources */,
|
||||
DCBA3C6D1FAE0EC50086289D /* YapDatabaseCloudCoreOperation.m in Sources */,
|
||||
DC55F47D1D78E06D007CEF3A /* YapDatabaseCrossProcessNotification.m in Sources */,
|
||||
DCBA3C4D1FAE0EC50086289D /* YapDatabaseCloudCoreConnection.m in Sources */,
|
||||
DCE760EC1D78B56B009C83A0 /* YapDatabaseCloudKitTypes.m in Sources */,
|
||||
DCE760EA1D78B563009C83A0 /* YapDatabaseCloudKitTransaction.m in Sources */,
|
||||
371A7B941EF18ABB004176EC /* YapDatabaseAutoView.m in Sources */,
|
||||
@ -3458,7 +3208,6 @@
|
||||
DC6C28CD1CAAF8DF00166CE4 /* YapDatabaseCrossProcessNotificationConnection.m in Sources */,
|
||||
DC6521531BCEC77E00188E23 /* YapWhitelistBlacklist.m in Sources */,
|
||||
DC65212D1BCEC77E00188E23 /* YapNull.m in Sources */,
|
||||
DCBA3C831FAE0EC50086289D /* YapDatabaseCloudCorePipeline.m in Sources */,
|
||||
DC6520DD1BCEC77E00188E23 /* YapDatabaseViewPageMetadata.m in Sources */,
|
||||
DC6520451BCEC77E00188E23 /* YapDatabaseFullTextSearchHandler.m in Sources */,
|
||||
DCDAF73D1D81DC2A00C827C6 /* YapReachability.m in Sources */,
|
||||
@ -3473,7 +3222,6 @@
|
||||
DC65211F1BCEC77E00188E23 /* YapDatabaseStatement.m in Sources */,
|
||||
DC651FF51BCEC77E00188E23 /* YDBCKChangeQueue.m in Sources */,
|
||||
DC62670B1D80E46600557968 /* yap_vfs_shim.m in Sources */,
|
||||
DCBA3C731FAE0EC50086289D /* YapManyToManyCache.m in Sources */,
|
||||
DC651FF91BCEC77E00188E23 /* YDBCKChangeRecord.m in Sources */,
|
||||
DC6521151BCEC77E00188E23 /* YapDatabaseLogging.m in Sources */,
|
||||
DC651FFD1BCEC77E00188E23 /* YDBCKMappingTableInfo.m in Sources */,
|
||||
@ -3484,8 +3232,6 @@
|
||||
DC6520F51BCEC77E00188E23 /* YapDatabaseView.m in Sources */,
|
||||
DC6521291BCEC77E00188E23 /* YapMemoryTable.m in Sources */,
|
||||
DCAF52411C48636C00562C92 /* YapDatabaseConnectionProxy.m in Sources */,
|
||||
DCBA3C8F1FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.m in Sources */,
|
||||
DCBA3C931FAE0EC50086289D /* YapDatabaseCloudCoreOptions.m in Sources */,
|
||||
DC302B491BE98DAC009F8C4D /* YapMutationStack.m in Sources */,
|
||||
DC65201D1BCEC77E00188E23 /* YapDatabaseCloudKitOptions.m in Sources */,
|
||||
DC65203D1BCEC77E00188E23 /* YapDatabaseFullTextSearch.m in Sources */,
|
||||
@ -3517,11 +3263,9 @@
|
||||
DC6520531BCEC77E00188E23 /* YapDatabaseHooks.m in Sources */,
|
||||
DC6521571BCEC77E00188E23 /* YapDatabase.m in Sources */,
|
||||
DC6520FD1BCEC77E00188E23 /* YapDatabaseViewOptions.m in Sources */,
|
||||
DCB8AD0020604A26000B2D76 /* YapDatabaseConnectionPool.m in Sources */,
|
||||
DC6520411BCEC77E00188E23 /* YapDatabaseFullTextSearchConnection.m in Sources */,
|
||||
DC6520BD1BCEC77E00188E23 /* YapDatabaseSecondaryIndex.m in Sources */,
|
||||
DC6C28C91CAAF8DF00166CE4 /* YapDatabaseCrossProcessNotification.m in Sources */,
|
||||
DCBA3C771FAE0EC50086289D /* YapDatabaseCloudCoreGraph.m in Sources */,
|
||||
DC6520771BCEC77E00188E23 /* YapDatabaseRelationshipConnection.m in Sources */,
|
||||
DC6520111BCEC77E00188E23 /* YDBCKRecordInfo.m in Sources */,
|
||||
DC6520D11BCEC77E00188E23 /* YapDatabaseSecondaryIndexTransaction.m in Sources */,
|
||||
@ -3530,11 +3274,8 @@
|
||||
DC6520811BCEC77E00188E23 /* YapDatabaseRelationshipOptions.m in Sources */,
|
||||
DC6520ED1BCEC77E00188E23 /* YapDatabaseViewMappings.m in Sources */,
|
||||
371A7B9D1EF18ABC004176EC /* YapDatabaseAutoViewConnection.m in Sources */,
|
||||
DCBA3C971FAE0EC50086289D /* YapDatabaseCloudCore.m in Sources */,
|
||||
DC6C28EE1CAAFE3B00166CE4 /* YapActionItem.m in Sources */,
|
||||
DCBA3C6B1FAE0EC50086289D /* YapDatabaseCloudCoreOperation.m in Sources */,
|
||||
DC6520F91BCEC77E00188E23 /* YapDatabaseViewConnection.m in Sources */,
|
||||
DCBA3C4B1FAE0EC50086289D /* YapDatabaseCloudCoreConnection.m in Sources */,
|
||||
DC6C29001CAAFE7F00166CE4 /* NSDate+YapDatabase.m in Sources */,
|
||||
DC6520AF1BCEC77E00188E23 /* YapDatabaseSearchResultsViewConnection.m in Sources */,
|
||||
371A7B9C1EF18ABC004176EC /* YapDatabaseAutoView.m in Sources */,
|
||||
@ -3575,7 +3316,6 @@
|
||||
DC6C28CE1CAAF8DF00166CE4 /* YapDatabaseCrossProcessNotificationConnection.m in Sources */,
|
||||
DC6521541BCEC77E00188E23 /* YapWhitelistBlacklist.m in Sources */,
|
||||
DC65212E1BCEC77E00188E23 /* YapNull.m in Sources */,
|
||||
DCBA3C841FAE0EC50086289D /* YapDatabaseCloudCorePipeline.m in Sources */,
|
||||
DC6520DE1BCEC77E00188E23 /* YapDatabaseViewPageMetadata.m in Sources */,
|
||||
DC6520461BCEC77E00188E23 /* YapDatabaseFullTextSearchHandler.m in Sources */,
|
||||
DCDAF73E1D81DC2A00C827C6 /* YapReachability.m in Sources */,
|
||||
@ -3590,7 +3330,6 @@
|
||||
DC6521201BCEC77E00188E23 /* YapDatabaseStatement.m in Sources */,
|
||||
DC651FF61BCEC77E00188E23 /* YDBCKChangeQueue.m in Sources */,
|
||||
DC62670C1D80E46600557968 /* yap_vfs_shim.m in Sources */,
|
||||
DCBA3C741FAE0EC50086289D /* YapManyToManyCache.m in Sources */,
|
||||
DC651FFA1BCEC77E00188E23 /* YDBCKChangeRecord.m in Sources */,
|
||||
DC6521161BCEC77E00188E23 /* YapDatabaseLogging.m in Sources */,
|
||||
DC651FFE1BCEC77E00188E23 /* YDBCKMappingTableInfo.m in Sources */,
|
||||
@ -3601,8 +3340,6 @@
|
||||
DC6520F61BCEC77E00188E23 /* YapDatabaseView.m in Sources */,
|
||||
DC65212A1BCEC77E00188E23 /* YapMemoryTable.m in Sources */,
|
||||
DCAF52421C48636C00562C92 /* YapDatabaseConnectionProxy.m in Sources */,
|
||||
DCBA3C901FAE0EC50086289D /* YapDatabaseCloudCoreTransaction.m in Sources */,
|
||||
DCBA3C941FAE0EC50086289D /* YapDatabaseCloudCoreOptions.m in Sources */,
|
||||
DC302B4A1BE98DAC009F8C4D /* YapMutationStack.m in Sources */,
|
||||
DC65201E1BCEC77E00188E23 /* YapDatabaseCloudKitOptions.m in Sources */,
|
||||
DC65203E1BCEC77E00188E23 /* YapDatabaseFullTextSearch.m in Sources */,
|
||||
@ -3634,11 +3371,9 @@
|
||||
DC6520541BCEC77E00188E23 /* YapDatabaseHooks.m in Sources */,
|
||||
DC6521581BCEC77E00188E23 /* YapDatabase.m in Sources */,
|
||||
DC6520FE1BCEC77E00188E23 /* YapDatabaseViewOptions.m in Sources */,
|
||||
DCB8AD0220604A89000B2D76 /* YapDatabaseConnectionPool.m in Sources */,
|
||||
DC6520421BCEC77E00188E23 /* YapDatabaseFullTextSearchConnection.m in Sources */,
|
||||
DC6520BE1BCEC77E00188E23 /* YapDatabaseSecondaryIndex.m in Sources */,
|
||||
DC6C28CA1CAAF8DF00166CE4 /* YapDatabaseCrossProcessNotification.m in Sources */,
|
||||
DCBA3C781FAE0EC50086289D /* YapDatabaseCloudCoreGraph.m in Sources */,
|
||||
DC6520781BCEC77E00188E23 /* YapDatabaseRelationshipConnection.m in Sources */,
|
||||
DC6520121BCEC77E00188E23 /* YDBCKRecordInfo.m in Sources */,
|
||||
DC6520D21BCEC77E00188E23 /* YapDatabaseSecondaryIndexTransaction.m in Sources */,
|
||||
@ -3647,11 +3382,8 @@
|
||||
DC6520821BCEC77E00188E23 /* YapDatabaseRelationshipOptions.m in Sources */,
|
||||
DC6520EE1BCEC77E00188E23 /* YapDatabaseViewMappings.m in Sources */,
|
||||
371A7B991EF18ABB004176EC /* YapDatabaseAutoViewConnection.m in Sources */,
|
||||
DCBA3C981FAE0EC50086289D /* YapDatabaseCloudCore.m in Sources */,
|
||||
DC6C28EF1CAAFE3B00166CE4 /* YapActionItem.m in Sources */,
|
||||
DCBA3C6C1FAE0EC50086289D /* YapDatabaseCloudCoreOperation.m in Sources */,
|
||||
DC6520FA1BCEC77E00188E23 /* YapDatabaseViewConnection.m in Sources */,
|
||||
DCBA3C4C1FAE0EC50086289D /* YapDatabaseCloudCoreConnection.m in Sources */,
|
||||
DC6C29011CAAFE7F00166CE4 /* NSDate+YapDatabase.m in Sources */,
|
||||
DC6520B01BCEC77E00188E23 /* YapDatabaseSearchResultsViewConnection.m in Sources */,
|
||||
371A7B981EF18ABB004176EC /* YapDatabaseAutoView.m in Sources */,
|
||||
|
||||
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>IDEDidComputeMac32BitWarning</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
@ -1,131 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0900"
|
||||
version = "2.0">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "DC6266C81D80D3E000557968"
|
||||
BuildableName = "TestModuleMap-watchOS.app"
|
||||
BlueprintName = "TestModuleMap-watchOS"
|
||||
ReferencedContainer = "container:YapDatabase.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "DCD881281BE93C1000317214"
|
||||
BuildableName = "TestModuleMap-iOS.app"
|
||||
BlueprintName = "TestModuleMap-iOS"
|
||||
ReferencedContainer = "container:YapDatabase.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
language = ""
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<Testables>
|
||||
</Testables>
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "DC6266C81D80D3E000557968"
|
||||
BuildableName = "TestModuleMap-watchOS.app"
|
||||
BlueprintName = "TestModuleMap-watchOS"
|
||||
ReferencedContainer = "container:YapDatabase.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
language = ""
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
allowLocationSimulation = "YES"
|
||||
launchAutomaticallySubstyle = "4">
|
||||
<RemoteRunnable
|
||||
runnableDebuggingMode = "2"
|
||||
BundleIdentifier = "com.apple.Carousel"
|
||||
RemotePath = "/TestModuleMap-iOS">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "DC6266C81D80D3E000557968"
|
||||
BuildableName = "TestModuleMap-watchOS.app"
|
||||
BlueprintName = "TestModuleMap-watchOS"
|
||||
ReferencedContainer = "container:YapDatabase.xcodeproj">
|
||||
</BuildableReference>
|
||||
</RemoteRunnable>
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "DC6266C81D80D3E000557968"
|
||||
BuildableName = "TestModuleMap-watchOS.app"
|
||||
BlueprintName = "TestModuleMap-watchOS"
|
||||
ReferencedContainer = "container:YapDatabase.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Release"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
launchAutomaticallySubstyle = "4">
|
||||
<RemoteRunnable
|
||||
runnableDebuggingMode = "2"
|
||||
BundleIdentifier = "com.apple.Carousel"
|
||||
RemotePath = "/TestModuleMap-iOS">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "DC6266C81D80D3E000557968"
|
||||
BuildableName = "TestModuleMap-watchOS.app"
|
||||
BlueprintName = "TestModuleMap-watchOS"
|
||||
ReferencedContainer = "container:YapDatabase.xcodeproj">
|
||||
</BuildableReference>
|
||||
</RemoteRunnable>
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "DC6266C81D80D3E000557968"
|
||||
BuildableName = "TestModuleMap-watchOS.app"
|
||||
BlueprintName = "TestModuleMap-watchOS"
|
||||
ReferencedContainer = "container:YapDatabase.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
@ -1,131 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0900"
|
||||
version = "2.0">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "DC6266C81D80D3E000557968"
|
||||
BuildableName = "TestModuleMap-watchOS.app"
|
||||
BlueprintName = "TestModuleMap-watchOS"
|
||||
ReferencedContainer = "container:YapDatabase.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "DCD881281BE93C1000317214"
|
||||
BuildableName = "TestModuleMap-iOS.app"
|
||||
BlueprintName = "TestModuleMap-iOS"
|
||||
ReferencedContainer = "container:YapDatabase.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
language = ""
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<Testables>
|
||||
</Testables>
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "DC6266C81D80D3E000557968"
|
||||
BuildableName = "TestModuleMap-watchOS.app"
|
||||
BlueprintName = "TestModuleMap-watchOS"
|
||||
ReferencedContainer = "container:YapDatabase.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
language = ""
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
allowLocationSimulation = "YES"
|
||||
launchAutomaticallySubstyle = "8">
|
||||
<RemoteRunnable
|
||||
runnableDebuggingMode = "2"
|
||||
BundleIdentifier = "com.apple.Carousel"
|
||||
RemotePath = "/TestModuleMap-iOS">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "DC6266C81D80D3E000557968"
|
||||
BuildableName = "TestModuleMap-watchOS.app"
|
||||
BlueprintName = "TestModuleMap-watchOS"
|
||||
ReferencedContainer = "container:YapDatabase.xcodeproj">
|
||||
</BuildableReference>
|
||||
</RemoteRunnable>
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "DC6266C81D80D3E000557968"
|
||||
BuildableName = "TestModuleMap-watchOS.app"
|
||||
BlueprintName = "TestModuleMap-watchOS"
|
||||
ReferencedContainer = "container:YapDatabase.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Release"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
launchAutomaticallySubstyle = "8">
|
||||
<RemoteRunnable
|
||||
runnableDebuggingMode = "2"
|
||||
BundleIdentifier = "com.apple.Carousel"
|
||||
RemotePath = "/TestModuleMap-iOS">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "DC6266C81D80D3E000557968"
|
||||
BuildableName = "TestModuleMap-watchOS.app"
|
||||
BlueprintName = "TestModuleMap-watchOS"
|
||||
ReferencedContainer = "container:YapDatabase.xcodeproj">
|
||||
</BuildableReference>
|
||||
</RemoteRunnable>
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "DC6266C81D80D3E000557968"
|
||||
BuildableName = "TestModuleMap-watchOS.app"
|
||||
BlueprintName = "TestModuleMap-watchOS"
|
||||
ReferencedContainer = "container:YapDatabase.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
@ -1,129 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0900"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "DC6266C81D80D3E000557968"
|
||||
BuildableName = "TestModuleMap-watchOS.app"
|
||||
BlueprintName = "TestModuleMap-watchOS"
|
||||
ReferencedContainer = "container:YapDatabase.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "DCD881281BE93C1000317214"
|
||||
BuildableName = "TestModuleMap-iOS.app"
|
||||
BlueprintName = "TestModuleMap-iOS"
|
||||
ReferencedContainer = "container:YapDatabase.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
language = ""
|
||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||
<Testables>
|
||||
</Testables>
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "DC6266C81D80D3E000557968"
|
||||
BuildableName = "TestModuleMap-watchOS.app"
|
||||
BlueprintName = "TestModuleMap-watchOS"
|
||||
ReferencedContainer = "container:YapDatabase.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
language = ""
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
allowLocationSimulation = "YES">
|
||||
<RemoteRunnable
|
||||
runnableDebuggingMode = "2"
|
||||
BundleIdentifier = "com.apple.Carousel"
|
||||
RemotePath = "/TestModuleMap-iOS">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "DC6266C81D80D3E000557968"
|
||||
BuildableName = "TestModuleMap-watchOS.app"
|
||||
BlueprintName = "TestModuleMap-watchOS"
|
||||
ReferencedContainer = "container:YapDatabase.xcodeproj">
|
||||
</BuildableReference>
|
||||
</RemoteRunnable>
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "DC6266C81D80D3E000557968"
|
||||
BuildableName = "TestModuleMap-watchOS.app"
|
||||
BlueprintName = "TestModuleMap-watchOS"
|
||||
ReferencedContainer = "container:YapDatabase.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
<AdditionalOptions>
|
||||
</AdditionalOptions>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Release"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES">
|
||||
<RemoteRunnable
|
||||
runnableDebuggingMode = "2"
|
||||
BundleIdentifier = "com.apple.Carousel"
|
||||
RemotePath = "/TestModuleMap-iOS">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "DC6266C81D80D3E000557968"
|
||||
BuildableName = "TestModuleMap-watchOS.app"
|
||||
BlueprintName = "TestModuleMap-watchOS"
|
||||
ReferencedContainer = "container:YapDatabase.xcodeproj">
|
||||
</BuildableReference>
|
||||
</RemoteRunnable>
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "DC6266C81D80D3E000557968"
|
||||
BuildableName = "TestModuleMap-watchOS.app"
|
||||
BlueprintName = "TestModuleMap-watchOS"
|
||||
ReferencedContainer = "container:YapDatabase.xcodeproj">
|
||||
</BuildableReference>
|
||||
</MacroExpansion>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Release"
|
||||
revealArchiveInOrganizer = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
@ -12,7 +12,7 @@
|
||||
* See YapDatabaseLogging.h for more information.
|
||||
**/
|
||||
#if DEBUG
|
||||
static const int ydbLogLevel = YDB_LOG_LEVEL_WARN;
|
||||
static const int ydbLogLevel = YDB_LOG_LEVEL_VERBOSE | YDB_LOG_FLAG_TRACE;
|
||||
#else
|
||||
static const int ydbLogLevel = YDB_LOG_LEVEL_WARN;
|
||||
#endif
|
||||
@ -549,8 +549,6 @@
|
||||
}
|
||||
|
||||
} usingBlock:^(NSString *collection, NSString *key, id object, NSUInteger index, BOOL *stop) {
|
||||
#pragma clang diagnostic push // silence warnings: synchronous access
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
//
|
||||
// Processing Block
|
||||
@ -585,8 +583,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}];
|
||||
|
||||
}
|
||||
|
||||
@ -124,13 +124,9 @@
|
||||
__block YapDatabaseViewSorting *mostRecentSorting = nil;
|
||||
|
||||
dispatch_block_t block = ^{
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
mostRecentGrouping = grouping;
|
||||
mostRecentSorting = sorting;
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
};
|
||||
|
||||
__strong YapDatabase *database = self.registeredDatabase;
|
||||
|
||||
@ -33,9 +33,6 @@
|
||||
|
||||
- (BOOL)populateView
|
||||
{
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
YDBLogAutoTrace();
|
||||
|
||||
// Remove everything from the database
|
||||
@ -392,8 +389,6 @@
|
||||
}
|
||||
|
||||
return YES;
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}
|
||||
|
||||
- (void)repopulateView
|
||||
@ -422,8 +417,6 @@
|
||||
// The changeset mechanism will automatically consolidate all changes to the minimum.
|
||||
|
||||
[self enumerateGroupsUsingBlock:^(NSString *group, BOOL __unused *outerStop) {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
// We must add the changes in reverse order.
|
||||
// Either that, or the change index of each item would have to be zero,
|
||||
@ -440,8 +433,6 @@
|
||||
}];
|
||||
|
||||
[parentConnection->changes addObject:[YapDatabaseViewSectionChange deleteGroup:group]];
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}];
|
||||
|
||||
isRepopulate = YES;
|
||||
@ -528,8 +519,6 @@
|
||||
// This block will be invoked repeatedly as we calculate the insertion index.
|
||||
|
||||
NSComparisonResult (^compare)(NSUInteger) = ^NSComparisonResult (NSUInteger index){
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
int64_t anotherRowid = 0;
|
||||
[self getRowid:&anotherRowid atIndex:index inGroup:group];
|
||||
@ -592,8 +581,6 @@
|
||||
collectionKey.collection, collectionKey.key, object, metadata,
|
||||
another.collection, another.key, anotherObject, anotherMetadata);
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
};
|
||||
|
||||
NSComparisonResult cmp;
|
||||
@ -1333,8 +1320,6 @@
|
||||
(YapDatabaseViewFindWithKeyBlock)find.findBlock;
|
||||
|
||||
compare = ^NSComparisonResult (NSUInteger index){
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
int64_t rowid = 0;
|
||||
[self getRowid:&rowid atIndex:index inGroup:group];
|
||||
@ -1342,8 +1327,6 @@
|
||||
YapCollectionKey *ck = [databaseTransaction collectionKeyForRowid:rowid];
|
||||
|
||||
return findBlock(ck.collection, ck.key);
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
};
|
||||
|
||||
break;
|
||||
@ -1354,8 +1337,6 @@
|
||||
(YapDatabaseViewFindWithObjectBlock)find.findBlock;
|
||||
|
||||
compare = ^NSComparisonResult (NSUInteger index){
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
int64_t rowid = 0;
|
||||
[self getRowid:&rowid atIndex:index inGroup:group];
|
||||
@ -1365,8 +1346,6 @@
|
||||
[databaseTransaction getCollectionKey:&ck object:&object forRowid:rowid];
|
||||
|
||||
return findBlock(ck.collection, ck.key, object);
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
};
|
||||
|
||||
break;
|
||||
@ -1377,8 +1356,6 @@
|
||||
(YapDatabaseViewFindWithMetadataBlock)find.findBlock;
|
||||
|
||||
compare = ^NSComparisonResult (NSUInteger index){
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
int64_t rowid = 0;
|
||||
[self getRowid:&rowid atIndex:index inGroup:group];
|
||||
@ -1388,8 +1365,6 @@
|
||||
[databaseTransaction getCollectionKey:&ck metadata:&metadata forRowid:rowid];
|
||||
|
||||
return findBlock(ck.collection, ck.key, metadata);
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
};
|
||||
|
||||
break;
|
||||
@ -1400,8 +1375,6 @@
|
||||
(YapDatabaseViewFindWithRowBlock)find.findBlock;
|
||||
|
||||
compare = ^NSComparisonResult (NSUInteger index){
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
int64_t rowid = 0;
|
||||
[self getRowid:&rowid atIndex:index inGroup:group];
|
||||
@ -1412,8 +1385,6 @@
|
||||
[databaseTransaction getCollectionKey:&ck object:&object metadata:&metadata forRowid:rowid];
|
||||
|
||||
return findBlock(ck.collection, ck.key, object, metadata);
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
};
|
||||
}
|
||||
|
||||
@ -1556,8 +1527,6 @@
|
||||
NSDictionary *extensionDependencies = databaseTransaction->connection->extensionDependencies;
|
||||
|
||||
[extensionDependencies enumerateKeysAndObjectsUsingBlock:^(id key, id obj, BOOL __unused *stop){
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
__unsafe_unretained NSString *extName = (NSString *)key;
|
||||
__unsafe_unretained NSSet *extDependencies = (NSSet *)obj;
|
||||
@ -1572,8 +1541,6 @@
|
||||
[(id <YapDatabaseViewDependency>)extTransaction view:registeredName didRepopulateWithFlags:flags];
|
||||
}
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}];
|
||||
}
|
||||
|
||||
|
||||
@ -120,16 +120,12 @@
|
||||
[newOperations addObjectsFromArray:insertedOperations];
|
||||
|
||||
[indexesToReplace enumerateIndexesUsingBlock:^(NSUInteger index, BOOL *stop) {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
YapDatabaseCloudCoreOperation *oldOperation = operations[index];
|
||||
YapDatabaseCloudCoreOperation *newOperation = modifiedOperations[oldOperation.uuid];
|
||||
|
||||
[newOperations replaceObjectAtIndex:index withObject:newOperation];
|
||||
[matchedModifiedOperations addObject:newOperation];
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}];
|
||||
|
||||
operations = [[self class] sortOperationsByPriority:newOperations];
|
||||
|
||||
@ -127,12 +127,8 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
__block YapDatabaseCloudCore *owner = nil;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
owner = _atomic_owner;
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -148,16 +144,12 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
__block BOOL wasOwnerSet = NO;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
if (!_atomic_owner && inOwner)
|
||||
{
|
||||
_atomic_owner = inOwner;
|
||||
wasOwnerSet = YES;
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -184,8 +176,6 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
__block YapDatabaseCloudCoreOperation *match = nil;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
for (YapDatabaseCloudCoreGraph *graph in graphs)
|
||||
{
|
||||
@ -198,8 +188,6 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -225,8 +213,6 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
__block NSMutableArray<NSArray<YapDatabaseCloudCoreOperation *> *> *graphOperations = nil;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
graphOperations = [NSMutableArray arrayWithCapacity:graphs.count];
|
||||
|
||||
@ -234,8 +220,6 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
{
|
||||
[graphOperations addObject:graph.operations];
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -266,12 +250,8 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
__block NSUInteger graphCount = 0;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
graphCount = graphs.count;
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -287,8 +267,6 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
__block NSMutableArray<NSArray<YapDatabaseCloudCoreOperation *> *> *graphOperations = nil;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
graphOperations = [NSMutableArray arrayWithCapacity:graphs.count];
|
||||
|
||||
@ -296,8 +274,6 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
{
|
||||
[graphOperations addObject:graph.operations];
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -314,16 +290,12 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
__block uint64_t graphID = 0;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
if (idx <= graphs.count)
|
||||
{
|
||||
found = YES;
|
||||
graphID = graphs[idx].persistentOrder;
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -340,16 +312,12 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
__block uint64_t nextGraphID = 0;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
YapDatabaseCloudCoreGraph *lastGraph = [graphs lastObject];
|
||||
if (lastGraph)
|
||||
{
|
||||
nextGraphID = lastGraph.persistentOrder + 1;
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -375,13 +343,9 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
__block id result = nil;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
NSMutableDictionary *opInfo = ephemeralInfo[opUUID];
|
||||
result = opInfo[key];
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -401,8 +365,6 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
if (uuid == nil) return;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
NSMutableDictionary *opInfo = ephemeralInfo[uuid];
|
||||
if (opInfo)
|
||||
@ -421,8 +383,6 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
|
||||
opInfo[key] = object;
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -436,8 +396,6 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
__block BOOL allowed = YES;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
NSMutableDictionary *opInfo = ephemeralInfo[uuid];
|
||||
if (opInfo == nil)
|
||||
@ -463,8 +421,6 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
{
|
||||
opInfo[YDBCloudCore_EphemeralKey_Status] = @(status);
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -487,8 +443,6 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
__block NSDate *hold = nil;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
NSMutableDictionary *opInfo = ephemeralInfo[opUUID];
|
||||
if (opInfo)
|
||||
@ -497,8 +451,6 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
status = opInfo[YDBCloudCore_EphemeralKey_Status];
|
||||
hold = opInfo[YDBCloudCore_EphemeralKey_Hold];
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -553,16 +505,11 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
{
|
||||
if (opUUID == nil) return;
|
||||
|
||||
__weak YapDatabaseCloudCorePipeline *weakSelf = self;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
|
||||
__strong YapDatabaseCloudCorePipeline *strongSelf = weakSelf;
|
||||
if (strongSelf == nil) return;
|
||||
|
||||
if ([strongSelf _setStatus:YDBCloudOperationStatus_Started forOperationUUID:opUUID])
|
||||
if ([self _setStatus:YDBCloudOperationStatus_Started forOperationUUID:opUUID])
|
||||
{
|
||||
[strongSelf->startedOpUUIDs addObject:opUUID];
|
||||
[startedOpUUIDs addObject:opUUID];
|
||||
}
|
||||
}};
|
||||
|
||||
@ -581,18 +528,13 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
{
|
||||
if (opUUID == nil) return;
|
||||
|
||||
__weak YapDatabaseCloudCorePipeline *weakSelf = self;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
|
||||
__strong YapDatabaseCloudCorePipeline *strongSelf = weakSelf;
|
||||
if (strongSelf == nil) return;
|
||||
|
||||
BOOL changed = [strongSelf _setStatus:YDBCloudOperationStatus_Pending forOperationUUID:opUUID];
|
||||
BOOL changed = [self _setStatus:YDBCloudOperationStatus_Pending forOperationUUID:opUUID];
|
||||
if (changed)
|
||||
{
|
||||
[strongSelf->startedOpUUIDs removeObject:opUUID];
|
||||
[strongSelf startNextOperationIfPossible];
|
||||
[startedOpUUIDs removeObject:opUUID];
|
||||
[self startNextOperationIfPossible];
|
||||
}
|
||||
}};
|
||||
|
||||
@ -613,27 +555,21 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
retryDelay:(NSTimeInterval)delay
|
||||
{
|
||||
NSDate *hold = nil;
|
||||
if (delay > 0.0) {
|
||||
if (delay > 0.0)
|
||||
hold = [NSDate dateWithTimeIntervalSinceNow:delay];
|
||||
}
|
||||
|
||||
__weak YapDatabaseCloudCorePipeline *weakSelf = self;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
|
||||
__strong YapDatabaseCloudCorePipeline *strongSelf = weakSelf;
|
||||
if (strongSelf == nil) return;
|
||||
|
||||
BOOL changed = [strongSelf _setStatus:YDBCloudOperationStatus_Pending forOperationUUID:opUUID];
|
||||
BOOL changed = [self _setStatus:YDBCloudOperationStatus_Pending forOperationUUID:opUUID];
|
||||
if (changed)
|
||||
{
|
||||
[strongSelf _setEphemeralInfo:hold
|
||||
forKey:YDBCloudCore_EphemeralKey_Hold
|
||||
operationUUID:opUUID];
|
||||
[self _setEphemeralInfo:hold
|
||||
forKey:YDBCloudCore_EphemeralKey_Hold
|
||||
operationUUID:opUUID];
|
||||
|
||||
[strongSelf->startedOpUUIDs removeObject:opUUID];
|
||||
[strongSelf updateHoldTimer];
|
||||
[strongSelf startNextOperationIfPossible];
|
||||
[startedOpUUIDs removeObject:opUUID];
|
||||
[self updateHoldTimer];
|
||||
[self startNextOperationIfPossible];
|
||||
}
|
||||
}};
|
||||
|
||||
@ -953,12 +889,8 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
__block BOOL status = NO;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
status = isActive;
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -1050,22 +982,17 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
{
|
||||
YDBLogAutoTrace();
|
||||
|
||||
__weak YapDatabaseCloudCorePipeline *weakSelf = self;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
|
||||
__strong YapDatabaseCloudCorePipeline *strongSelf = weakSelf;
|
||||
if (strongSelf == nil) return;
|
||||
|
||||
for (YapDatabaseCloudCoreGraph *graph in inGraphs)
|
||||
{
|
||||
graph.pipeline = self;
|
||||
}
|
||||
|
||||
[strongSelf->graphs addObjectsFromArray:inGraphs];
|
||||
[graphs addObjectsFromArray:inGraphs];
|
||||
|
||||
if (strongSelf->graphs.count > 0) {
|
||||
[strongSelf startNextOperationIfPossible];
|
||||
if (graphs.count > 0) {
|
||||
[self startNextOperationIfPossible];
|
||||
}
|
||||
}};
|
||||
|
||||
@ -1082,8 +1009,6 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
YDBLogAutoTrace();
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
if (graph)
|
||||
{
|
||||
@ -1148,8 +1073,6 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
// Notify listeners that the operation list in the queue changed.
|
||||
[self postQueueChangedNotification];
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -1174,19 +1097,14 @@ NSString *const YDBCloudCore_EphemeralKey_Hold = @"hold";
|
||||
int const flagOn = 1;
|
||||
|
||||
BOOL didSetFlagOn = OSAtomicCompareAndSwapInt(flagOff, flagOn, &needsStartNextOperationFlag);
|
||||
|
||||
if (didSetFlagOn)
|
||||
{
|
||||
__weak YapDatabaseCloudCorePipeline *weakSelf = self;
|
||||
|
||||
dispatch_async(queue, ^{ @autoreleasepool {
|
||||
|
||||
__strong YapDatabaseCloudCorePipeline *strongSelf = weakSelf;
|
||||
if (strongSelf)
|
||||
{
|
||||
OSAtomicCompareAndSwapInt(flagOn, flagOff, &strongSelf->needsStartNextOperationFlag);
|
||||
|
||||
[strongSelf startNextOperationIfPossible];
|
||||
}
|
||||
OSAtomicCompareAndSwapInt(flagOn, flagOff, &needsStartNextOperationFlag);
|
||||
|
||||
[self startNextOperationIfPossible];
|
||||
}});
|
||||
}
|
||||
}
|
||||
|
||||
@ -152,7 +152,6 @@
|
||||
|
||||
/**
|
||||
* Compares the receiver with the given operation.
|
||||
* Subclasses should override this method, and add their own comparisons.
|
||||
**/
|
||||
- (BOOL)isEqualToOperation:(YapDatabaseCloudCoreOperation *)operation;
|
||||
|
||||
|
||||
@ -241,7 +241,7 @@ NSString *const YDBCloudCoreOperationIsReadyToStartNotification = @"YDBCloudCore
|
||||
|
||||
- (BOOL)pendingStatusIsSkippedOrCompleted
|
||||
{
|
||||
if (pendingStatus != nil)
|
||||
if (pendingStatus)
|
||||
{
|
||||
YDBCloudCoreOperationStatus status = (YDBCloudCoreOperationStatus)[pendingStatus integerValue];
|
||||
|
||||
@ -255,7 +255,7 @@ NSString *const YDBCloudCoreOperationIsReadyToStartNotification = @"YDBCloudCore
|
||||
|
||||
- (BOOL)pendingStatusIsCompleted
|
||||
{
|
||||
if (pendingStatus != nil)
|
||||
if (pendingStatus)
|
||||
return ([pendingStatus integerValue] == YDBCloudOperationStatus_Completed);
|
||||
else
|
||||
return NO;
|
||||
@ -263,7 +263,7 @@ NSString *const YDBCloudCoreOperationIsReadyToStartNotification = @"YDBCloudCore
|
||||
|
||||
- (BOOL)pendingStatusIsSkipped
|
||||
{
|
||||
if (pendingStatus != nil)
|
||||
if (pendingStatus)
|
||||
return ([pendingStatus integerValue] == YDBCloudOperationStatus_Skipped);
|
||||
else
|
||||
return NO;
|
||||
|
||||
@ -4,8 +4,6 @@
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
/**
|
||||
* A many-to-many cache has the following features:
|
||||
*
|
||||
@ -91,7 +89,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
* And then the key/value tuple is moved to the beginning of the most-recently-used linked-list.
|
||||
**/
|
||||
- (void)insertKey:(id)key value:(id)value;
|
||||
- (void)insertKey:(id)key value:(id)value metadata:(nullable id)metadata;
|
||||
- (void)insertKey:(id)key value:(id)value metadata:(id)metadata;
|
||||
|
||||
/**
|
||||
* Returns whether or not the cache contains the key/value tuple.
|
||||
@ -109,7 +107,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
*
|
||||
* If the key/value tuple exists, it's moved to the beginning of the most-recently-used linked-list.
|
||||
**/
|
||||
- (nullable id)metadataForKey:(id)key value:(id)value;
|
||||
- (id)metadataForKey:(id)key value:(id)value;
|
||||
|
||||
/**
|
||||
* Returns YES if the given key or value has 1 or more entries in the cache.
|
||||
@ -130,15 +128,15 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
*
|
||||
* All key/value tuples accessed during enumeration are moved to the beginning of the most-recently-used linked-list.
|
||||
**/
|
||||
- (void)enumerateValuesForKey:(id)key withBlock:(void (^)(id value, __nullable id metadata, BOOL *stop))block;
|
||||
- (void)enumerateKeysForValue:(id)value withBlock:(void (^)(id value, __nullable id metadata, BOOL *stop))block;
|
||||
- (void)enumerateValuesForKey:(id)key withBlock:(void (^)(id value, id metadata, BOOL *stop))block;
|
||||
- (void)enumerateKeysForValue:(id)value withBlock:(void (^)(id value, id metadata, BOOL *stop))block;
|
||||
|
||||
/**
|
||||
* Enumerates all key/value pairs in the cache.
|
||||
*
|
||||
* As this method is designed to enumerate all values, it ddes not affect the most-recently-used linked-list.
|
||||
**/
|
||||
- (void)enumerateWithBlock:(void (^)(id key, id value, __nullable id metadata, BOOL *stop))block;
|
||||
- (void)enumerateWithBlock:(void (^)(id key, id value, id metadata, BOOL *stop))block;
|
||||
|
||||
/**
|
||||
* Removes the tuple that matches the given key/value pair.
|
||||
@ -163,5 +161,3 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
- (void)debug;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
@ -190,10 +190,9 @@ withRegisteredExtensions:(NSDictionary __unused *)registeredExtensions
|
||||
**/
|
||||
- (YapDatabaseExtensionConnection *)newConnection:(YapDatabaseConnection *)databaseConnection
|
||||
{
|
||||
// Subclasses should override this method,
|
||||
// and return an instance of their own subclass.
|
||||
NSAssert(NO, @"Missing required method(%@) in subclass(%@)", NSStringFromSelector(_cmd), [self class]);
|
||||
|
||||
return [[YapDatabaseCloudCoreConnection alloc] initWithParent:self databaseConnection:databaseConnection];
|
||||
return nil;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
@ -276,8 +275,6 @@ withRegisteredExtensions:(NSDictionary __unused *)registeredExtensions
|
||||
__block YapDatabaseCloudCorePipeline *pipeline = nil;
|
||||
|
||||
dispatch_block_t block = ^{
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
pipeline = pipelines[name];
|
||||
|
||||
@ -289,8 +286,6 @@ withRegisteredExtensions:(NSDictionary __unused *)registeredExtensions
|
||||
pipeline = pipelines[alias];
|
||||
}
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -320,8 +315,6 @@ withRegisteredExtensions:(NSDictionary __unused *)registeredExtensions
|
||||
__block BOOL result = YES;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
if (pipelines[pipeline.name] != nil)
|
||||
{
|
||||
@ -348,8 +341,6 @@ withRegisteredExtensions:(NSDictionary __unused *)registeredExtensions
|
||||
if (suspendCount > 0) {
|
||||
[pipeline suspendWithCount:suspendCount];
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -368,12 +359,8 @@ withRegisteredExtensions:(NSDictionary __unused *)registeredExtensions
|
||||
__block NSArray *allPipelines = nil;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
allPipelines = [pipelines allValues];
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -392,12 +379,8 @@ withRegisteredExtensions:(NSDictionary __unused *)registeredExtensions
|
||||
__block NSArray *allPipelineNames = nil;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
allPipelineNames = [pipelines allKeys];
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -417,12 +400,8 @@ withRegisteredExtensions:(NSDictionary __unused *)registeredExtensions
|
||||
__block NSArray *allNames = nil;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
allNames = [pipelines allKeys];
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -450,12 +429,7 @@ withRegisteredExtensions:(NSDictionary __unused *)registeredExtensions
|
||||
__block NSUInteger result = 0;
|
||||
|
||||
dispatch_block_t block = ^{
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
result = suspendCount;
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -476,8 +450,6 @@ withRegisteredExtensions:(NSDictionary __unused *)registeredExtensions
|
||||
__block NSUInteger newSuspendCount = 0;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
if (suspendCount <= (NSUIntegerMax - suspendCountIncrement))
|
||||
suspendCount += suspendCountIncrement;
|
||||
@ -491,8 +463,6 @@ withRegisteredExtensions:(NSDictionary __unused *)registeredExtensions
|
||||
{
|
||||
[pipeline suspendWithCount:suspendCountIncrement];
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -508,9 +478,7 @@ withRegisteredExtensions:(NSDictionary __unused *)registeredExtensions
|
||||
__block NSUInteger newSuspendCount = 0;
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
|
||||
if (suspendCount > 0) {
|
||||
suspendCount--;
|
||||
}
|
||||
@ -521,8 +489,6 @@ withRegisteredExtensions:(NSDictionary __unused *)registeredExtensions
|
||||
{
|
||||
[pipeline resume];
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -546,8 +512,6 @@ withRegisteredExtensions:(NSDictionary __unused *)registeredExtensions
|
||||
YDBLogAutoTrace();
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
[rowidsToPipelineName enumerateKeysAndObjectsUsingBlock:^(NSNumber *rowid, NSString *pipelineName, BOOL *stop){
|
||||
|
||||
@ -557,8 +521,6 @@ withRegisteredExtensions:(NSDictionary __unused *)registeredExtensions
|
||||
pipeline.rowid = [rowid longLongValue];
|
||||
}
|
||||
}];
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -575,8 +537,6 @@ withRegisteredExtensions:(NSDictionary __unused *)registeredExtensions
|
||||
YDBLogAutoTrace();
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
[sortedGraphsPerPipeline enumerateKeysAndObjectsUsingBlock:
|
||||
^(NSString *pipelineName, NSArray *sortedGraphs, BOOL *stop)
|
||||
@ -587,8 +547,6 @@ withRegisteredExtensions:(NSDictionary __unused *)registeredExtensions
|
||||
[pipeline restoreGraphs:sortedGraphs];
|
||||
}
|
||||
}];
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
@ -614,8 +572,6 @@ withRegisteredExtensions:(NSDictionary __unused *)registeredExtensions
|
||||
}
|
||||
|
||||
dispatch_block_t block = ^{ @autoreleasepool {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
for (YapDatabaseCloudCorePipeline *pipeline in [pipelines objectEnumerator])
|
||||
{
|
||||
@ -626,8 +582,6 @@ withRegisteredExtensions:(NSDictionary __unused *)registeredExtensions
|
||||
insertedOperations:insertedForPipeline
|
||||
modifiedOperations:modifiedOperations];
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}};
|
||||
|
||||
if (dispatch_get_specific(IsOnQueueKey))
|
||||
|
||||
@ -142,13 +142,17 @@
|
||||
{
|
||||
YDBLogAutoTrace();
|
||||
|
||||
// Subclasses should override this method,
|
||||
// and return an instance of their own subclass.
|
||||
NSAssert(NO, @"Missing required method(%@) in subclass(%@)", NSStringFromSelector(_cmd), [self class]);
|
||||
return nil;
|
||||
|
||||
YapDatabaseCloudCoreTransaction *extTransaction =
|
||||
[[YapDatabaseCloudCoreTransaction alloc] initWithParentConnection:self databaseTransaction:databaseTransaction];
|
||||
/* Subclasses should do something like this:
|
||||
|
||||
MYCloudTransaction *transaction =
|
||||
[[MYCloudTransaction alloc] initWithParentConnection:self
|
||||
databaseTransaction:databaseTransaction];
|
||||
|
||||
return extTransaction;
|
||||
return transaction;
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
@ -158,14 +162,18 @@
|
||||
{
|
||||
YDBLogAutoTrace();
|
||||
|
||||
// Subclasses should override this method,
|
||||
// and return an instance of their own subclass.
|
||||
NSAssert(NO, @"Missing required method(%@) in subclass(%@)", NSStringFromSelector(_cmd), [self class]);
|
||||
return nil;
|
||||
|
||||
YapDatabaseCloudCoreTransaction *extTransaction =
|
||||
[[YapDatabaseCloudCoreTransaction alloc] initWithParentConnection:self databaseTransaction:databaseTransaction];
|
||||
/* Subclasses should do something like this:
|
||||
|
||||
MYCloudTransaction *transaction =
|
||||
[[MYCloudTransaction alloc] initWithParentConnection:self
|
||||
databaseTransaction:databaseTransaction];
|
||||
|
||||
[self prepareForReadWriteTransaction]; // <-- Do NOT forget this step in your subclass !!
|
||||
return extTransaction;
|
||||
[self prepareForReadWriteTransaction]; // <-- Do NOT forget this step !!
|
||||
return transaction;
|
||||
*/
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
@ -318,15 +326,11 @@
|
||||
else
|
||||
{
|
||||
[modifiedMappings enumerateWithBlock:^(NSNumber *rowid, NSString *path, id metadata, BOOL *stop) {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
if (metadata == YDBCloudCore_DiryMappingMetadata_NeedsRemove)
|
||||
{
|
||||
[cleanMappingCache removeItemWithKey:rowid value:path];
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}];
|
||||
}
|
||||
|
||||
|
||||
@ -110,18 +110,6 @@
|
||||
**/
|
||||
- (YapDatabaseCloudCoreOperation *)operationWithUUID:(NSUUID *)uuid inPipeline:(NSString *)pipelineName;
|
||||
|
||||
/**
|
||||
* Fetches the graph index that corresponds to newly added operations.
|
||||
* That is, operations that are added during this commit (read-write transaction).
|
||||
*
|
||||
* This may be useful if you need to find and modify operations added during the current read/write transaction.
|
||||
*
|
||||
* @return
|
||||
* The index of the graph that will contain newly added operations from this commit.
|
||||
* Or NSNotFound if the pipeline isn't found.
|
||||
**/
|
||||
- (NSUInteger)graphForAddedOperationsInPipeline:(NSString *)pipelineName;
|
||||
|
||||
/**
|
||||
* @param operation
|
||||
* The operation to search for.
|
||||
@ -170,25 +158,6 @@
|
||||
usingBlock:(void (^)(YapDatabaseCloudCoreOperation *operation,
|
||||
NSUInteger graphIdx, BOOL *stop))enumBlock;
|
||||
|
||||
/**
|
||||
* Enumerates only those operations that have been added during this commit.
|
||||
*
|
||||
* That is, the operations added via the `addOperation:` method,
|
||||
* within the current readWriteTransaction.
|
||||
**/
|
||||
- (void)enumerateAddedOperationsUsingBlock:(void (^)(YapDatabaseCloudCorePipeline *pipeline,
|
||||
YapDatabaseCloudCoreOperation *operation,
|
||||
NSUInteger graphIdx, BOOL *stop))enumBlock;
|
||||
/**
|
||||
* Enumerates only those operations that have been added during this commit.
|
||||
*
|
||||
* That is, the operations added via the `addOperation:` method,
|
||||
* within the current readWriteTransaction.
|
||||
**/
|
||||
- (void)enumerateAddedOperationsInPipeline:(NSString *)pipeline
|
||||
usingBlock:(void (^)(YapDatabaseCloudCoreOperation *operation,
|
||||
NSUInteger graphIdx, BOOL *stop))enumBlock;
|
||||
|
||||
#pragma mark Tag Support
|
||||
|
||||
/**
|
||||
|
||||
@ -2402,26 +2402,6 @@ static NSString *const ext_key_versionTag = @"versionTag";
|
||||
return matchedOp;
|
||||
}
|
||||
|
||||
/**
|
||||
* Fetches the graph index that corresponds to newly added operations.
|
||||
* That is, operations that are added during this commit (read-write transaction).
|
||||
*
|
||||
* This may be useful if you need to find and modify operations added during the current read/write transaction.
|
||||
*
|
||||
* @return
|
||||
* The index of the graph that will contain newly added operations from this commit.
|
||||
* Or NSNotFound if the pipeline isn't found.
|
||||
**/
|
||||
- (NSUInteger)graphForAddedOperationsInPipeline:(NSString *)pipelineName
|
||||
{
|
||||
YapDatabaseCloudCorePipeline *pipeline = [parentConnection->parent pipelineWithName:pipelineName];
|
||||
|
||||
if (pipeline)
|
||||
return pipeline.graphCount;
|
||||
else
|
||||
return NSNotFound;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param operation
|
||||
* The operation to search for.
|
||||
@ -2526,49 +2506,6 @@ static NSString *const ext_key_versionTag = @"versionTag";
|
||||
}];
|
||||
}
|
||||
|
||||
/**
|
||||
* Public API
|
||||
**/
|
||||
- (void)enumerateAddedOperationsUsingBlock:(void (^)(YapDatabaseCloudCorePipeline *pipeline,
|
||||
YapDatabaseCloudCoreOperation *operation,
|
||||
NSUInteger graphIdx, BOOL *stop))enumBlock
|
||||
{
|
||||
if (enumBlock == nil) return;
|
||||
if (databaseTransaction->isReadWriteTransaction == NO) return;
|
||||
|
||||
[self _enumerateAndModifyOperations:YDBCloudCore_EnumOps_Added
|
||||
usingBlock:
|
||||
^YapDatabaseCloudCoreOperation *(YapDatabaseCloudCorePipeline *pipeline,
|
||||
YapDatabaseCloudCoreOperation *operation,
|
||||
NSUInteger graphIdx, BOOL *stop)
|
||||
{
|
||||
enumBlock(pipeline, [operation copy], graphIdx, stop);
|
||||
return nil;
|
||||
}];
|
||||
}
|
||||
|
||||
/**
|
||||
* Public API
|
||||
**/
|
||||
- (void)enumerateAddedOperationsInPipeline:(NSString *)pipelineName
|
||||
usingBlock:(void (^)(YapDatabaseCloudCoreOperation *operation,
|
||||
NSUInteger graphIdx, BOOL *stop))enumBlock
|
||||
{
|
||||
if (enumBlock == nil) return;
|
||||
if (databaseTransaction->isReadWriteTransaction == NO) return;
|
||||
|
||||
YapDatabaseCloudCorePipeline *pipeline = [parentConnection->parent pipelineWithName:pipelineName];
|
||||
|
||||
[self _enumerateAndModifyOperations:YDBCloudCore_EnumOps_All
|
||||
inPipeline:pipeline
|
||||
usingBlock:
|
||||
^YapDatabaseCloudCoreOperation *(YapDatabaseCloudCoreOperation *operation, NSUInteger graphIdx, BOOL *stop)
|
||||
{
|
||||
enumBlock([operation copy], graphIdx, stop);
|
||||
return nil;
|
||||
}];
|
||||
}
|
||||
|
||||
/**
|
||||
* Internal enumerate method.
|
||||
*
|
||||
@ -2703,68 +2640,65 @@ static NSString *const ext_key_versionTag = @"versionTag";
|
||||
if (enumBlock == nil) return;
|
||||
|
||||
__block BOOL stop = NO;
|
||||
__block BOOL pipelineHasOps = NO;
|
||||
__block NSUInteger lastGraphIdx = 0;
|
||||
|
||||
NSArray<NSArray<YapDatabaseCloudCoreOperation *> *> *graphOperations = pipeline.graphOperations;
|
||||
|
||||
[graphOperations enumerateObjectsUsingBlock:
|
||||
^(NSArray<YapDatabaseCloudCoreOperation *> *operations, NSUInteger idx, BOOL *innerStop)
|
||||
[pipeline _enumerateOperationsUsingBlock:
|
||||
^(YapDatabaseCloudCoreOperation *queuedOp, NSUInteger graphIdx, BOOL *innerStop)
|
||||
{
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
pipelineHasOps = YES;
|
||||
|
||||
if (lastGraphIdx != graphIdx)
|
||||
{
|
||||
if (flags & YDBCloudCore_EnumOps_Inserted)
|
||||
{
|
||||
NSDictionary *insertedGraphs = parentConnection->operations_inserted[pipeline.name];
|
||||
NSMutableArray<YapDatabaseCloudCoreOperation *> *insertedOps = insertedGraphs[@(lastGraphIdx)];
|
||||
|
||||
for (NSUInteger i = 0; i < insertedOps.count; i++)
|
||||
{
|
||||
YapDatabaseCloudCoreOperation *op = insertedOps[i];
|
||||
|
||||
YapDatabaseCloudCoreOperation *modifiedOp = enumBlock(op, lastGraphIdx, &stop);
|
||||
|
||||
if (modifiedOp)
|
||||
{
|
||||
insertedOps[i] = modifiedOp;
|
||||
}
|
||||
|
||||
if (stop) break;
|
||||
}
|
||||
|
||||
if (stop) {
|
||||
*innerStop = YES;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
lastGraphIdx = graphIdx;
|
||||
}
|
||||
|
||||
if (flags & YDBCloudCore_EnumOps_Existing)
|
||||
{
|
||||
for (YapDatabaseCloudCoreOperation *queuedOp in operations)
|
||||
YapDatabaseCloudCoreOperation *modifiedOp = parentConnection->operations_modified[queuedOp.uuid];
|
||||
|
||||
if (modifiedOp)
|
||||
modifiedOp = enumBlock(modifiedOp, graphIdx, &stop);
|
||||
else
|
||||
modifiedOp = enumBlock(queuedOp, graphIdx, &stop);
|
||||
|
||||
if (modifiedOp)
|
||||
{
|
||||
YapDatabaseCloudCoreOperation *modifiedOp = parentConnection->operations_modified[queuedOp.uuid];
|
||||
|
||||
if (modifiedOp)
|
||||
modifiedOp = enumBlock(modifiedOp, idx, &stop);
|
||||
else
|
||||
modifiedOp = enumBlock(queuedOp, idx, &stop);
|
||||
|
||||
if (modifiedOp)
|
||||
{
|
||||
parentConnection->operations_modified[modifiedOp.uuid] = modifiedOp;
|
||||
}
|
||||
|
||||
if (stop) {
|
||||
*innerStop = YES;
|
||||
return;
|
||||
}
|
||||
parentConnection->operations_modified[modifiedOp.uuid] = modifiedOp;
|
||||
}
|
||||
}
|
||||
|
||||
if (flags & YDBCloudCore_EnumOps_Inserted)
|
||||
{
|
||||
NSDictionary *insertedGraphs = parentConnection->operations_inserted[pipeline.name];
|
||||
NSMutableArray<YapDatabaseCloudCoreOperation *> *insertedOps = insertedGraphs[@(idx)];
|
||||
|
||||
for (NSUInteger i = 0; i < insertedOps.count; i++)
|
||||
{
|
||||
YapDatabaseCloudCoreOperation *op = insertedOps[i];
|
||||
|
||||
YapDatabaseCloudCoreOperation *modifiedOp = enumBlock(op, idx, &stop);
|
||||
|
||||
if (modifiedOp)
|
||||
{
|
||||
insertedOps[i] = modifiedOp;
|
||||
}
|
||||
|
||||
if (stop) {
|
||||
*innerStop = YES;
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (stop) *innerStop = YES;
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}];
|
||||
|
||||
if (!stop && (flags & YDBCloudCore_EnumOps_Added))
|
||||
{
|
||||
NSUInteger lastGraphIdx = graphOperations.count;
|
||||
NSUInteger nextGraphIdx = (lastGraphIdx == 0) ? 0 : (lastGraphIdx + 1);
|
||||
NSUInteger nextGraphIdx = pipelineHasOps ? (lastGraphIdx + 1) : 0;
|
||||
|
||||
NSMutableArray<YapDatabaseCloudCoreOperation *> *addedOps =
|
||||
parentConnection->operations_added[pipeline.name];
|
||||
@ -3389,23 +3323,18 @@ static NSString *const ext_key_versionTag = @"versionTag";
|
||||
|
||||
[parentConnection->operations_added enumerateKeysAndObjectsUsingBlock:
|
||||
^(NSString *pipelineName, NSArray *allAddedOperationsForPipeline, BOOL *stop)
|
||||
{
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
YapDatabaseCloudCorePipeline *pipeline = [parentConnection->parent pipelineWithName:pipelineName];
|
||||
NSUInteger graphIdx = pipeline.graphCount;
|
||||
{
|
||||
YapDatabaseCloudCorePipeline *pipeline = [parentConnection->parent pipelineWithName:pipelineName];
|
||||
NSUInteger graphIdx = pipeline.graphCount;
|
||||
|
||||
NSArray *processedOperationsForPipeline =
|
||||
[self processOperations:allAddedOperationsForPipeline inPipeline:pipeline withGraphIdx:graphIdx];
|
||||
|
||||
if (processedOperationsForPipeline.count > 0)
|
||||
{
|
||||
processedAddedOps[pipelineName] = processedOperationsForPipeline;
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}];
|
||||
NSArray *processedOperationsForPipeline =
|
||||
[self processOperations:allAddedOperationsForPipeline inPipeline:pipeline withGraphIdx:graphIdx];
|
||||
|
||||
if (processedOperationsForPipeline.count > 0)
|
||||
{
|
||||
processedAddedOps[pipelineName] = processedOperationsForPipeline;
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
// Step 3 of 5:
|
||||
@ -3415,9 +3344,6 @@ static NSString *const ext_key_versionTag = @"versionTag";
|
||||
[processedAddedOps enumerateKeysAndObjectsUsingBlock:
|
||||
^(NSString *pipelineName, NSArray *operations, BOOL *stop)
|
||||
{
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
YapDatabaseCloudCorePipeline *pipeline = [parentConnection->parent pipelineWithName:pipelineName];
|
||||
uint64_t nextGraphID = [pipeline nextGraphID];
|
||||
|
||||
@ -3429,8 +3355,6 @@ static NSString *const ext_key_versionTag = @"versionTag";
|
||||
[[YapDatabaseCloudCoreGraph alloc] initWithPersistentOrder:nextGraphID operations:operations];
|
||||
|
||||
[parentConnection->graphs_added setObject:graph forKey:pipelineName];
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}];
|
||||
|
||||
for (YapDatabaseCloudCorePipeline *pipeline in pipelines)
|
||||
@ -3474,7 +3398,7 @@ static NSString *const ext_key_versionTag = @"versionTag";
|
||||
{
|
||||
[self mappingTable_insertRowWithRowid:[rowid unsignedLongLongValue] cloudURI:cloudURI];
|
||||
|
||||
[self->parentConnection->cleanMappingCache insertKey:rowid value:cloudURI];
|
||||
[parentConnection->cleanMappingCache insertKey:rowid value:cloudURI];
|
||||
}
|
||||
else if (metadata == YDBCloudCore_DiryMappingMetadata_NeedsRemove)
|
||||
{
|
||||
@ -3505,7 +3429,7 @@ static NSString *const ext_key_versionTag = @"versionTag";
|
||||
{
|
||||
[self tagTable_insertOrUpdateRowWithKey:key identifier:identifier tag:tag];
|
||||
|
||||
[self->parentConnection->tagCache setObject:tag forKey:tuple];
|
||||
[parentConnection->tagCache setObject:tag forKey:tuple];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
@ -132,10 +132,10 @@
|
||||
|
||||
[inOriginalValues enumerateKeysAndObjectsUsingBlock:^(id key, id obj, BOOL *stop) {
|
||||
|
||||
if ([self->originalValues objectForKey:key] == nil)
|
||||
if ([originalValues objectForKey:key] == nil)
|
||||
{
|
||||
if (newOriginalValues == nil)
|
||||
newOriginalValues = [self->originalValues mutableCopy];
|
||||
newOriginalValues = [originalValues mutableCopy];
|
||||
|
||||
[newOriginalValues setObject:obj forKey:key];
|
||||
}
|
||||
|
||||
@ -53,9 +53,9 @@
|
||||
{
|
||||
[newerOriginalValues enumerateKeysAndObjectsUsingBlock:^(id key, id obj, BOOL *stop) {
|
||||
|
||||
if ([self->originalValues objectForKey:key] == nil)
|
||||
if ([originalValues objectForKey:key] == nil)
|
||||
{
|
||||
[self->originalValues setObject:obj forKey:key];
|
||||
[originalValues setObject:obj forKey:key];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
@ -479,70 +479,63 @@ NSString *const YapDatabaseCloudKitInFlightChangeSetChangedNotification = @"YDBC
|
||||
{
|
||||
YDBLogAutoTrace();
|
||||
|
||||
__weak YapDatabaseCloudKit *weakSelf = self;
|
||||
// The 'forceNotification' parameter will be YES when this method
|
||||
// is being called after successfully completing a previous operation.
|
||||
|
||||
dispatch_queue_t bgQueue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);
|
||||
dispatch_async(bgQueue, ^{ @autoreleasepool {
|
||||
|
||||
__strong YapDatabaseCloudKit *strongSelf = weakSelf;
|
||||
[strongSelf maybeDispatchNextOperation:forceNotification];
|
||||
if (self.isSuspended) // this method is thread-safe
|
||||
{
|
||||
YDBLogVerbose(@"Skipping dispatch operation - suspended");
|
||||
|
||||
if (forceNotification) {
|
||||
[self postInFlightChangeSetChangedNotification:[masterQueue currentChangeSetUUID]];
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
BOOL isAlreadyInFlight = NO;
|
||||
YDBCKChangeSet *nextChangeSet = nil;
|
||||
|
||||
nextChangeSet = [masterQueue makeInFlightChangeSet:&isAlreadyInFlight]; // this method is thread-safe
|
||||
if (nextChangeSet == nil)
|
||||
{
|
||||
if (isAlreadyInFlight) { // <- { brackets } required when YapDatabaseLoggingTechnique_Disabled
|
||||
YDBLogVerbose(@"Skipping dispatch operation - upload in progress");
|
||||
}
|
||||
else {
|
||||
YDBLogVerbose(@"Skipping dispatch operation - nothing to upload");
|
||||
}
|
||||
|
||||
if (forceNotification) {
|
||||
[self postInFlightChangeSetChangedNotification:[masterQueue currentChangeSetUUID]];
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if ([nextChangeSet->deletedRecordIDs count] == 0 &&
|
||||
[nextChangeSet->modifiedRecords count] == 0)
|
||||
{
|
||||
YDBLogVerbose(@"Dropping empty queued operation: %@", nextChangeSet);
|
||||
|
||||
NSString *changeSetUUID = nextChangeSet.uuid;
|
||||
|
||||
[self handleCompletedOperationWithChangeSet:nextChangeSet savedRecords:nil deletedRecordIDs:nil];
|
||||
[self postInFlightChangeSetChangedNotification:changeSetUUID];
|
||||
}
|
||||
else
|
||||
{
|
||||
YDBLogVerbose(@"Queueing operation: %@", nextChangeSet);
|
||||
|
||||
NSString *changeSetUUID = nextChangeSet.uuid;
|
||||
|
||||
[self queueOperationForChangeSet:nextChangeSet];
|
||||
[self postInFlightChangeSetChangedNotification:changeSetUUID];
|
||||
}
|
||||
}});
|
||||
}
|
||||
|
||||
- (void)maybeDispatchNextOperation:(BOOL)forceNotification
|
||||
{
|
||||
// The 'forceNotification' parameter will be YES when this method
|
||||
// is being called after successfully completing a previous operation.
|
||||
|
||||
if (self.isSuspended) // this method is thread-safe
|
||||
{
|
||||
YDBLogVerbose(@"Skipping dispatch operation - suspended");
|
||||
|
||||
if (forceNotification) {
|
||||
[self postInFlightChangeSetChangedNotification:[masterQueue currentChangeSetUUID]];
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
BOOL isAlreadyInFlight = NO;
|
||||
YDBCKChangeSet *nextChangeSet = nil;
|
||||
|
||||
nextChangeSet = [masterQueue makeInFlightChangeSet:&isAlreadyInFlight]; // this method is thread-safe
|
||||
if (nextChangeSet == nil)
|
||||
{
|
||||
if (isAlreadyInFlight) { // <- { brackets } required when YapDatabaseLoggingTechnique_Disabled
|
||||
YDBLogVerbose(@"Skipping dispatch operation - upload in progress");
|
||||
}
|
||||
else {
|
||||
YDBLogVerbose(@"Skipping dispatch operation - nothing to upload");
|
||||
}
|
||||
|
||||
if (forceNotification) {
|
||||
[self postInFlightChangeSetChangedNotification:[masterQueue currentChangeSetUUID]];
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if ([nextChangeSet->deletedRecordIDs count] == 0 &&
|
||||
[nextChangeSet->modifiedRecords count] == 0)
|
||||
{
|
||||
YDBLogVerbose(@"Dropping empty queued operation: %@", nextChangeSet);
|
||||
|
||||
NSString *changeSetUUID = nextChangeSet.uuid;
|
||||
|
||||
[self handleCompletedOperationWithChangeSet:nextChangeSet savedRecords:nil deletedRecordIDs:nil];
|
||||
[self postInFlightChangeSetChangedNotification:changeSetUUID];
|
||||
}
|
||||
else
|
||||
{
|
||||
YDBLogVerbose(@"Queueing operation: %@", nextChangeSet);
|
||||
|
||||
NSString *changeSetUUID = nextChangeSet.uuid;
|
||||
|
||||
[self queueOperationForChangeSet:nextChangeSet];
|
||||
[self postInFlightChangeSetChangedNotification:changeSetUUID];
|
||||
}
|
||||
}
|
||||
|
||||
- (YapDatabaseConnection *)completionDatabaseConnection
|
||||
{
|
||||
@ -684,12 +677,8 @@ NSString *const YapDatabaseCloudKitInFlightChangeSetChangedNotification = @"YDBC
|
||||
|
||||
NSString *databaseIdentifier = changeSet.databaseIdentifier;
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
opErrorBlock(databaseIdentifier, operationError);
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
});
|
||||
}
|
||||
|
||||
@ -752,13 +741,10 @@ NSString *const YapDatabaseCloudKitInFlightChangeSetChangedNotification = @"YDBC
|
||||
deletedRecordIDs:success_deletedRecordIDs];
|
||||
|
||||
} completionBlock:^{
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
// Inform the user about the problem via the operationErrorBlock.
|
||||
opErrorBlock(databaseIdentifier, operationError);
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
opErrorBlock(databaseIdentifier, operationError);
|
||||
}];
|
||||
}
|
||||
|
||||
|
||||
@ -472,16 +472,12 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
(YapDatabaseCloudKitRecordWithKeyBlock)recordHandler->block;
|
||||
|
||||
RestoreRecordBlock = ^(int64_t rowid, CKRecord **inOutRecord, YDBCKRecordInfo *recordInfo) {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
YapCollectionKey *ck = [databaseTransaction collectionKeyForRowid:rowid];
|
||||
if (ck)
|
||||
{
|
||||
recordBlock(databaseTransaction, inOutRecord, recordInfo, ck.collection, ck.key);
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
};
|
||||
}
|
||||
else if (recordHandler->blockType == YapDatabaseBlockTypeWithObject)
|
||||
@ -490,8 +486,6 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
(YapDatabaseCloudKitRecordWithObjectBlock)recordHandler->block;
|
||||
|
||||
RestoreRecordBlock = ^(int64_t rowid, CKRecord **inOutRecord, YDBCKRecordInfo *recordInfo) {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
YapCollectionKey *ck = nil;
|
||||
id object = nil;
|
||||
@ -500,8 +494,6 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
{
|
||||
recordBlock(databaseTransaction, inOutRecord, recordInfo, ck.collection, ck.key, object);
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
};
|
||||
}
|
||||
else if (recordHandler->blockType == YapDatabaseBlockTypeWithMetadata)
|
||||
@ -510,8 +502,6 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
(YapDatabaseCloudKitRecordWithMetadataBlock)recordHandler->block;
|
||||
|
||||
RestoreRecordBlock = ^(int64_t rowid, CKRecord **inOutRecord, YDBCKRecordInfo *recordInfo) {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
YapCollectionKey *ck = nil;
|
||||
id metadata = nil;
|
||||
@ -520,8 +510,6 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
{
|
||||
recordBlock(databaseTransaction, inOutRecord, recordInfo, ck.collection, ck.key, metadata);
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
};
|
||||
}
|
||||
else // if (recordHandler->blockType == YapDatabaseBlockTypeWithRow)
|
||||
@ -530,8 +518,6 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
(YapDatabaseCloudKitRecordWithRowBlock)recordHandler->block;
|
||||
|
||||
RestoreRecordBlock = ^(int64_t rowid, CKRecord **inOutRecord, YDBCKRecordInfo *recordInfo) {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
YapCollectionKey *ck = nil;
|
||||
id object = nil;
|
||||
@ -541,8 +527,6 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
{
|
||||
recordBlock(databaseTransaction, inOutRecord, recordInfo, ck.collection, ck.key, object, metadata);
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
};
|
||||
}
|
||||
|
||||
@ -592,8 +576,6 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
|
||||
void (^InsertRecord)(CKRecord*, YDBCKRecordInfo*, int64_t);
|
||||
InsertRecord = ^(CKRecord *record, YDBCKRecordInfo *recordInfo, int64_t rowid) {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
NSString *databaseIdentifier = recordInfo.databaseIdentifier;
|
||||
NSString *hash = [self hashRecordID:record.recordID databaseIdentifier:databaseIdentifier];
|
||||
@ -633,8 +615,6 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
[dirtyRecordTableInfo incrementOwnerCount];
|
||||
[dirtyRecordTableInfo mergeOriginalValues:recordInfo.originalValues];
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
};
|
||||
|
||||
YDBCKRecordInfo *recordInfo = [[YDBCKRecordInfo alloc] init];
|
||||
@ -656,7 +636,7 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
recordInfo.databaseIdentifier = nil;
|
||||
recordInfo.originalValues = nil;
|
||||
|
||||
recordBlock(self->databaseTransaction, &record, recordInfo, collection, key);
|
||||
recordBlock(databaseTransaction, &record, recordInfo, collection, key);
|
||||
|
||||
if (record) {
|
||||
InsertRecord(record, recordInfo, rowid);
|
||||
@ -669,7 +649,7 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
|
||||
if ([allowedCollections isAllowed:collection])
|
||||
{
|
||||
[self->databaseTransaction _enumerateKeysInCollections:@[ collection ] usingBlock:enumBlock];
|
||||
[databaseTransaction _enumerateKeysInCollections:@[ collection ] usingBlock:enumBlock];
|
||||
}
|
||||
}];
|
||||
}
|
||||
@ -690,7 +670,7 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
recordInfo.databaseIdentifier = nil;
|
||||
recordInfo.originalValues = nil;
|
||||
|
||||
recordBlock(self->databaseTransaction, &record, recordInfo, collection, key, object);
|
||||
recordBlock(databaseTransaction, &record, recordInfo, collection, key, object);
|
||||
|
||||
if (record) {
|
||||
InsertRecord(record, recordInfo, rowid);
|
||||
@ -703,7 +683,7 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
|
||||
if ([allowedCollections isAllowed:collection])
|
||||
{
|
||||
[self->databaseTransaction _enumerateKeysAndObjectsInCollections:@[ collection ] usingBlock:enumBlock];
|
||||
[databaseTransaction _enumerateKeysAndObjectsInCollections:@[ collection ] usingBlock:enumBlock];
|
||||
}
|
||||
}];
|
||||
}
|
||||
@ -724,7 +704,7 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
recordInfo.databaseIdentifier = nil;
|
||||
recordInfo.originalValues = nil;
|
||||
|
||||
recordBlock(self->databaseTransaction, &record, recordInfo, collection, key, metadata);
|
||||
recordBlock(databaseTransaction, &record, recordInfo, collection, key, metadata);
|
||||
|
||||
if (record) {
|
||||
InsertRecord(record, recordInfo, rowid);
|
||||
@ -737,7 +717,7 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
|
||||
if ([allowedCollections isAllowed:collection])
|
||||
{
|
||||
[self->databaseTransaction _enumerateKeysAndMetadataInCollections:@[ collection ] usingBlock:enumBlock];
|
||||
[databaseTransaction _enumerateKeysAndMetadataInCollections:@[ collection ] usingBlock:enumBlock];
|
||||
}
|
||||
}];
|
||||
}
|
||||
@ -758,7 +738,7 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
recordInfo.databaseIdentifier = nil;
|
||||
recordInfo.originalValues = nil;
|
||||
|
||||
recordBlock(self->databaseTransaction, &record, recordInfo, collection, key, object, metadata);
|
||||
recordBlock(databaseTransaction, &record, recordInfo, collection, key, object, metadata);
|
||||
|
||||
if (record) {
|
||||
InsertRecord(record, recordInfo, rowid);
|
||||
@ -771,7 +751,7 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
|
||||
if ([allowedCollections isAllowed:collection])
|
||||
{
|
||||
[self->databaseTransaction _enumerateRowsInCollections:@[ collection ] usingBlock:enumBlock];
|
||||
[databaseTransaction _enumerateRowsInCollections:@[ collection ] usingBlock:enumBlock];
|
||||
}
|
||||
}];
|
||||
}
|
||||
@ -836,7 +816,7 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
enumBlock = ^(int64_t rowid, NSString *collection, NSString *key, BOOL *stop) {
|
||||
|
||||
enumHelperBlock(rowid);
|
||||
recordBlock(self->databaseTransaction, &record, recordInfo, collection, key);
|
||||
recordBlock(databaseTransaction, &record, recordInfo, collection, key);
|
||||
|
||||
[self processRecord:record recordInfo:recordInfo
|
||||
preCalculatedHash:nil
|
||||
@ -852,7 +832,7 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
|
||||
if ([allowedCollections isAllowed:collection])
|
||||
{
|
||||
[self->databaseTransaction _enumerateKeysInCollections:@[ collection ] usingBlock:enumBlock];
|
||||
[databaseTransaction _enumerateKeysInCollections:@[ collection ] usingBlock:enumBlock];
|
||||
}
|
||||
}];
|
||||
}
|
||||
@ -870,7 +850,7 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
enumBlock = ^(int64_t rowid, NSString *collection, NSString *key, id object, BOOL *stop) {
|
||||
|
||||
enumHelperBlock(rowid);
|
||||
recordBlock(self->databaseTransaction, &record, recordInfo, collection, key, object);
|
||||
recordBlock(databaseTransaction, &record, recordInfo, collection, key, object);
|
||||
|
||||
[self processRecord:record recordInfo:recordInfo
|
||||
preCalculatedHash:nil
|
||||
@ -886,7 +866,7 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
|
||||
if ([allowedCollections isAllowed:collection])
|
||||
{
|
||||
[self->databaseTransaction _enumerateKeysAndObjectsInCollections:@[ collection ] usingBlock:enumBlock];
|
||||
[databaseTransaction _enumerateKeysAndObjectsInCollections:@[ collection ] usingBlock:enumBlock];
|
||||
}
|
||||
}];
|
||||
}
|
||||
@ -904,7 +884,7 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
enumBlock = ^(int64_t rowid, NSString *collection, NSString *key, id metadata, BOOL *stop) {
|
||||
|
||||
enumHelperBlock(rowid);
|
||||
recordBlock(self->databaseTransaction, &record, recordInfo, collection, key, metadata);
|
||||
recordBlock(databaseTransaction, &record, recordInfo, collection, key, metadata);
|
||||
|
||||
[self processRecord:record recordInfo:recordInfo
|
||||
preCalculatedHash:nil
|
||||
@ -920,7 +900,7 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
|
||||
if ([allowedCollections isAllowed:collection])
|
||||
{
|
||||
[self->databaseTransaction _enumerateKeysAndMetadataInCollections:@[ collection ] usingBlock:enumBlock];
|
||||
[databaseTransaction _enumerateKeysAndMetadataInCollections:@[ collection ] usingBlock:enumBlock];
|
||||
}
|
||||
}];
|
||||
}
|
||||
@ -938,7 +918,7 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
enumBlock = ^(int64_t rowid, NSString *collection, NSString *key, id object, id metadata, BOOL *stop) {
|
||||
|
||||
enumHelperBlock(rowid);
|
||||
recordBlock(self->databaseTransaction, &record, recordInfo, collection, key, object, metadata);
|
||||
recordBlock(databaseTransaction, &record, recordInfo, collection, key, object, metadata);
|
||||
|
||||
[self processRecord:record recordInfo:recordInfo
|
||||
preCalculatedHash:nil
|
||||
@ -954,7 +934,7 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
|
||||
if ([allowedCollections isAllowed:collection])
|
||||
{
|
||||
[self->databaseTransaction _enumerateRowsInCollections:@[ collection ] usingBlock:enumBlock];
|
||||
[databaseTransaction _enumerateRowsInCollections:@[ collection ] usingBlock:enumBlock];
|
||||
}
|
||||
}];
|
||||
}
|
||||
@ -2918,8 +2898,6 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
// Update mapping table.
|
||||
|
||||
[parentConnection->dirtyMappingTableInfoDict enumerateKeysAndObjectsUsingBlock:^(id key, id obj, BOOL *stop) {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
__unsafe_unretained NSNumber *rowidNumber = (NSNumber *)key;
|
||||
__unsafe_unretained YDBCKDirtyMappingTableInfo *dirtyMappingTableInfo = (YDBCKDirtyMappingTableInfo *)obj;
|
||||
@ -2945,8 +2923,6 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
[parentConnection->changeset_mappingTableInfo setObject:cleanMappingTableInfo forKey:rowidNumber];
|
||||
[parentConnection->cleanMappingTableInfoCache setObject:cleanMappingTableInfo forKey:rowidNumber];
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}];
|
||||
|
||||
// Step 2 of 6:
|
||||
@ -2954,8 +2930,6 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
// Update record table.
|
||||
|
||||
[parentConnection->dirtyRecordTableInfoDict enumerateKeysAndObjectsUsingBlock:^(id key, id obj, BOOL *stop) {
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wimplicit-retain-self"
|
||||
|
||||
__unsafe_unretained NSString *hash = (NSString *)key;
|
||||
__unsafe_unretained YDBCKDirtyRecordTableInfo *dirtyRecordTableInfo = (YDBCKDirtyRecordTableInfo *)obj;
|
||||
@ -3011,8 +2985,6 @@ static BOOL ClassVersionsAreCompatible(int oldClassVersion, int newClassVersion)
|
||||
[parentConnection->changeset_recordTableInfo setObject:cleanRecordTableInfo forKey:hash];
|
||||
[parentConnection->cleanRecordTableInfoCache setObject:cleanRecordTableInfo forKey:hash];
|
||||
}
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
}];
|
||||
|
||||
// Step 3 of 6:
|
||||
|
||||
@ -31,19 +31,19 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
typedef id YapDatabaseCloudKitRecordBlock; // One of the YapDatabaseCloutKitGetRecordX types below.
|
||||
|
||||
typedef void (^YapDatabaseCloudKitRecordWithKeyBlock)
|
||||
(YapDatabaseReadTransaction *transaction, CKRecord *_Nullable *_Nonnull inOutRecordPtr, YDBCKRecordInfo *recordInfo,
|
||||
(YapDatabaseReadTransaction *transaction, CKRecord *_Nonnull *_Nullable inOutRecordPtr, YDBCKRecordInfo *recordInfo,
|
||||
NSString *collection, NSString *key);
|
||||
|
||||
typedef void (^YapDatabaseCloudKitRecordWithObjectBlock)
|
||||
(YapDatabaseReadTransaction *transaction, CKRecord *_Nullable *_Nonnull inOutRecordPtr, YDBCKRecordInfo *recordInfo,
|
||||
(YapDatabaseReadTransaction *transaction, CKRecord *_Nonnull *_Nullable inOutRecordPtr, YDBCKRecordInfo *recordInfo,
|
||||
NSString *collection, NSString *key, id object);
|
||||
|
||||
typedef void (^YapDatabaseCloudKitRecordWithMetadataBlock)
|
||||
(YapDatabaseReadTransaction *transaction, CKRecord *_Nullable *_Nonnull inOutRecordPtr, YDBCKRecordInfo *recordInfo,
|
||||
(YapDatabaseReadTransaction *transaction, CKRecord *_Nonnull *_Nullable inOutRecordPtr, YDBCKRecordInfo *recordInfo,
|
||||
NSString *collection, NSString *key, __nullable id metadata);
|
||||
|
||||
typedef void (^YapDatabaseCloudKitRecordWithRowBlock)
|
||||
(YapDatabaseReadTransaction *transaction, CKRecord *_Nullable *_Nonnull inOutRecordPtr, YDBCKRecordInfo *recordInfo,
|
||||
(YapDatabaseReadTransaction *transaction, CKRecord *_Nonnull *_Nullable inOutRecordPtr, YDBCKRecordInfo *recordInfo,
|
||||
NSString *collection, NSString *key, id object, __nullable id metadata);
|
||||
|
||||
+ (instancetype)withKeyBlock:(YapDatabaseCloudKitRecordWithKeyBlock)recordBlock;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user