From 64087d227bf5fbd1c4c39199ab77f591e6182897 Mon Sep 17 00:00:00 2001 From: Vignesh Kumar Date: Mon, 30 Jan 2017 20:28:11 +0530 Subject: [PATCH] Add target for mac OS. --- SwiftLoggly.podspec | 2 +- SwiftLoggly.xcodeproj/project.pbxproj | 267 +++++++++++++++++- SwiftLogglyOSX/Info.plist | 26 ++ SwiftLogglyOSX/SwiftLogglyOSX.h | 19 ++ SwiftLogglyOSXTests/Info.plist | 22 ++ SwiftLogglyOSXTests/SwiftLogglyOSXTests.swift | 36 +++ 6 files changed, 369 insertions(+), 3 deletions(-) create mode 100644 SwiftLogglyOSX/Info.plist create mode 100644 SwiftLogglyOSX/SwiftLogglyOSX.h create mode 100644 SwiftLogglyOSXTests/Info.plist create mode 100644 SwiftLogglyOSXTests/SwiftLogglyOSXTests.swift diff --git a/SwiftLoggly.podspec b/SwiftLoggly.podspec index 0e65450..32178bd 100644 --- a/SwiftLoggly.podspec +++ b/SwiftLoggly.podspec @@ -16,7 +16,7 @@ Pod::Spec.new do |s| # s.name = "SwiftLoggly" - s.version = "0.5.8" + s.version = "0.5.9" s.summary = "Simple way to logging with rich feature framework in Swift." # This description is used to generate tags and improve search results. diff --git a/SwiftLoggly.xcodeproj/project.pbxproj b/SwiftLoggly.xcodeproj/project.pbxproj index 3ea4cf1..aa580b9 100644 --- a/SwiftLoggly.xcodeproj/project.pbxproj +++ b/SwiftLoggly.xcodeproj/project.pbxproj @@ -11,6 +11,9 @@ 0B3B6C0C1E3F6222003AE9C4 /* SwiftLogglyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B3B6C0B1E3F6222003AE9C4 /* SwiftLogglyTests.swift */; }; 0B3B6C0E1E3F6222003AE9C4 /* SwiftLoggly.h in Headers */ = {isa = PBXBuildFile; fileRef = 0B3B6C001E3F6221003AE9C4 /* SwiftLoggly.h */; settings = {ATTRIBUTES = (Public, ); }; }; 0B3B6C181E3F627A003AE9C4 /* Loggly.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B3B6C171E3F627A003AE9C4 /* Loggly.swift */; }; + 0B3B6C8B1E3F8B48003AE9C4 /* SwiftLogglyOSX.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0B3B6C821E3F8B47003AE9C4 /* SwiftLogglyOSX.framework */; }; + 0B3B6C901E3F8B48003AE9C4 /* SwiftLogglyOSXTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B3B6C8F1E3F8B48003AE9C4 /* SwiftLogglyOSXTests.swift */; }; + 0B3B6C921E3F8B48003AE9C4 /* SwiftLogglyOSX.h in Headers */ = {isa = PBXBuildFile; fileRef = 0B3B6C841E3F8B47003AE9C4 /* SwiftLogglyOSX.h */; settings = {ATTRIBUTES = (Public, ); }; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -21,6 +24,13 @@ remoteGlobalIDString = 0B3B6BFC1E3F6221003AE9C4; remoteInfo = SwiftLoggly; }; + 0B3B6C8C1E3F8B48003AE9C4 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 0B3B6BF41E3F6221003AE9C4 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0B3B6C811E3F8B47003AE9C4; + remoteInfo = SwiftLogglyOSX; + }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ @@ -31,6 +41,12 @@ 0B3B6C0B1E3F6222003AE9C4 /* SwiftLogglyTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwiftLogglyTests.swift; sourceTree = ""; }; 0B3B6C0D1E3F6222003AE9C4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 0B3B6C171E3F627A003AE9C4 /* Loggly.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Loggly.swift; sourceTree = ""; }; + 0B3B6C821E3F8B47003AE9C4 /* SwiftLogglyOSX.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SwiftLogglyOSX.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 0B3B6C841E3F8B47003AE9C4 /* SwiftLogglyOSX.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SwiftLogglyOSX.h; sourceTree = ""; }; + 0B3B6C851E3F8B47003AE9C4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 0B3B6C8A1E3F8B48003AE9C4 /* SwiftLogglyOSXTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SwiftLogglyOSXTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 0B3B6C8F1E3F8B48003AE9C4 /* SwiftLogglyOSXTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwiftLogglyOSXTests.swift; sourceTree = ""; }; + 0B3B6C911E3F8B48003AE9C4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -49,6 +65,21 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 0B3B6C7E1E3F8B47003AE9C4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 0B3B6C871E3F8B48003AE9C4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 0B3B6C8B1E3F8B48003AE9C4 /* SwiftLogglyOSX.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ @@ -57,6 +88,8 @@ children = ( 0B3B6BFF1E3F6221003AE9C4 /* SwiftLoggly */, 0B3B6C0A1E3F6222003AE9C4 /* SwiftLogglyTests */, + 0B3B6C831E3F8B47003AE9C4 /* SwiftLogglyOSX */, + 0B3B6C8E1E3F8B48003AE9C4 /* SwiftLogglyOSXTests */, 0B3B6BFE1E3F6221003AE9C4 /* Products */, ); sourceTree = ""; @@ -66,6 +99,8 @@ children = ( 0B3B6BFD1E3F6221003AE9C4 /* SwiftLoggly.framework */, 0B3B6C061E3F6222003AE9C4 /* SwiftLogglyTests.xctest */, + 0B3B6C821E3F8B47003AE9C4 /* SwiftLogglyOSX.framework */, + 0B3B6C8A1E3F8B48003AE9C4 /* SwiftLogglyOSXTests.xctest */, ); name = Products; sourceTree = ""; @@ -89,6 +124,24 @@ path = SwiftLogglyTests; sourceTree = ""; }; + 0B3B6C831E3F8B47003AE9C4 /* SwiftLogglyOSX */ = { + isa = PBXGroup; + children = ( + 0B3B6C841E3F8B47003AE9C4 /* SwiftLogglyOSX.h */, + 0B3B6C851E3F8B47003AE9C4 /* Info.plist */, + ); + path = SwiftLogglyOSX; + sourceTree = ""; + }; + 0B3B6C8E1E3F8B48003AE9C4 /* SwiftLogglyOSXTests */ = { + isa = PBXGroup; + children = ( + 0B3B6C8F1E3F8B48003AE9C4 /* SwiftLogglyOSXTests.swift */, + 0B3B6C911E3F8B48003AE9C4 /* Info.plist */, + ); + path = SwiftLogglyOSXTests; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ @@ -100,6 +153,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 0B3B6C7F1E3F8B47003AE9C4 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 0B3B6C921E3F8B48003AE9C4 /* SwiftLogglyOSX.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ @@ -139,6 +200,42 @@ productReference = 0B3B6C061E3F6222003AE9C4 /* SwiftLogglyTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; + 0B3B6C811E3F8B47003AE9C4 /* SwiftLogglyOSX */ = { + isa = PBXNativeTarget; + buildConfigurationList = 0B3B6C931E3F8B48003AE9C4 /* Build configuration list for PBXNativeTarget "SwiftLogglyOSX" */; + buildPhases = ( + 0B3B6C7D1E3F8B47003AE9C4 /* Sources */, + 0B3B6C7E1E3F8B47003AE9C4 /* Frameworks */, + 0B3B6C7F1E3F8B47003AE9C4 /* Headers */, + 0B3B6C801E3F8B47003AE9C4 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = SwiftLogglyOSX; + productName = SwiftLogglyOSX; + productReference = 0B3B6C821E3F8B47003AE9C4 /* SwiftLogglyOSX.framework */; + productType = "com.apple.product-type.framework"; + }; + 0B3B6C891E3F8B48003AE9C4 /* SwiftLogglyOSXTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 0B3B6C961E3F8B48003AE9C4 /* Build configuration list for PBXNativeTarget "SwiftLogglyOSXTests" */; + buildPhases = ( + 0B3B6C861E3F8B48003AE9C4 /* Sources */, + 0B3B6C871E3F8B48003AE9C4 /* Frameworks */, + 0B3B6C881E3F8B48003AE9C4 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 0B3B6C8D1E3F8B48003AE9C4 /* PBXTargetDependency */, + ); + name = SwiftLogglyOSXTests; + productName = SwiftLogglyOSXTests; + productReference = 0B3B6C8A1E3F8B48003AE9C4 /* SwiftLogglyOSXTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -161,6 +258,16 @@ LastSwiftMigration = 0810; ProvisioningStyle = Automatic; }; + 0B3B6C811E3F8B47003AE9C4 = { + CreatedOnToolsVersion = 8.1; + DevelopmentTeam = 7FUQA46NH7; + ProvisioningStyle = Automatic; + }; + 0B3B6C891E3F8B48003AE9C4 = { + CreatedOnToolsVersion = 8.1; + DevelopmentTeam = 7FUQA46NH7; + ProvisioningStyle = Automatic; + }; }; }; buildConfigurationList = 0B3B6BF71E3F6221003AE9C4 /* Build configuration list for PBXProject "SwiftLoggly" */; @@ -177,6 +284,8 @@ targets = ( 0B3B6BFC1E3F6221003AE9C4 /* SwiftLoggly */, 0B3B6C051E3F6222003AE9C4 /* SwiftLogglyTests */, + 0B3B6C811E3F8B47003AE9C4 /* SwiftLogglyOSX */, + 0B3B6C891E3F8B48003AE9C4 /* SwiftLogglyOSXTests */, ); }; /* End PBXProject section */ @@ -196,6 +305,20 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 0B3B6C801E3F8B47003AE9C4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 0B3B6C881E3F8B48003AE9C4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -215,6 +338,21 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 0B3B6C7D1E3F8B47003AE9C4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 0B3B6C861E3F8B48003AE9C4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 0B3B6C901E3F8B48003AE9C4 /* SwiftLogglyOSXTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ @@ -223,6 +361,11 @@ target = 0B3B6BFC1E3F6221003AE9C4 /* SwiftLoggly */; targetProxy = 0B3B6C081E3F6222003AE9C4 /* PBXContainerItemProxy */; }; + 0B3B6C8D1E3F8B48003AE9C4 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0B3B6C811E3F8B47003AE9C4 /* SwiftLogglyOSX */; + targetProxy = 0B3B6C8C1E3F8B48003AE9C4 /* PBXContainerItemProxy */; + }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ @@ -271,9 +414,11 @@ MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; + SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; TARGETED_DEVICE_FAMILY = "1,2"; + VALID_ARCHS = "arm64 armv7 armv7s i386 x86_64"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; @@ -317,9 +462,11 @@ IPHONEOS_DEPLOYMENT_TARGET = 8.1; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; + SUPPORTED_PLATFORMS = "macosx iphonesimulator iphoneos"; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; + VALID_ARCHS = "arm64 armv7 armv7s i386 x86_64"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; @@ -336,6 +483,7 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_SEARCH_PATHS = ""; INFOPLIST_FILE = SwiftLoggly/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; @@ -343,8 +491,10 @@ PRODUCT_BUNDLE_IDENTIFIER = com.vigneshuvi.SwiftLoggly; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; + SUPPORTED_PLATFORMS = "iphonesimulator iphoneos"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 3.0; + VALID_ARCHS = "arm64 armv7 armv7s"; }; name = Debug; }; @@ -359,6 +509,7 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_SEARCH_PATHS = ""; INFOPLIST_FILE = SwiftLoggly/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; @@ -366,7 +517,9 @@ PRODUCT_BUNDLE_IDENTIFIER = com.vigneshuvi.SwiftLoggly; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; + SUPPORTED_PLATFORMS = "iphonesimulator iphoneos"; SWIFT_VERSION = 3.0; + VALID_ARCHS = "arm64 armv7 armv7s"; }; name = Release; }; @@ -375,11 +528,17 @@ buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; DEVELOPMENT_TEAM = 7FUQA46NH7; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)", + "$(inherited)", + ); INFOPLIST_FILE = SwiftLogglyTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks @executable_path/../Frameworks @loader_path/../Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.vigneshuvi.SwiftLogglyTests; PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = macosx; SWIFT_VERSION = 3.0; + VALID_ARCHS = "arm64 armv7 armv7s"; }; name = Debug; }; @@ -388,10 +547,98 @@ buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; DEVELOPMENT_TEAM = 7FUQA46NH7; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)", + "$(inherited)", + ); INFOPLIST_FILE = SwiftLogglyTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks @executable_path/../Frameworks @loader_path/../Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.vigneshuvi.SwiftLogglyTests; PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = macosx; + SWIFT_VERSION = 3.0; + VALID_ARCHS = "arm64 armv7 armv7s"; + }; + name = Release; + }; + 0B3B6C941E3F8B48003AE9C4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = "-"; + COMBINE_HIDPI_IMAGES = YES; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = 7FUQA46NH7; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_VERSION = A; + INFOPLIST_FILE = SwiftLogglyOSX/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.11; + PRODUCT_BUNDLE_IDENTIFIER = com.vigneshuvi.SwiftLogglyOSX; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx; + SKIP_INSTALL = YES; + SUPPORTED_PLATFORMS = macosx; + SWIFT_VERSION = 3.0; + VALID_ARCHS = "i386 x86_64"; + }; + name = Debug; + }; + 0B3B6C951E3F8B48003AE9C4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = "-"; + COMBINE_HIDPI_IMAGES = YES; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = 7FUQA46NH7; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_VERSION = A; + INFOPLIST_FILE = SwiftLogglyOSX/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.11; + PRODUCT_BUNDLE_IDENTIFIER = com.vigneshuvi.SwiftLogglyOSX; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx; + SKIP_INSTALL = YES; + SUPPORTED_PLATFORMS = macosx; + SWIFT_VERSION = 3.0; + VALID_ARCHS = "i386 x86_64"; + }; + name = Release; + }; + 0B3B6C971E3F8B48003AE9C4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = "-"; + COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = 7FUQA46NH7; + INFOPLIST_FILE = SwiftLogglyOSXTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.11; + PRODUCT_BUNDLE_IDENTIFIER = com.vigneshuvi.SwiftLogglyOSXTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx; + SWIFT_VERSION = 3.0; + }; + name = Debug; + }; + 0B3B6C981E3F8B48003AE9C4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = "-"; + COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = 7FUQA46NH7; + INFOPLIST_FILE = SwiftLogglyOSXTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.11; + PRODUCT_BUNDLE_IDENTIFIER = com.vigneshuvi.SwiftLogglyOSXTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx; SWIFT_VERSION = 3.0; }; name = Release; @@ -426,6 +673,22 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 0B3B6C931E3F8B48003AE9C4 /* Build configuration list for PBXNativeTarget "SwiftLogglyOSX" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 0B3B6C941E3F8B48003AE9C4 /* Debug */, + 0B3B6C951E3F8B48003AE9C4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + 0B3B6C961E3F8B48003AE9C4 /* Build configuration list for PBXNativeTarget "SwiftLogglyOSXTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 0B3B6C971E3F8B48003AE9C4 /* Debug */, + 0B3B6C981E3F8B48003AE9C4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; /* End XCConfigurationList section */ }; rootObject = 0B3B6BF41E3F6221003AE9C4 /* Project object */; diff --git a/SwiftLogglyOSX/Info.plist b/SwiftLogglyOSX/Info.plist new file mode 100644 index 0000000..12dfce0 --- /dev/null +++ b/SwiftLogglyOSX/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSHumanReadableCopyright + Copyright © 2017 vigneshuvi. All rights reserved. + NSPrincipalClass + + + diff --git a/SwiftLogglyOSX/SwiftLogglyOSX.h b/SwiftLogglyOSX/SwiftLogglyOSX.h new file mode 100644 index 0000000..407464a --- /dev/null +++ b/SwiftLogglyOSX/SwiftLogglyOSX.h @@ -0,0 +1,19 @@ +// +// SwiftLogglyOSX.h +// SwiftLogglyOSX +// +// Created by qbuser on 30/01/17. +// Copyright © 2017 vigneshuvi. All rights reserved. +// + +#import + +//! Project version number for SwiftLogglyOSX. +FOUNDATION_EXPORT double SwiftLogglyOSXVersionNumber; + +//! Project version string for SwiftLogglyOSX. +FOUNDATION_EXPORT const unsigned char SwiftLogglyOSXVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/SwiftLogglyOSXTests/Info.plist b/SwiftLogglyOSXTests/Info.plist new file mode 100644 index 0000000..6c6c23c --- /dev/null +++ b/SwiftLogglyOSXTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/SwiftLogglyOSXTests/SwiftLogglyOSXTests.swift b/SwiftLogglyOSXTests/SwiftLogglyOSXTests.swift new file mode 100644 index 0000000..aa06c73 --- /dev/null +++ b/SwiftLogglyOSXTests/SwiftLogglyOSXTests.swift @@ -0,0 +1,36 @@ +// +// SwiftLogglyOSXTests.swift +// SwiftLogglyOSXTests +// +// Created by qbuser on 30/01/17. +// Copyright © 2017 vigneshuvi. All rights reserved. +// + +import XCTest +@testable import SwiftLogglyOSX + +class SwiftLogglyOSXTests: 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.measure { + // Put the code you want to measure the time of here. + } + } + +}