Skip to content

Commit 4d4b712

Browse files
committed
Merge pull request tidwall#2 from tidwall/Carthage
Carthage
2 parents 6c5e714 + 8920af1 commit 4d4b712

File tree

8 files changed

+458
-5
lines changed

8 files changed

+458
-5
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ profile
1616
*.moved-aside
1717
DerivedData
1818
.idea/
19-
# Pods - for those of you who use CocoaPods
2019
Pods
20+
Carthage/Build
2121
play.swift
2222
play.go
2323

GoSwift.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
Pod::Spec.new do |s|
22
s.name = "GoSwift"
3-
s.version = "0.1.1"
3+
s.version = "0.1.2"
44
s.summary = "Go Goodies for Swift. Including goroutines, channels, defer, and panic."
55
s.homepage = "https://github.com/tidwall/GoSwift"
66
s.license = { :type => "Attribution License", :file => "LICENSE" }
7-
s.source = { :git => "https://github.com/tidwall/GoSwift.git", :tag => "#{s.version}" }
7+
s.source = { :git => "https://github.com/tidwall/GoSwift.git", :tag => "v#{s.version}" }
88
s.authors = { 'Josh Baker' => 'joshbaker77@gmail.com' }
99
s.social_media_url = "https://twitter.com/tidwall"
1010
s.ios.platform = :ios, '8.0'
1111
s.ios.deployment_target = "8.0"
1212
s.osx.platform = :osx, '10.9'
1313
s.osx.deployment_target = "10.9"
14-
s.source_files = "go.swift"
14+
s.source_files = "GoSwift/go.swift"
1515
s.requires_arc = true
1616
end

GoSwift.xcodeproj/project.pbxproj

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

0 commit comments

Comments
 (0)