Skip to content

Commit 68980c8

Browse files
committed
Fixed warnings
1 parent 3a3d141 commit 68980c8

File tree

10 files changed

+175
-162
lines changed

10 files changed

+175
-162
lines changed

Example/BSGridCollectionViewLayout.xcodeproj/project.pbxproj

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
3939
607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
4040
607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
41-
607FACE51AFB9204008FA782 /* Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; name = Tests.xctest; path = BSGridCollectionViewLayout_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
41+
607FACE51AFB9204008FA782 /* BSGridCollectionViewLayout_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BSGridCollectionViewLayout_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
4242
607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
4343
607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = "<group>"; };
4444
62621CB8A78F5398E3B938B5 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
@@ -94,7 +94,7 @@
9494
isa = PBXGroup;
9595
children = (
9696
607FACD01AFB9204008FA782 /* BSGridCollectionViewLayout_Example.app */,
97-
607FACE51AFB9204008FA782 /* Tests.xctest */,
97+
607FACE51AFB9204008FA782 /* BSGridCollectionViewLayout_Tests.xctest */,
9898
);
9999
name = Products;
100100
sourceTree = "<group>";
@@ -200,7 +200,7 @@
200200
);
201201
name = BSGridCollectionViewLayout_Tests;
202202
productName = Tests;
203-
productReference = 607FACE51AFB9204008FA782 /* Tests.xctest */;
203+
productReference = 607FACE51AFB9204008FA782 /* BSGridCollectionViewLayout_Tests.xctest */;
204204
productType = "com.apple.product-type.bundle.unit-test";
205205
};
206206
/* End PBXNativeTarget section */
@@ -210,7 +210,7 @@
210210
isa = PBXProject;
211211
attributes = {
212212
LastSwiftUpdateCheck = 0710;
213-
LastUpgradeCheck = 0630;
213+
LastUpgradeCheck = 0710;
214214
ORGANIZATIONNAME = CocoaPods;
215215
TargetAttributes = {
216216
607FACCF1AFB9204008FA782 = {
@@ -423,6 +423,7 @@
423423
COPY_PHASE_STRIP = NO;
424424
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
425425
ENABLE_STRICT_OBJC_MSGSEND = YES;
426+
ENABLE_TESTABILITY = YES;
426427
GCC_C_LANGUAGE_STANDARD = gnu99;
427428
GCC_DYNAMIC_NO_PIC = NO;
428429
GCC_NO_COMMON_BLOCKS = YES;
@@ -489,8 +490,10 @@
489490
buildSettings = {
490491
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
491492
INFOPLIST_FILE = BSGridCollectionViewLayout/Info.plist;
493+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
492494
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
493495
MODULE_NAME = ExampleApp;
496+
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
494497
PRODUCT_NAME = "$(TARGET_NAME)";
495498
};
496499
name = Debug;
@@ -501,8 +504,10 @@
501504
buildSettings = {
502505
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
503506
INFOPLIST_FILE = BSGridCollectionViewLayout/Info.plist;
507+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
504508
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
505509
MODULE_NAME = ExampleApp;
510+
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
506511
PRODUCT_NAME = "$(TARGET_NAME)";
507512
};
508513
name = Release;
@@ -512,16 +517,13 @@
512517
baseConfigurationReference = F04D8B05088B4DF749D43009 /* Pods-BSGridCollectionViewLayout_Tests.debug.xcconfig */;
513518
buildSettings = {
514519
BUNDLE_LOADER = "$(TEST_HOST)";
515-
FRAMEWORK_SEARCH_PATHS = (
516-
"$(SDKROOT)/Developer/Library/Frameworks",
517-
"$(inherited)",
518-
);
519520
GCC_PREPROCESSOR_DEFINITIONS = (
520521
"DEBUG=1",
521522
"$(inherited)",
522523
);
523524
INFOPLIST_FILE = Tests/Info.plist;
524525
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
526+
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)";
525527
PRODUCT_NAME = "$(TARGET_NAME)";
526528
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/BSGridCollectionViewLayout_Example.app/BSGridCollectionViewLayout_Example";
527529
};
@@ -532,12 +534,9 @@
532534
baseConfigurationReference = 4DD8060D12E59B1B67378F47 /* Pods-BSGridCollectionViewLayout_Tests.release.xcconfig */;
533535
buildSettings = {
534536
BUNDLE_LOADER = "$(TEST_HOST)";
535-
FRAMEWORK_SEARCH_PATHS = (
536-
"$(SDKROOT)/Developer/Library/Frameworks",
537-
"$(inherited)",
538-
);
539537
INFOPLIST_FILE = Tests/Info.plist;
540538
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
539+
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)";
541540
PRODUCT_NAME = "$(TARGET_NAME)";
542541
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/BSGridCollectionViewLayout_Example.app/BSGridCollectionViewLayout_Example";
543542
};

Example/BSGridCollectionViewLayout.xcodeproj/xcshareddata/xcschemes/BSGridCollectionViewLayout-Example.xcscheme

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0630"
3+
LastUpgradeVersion = "0710"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -37,10 +37,10 @@
3737
</BuildActionEntries>
3838
</BuildAction>
3939
<TestAction
40+
buildConfiguration = "Debug"
4041
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4142
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
42-
shouldUseLaunchSchemeArgsEnv = "YES"
43-
buildConfiguration = "Debug">
43+
shouldUseLaunchSchemeArgsEnv = "YES">
4444
<Testables>
4545
<TestableReference
4646
skipped = "NO">
@@ -62,15 +62,18 @@
6262
ReferencedContainer = "container:BSGridCollectionViewLayout.xcodeproj">
6363
</BuildableReference>
6464
</MacroExpansion>
65+
<AdditionalOptions>
66+
</AdditionalOptions>
6567
</TestAction>
6668
<LaunchAction
69+
buildConfiguration = "Debug"
6770
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
6871
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
6972
launchStyle = "0"
7073
useCustomWorkingDirectory = "NO"
71-
buildConfiguration = "Debug"
7274
ignoresPersistentStateOnLaunch = "NO"
7375
debugDocumentVersioning = "YES"
76+
debugServiceExtension = "internal"
7477
allowLocationSimulation = "YES">
7578
<BuildableProductRunnable
7679
runnableDebuggingMode = "0">
@@ -86,10 +89,10 @@
8689
</AdditionalOptions>
8790
</LaunchAction>
8891
<ProfileAction
92+
buildConfiguration = "Release"
8993
shouldUseLaunchSchemeArgsEnv = "YES"
9094
savedToolIdentifier = ""
9195
useCustomWorkingDirectory = "NO"
92-
buildConfiguration = "Release"
9396
debugDocumentVersioning = "YES">
9497
<BuildableProductRunnable
9598
runnableDebuggingMode = "0">

Example/BSGridCollectionViewLayout/Base.lproj/Main.storyboard

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
2121
</collectionViewFlowLayout>
2222
<cells>
23-
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="3kU-e0-XS7">
23+
<collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="reuseMe" id="3kU-e0-XS7">
2424
<rect key="frame" x="0.0" y="0.0" width="50" height="50"/>
2525
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
2626
<view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">

Example/BSGridCollectionViewLayout/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<key>CFBundleExecutable</key>
88
<string>$(EXECUTABLE_NAME)</string>
99
<key>CFBundleIdentifier</key>
10-
<string>org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)</string>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
1111
<key>CFBundleInfoDictionaryVersion</key>
1212
<string>6.0</string>
1313
<key>CFBundleName</key>

Example/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ EXTERNAL SOURCES:
99
:path: "../"
1010

1111
SPEC CHECKSUMS:
12-
BSGridCollectionViewLayout: 9f24038e102ccb634dc514d4dbe59a7c18efd919
12+
BSGridCollectionViewLayout: ec1fb54e6f268b6dbfc8a005c4269c181371137e
1313

1414
COCOAPODS: 0.39.0

Example/Pods/Local Podspecs/BSGridCollectionViewLayout.podspec.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Manifest.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)