Skip to content

Commit

Permalink
test version
Browse files Browse the repository at this point in the history
  • Loading branch information
evermeer committed Dec 4, 2015
1 parent 60d00fb commit fa41b14
Show file tree
Hide file tree
Showing 6 changed files with 253 additions and 7 deletions.
12 changes: 7 additions & 5 deletions EVURLCache.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,16 @@ s.social_media_url = "http://twitter.com/evermeer"
# If this Pod runs only on iOS or OS X, then specify the platform and
# the deployment target. You can optionally include the target after the platform.
#
# s.platform = :ios, "8.0"
s.ios.platform = :ios, "9.0"
s.osx.platform = :osx, "10.11"


# ――― Deployment targets ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# Specify the minimum deployment target
#
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.9'
s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.9"
#s.watchos.deployment_target = '2.0'
#s.tvos.deployment_target = '9.0'

Expand Down Expand Up @@ -78,8 +80,8 @@ s.source_files = 'EVURLCache/Pod/*'
# the lib prefix of their name.
#

s.frameworks.ios = "Foundation", "MobileCoreServices"
s.frameworks.osx = "Foundation", "CoreServices"
s.ios.frameworks = "Foundation", "MobileCoreServices"
s.osx.frameworks = "Foundation", "CoreServices"

# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
Expand Down
98 changes: 97 additions & 1 deletion EVURLCache.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
7F4A0D621BEE497100059923 /* EVURLCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7F4A0D611BEE497100059923 /* EVURLCache.swift */; };
7F4A0D6B1BEFE4F400059923 /* PreCache in Resources */ = {isa = PBXBuildFile; fileRef = 7F4A0D6A1BEFE4F400059923 /* PreCache */; };
7F4A41D71BF1F5BF00969D1F /* .gitattributes in Resources */ = {isa = PBXBuildFile; fileRef = 7F4A41D61BF1F5BF00969D1F /* .gitattributes */; };
7F4E25AD1C11A5C6009494A8 /* OSXcompileTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7F4E25AC1C11A5C6009494A8 /* OSXcompileTest.swift */; };
7F4E25B21C11A5D0009494A8 /* EVURLCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7F4A0D611BEE497100059923 /* EVURLCache.swift */; };
C6963680666F6F39E8889141 /* Pods.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 05EE26FC72733C70FFA7F10C /* Pods.framework */; };
/* End PBXBuildFile section */

Expand All @@ -32,12 +34,15 @@
7F4A0D611BEE497100059923 /* EVURLCache.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = EVURLCache.swift; path = Pod/EVURLCache.swift; sourceTree = "<group>"; };
7F4A0D671BEF9F0700059923 /* EVURLCache.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = EVURLCache.podspec; sourceTree = "<group>"; };
7F4A0D681BEF9F0700059923 /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
7F4A0D691BEFA0EB00059923 /* Podfile */ = {isa = PBXFileReference; lastKnownFileType = text; path = Podfile; sourceTree = "<group>"; };
7F4A0D691BEFA0EB00059923 /* Podfile */ = {isa = PBXFileReference; lastKnownFileType = text; path = Podfile; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
7F4A0D6A1BEFE4F400059923 /* PreCache */ = {isa = PBXFileReference; lastKnownFileType = folder; path = PreCache; sourceTree = "<group>"; };
7F4A0D6C1BF1D4C200059923 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
7F4A0D6D1BF1D4EE00059923 /* .gitignore */ = {isa = PBXFileReference; lastKnownFileType = text; path = .gitignore; sourceTree = "<group>"; };
7F4A0D6E1BF1D4EE00059923 /* .travis.yml */ = {isa = PBXFileReference; lastKnownFileType = text; path = .travis.yml; sourceTree = "<group>"; };
7F4A41D61BF1F5BF00969D1F /* .gitattributes */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = .gitattributes; sourceTree = "<group>"; };
7F4E25AA1C11A5C6009494A8 /* OSXcompileTest.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = OSXcompileTest.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
7F4E25AC1C11A5C6009494A8 /* OSXcompileTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OSXcompileTest.swift; sourceTree = "<group>"; };
7F4E25AE1C11A5C6009494A8 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -49,6 +54,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
7F4E25A71C11A5C6009494A8 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
Expand Down Expand Up @@ -81,6 +93,7 @@
7F4A0D691BEFA0EB00059923 /* Podfile */,
7F4A0D6A1BEFE4F400059923 /* PreCache */,
7F4A0D4D1BEE481400059923 /* EVURLCache */,
7F4E25AB1C11A5C6009494A8 /* OSXcompileTest */,
7F4A0D4C1BEE481400059923 /* Products */,
5592D8A256F42507506CAD07 /* Pods */,
19413DFDF2B04B13ECBD1B5F /* Frameworks */,
Expand All @@ -91,6 +104,7 @@
isa = PBXGroup;
children = (
7F4A0D4B1BEE481400059923 /* EVURLCache.app */,
7F4E25AA1C11A5C6009494A8 /* OSXcompileTest.xctest */,
);
name = Products;
sourceTree = "<group>";
Expand All @@ -117,6 +131,15 @@
name = Pod;
sourceTree = "<group>";
};
7F4E25AB1C11A5C6009494A8 /* OSXcompileTest */ = {
isa = PBXGroup;
children = (
7F4E25AC1C11A5C6009494A8 /* OSXcompileTest.swift */,
7F4E25AE1C11A5C6009494A8 /* Info.plist */,
);
path = OSXcompileTest;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand All @@ -140,6 +163,23 @@
productReference = 7F4A0D4B1BEE481400059923 /* EVURLCache.app */;
productType = "com.apple.product-type.application";
};
7F4E25A91C11A5C6009494A8 /* OSXcompileTest */ = {
isa = PBXNativeTarget;
buildConfigurationList = 7F4E25B11C11A5C6009494A8 /* Build configuration list for PBXNativeTarget "OSXcompileTest" */;
buildPhases = (
7F4E25A61C11A5C6009494A8 /* Sources */,
7F4E25A71C11A5C6009494A8 /* Frameworks */,
7F4E25A81C11A5C6009494A8 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = OSXcompileTest;
productName = OSXcompileTest;
productReference = 7F4E25AA1C11A5C6009494A8 /* OSXcompileTest.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
Expand All @@ -153,6 +193,9 @@
7F4A0D4A1BEE481400059923 = {
CreatedOnToolsVersion = 7.1;
};
7F4E25A91C11A5C6009494A8 = {
CreatedOnToolsVersion = 7.1.1;
};
};
};
buildConfigurationList = 7F4A0D461BEE481400059923 /* Build configuration list for PBXProject "EVURLCache" */;
Expand All @@ -169,6 +212,7 @@
projectRoot = "";
targets = (
7F4A0D4A1BEE481400059923 /* EVURLCache */,
7F4E25A91C11A5C6009494A8 /* OSXcompileTest */,
);
};
/* End PBXProject section */
Expand All @@ -186,6 +230,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
7F4E25A81C11A5C6009494A8 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
Expand Down Expand Up @@ -247,6 +298,15 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
7F4E25A61C11A5C6009494A8 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
7F4E25AD1C11A5C6009494A8 /* OSXcompileTest.swift in Sources */,
7F4E25B21C11A5D0009494A8 /* EVURLCache.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
Expand Down Expand Up @@ -376,6 +436,34 @@
};
name = Release;
};
7F4E25AF1C11A5C6009494A8 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_IDENTITY = "-";
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = OSXcompileTest/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.11;
PRODUCT_BUNDLE_IDENTIFIER = nl.evict.OSXcompileTest;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
};
name = Debug;
};
7F4E25B01C11A5C6009494A8 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_IDENTITY = "-";
COMBINE_HIDPI_IMAGES = YES;
INFOPLIST_FILE = OSXcompileTest/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.11;
PRODUCT_BUNDLE_IDENTIFIER = nl.evict.OSXcompileTest;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = macosx;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
Expand All @@ -397,6 +485,14 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
7F4E25B11C11A5C6009494A8 /* Build configuration list for PBXNativeTarget "OSXcompileTest" */ = {
isa = XCConfigurationList;
buildConfigurations = (
7F4E25AF1C11A5C6009494A8 /* Debug */,
7F4E25B01C11A5C6009494A8 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = 7F4A0D431BEE481400059923 /* Project object */;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0710"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "7F4E25A91C11A5C6009494A8"
BuildableName = "OSXcompileTest.xctest"
BlueprintName = "OSXcompileTest"
ReferencedContainer = "container:EVURLCache.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "7F4E25A91C11A5C6009494A8"
BuildableName = "OSXcompileTest.xctest"
BlueprintName = "OSXcompileTest"
ReferencedContainer = "container:EVURLCache.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "7F4E25A91C11A5C6009494A8"
BuildableName = "OSXcompileTest.xctest"
BlueprintName = "OSXcompileTest"
ReferencedContainer = "container:EVURLCache.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "7F4E25A91C11A5C6009494A8"
BuildableName = "OSXcompileTest.xctest"
BlueprintName = "OSXcompileTest"
ReferencedContainer = "container:EVURLCache.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
1 change: 0 additions & 1 deletion EVURLCache/Pod/EVURLCache.swift
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ public class EVURLCache : NSURLCache {
return false
}
}

}


Expand Down
24 changes: 24 additions & 0 deletions OSXcompileTest/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>
35 changes: 35 additions & 0 deletions OSXcompileTest/OSXcompileTest.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
//
// OSXcompileTest.swift
// OSXcompileTest
//
// Created by Edwin Vermeer on 12/4/15.
// Copyright © 2015 evict. All rights reserved.
//

import XCTest

class OSXcompileTest: XCTestCase {

override func setUp() {
super.setUp()
// Put setup code here. This method is called before the invocation of each test method in the class.
}

override func tearDown() {
// Put teardown code here. This method is called after the invocation of each test method in the class.
super.tearDown()
}

func testExample() {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct results.
}

func testPerformanceExample() {
// This is an example of a performance test case.
self.measureBlock {
// Put the code you want to measure the time of here.
}
}

}

0 comments on commit fa41b14

Please sign in to comment.