Skip to content

Commit 55b7172

Browse files
committed
Set up a framework project
1 parent 737a86c commit 55b7172

4 files changed

Lines changed: 351 additions & 0 deletions

File tree

Lines changed: 283 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,283 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 46;
7+
objects = {
8+
9+
/* Begin PBXBuildFile section */
10+
B56BC42E1C89A7EA00C20AD6 /* ICInputAccessory.h in Headers */ = {isa = PBXBuildFile; fileRef = B56BC42D1C89A7EA00C20AD6 /* ICInputAccessory.h */; settings = {ATTRIBUTES = (Public, ); }; };
11+
/* End PBXBuildFile section */
12+
13+
/* Begin PBXFileReference section */
14+
B56BC42A1C89A7EA00C20AD6 /* ICInputAccessory.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ICInputAccessory.framework; sourceTree = BUILT_PRODUCTS_DIR; };
15+
B56BC42D1C89A7EA00C20AD6 /* ICInputAccessory.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ICInputAccessory.h; sourceTree = "<group>"; };
16+
B56BC42F1C89A7EA00C20AD6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
17+
/* End PBXFileReference section */
18+
19+
/* Begin PBXFrameworksBuildPhase section */
20+
B56BC4261C89A7EA00C20AD6 /* Frameworks */ = {
21+
isa = PBXFrameworksBuildPhase;
22+
buildActionMask = 2147483647;
23+
files = (
24+
);
25+
runOnlyForDeploymentPostprocessing = 0;
26+
};
27+
/* End PBXFrameworksBuildPhase section */
28+
29+
/* Begin PBXGroup section */
30+
B56BC4201C89A7EA00C20AD6 = {
31+
isa = PBXGroup;
32+
children = (
33+
B56BC42C1C89A7EA00C20AD6 /* ICInputAccessory */,
34+
B56BC42B1C89A7EA00C20AD6 /* Products */,
35+
);
36+
sourceTree = "<group>";
37+
};
38+
B56BC42B1C89A7EA00C20AD6 /* Products */ = {
39+
isa = PBXGroup;
40+
children = (
41+
B56BC42A1C89A7EA00C20AD6 /* ICInputAccessory.framework */,
42+
);
43+
name = Products;
44+
sourceTree = "<group>";
45+
};
46+
B56BC42C1C89A7EA00C20AD6 /* ICInputAccessory */ = {
47+
isa = PBXGroup;
48+
children = (
49+
B56BC42D1C89A7EA00C20AD6 /* ICInputAccessory.h */,
50+
B56BC42F1C89A7EA00C20AD6 /* Info.plist */,
51+
);
52+
path = ICInputAccessory;
53+
sourceTree = "<group>";
54+
};
55+
/* End PBXGroup section */
56+
57+
/* Begin PBXHeadersBuildPhase section */
58+
B56BC4271C89A7EA00C20AD6 /* Headers */ = {
59+
isa = PBXHeadersBuildPhase;
60+
buildActionMask = 2147483647;
61+
files = (
62+
B56BC42E1C89A7EA00C20AD6 /* ICInputAccessory.h in Headers */,
63+
);
64+
runOnlyForDeploymentPostprocessing = 0;
65+
};
66+
/* End PBXHeadersBuildPhase section */
67+
68+
/* Begin PBXNativeTarget section */
69+
B56BC4291C89A7EA00C20AD6 /* ICInputAccessory */ = {
70+
isa = PBXNativeTarget;
71+
buildConfigurationList = B56BC4321C89A7EA00C20AD6 /* Build configuration list for PBXNativeTarget "ICInputAccessory" */;
72+
buildPhases = (
73+
B56BC4251C89A7EA00C20AD6 /* Sources */,
74+
B56BC4261C89A7EA00C20AD6 /* Frameworks */,
75+
B56BC4271C89A7EA00C20AD6 /* Headers */,
76+
B56BC4281C89A7EA00C20AD6 /* Resources */,
77+
);
78+
buildRules = (
79+
);
80+
dependencies = (
81+
);
82+
name = ICInputAccessory;
83+
productName = ICInputAccessory;
84+
productReference = B56BC42A1C89A7EA00C20AD6 /* ICInputAccessory.framework */;
85+
productType = "com.apple.product-type.framework";
86+
};
87+
/* End PBXNativeTarget section */
88+
89+
/* Begin PBXProject section */
90+
B56BC4211C89A7EA00C20AD6 /* Project object */ = {
91+
isa = PBXProject;
92+
attributes = {
93+
LastUpgradeCheck = 0720;
94+
ORGANIZATIONNAME = "Polydice, Inc.";
95+
TargetAttributes = {
96+
B56BC4291C89A7EA00C20AD6 = {
97+
CreatedOnToolsVersion = 7.2.1;
98+
};
99+
};
100+
};
101+
buildConfigurationList = B56BC4241C89A7EA00C20AD6 /* Build configuration list for PBXProject "ICInputAccessory" */;
102+
compatibilityVersion = "Xcode 3.2";
103+
developmentRegion = English;
104+
hasScannedForEncodings = 0;
105+
knownRegions = (
106+
en,
107+
);
108+
mainGroup = B56BC4201C89A7EA00C20AD6;
109+
productRefGroup = B56BC42B1C89A7EA00C20AD6 /* Products */;
110+
projectDirPath = "";
111+
projectRoot = "";
112+
targets = (
113+
B56BC4291C89A7EA00C20AD6 /* ICInputAccessory */,
114+
);
115+
};
116+
/* End PBXProject section */
117+
118+
/* Begin PBXResourcesBuildPhase section */
119+
B56BC4281C89A7EA00C20AD6 /* Resources */ = {
120+
isa = PBXResourcesBuildPhase;
121+
buildActionMask = 2147483647;
122+
files = (
123+
);
124+
runOnlyForDeploymentPostprocessing = 0;
125+
};
126+
/* End PBXResourcesBuildPhase section */
127+
128+
/* Begin PBXSourcesBuildPhase section */
129+
B56BC4251C89A7EA00C20AD6 /* Sources */ = {
130+
isa = PBXSourcesBuildPhase;
131+
buildActionMask = 2147483647;
132+
files = (
133+
);
134+
runOnlyForDeploymentPostprocessing = 0;
135+
};
136+
/* End PBXSourcesBuildPhase section */
137+
138+
/* Begin XCBuildConfiguration section */
139+
B56BC4301C89A7EA00C20AD6 /* Debug */ = {
140+
isa = XCBuildConfiguration;
141+
buildSettings = {
142+
ALWAYS_SEARCH_USER_PATHS = NO;
143+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
144+
CLANG_CXX_LIBRARY = "libc++";
145+
CLANG_ENABLE_MODULES = YES;
146+
CLANG_ENABLE_OBJC_ARC = YES;
147+
CLANG_WARN_BOOL_CONVERSION = YES;
148+
CLANG_WARN_CONSTANT_CONVERSION = YES;
149+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
150+
CLANG_WARN_EMPTY_BODY = YES;
151+
CLANG_WARN_ENUM_CONVERSION = YES;
152+
CLANG_WARN_INT_CONVERSION = YES;
153+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
154+
CLANG_WARN_UNREACHABLE_CODE = YES;
155+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
156+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
157+
COPY_PHASE_STRIP = NO;
158+
CURRENT_PROJECT_VERSION = 1;
159+
DEBUG_INFORMATION_FORMAT = dwarf;
160+
ENABLE_STRICT_OBJC_MSGSEND = YES;
161+
ENABLE_TESTABILITY = YES;
162+
GCC_C_LANGUAGE_STANDARD = gnu99;
163+
GCC_DYNAMIC_NO_PIC = NO;
164+
GCC_NO_COMMON_BLOCKS = YES;
165+
GCC_OPTIMIZATION_LEVEL = 0;
166+
GCC_PREPROCESSOR_DEFINITIONS = (
167+
"DEBUG=1",
168+
"$(inherited)",
169+
);
170+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
171+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
172+
GCC_WARN_UNDECLARED_SELECTOR = YES;
173+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
174+
GCC_WARN_UNUSED_FUNCTION = YES;
175+
GCC_WARN_UNUSED_VARIABLE = YES;
176+
IPHONEOS_DEPLOYMENT_TARGET = 9.2;
177+
MTL_ENABLE_DEBUG_INFO = YES;
178+
ONLY_ACTIVE_ARCH = YES;
179+
SDKROOT = iphoneos;
180+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
181+
TARGETED_DEVICE_FAMILY = "1,2";
182+
VERSIONING_SYSTEM = "apple-generic";
183+
VERSION_INFO_PREFIX = "";
184+
};
185+
name = Debug;
186+
};
187+
B56BC4311C89A7EA00C20AD6 /* Release */ = {
188+
isa = XCBuildConfiguration;
189+
buildSettings = {
190+
ALWAYS_SEARCH_USER_PATHS = NO;
191+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
192+
CLANG_CXX_LIBRARY = "libc++";
193+
CLANG_ENABLE_MODULES = YES;
194+
CLANG_ENABLE_OBJC_ARC = YES;
195+
CLANG_WARN_BOOL_CONVERSION = YES;
196+
CLANG_WARN_CONSTANT_CONVERSION = YES;
197+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
198+
CLANG_WARN_EMPTY_BODY = YES;
199+
CLANG_WARN_ENUM_CONVERSION = YES;
200+
CLANG_WARN_INT_CONVERSION = YES;
201+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
202+
CLANG_WARN_UNREACHABLE_CODE = YES;
203+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
204+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
205+
COPY_PHASE_STRIP = NO;
206+
CURRENT_PROJECT_VERSION = 1;
207+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
208+
ENABLE_NS_ASSERTIONS = NO;
209+
ENABLE_STRICT_OBJC_MSGSEND = YES;
210+
GCC_C_LANGUAGE_STANDARD = gnu99;
211+
GCC_NO_COMMON_BLOCKS = YES;
212+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
213+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
214+
GCC_WARN_UNDECLARED_SELECTOR = YES;
215+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
216+
GCC_WARN_UNUSED_FUNCTION = YES;
217+
GCC_WARN_UNUSED_VARIABLE = YES;
218+
IPHONEOS_DEPLOYMENT_TARGET = 9.2;
219+
MTL_ENABLE_DEBUG_INFO = NO;
220+
SDKROOT = iphoneos;
221+
TARGETED_DEVICE_FAMILY = "1,2";
222+
VALIDATE_PRODUCT = YES;
223+
VERSIONING_SYSTEM = "apple-generic";
224+
VERSION_INFO_PREFIX = "";
225+
};
226+
name = Release;
227+
};
228+
B56BC4331C89A7EA00C20AD6 /* Debug */ = {
229+
isa = XCBuildConfiguration;
230+
buildSettings = {
231+
DEFINES_MODULE = YES;
232+
DYLIB_COMPATIBILITY_VERSION = 1;
233+
DYLIB_CURRENT_VERSION = 1;
234+
DYLIB_INSTALL_NAME_BASE = "@rpath";
235+
INFOPLIST_FILE = ICInputAccessory/Info.plist;
236+
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
237+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
238+
PRODUCT_BUNDLE_IDENTIFIER = com.polydice.ICInputAccessory;
239+
PRODUCT_NAME = "$(TARGET_NAME)";
240+
SKIP_INSTALL = YES;
241+
};
242+
name = Debug;
243+
};
244+
B56BC4341C89A7EA00C20AD6 /* Release */ = {
245+
isa = XCBuildConfiguration;
246+
buildSettings = {
247+
DEFINES_MODULE = YES;
248+
DYLIB_COMPATIBILITY_VERSION = 1;
249+
DYLIB_CURRENT_VERSION = 1;
250+
DYLIB_INSTALL_NAME_BASE = "@rpath";
251+
INFOPLIST_FILE = ICInputAccessory/Info.plist;
252+
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
253+
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
254+
PRODUCT_BUNDLE_IDENTIFIER = com.polydice.ICInputAccessory;
255+
PRODUCT_NAME = "$(TARGET_NAME)";
256+
SKIP_INSTALL = YES;
257+
};
258+
name = Release;
259+
};
260+
/* End XCBuildConfiguration section */
261+
262+
/* Begin XCConfigurationList section */
263+
B56BC4241C89A7EA00C20AD6 /* Build configuration list for PBXProject "ICInputAccessory" */ = {
264+
isa = XCConfigurationList;
265+
buildConfigurations = (
266+
B56BC4301C89A7EA00C20AD6 /* Debug */,
267+
B56BC4311C89A7EA00C20AD6 /* Release */,
268+
);
269+
defaultConfigurationIsVisible = 0;
270+
defaultConfigurationName = Release;
271+
};
272+
B56BC4321C89A7EA00C20AD6 /* Build configuration list for PBXNativeTarget "ICInputAccessory" */ = {
273+
isa = XCConfigurationList;
274+
buildConfigurations = (
275+
B56BC4331C89A7EA00C20AD6 /* Debug */,
276+
B56BC4341C89A7EA00C20AD6 /* Release */,
277+
);
278+
defaultConfigurationIsVisible = 0;
279+
};
280+
/* End XCConfigurationList section */
281+
};
282+
rootObject = B56BC4211C89A7EA00C20AD6 /* Project object */;
283+
}

ICInputAccessory.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
//
2+
// ICInputAccessory.h
3+
// ICInputAccessory
4+
//
5+
// Created by Ben on 04/03/2016.
6+
// Copyright © 2016 Polydice, Inc.
7+
//
8+
// Permission is hereby granted, free of charge, to any person obtaining a copy
9+
// of this software and associated documentation files (the "Software"), to deal
10+
// in the Software without restriction, including without limitation the rights
11+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
// copies of the Software, and to permit persons to whom the Software is
13+
// furnished to do so, subject to the following conditions:
14+
//
15+
// The above copyright notice and this permission notice shall be included in all
16+
// copies or substantial portions of the Software.
17+
//
18+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24+
// SOFTWARE.
25+
//
26+
27+
#import <UIKit/UIKit.h>
28+
29+
//! Project version number for ICInputAccessory.
30+
FOUNDATION_EXPORT double ICInputAccessoryVersionNumber;
31+
32+
//! Project version string for ICInputAccessory.
33+
FOUNDATION_EXPORT const unsigned char ICInputAccessoryVersionString[];
34+
35+
// In this header, you should import all the public headers of your framework using statements like #import <ICInputAccessory/PublicHeader.h>

ICInputAccessory/Info.plist

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>en</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
15+
<key>CFBundlePackageType</key>
16+
<string>FMWK</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>1.0</string>
19+
<key>CFBundleSignature</key>
20+
<string>????</string>
21+
<key>CFBundleVersion</key>
22+
<string>$(CURRENT_PROJECT_VERSION)</string>
23+
<key>NSPrincipalClass</key>
24+
<string></string>
25+
</dict>
26+
</plist>

0 commit comments

Comments
 (0)