Skip to content

Commit d3ebfa7

Browse files
committed
Make Example project use local library + update Xcode suggestions
1 parent 4fe6ced commit d3ebfa7

File tree

2 files changed

+19
-36
lines changed

2 files changed

+19
-36
lines changed

KeyboardLayoutGuideExample/KeyboardLayoutGuideExample.xcodeproj/project.pbxproj

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
9902DE391FBB2659009E0D48 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 9902DE371FBB2659009E0D48 /* Main.storyboard */; };
1414
9902DE3B1FBB2659009E0D48 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9902DE3A1FBB2659009E0D48 /* Assets.xcassets */; };
1515
9902DE3E1FBB265A009E0D48 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 9902DE3C1FBB2659009E0D48 /* LaunchScreen.storyboard */; };
16-
996F7DB023B22B7200CC9446 /* KeyboardLayoutGuide in Frameworks */ = {isa = PBXBuildFile; productRef = 996F7DAF23B22B7200CC9446 /* KeyboardLayoutGuide */; };
16+
99A02FB22795D0B700F02247 /* KeyboardLayoutGuide in Frameworks */ = {isa = PBXBuildFile; productRef = 99A02FB12795D0B700F02247 /* KeyboardLayoutGuide */; };
1717
/* End PBXBuildFile section */
1818

1919
/* Begin PBXCopyFilesBuildPhase section */
@@ -38,14 +38,15 @@
3838
9902DE3A1FBB2659009E0D48 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
3939
9902DE3D1FBB265A009E0D48 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
4040
9902DE3F1FBB265A009E0D48 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
41+
99A02FAF2795D0A800F02247 /* KeyboardLayoutGuide */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = KeyboardLayoutGuide; path = ..; sourceTree = "<group>"; };
4142
/* End PBXFileReference section */
4243

4344
/* Begin PBXFrameworksBuildPhase section */
4445
9902DE2D1FBB2659009E0D48 /* Frameworks */ = {
4546
isa = PBXFrameworksBuildPhase;
4647
buildActionMask = 2147483647;
4748
files = (
48-
996F7DB023B22B7200CC9446 /* KeyboardLayoutGuide in Frameworks */,
49+
99A02FB22795D0B700F02247 /* KeyboardLayoutGuide in Frameworks */,
4950
);
5051
runOnlyForDeploymentPostprocessing = 0;
5152
};
@@ -55,8 +56,10 @@
5556
9902DE271FBB2659009E0D48 = {
5657
isa = PBXGroup;
5758
children = (
59+
99A02FAF2795D0A800F02247 /* KeyboardLayoutGuide */,
5860
9902DE321FBB2659009E0D48 /* KeyboardLayoutGuideExample */,
5961
9902DE311FBB2659009E0D48 /* Products */,
62+
99A02FB02795D0B700F02247 /* Frameworks */,
6063
);
6164
sourceTree = "<group>";
6265
};
@@ -82,6 +85,13 @@
8285
path = KeyboardLayoutGuideExample;
8386
sourceTree = "<group>";
8487
};
88+
99A02FB02795D0B700F02247 /* Frameworks */ = {
89+
isa = PBXGroup;
90+
children = (
91+
);
92+
name = Frameworks;
93+
sourceTree = "<group>";
94+
};
8595
/* End PBXGroup section */
8696

8797
/* Begin PBXNativeTarget section */
@@ -100,7 +110,7 @@
100110
);
101111
name = KeyboardLayoutGuideExample;
102112
packageProductDependencies = (
103-
996F7DAF23B22B7200CC9446 /* KeyboardLayoutGuide */,
113+
99A02FB12795D0B700F02247 /* KeyboardLayoutGuide */,
104114
);
105115
productName = KeyboardLayoutGuideExample;
106116
productReference = 9902DE301FBB2659009E0D48 /* KeyboardLayoutGuideExample.app */;
@@ -113,7 +123,7 @@
113123
isa = PBXProject;
114124
attributes = {
115125
LastSwiftUpdateCheck = 0900;
116-
LastUpgradeCheck = 1000;
126+
LastUpgradeCheck = 1320;
117127
ORGANIZATIONNAME = freshos;
118128
TargetAttributes = {
119129
9902DE2F1FBB2659009E0D48 = {
@@ -132,7 +142,6 @@
132142
);
133143
mainGroup = 9902DE271FBB2659009E0D48;
134144
packageReferences = (
135-
996F7DAE23B22B7200CC9446 /* XCRemoteSwiftPackageReference "KeyboardLayoutGuide" */,
136145
);
137146
productRefGroup = 9902DE311FBB2659009E0D48 /* Products */;
138147
projectDirPath = "";
@@ -214,6 +223,7 @@
214223
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
215224
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
216225
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
226+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
217227
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
218228
CLANG_WARN_STRICT_PROTOTYPES = YES;
219229
CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -239,7 +249,7 @@
239249
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
240250
GCC_WARN_UNUSED_FUNCTION = YES;
241251
GCC_WARN_UNUSED_VARIABLE = YES;
242-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
252+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
243253
MTL_ENABLE_DEBUG_INFO = YES;
244254
ONLY_ACTIVE_ARCH = YES;
245255
SDKROOT = iphoneos;
@@ -274,6 +284,7 @@
274284
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
275285
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
276286
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
287+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
277288
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
278289
CLANG_WARN_STRICT_PROTOTYPES = YES;
279290
CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -293,7 +304,7 @@
293304
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
294305
GCC_WARN_UNUSED_FUNCTION = YES;
295306
GCC_WARN_UNUSED_VARIABLE = YES;
296-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
307+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
297308
MTL_ENABLE_DEBUG_INFO = NO;
298309
SDKROOT = iphoneos;
299310
SWIFT_COMPILATION_MODE = wholemodule;
@@ -364,21 +375,9 @@
364375
};
365376
/* End XCConfigurationList section */
366377

367-
/* Begin XCRemoteSwiftPackageReference section */
368-
996F7DAE23B22B7200CC9446 /* XCRemoteSwiftPackageReference "KeyboardLayoutGuide" */ = {
369-
isa = XCRemoteSwiftPackageReference;
370-
repositoryURL = "https://github.com/freshOS/KeyboardLayoutGuide";
371-
requirement = {
372-
kind = upToNextMajorVersion;
373-
minimumVersion = 1.6.0;
374-
};
375-
};
376-
/* End XCRemoteSwiftPackageReference section */
377-
378378
/* Begin XCSwiftPackageProductDependency section */
379-
996F7DAF23B22B7200CC9446 /* KeyboardLayoutGuide */ = {
379+
99A02FB12795D0B700F02247 /* KeyboardLayoutGuide */ = {
380380
isa = XCSwiftPackageProductDependency;
381-
package = 996F7DAE23B22B7200CC9446 /* XCRemoteSwiftPackageReference "KeyboardLayoutGuide" */;
382381
productName = KeyboardLayoutGuide;
383382
};
384383
/* End XCSwiftPackageProductDependency section */

KeyboardLayoutGuideExample/KeyboardLayoutGuideExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)