Skip to content

Commit e82733e

Browse files
committed
Rename the framework target to ICInputAccessory-iOS and share the scheme
1 parent c33ee43 commit e82733e

File tree

3 files changed

+88
-8
lines changed

3 files changed

+88
-8
lines changed

ICInputAccessory.xcodeproj/project.pbxproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@
7272
/* End PBXHeadersBuildPhase section */
7373

7474
/* Begin PBXNativeTarget section */
75-
B56BC4291C89A7EA00C20AD6 /* ICInputAccessory */ = {
75+
B56BC4291C89A7EA00C20AD6 /* ICInputAccessory-iOS */ = {
7676
isa = PBXNativeTarget;
77-
buildConfigurationList = B56BC4321C89A7EA00C20AD6 /* Build configuration list for PBXNativeTarget "ICInputAccessory" */;
77+
buildConfigurationList = B56BC4321C89A7EA00C20AD6 /* Build configuration list for PBXNativeTarget "ICInputAccessory-iOS" */;
7878
buildPhases = (
7979
B56BC4251C89A7EA00C20AD6 /* Sources */,
8080
B56BC4261C89A7EA00C20AD6 /* Frameworks */,
@@ -85,7 +85,7 @@
8585
);
8686
dependencies = (
8787
);
88-
name = ICInputAccessory;
88+
name = "ICInputAccessory-iOS";
8989
productName = ICInputAccessory;
9090
productReference = B56BC42A1C89A7EA00C20AD6 /* ICInputAccessory.framework */;
9191
productType = "com.apple.product-type.framework";
@@ -116,7 +116,7 @@
116116
projectDirPath = "";
117117
projectRoot = "";
118118
targets = (
119-
B56BC4291C89A7EA00C20AD6 /* ICInputAccessory */,
119+
B56BC4291C89A7EA00C20AD6 /* ICInputAccessory-iOS */,
120120
);
121121
};
122122
/* End PBXProject section */
@@ -246,7 +246,7 @@
246246
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
247247
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
248248
PRODUCT_BUNDLE_IDENTIFIER = com.polydice.ICInputAccessory;
249-
PRODUCT_NAME = "$(TARGET_NAME)";
249+
PRODUCT_NAME = ICInputAccessory;
250250
SKIP_INSTALL = YES;
251251
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
252252
};
@@ -265,7 +265,7 @@
265265
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
266266
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
267267
PRODUCT_BUNDLE_IDENTIFIER = com.polydice.ICInputAccessory;
268-
PRODUCT_NAME = "$(TARGET_NAME)";
268+
PRODUCT_NAME = ICInputAccessory;
269269
SKIP_INSTALL = YES;
270270
};
271271
name = Release;
@@ -282,7 +282,7 @@
282282
defaultConfigurationIsVisible = 0;
283283
defaultConfigurationName = Release;
284284
};
285-
B56BC4321C89A7EA00C20AD6 /* Build configuration list for PBXNativeTarget "ICInputAccessory" */ = {
285+
B56BC4321C89A7EA00C20AD6 /* Build configuration list for PBXNativeTarget "ICInputAccessory-iOS" */ = {
286286
isa = XCConfigurationList;
287287
buildConfigurations = (
288288
B56BC4331C89A7EA00C20AD6 /* Debug */,
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0720"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "B56BC4291C89A7EA00C20AD6"
18+
BuildableName = "ICInputAccessory.framework"
19+
BlueprintName = "ICInputAccessory-iOS"
20+
ReferencedContainer = "container:ICInputAccessory.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
buildConfiguration = "Debug"
27+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<Testables>
31+
</Testables>
32+
<AdditionalOptions>
33+
</AdditionalOptions>
34+
</TestAction>
35+
<LaunchAction
36+
buildConfiguration = "Debug"
37+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
38+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
39+
launchStyle = "0"
40+
useCustomWorkingDirectory = "NO"
41+
ignoresPersistentStateOnLaunch = "NO"
42+
debugDocumentVersioning = "YES"
43+
debugServiceExtension = "internal"
44+
allowLocationSimulation = "YES">
45+
<MacroExpansion>
46+
<BuildableReference
47+
BuildableIdentifier = "primary"
48+
BlueprintIdentifier = "B56BC4291C89A7EA00C20AD6"
49+
BuildableName = "ICInputAccessory.framework"
50+
BlueprintName = "ICInputAccessory-iOS"
51+
ReferencedContainer = "container:ICInputAccessory.xcodeproj">
52+
</BuildableReference>
53+
</MacroExpansion>
54+
<AdditionalOptions>
55+
</AdditionalOptions>
56+
</LaunchAction>
57+
<ProfileAction
58+
buildConfiguration = "Release"
59+
shouldUseLaunchSchemeArgsEnv = "YES"
60+
savedToolIdentifier = ""
61+
useCustomWorkingDirectory = "NO"
62+
debugDocumentVersioning = "YES">
63+
<MacroExpansion>
64+
<BuildableReference
65+
BuildableIdentifier = "primary"
66+
BlueprintIdentifier = "B56BC4291C89A7EA00C20AD6"
67+
BuildableName = "ICInputAccessory.framework"
68+
BlueprintName = "ICInputAccessory-iOS"
69+
ReferencedContainer = "container:ICInputAccessory.xcodeproj">
70+
</BuildableReference>
71+
</MacroExpansion>
72+
</ProfileAction>
73+
<AnalyzeAction
74+
buildConfiguration = "Debug">
75+
</AnalyzeAction>
76+
<ArchiveAction
77+
buildConfiguration = "Release"
78+
revealArchiveInOrganizer = "YES">
79+
</ArchiveAction>
80+
</Scheme>

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ task default: :build
22

33
desc "Build the framework target and the example project"
44
task :build do
5-
sh %(xcodebuild -project ICInputAccessory.xcodeproj -scheme ICInputAccessory -sdk iphonesimulator -destination "name=iPhone 6,OS=latest" clean build | xcpretty -c)
5+
sh %(xcodebuild -project ICInputAccessory.xcodeproj -scheme ICInputAccessory-iOS -sdk iphonesimulator -destination "name=iPhone 6,OS=latest" clean build | xcpretty -c)
66
sh %(xcodebuild -workspace ICInputAccessory.xcworkspace -scheme Example -sdk iphonesimulator -destination "name=iPhone 6,OS=latest" clean build | xcpretty -c)
77
end

0 commit comments

Comments
 (0)