diff --git a/.travis.yml b/.travis.yml index fffd125..9fa9b28 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,9 @@ language: objective-c -osx_image: xcode7 +osx_image: xcode8 script: - xctool -project SwiftGif.xcodeproj -scheme SwiftGif - -sdk iphonesimulator build test + -sdk iphonesimulator + -destination "platform=iOS Simulator,name=iPhone 6" build test CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY="" diff --git a/SwiftGif.xcodeproj/project.pbxproj b/SwiftGif.xcodeproj/project.pbxproj index 1044d42..a0567b7 100644 --- a/SwiftGif.xcodeproj/project.pbxproj +++ b/SwiftGif.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 46; + objectVersion = 48; objects = { /* Begin PBXBuildFile section */ @@ -17,6 +17,10 @@ 1419B38F194EFC11005DF6D0 /* GifTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1419B378194EFBE7005DF6D0 /* GifTests.swift */; }; 1419B390194EFC15005DF6D0 /* test.gif in Resources */ = {isa = PBXBuildFile; fileRef = 1419B379194EFBE7005DF6D0 /* test.gif */; }; 1482D73B194EFCF10038192B /* UIImage+Gif.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1419B37D194EFBFD005DF6D0 /* UIImage+Gif.swift */; }; + 14FF87DA1D6B7BAA00FB208A /* SwiftGif.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 14FF87D11D6B7BAA00FB208A /* SwiftGif.framework */; }; + 14FF87E31D6B7BAA00FB208A /* SwiftGif.h in Headers */ = {isa = PBXBuildFile; fileRef = 14FF87D31D6B7BAA00FB208A /* SwiftGif.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 14FF87E61D6B7BAA00FB208A /* SwiftGif.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 14FF87D11D6B7BAA00FB208A /* SwiftGif.framework */; }; + 14FF87E71D6B7BAA00FB208A /* SwiftGif.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 14FF87D11D6B7BAA00FB208A /* SwiftGif.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; FB57A0641CA41C2400065109 /* non_standard_gif.gif in Resources */ = {isa = PBXBuildFile; fileRef = FB57A0631CA41C2400065109 /* non_standard_gif.gif */; }; /* End PBXBuildFile section */ @@ -28,22 +32,61 @@ remoteGlobalIDString = 14A76437194EFBB800A74B1F; remoteInfo = SwiftGif; }; + 14FF87DB1D6B7BAA00FB208A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 14A76430194EFBB800A74B1F /* Project object */; + proxyType = 1; + remoteGlobalIDString = 14FF87D01D6B7BAA00FB208A; + remoteInfo = SwiftGif; + }; + 14FF87DD1D6B7BAA00FB208A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 14A76430194EFBB800A74B1F /* Project object */; + proxyType = 1; + remoteGlobalIDString = 14A76437194EFBB800A74B1F; + remoteInfo = SwiftGifDemo; + }; + 14FF87E41D6B7BAA00FB208A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 14A76430194EFBB800A74B1F /* Project object */; + proxyType = 1; + remoteGlobalIDString = 14FF87D01D6B7BAA00FB208A; + remoteInfo = SwiftGif; + }; /* End PBXContainerItemProxy section */ +/* Begin PBXCopyFilesBuildPhase section */ + 14FF87EB1D6B7BAA00FB208A /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 14FF87E71D6B7BAA00FB208A /* SwiftGif.framework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + /* Begin PBXFileReference section */ 12166BDB1C73A31800FC3CB5 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; }; 12166BDD1C73A52A00FC3CB5 /* DemoVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DemoVC.swift; sourceTree = ""; }; 1419B378194EFBE7005DF6D0 /* GifTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GifTests.swift; sourceTree = ""; }; 1419B379194EFBE7005DF6D0 /* test.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = test.gif; sourceTree = ""; }; - 1419B37D194EFBFD005DF6D0 /* UIImage+Gif.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIImage+Gif.swift"; sourceTree = ""; }; + 1419B37D194EFBFD005DF6D0 /* UIImage+Gif.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = "UIImage+Gif.swift"; path = "SwiftGifCommon/UIImage+Gif.swift"; sourceTree = SOURCE_ROOT; }; 1419B37F194EFBFD005DF6D0 /* adventure-time.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = "adventure-time.gif"; sourceTree = ""; }; 1419B380194EFBFD005DF6D0 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 1419B381194EFBFD005DF6D0 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 1419B382194EFBFD005DF6D0 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 1419B383194EFBFD005DF6D0 /* jeremy.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = jeremy.gif; sourceTree = ""; }; 1482D739194EFCE00038192B /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 14A76438194EFBB800A74B1F /* SwiftGif.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SwiftGif.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 14A76438194EFBB800A74B1F /* SwiftGifDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SwiftGifDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; 14A76445194EFBB800A74B1F /* SwiftGifTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SwiftGifTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 14FF87D11D6B7BAA00FB208A /* SwiftGif.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SwiftGif.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 14FF87D31D6B7BAA00FB208A /* SwiftGif.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SwiftGif.h; sourceTree = ""; }; + 14FF87D41D6B7BAA00FB208A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 14FF87D91D6B7BAA00FB208A /* SwiftGifTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SwiftGifTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; FB57A0631CA41C2400065109 /* non_standard_gif.gif */ = {isa = PBXFileReference; lastKnownFileType = image.gif; path = non_standard_gif.gif; sourceTree = ""; }; /* End PBXFileReference section */ @@ -52,6 +95,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 14FF87E61D6B7BAA00FB208A /* SwiftGif.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -62,6 +106,21 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 14FF87CD1D6B7BAA00FB208A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 14FF87D61D6B7BAA00FB208A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 14FF87DA1D6B7BAA00FB208A /* SwiftGif.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ @@ -75,14 +134,6 @@ path = SwiftGifTests; sourceTree = ""; }; - 1419B37C194EFBFD005DF6D0 /* SwiftGifCommon */ = { - isa = PBXGroup; - children = ( - 1419B37D194EFBFD005DF6D0 /* UIImage+Gif.swift */, - ); - path = SwiftGifCommon; - sourceTree = ""; - }; 1419B37E194EFBFD005DF6D0 /* SwiftGifDemo */ = { isa = PBXGroup; children = ( @@ -102,7 +153,7 @@ isa = PBXGroup; children = ( 1419B37E194EFBFD005DF6D0 /* SwiftGifDemo */, - 1419B37C194EFBFD005DF6D0 /* SwiftGifCommon */, + 14FF87D21D6B7BAA00FB208A /* SwiftGif */, 1419B377194EFBE7005DF6D0 /* SwiftGifTests */, 14A76439194EFBB800A74B1F /* Products */, ); @@ -111,30 +162,55 @@ 14A76439194EFBB800A74B1F /* Products */ = { isa = PBXGroup; children = ( - 14A76438194EFBB800A74B1F /* SwiftGif.app */, + 14A76438194EFBB800A74B1F /* SwiftGifDemo.app */, 14A76445194EFBB800A74B1F /* SwiftGifTests.xctest */, + 14FF87D11D6B7BAA00FB208A /* SwiftGif.framework */, + 14FF87D91D6B7BAA00FB208A /* SwiftGifTests.xctest */, ); name = Products; sourceTree = ""; }; + 14FF87D21D6B7BAA00FB208A /* SwiftGif */ = { + isa = PBXGroup; + children = ( + 14FF87D31D6B7BAA00FB208A /* SwiftGif.h */, + 1419B37D194EFBFD005DF6D0 /* UIImage+Gif.swift */, + 14FF87D41D6B7BAA00FB208A /* Info.plist */, + ); + path = SwiftGif; + sourceTree = ""; + }; /* End PBXGroup section */ +/* Begin PBXHeadersBuildPhase section */ + 14FF87CE1D6B7BAA00FB208A /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 14FF87E31D6B7BAA00FB208A /* SwiftGif.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + /* Begin PBXNativeTarget section */ - 14A76437194EFBB800A74B1F /* SwiftGif */ = { + 14A76437194EFBB800A74B1F /* SwiftGifDemo */ = { isa = PBXNativeTarget; - buildConfigurationList = 14A7644F194EFBB800A74B1F /* Build configuration list for PBXNativeTarget "SwiftGif" */; + buildConfigurationList = 14A7644F194EFBB800A74B1F /* Build configuration list for PBXNativeTarget "SwiftGifDemo" */; buildPhases = ( 14A76434194EFBB800A74B1F /* Sources */, 14A76435194EFBB800A74B1F /* Frameworks */, 14A76436194EFBB800A74B1F /* Resources */, + 14FF87EB1D6B7BAA00FB208A /* Embed Frameworks */, ); buildRules = ( ); dependencies = ( + 14FF87E51D6B7BAA00FB208A /* PBXTargetDependency */, ); - name = SwiftGif; + name = SwiftGifDemo; productName = SwiftGif; - productReference = 14A76438194EFBB800A74B1F /* SwiftGif.app */; + productReference = 14A76438194EFBB800A74B1F /* SwiftGifDemo.app */; productType = "com.apple.product-type.application"; }; 14A76444194EFBB800A74B1F /* SwiftGifTests */ = { @@ -155,13 +231,50 @@ productReference = 14A76445194EFBB800A74B1F /* SwiftGifTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; + 14FF87D01D6B7BAA00FB208A /* SwiftGif */ = { + isa = PBXNativeTarget; + buildConfigurationList = 14FF87E81D6B7BAA00FB208A /* Build configuration list for PBXNativeTarget "SwiftGif" */; + buildPhases = ( + 14FF87CC1D6B7BAA00FB208A /* Sources */, + 14FF87CD1D6B7BAA00FB208A /* Frameworks */, + 14FF87CE1D6B7BAA00FB208A /* Headers */, + 14FF87CF1D6B7BAA00FB208A /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = SwiftGif; + productName = SwiftGif; + productReference = 14FF87D11D6B7BAA00FB208A /* SwiftGif.framework */; + productType = "com.apple.product-type.framework"; + }; + 14FF87D81D6B7BAA00FB208A /* SwiftGifTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 14FF87EC1D6B7BAA00FB208A /* Build configuration list for PBXNativeTarget "SwiftGifTests" */; + buildPhases = ( + 14FF87D51D6B7BAA00FB208A /* Sources */, + 14FF87D61D6B7BAA00FB208A /* Frameworks */, + 14FF87D71D6B7BAA00FB208A /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 14FF87DC1D6B7BAA00FB208A /* PBXTargetDependency */, + 14FF87DE1D6B7BAA00FB208A /* PBXTargetDependency */, + ); + name = SwiftGifTests; + productName = SwiftGifTests; + productReference = 14FF87D91D6B7BAA00FB208A /* SwiftGifTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ 14A76430194EFBB800A74B1F /* Project object */ = { isa = PBXProject; attributes = { - LastSwiftUpdateCheck = 0700; + LastSwiftUpdateCheck = 0800; LastUpgradeCheck = 0800; ORGANIZATIONNAME = "Arne Bahlo"; TargetAttributes = { @@ -174,10 +287,19 @@ LastSwiftMigration = 0800; TestTargetID = 14A76437194EFBB800A74B1F; }; + 14FF87D01D6B7BAA00FB208A = { + CreatedOnToolsVersion = 8.0; + ProvisioningStyle = Automatic; + }; + 14FF87D81D6B7BAA00FB208A = { + CreatedOnToolsVersion = 8.0; + ProvisioningStyle = Automatic; + TestTargetID = 14A76437194EFBB800A74B1F; + }; }; }; buildConfigurationList = 14A76433194EFBB800A74B1F /* Build configuration list for PBXProject "SwiftGif" */; - compatibilityVersion = "Xcode 3.2"; + compatibilityVersion = "Xcode 8.0"; developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( @@ -188,8 +310,10 @@ projectDirPath = ""; projectRoot = ""; targets = ( - 14A76437194EFBB800A74B1F /* SwiftGif */, + 14A76437194EFBB800A74B1F /* SwiftGifDemo */, 14A76444194EFBB800A74B1F /* SwiftGifTests */, + 14FF87D01D6B7BAA00FB208A /* SwiftGif */, + 14FF87D81D6B7BAA00FB208A /* SwiftGifTests */, ); }; /* End PBXProject section */ @@ -215,6 +339,20 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 14FF87CF1D6B7BAA00FB208A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 14FF87D71D6B7BAA00FB208A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -237,14 +375,43 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 14FF87CC1D6B7BAA00FB208A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 14FF87D51D6B7BAA00FB208A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ 14A76447194EFBB800A74B1F /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = 14A76437194EFBB800A74B1F /* SwiftGif */; + target = 14A76437194EFBB800A74B1F /* SwiftGifDemo */; targetProxy = 14A76446194EFBB800A74B1F /* PBXContainerItemProxy */; }; + 14FF87DC1D6B7BAA00FB208A /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 14FF87D01D6B7BAA00FB208A /* SwiftGif */; + targetProxy = 14FF87DB1D6B7BAA00FB208A /* PBXContainerItemProxy */; + }; + 14FF87DE1D6B7BAA00FB208A /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 14A76437194EFBB800A74B1F /* SwiftGifDemo */; + targetProxy = 14FF87DD1D6B7BAA00FB208A /* PBXContainerItemProxy */; + }; + 14FF87E51D6B7BAA00FB208A /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 14FF87D01D6B7BAA00FB208A /* SwiftGif */; + targetProxy = 14FF87E41D6B7BAA00FB208A /* PBXContainerItemProxy */; + }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ @@ -338,9 +505,10 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + DEVELOPMENT_TEAM = AK9NEP7BV6; INFOPLIST_FILE = "$(SRCROOT)/SwiftGifDemo/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "me.arne.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_BUNDLE_IDENTIFIER = me.arne.SwiftGifDemo; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 3.0; }; @@ -351,9 +519,10 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + DEVELOPMENT_TEAM = AK9NEP7BV6; INFOPLIST_FILE = "$(SRCROOT)/SwiftGifDemo/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "me.arne.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_BUNDLE_IDENTIFIER = me.arne.SwiftGifDemo; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 3.0; }; @@ -393,6 +562,108 @@ }; name = Release; }; + 14FF87E91D6B7BAA00FB208A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + CODE_SIGN_IDENTITY = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = AK9NEP7BV6; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = SwiftGif/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_BUNDLE_IDENTIFIER = me.arne.SwiftGif; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_VERSION = 3.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 14FF87EA1D6B7BAA00FB208A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + CODE_SIGN_IDENTITY = ""; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = AK9NEP7BV6; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = SwiftGif/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_BUNDLE_IDENTIFIER = me.arne.SwiftGif; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + SWIFT_VERSION = 3.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 14FF87ED1D6B7BAA00FB208A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = AK9NEP7BV6; + INFOPLIST_FILE = SwiftGifTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_BUNDLE_IDENTIFIER = me.arne.SwiftGifTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_VERSION = 3.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwiftGifDemo.app/SwiftGifDemo"; + }; + name = Debug; + }; + 14FF87EE1D6B7BAA00FB208A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_SUSPICIOUS_MOVES = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_TEAM = AK9NEP7BV6; + INFOPLIST_FILE = SwiftGifTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 10.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_BUNDLE_IDENTIFIER = me.arne.SwiftGifTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwiftGifDemo.app/SwiftGifDemo"; + }; + name = Release; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -405,7 +676,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 14A7644F194EFBB800A74B1F /* Build configuration list for PBXNativeTarget "SwiftGif" */ = { + 14A7644F194EFBB800A74B1F /* Build configuration list for PBXNativeTarget "SwiftGifDemo" */ = { isa = XCConfigurationList; buildConfigurations = ( 14A76450194EFBB800A74B1F /* Debug */, @@ -423,6 +694,22 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 14FF87E81D6B7BAA00FB208A /* Build configuration list for PBXNativeTarget "SwiftGif" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 14FF87E91D6B7BAA00FB208A /* Debug */, + 14FF87EA1D6B7BAA00FB208A /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + 14FF87EC1D6B7BAA00FB208A /* Build configuration list for PBXNativeTarget "SwiftGifTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 14FF87ED1D6B7BAA00FB208A /* Debug */, + 14FF87EE1D6B7BAA00FB208A /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; /* End XCConfigurationList section */ }; rootObject = 14A76430194EFBB800A74B1F /* Project object */; diff --git a/SwiftGif.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/SwiftGif.xcodeproj/project.xcworkspace/contents.xcworkspacedata index 0aca8c2..1a92909 100644 --- a/SwiftGif.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/SwiftGif.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -2,6 +2,6 @@ + location = "self:/Users/arne/Developer/GitHub/SwiftGif/SwiftGif.xcodeproj"> diff --git a/SwiftGif.xcodeproj/xcshareddata/xcschemes/SwiftGif.xcscheme b/SwiftGif.xcodeproj/xcshareddata/xcschemes/SwiftGif.xcscheme index b5f50ea..dc057de 100644 --- a/SwiftGif.xcodeproj/xcshareddata/xcschemes/SwiftGif.xcscheme +++ b/SwiftGif.xcodeproj/xcshareddata/xcschemes/SwiftGif.xcscheme @@ -14,8 +14,8 @@ buildForAnalyzing = "YES"> @@ -28,26 +28,7 @@ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" shouldUseLaunchSchemeArgsEnv = "YES"> - - - - - - - - @@ -61,16 +42,15 @@ debugDocumentVersioning = "YES" debugServiceExtension = "internal" allowLocationSimulation = "YES"> - + - + @@ -80,16 +60,15 @@ savedToolIdentifier = "" useCustomWorkingDirectory = "NO" debugDocumentVersioning = "YES"> - + - + diff --git a/SwiftGif.xcodeproj/xcshareddata/xcschemes/SwiftGifDemo.xcscheme b/SwiftGif.xcodeproj/xcshareddata/xcschemes/SwiftGifDemo.xcscheme new file mode 100644 index 0000000..44be527 --- /dev/null +++ b/SwiftGif.xcodeproj/xcshareddata/xcschemes/SwiftGifDemo.xcscheme @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SwiftGif.xcodeproj/xcuserdata/arne.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/SwiftGif.xcodeproj/xcuserdata/arne.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist deleted file mode 100644 index fe2b454..0000000 --- a/SwiftGif.xcodeproj/xcuserdata/arne.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/SwiftGif.xcodeproj/xcuserdata/arne.xcuserdatad/xcschemes/xcschememanagement.plist b/SwiftGif.xcodeproj/xcuserdata/arne.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index 6f1d200..0000000 --- a/SwiftGif.xcodeproj/xcuserdata/arne.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,27 +0,0 @@ - - - - - SchemeUserState - - SwiftGif.xcscheme_^#shared#^_ - - orderHint - 0 - - - SuppressBuildableAutocreation - - 14A76437194EFBB800A74B1F - - primary - - - 14A76444194EFBB800A74B1F - - primary - - - - - diff --git a/SwiftGif/Info.plist b/SwiftGif/Info.plist new file mode 100644 index 0000000..fbe1e6b --- /dev/null +++ b/SwiftGif/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/SwiftGif/SwiftGif.h b/SwiftGif/SwiftGif.h new file mode 100644 index 0000000..b17f27f --- /dev/null +++ b/SwiftGif/SwiftGif.h @@ -0,0 +1,19 @@ +// +// SwiftGif.h +// SwiftGif +// +// Created by Arne Bahlo on 22.08.16. +// Copyright © 2016 Arne Bahlo. All rights reserved. +// + +#import + +//! Project version number for SwiftGif. +FOUNDATION_EXPORT double SwiftGifVersionNumber; + +//! Project version string for SwiftGif. +FOUNDATION_EXPORT const unsigned char SwiftGifVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/SwiftGifDemo/Images.xcassets/AppIcon.appiconset/Contents.json b/SwiftGifDemo/Images.xcassets/AppIcon.appiconset/Contents.json index 118c98f..b8236c6 100644 --- a/SwiftGifDemo/Images.xcassets/AppIcon.appiconset/Contents.json +++ b/SwiftGifDemo/Images.xcassets/AppIcon.appiconset/Contents.json @@ -1,5 +1,15 @@ { "images" : [ + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "3x" + }, { "idiom" : "iphone", "size" : "29x29", diff --git a/SwiftGifDemo/Info.plist b/SwiftGifDemo/Info.plist index e3286e1..24a5163 100644 --- a/SwiftGifDemo/Info.plist +++ b/SwiftGifDemo/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.5.3 + 1.6 CFBundleSignature ???? CFBundleVersion diff --git a/SwiftGifTests/Info.plist b/SwiftGifTests/Info.plist index 6d32c15..6c6c23c 100644 --- a/SwiftGifTests/Info.plist +++ b/SwiftGifTests/Info.plist @@ -5,19 +5,17 @@ CFBundleDevelopmentRegion en CFBundleExecutable - ${EXECUTABLE_NAME} + $(EXECUTABLE_NAME) CFBundleIdentifier $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName - ${PRODUCT_NAME} + $(PRODUCT_NAME) CFBundlePackageType BNDL CFBundleShortVersionString 1.0 - CFBundleSignature - ???? CFBundleVersion 1