Skip to content

Commit

Permalink
support for build error on simulators
Browse files Browse the repository at this point in the history
  • Loading branch information
shu223 committed Sep 18, 2014
1 parent 9a8bb2b commit 8271823
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ JUST BUILD basically, however please note below:
- Use "iOS8Sampler" Scheme for DEVICES.
- Use "iOS8SamplerSimulator" Scheme for SIMULATORS

(This is because Metal can't be compiled for Simulators.)
This is because Metal can't be compiled for Simulators. When you have build error, try to delete the Derived Data:

`/Users/shuichi/Library/Developer/Xcode/DerivedData/iOS8Sampler-{xxxxxxxxxx}`


###Provisioning Profile
Expand Down
10 changes: 5 additions & 5 deletions iOS8Sampler.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
8A8D0BEE19C99A8A009E3448 /* SourceOver.cikernel */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = SourceOver.cikernel; sourceTree = "<group>"; };
8A8D0BEF19C99A8A009E3448 /* SwapRedAndGreen.cikernel */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = SwapRedAndGreen.cikernel; sourceTree = "<group>"; };
8A8D0BF019C99A8A009E3448 /* Vignette.cikernel */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Vignette.cikernel; sourceTree = "<group>"; };
8A8D0CA919C9A034009E3448 /* iOS8Sampler.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = iOS8Sampler.app; sourceTree = BUILT_PRODUCTS_DIR; };
8A8D0CA919C9A034009E3448 /* iOS8SamplerSimulator.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = iOS8SamplerSimulator.app; sourceTree = BUILT_PRODUCTS_DIR; };
8A8D0CAB19C9A122009E3448 /* HomeKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = HomeKit.framework; path = System/Library/Frameworks/HomeKit.framework; sourceTree = SDKROOT; };
8A8D0CAE19C9A161009E3448 /* HealthKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = HealthKit.framework; path = System/Library/Frameworks/HealthKit.framework; sourceTree = SDKROOT; };
8A8D0CB219C9A5BA009E3448 /* MetalUniformViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MetalUniformViewController.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -622,7 +622,7 @@
children = (
8AA4B9F119A175F4006BC800 /* iOS8Sampler.app */,
8AA4BA0A19A175F5006BC800 /* iOS8SamplerTests.xctest */,
8A8D0CA919C9A034009E3448 /* iOS8Sampler.app */,
8A8D0CA919C9A034009E3448 /* iOS8SamplerSimulator.app */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -911,7 +911,7 @@
);
name = iOS8SamplerSimulator;
productName = iOS8Sampler;
productReference = 8A8D0CA919C9A034009E3448 /* iOS8Sampler.app */;
productReference = 8A8D0CA919C9A034009E3448 /* iOS8SamplerSimulator.app */;
productType = "com.apple.product-type.application";
};
8AA4B9F019A175F4006BC800 /* iOS8Sampler */ = {
Expand Down Expand Up @@ -1256,7 +1256,7 @@
GCC_PREFIX_HEADER = iOS8Sampler/PrefixHeader.pch;
INFOPLIST_FILE = "$(SRCROOT)/iOS8Sampler/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_NAME = iOS8Sampler;
PRODUCT_NAME = iOS8SamplerSimulator;
SWIFT_OBJC_BRIDGING_HEADER = "iOS8Sampler/iOS8Sampler-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
Expand All @@ -1272,7 +1272,7 @@
GCC_PREFIX_HEADER = iOS8Sampler/PrefixHeader.pch;
INFOPLIST_FILE = "$(SRCROOT)/iOS8Sampler/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_NAME = iOS8Sampler;
PRODUCT_NAME = iOS8SamplerSimulator;
SWIFT_OBJC_BRIDGING_HEADER = "iOS8Sampler/iOS8Sampler-Bridging-Header.h";
};
name = Release;
Expand Down
2 changes: 1 addition & 1 deletion iOS8Sampler/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>com.shu223.$(PRODUCT_NAME:rfc1034identifier)</string>
<string>com.shu223.iOS8Sampler</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
Expand Down

0 comments on commit 8271823

Please sign in to comment.