File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 991
991
IPHONEOS_DEPLOYMENT_TARGET = 9.2;
992
992
MTL_ENABLE_DEBUG_INFO = YES;
993
993
ONLY_ACTIVE_ARCH = YES;
994
+ OTHER_SWIFT_FLAGS = "-D DEBUG";
994
995
SDKROOT = iphoneos;
995
996
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
996
997
TARGETED_DEVICE_FAMILY = "1,2";
1032
1033
GCC_WARN_UNUSED_VARIABLE = YES;
1033
1034
IPHONEOS_DEPLOYMENT_TARGET = 9.2;
1034
1035
MTL_ENABLE_DEBUG_INFO = NO;
1036
+ OTHER_SWIFT_FLAGS = "";
1035
1037
SDKROOT = iphoneos;
1036
1038
TARGETED_DEVICE_FAMILY = "1,2";
1037
1039
VALIDATE_PRODUCT = YES;
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ func indexSections<S: AnimatableSectionModelType>(sections: [S]) throws -> [S.Id
104
104
for (i, section) in sections. enumerate ( ) {
105
105
guard indexedSections [ section. identity] == nil else {
106
106
#if DEBUG
107
- precondition ( indexedSections [ section. identity] == nil , " Section \( section) has already been indexed at \( indexedSections [ section] !) " )
107
+ precondition ( indexedSections [ section. identity] == nil , " Section \( section) has already been indexed at \( indexedSections [ section. identity ] !) " )
108
108
#endif
109
109
throw DifferentiatorError . DuplicateItem ( item: section)
110
110
}
@@ -127,7 +127,7 @@ func indexSectionItems<S: AnimatableSectionModelType>(sections: [S]) throws -> [
127
127
for (j, item) in sections [ i] . items. enumerate ( ) {
128
128
guard indexedItems [ item. identity] == nil else {
129
129
#if DEBUG
130
- precondition ( indexedItems [ item. identity] == nil , " Item \( item) has already been indexed at \( indexedItems [ item] !) " )
130
+ precondition ( indexedItems [ item. identity] == nil , " Item \( item) has already been indexed at \( indexedItems [ item. identity ] !) " )
131
131
#endif
132
132
throw DifferentiatorError . DuplicateItem ( item: item)
133
133
}
You can’t perform that action at this time.
0 commit comments