Skip to content

Commit

Permalink
#82 Specify mac as target for running Generator.swift
Browse files Browse the repository at this point in the history
Messed up builds for non-simulator devices otherwise
Anviking committed Mar 22, 2016
1 parent 65ad2e6 commit 446fe20
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Decodable.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -518,7 +518,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ -z \"$CI\" ]; then\n cd \"${SRCROOT}/Generator\"\n swift Generator.swift\nfi";
shellScript = "if [ -z \"$CI\" ]; then\n cd \"${SRCROOT}/Generator\"\n ./Generator.swift\nfi";
};
8F0062451C81F348007BCF48 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
@@ -531,7 +531,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ -z \"$CI\" ]; then\n cd \"${SRCROOT}/Generator\"\n swift Generator.swift\nfi";
shellScript = "if [ -z \"$CI\" ]; then\n cd \"${SRCROOT}/Generator\"\n ./Generator.swift\nfi";
};
8F0062461C81F350007BCF48 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
@@ -544,7 +544,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ -z \"$CI\" ]; then\n cd \"${SRCROOT}/Generator\"\n swift Generator.swift\nfi";
shellScript = "if [ -z \"$CI\" ]; then\n cd \"${SRCROOT}/Generator\"\n ./Generator.swift\nfi";
};
8F00624B1C81F6F1007BCF48 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
@@ -557,7 +557,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ -z \"$CI\" ]; then\n cd \"${SRCROOT}/Generator\"\n swift Generator.swift\nfi";
shellScript = "if [ -z \"$CI\" ]; then\n cd \"${SRCROOT}/Generator\"\n ./Generator.swift\nfi";
};
/* End PBXShellScriptBuildPhase section */

2 changes: 2 additions & 0 deletions Generator/Generator.swift
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/xcrun --sdk macosx swift

//
// Generator.swift
// Decodable

0 comments on commit 446fe20

Please sign in to comment.