diff --git a/AssetResizer.xcodeproj/project.pbxproj b/AssetResizer.xcodeproj/project.pbxproj index 007b494..dd326f2 100644 --- a/AssetResizer.xcodeproj/project.pbxproj +++ b/AssetResizer.xcodeproj/project.pbxproj @@ -7,22 +7,21 @@ objects = { /* Begin PBXBuildFile section */ - F757D81B220FC3560060A62E /* AppIconSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = F757D817220FC3560060A62E /* AppIconSet.swift */; }; - F757D81C220FC3560060A62E /* NSImage+Saving.swift in Sources */ = {isa = PBXBuildFile; fileRef = F757D818220FC3560060A62E /* NSImage+Saving.swift */; }; - F757D81D220FC3560060A62E /* ResizedImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = F757D819220FC3560060A62E /* ResizedImage.swift */; }; - F757D81E220FC3560060A62E /* NSImage+Resizing.swift in Sources */ = {isa = PBXBuildFile; fileRef = F757D81A220FC3560060A62E /* NSImage+Resizing.swift */; }; - F757D833220FC36B0060A62E /* sample-red-app-icon.png in Resources */ = {isa = PBXBuildFile; fileRef = F757D826220FC36B0060A62E /* sample-red-app-icon.png */; }; - F757D834220FC36B0060A62E /* sample-blue-app-icon.png in Resources */ = {isa = PBXBuildFile; fileRef = F757D827220FC36B0060A62E /* sample-blue-app-icon.png */; }; - F757D835220FC36B0060A62E /* SampleAppIcon.appiconset.zip in Resources */ = {isa = PBXBuildFile; fileRef = F757D828220FC36B0060A62E /* SampleAppIcon.appiconset.zip */; }; - F757D838220FC36B0060A62E /* XCTestManifests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F757D82B220FC36B0060A62E /* XCTestManifests.swift */; }; - F757D83D220FC4560060A62E /* AppIconSetTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F757D82C220FC36B0060A62E /* AppIconSetTests.swift */; }; - F757D83E220FC4560060A62E /* AssetResizerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F757D82D220FC36B0060A62E /* AssetResizerTests.swift */; }; - F757D83F220FC4560060A62E /* ResizedImageTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F757D82E220FC36B0060A62E /* ResizedImageTests.swift */; }; - F757D840220FC4560060A62E /* SizeDescriptionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F757D82A220FC36B0060A62E /* SizeDescriptionTests.swift */; }; - F757D841220FC4560060A62E /* URL+TempFolder.swift in Sources */ = {isa = PBXBuildFile; fileRef = F757D821220FC36B0060A62E /* URL+TempFolder.swift */; }; - F757D842220FC4560060A62E /* TestData.swift in Sources */ = {isa = PBXBuildFile; fileRef = F757D822220FC36B0060A62E /* TestData.swift */; }; - F757D843220FC4560060A62E /* Bundle+Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F757D823220FC36B0060A62E /* Bundle+Tests.swift */; }; + F7363ED61EE531DD005BA675 /* ResizedImageTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7363ED51EE531DD005BA675 /* ResizedImageTests.swift */; }; + F7678EF61EE550A60089FAF7 /* SizeDescriptionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7678EF51EE550A60089FAF7 /* SizeDescriptionTests.swift */; }; + F7678EFB1EE558160089FAF7 /* SampleAppIcon.appiconset.zip in Resources */ = {isa = PBXBuildFile; fileRef = F7678EFA1EE558160089FAF7 /* SampleAppIcon.appiconset.zip */; }; + F7678EFD1EE5717A0089FAF7 /* URL+TempFolder.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7678EFC1EE5717A0089FAF7 /* URL+TempFolder.swift */; }; F79678ED1EDFD14600AC0948 /* AssetResizer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F79678E31EDFD14600AC0948 /* AssetResizer.framework */; }; + F79679001EDFD6A600AC0948 /* AssetResizerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F79678FF1EDFD6A600AC0948 /* AssetResizerTests.swift */; }; + F7F0E33F1EDFE9D500E09A9A /* NSImage+Resizing.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7F0E33E1EDFE9D500E09A9A /* NSImage+Resizing.swift */; }; + F7F0E3421EE0011C00E09A9A /* NSImage+Saving.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7F0E3411EE0011C00E09A9A /* NSImage+Saving.swift */; }; + F7F0E34F1EE0388300E09A9A /* sample-blue-app-icon.png in Resources */ = {isa = PBXBuildFile; fileRef = F7F0E34D1EE0388300E09A9A /* sample-blue-app-icon.png */; }; + F7F0E3501EE0388300E09A9A /* sample-red-app-icon.png in Resources */ = {isa = PBXBuildFile; fileRef = F7F0E34E1EE0388300E09A9A /* sample-red-app-icon.png */; }; + F7F0E3531EE0390500E09A9A /* Bundle+Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7F0E3521EE0390500E09A9A /* Bundle+Tests.swift */; }; + F7F0E3551EE0390E00E09A9A /* TestData.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7F0E3541EE0390E00E09A9A /* TestData.swift */; }; + F7F0E3571EE0462800E09A9A /* ResizedImage.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7F0E3561EE0462800E09A9A /* ResizedImage.swift */; }; + F7F0E3591EE14C0B00E09A9A /* AppIconSet.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7F0E3581EE14C0B00E09A9A /* AppIconSet.swift */; }; + F7F0E35B1EE153EB00E09A9A /* AppIconSetTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7F0E35A1EE153EB00E09A9A /* AppIconSetTests.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -39,25 +38,24 @@ F70398691EE6D347003F2AD6 /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; F703986A1EE6D347003F2AD6 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; F703986C1EE6D7A7003F2AD6 /* .travis.yml */ = {isa = PBXFileReference; lastKnownFileType = text; path = .travis.yml; sourceTree = ""; }; - F757D815220FC3490060A62E /* Package.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = ""; }; - F757D817220FC3560060A62E /* AppIconSet.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppIconSet.swift; sourceTree = ""; }; - F757D818220FC3560060A62E /* NSImage+Saving.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "NSImage+Saving.swift"; sourceTree = ""; }; - F757D819220FC3560060A62E /* ResizedImage.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ResizedImage.swift; sourceTree = ""; }; - F757D81A220FC3560060A62E /* NSImage+Resizing.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "NSImage+Resizing.swift"; sourceTree = ""; }; - F757D821220FC36B0060A62E /* URL+TempFolder.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "URL+TempFolder.swift"; sourceTree = ""; }; - F757D822220FC36B0060A62E /* TestData.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestData.swift; sourceTree = ""; }; - F757D823220FC36B0060A62E /* Bundle+Tests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Bundle+Tests.swift"; sourceTree = ""; }; - F757D826220FC36B0060A62E /* sample-red-app-icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "sample-red-app-icon.png"; sourceTree = ""; }; - F757D827220FC36B0060A62E /* sample-blue-app-icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "sample-blue-app-icon.png"; sourceTree = ""; }; - F757D828220FC36B0060A62E /* SampleAppIcon.appiconset.zip */ = {isa = PBXFileReference; lastKnownFileType = archive.zip; path = SampleAppIcon.appiconset.zip; sourceTree = ""; }; - F757D82A220FC36B0060A62E /* SizeDescriptionTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SizeDescriptionTests.swift; sourceTree = ""; }; - F757D82B220FC36B0060A62E /* XCTestManifests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = XCTestManifests.swift; sourceTree = ""; }; - F757D82C220FC36B0060A62E /* AppIconSetTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppIconSetTests.swift; sourceTree = ""; }; - F757D82D220FC36B0060A62E /* AssetResizerTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AssetResizerTests.swift; sourceTree = ""; }; - F757D82E220FC36B0060A62E /* ResizedImageTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ResizedImageTests.swift; sourceTree = ""; }; - F757D82F220FC36B0060A62E /* LinuxMain.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = LinuxMain.swift; path = Tests/LinuxMain.swift; sourceTree = ""; }; + F7363ED51EE531DD005BA675 /* ResizedImageTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ResizedImageTests.swift; sourceTree = ""; }; + F7678EF51EE550A60089FAF7 /* SizeDescriptionTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SizeDescriptionTests.swift; sourceTree = ""; }; + F7678EFA1EE558160089FAF7 /* SampleAppIcon.appiconset.zip */ = {isa = PBXFileReference; lastKnownFileType = archive.zip; path = SampleAppIcon.appiconset.zip; sourceTree = ""; }; + F7678EFC1EE5717A0089FAF7 /* URL+TempFolder.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "URL+TempFolder.swift"; sourceTree = ""; }; F79678E31EDFD14600AC0948 /* AssetResizer.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AssetResizer.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + F79678E71EDFD14600AC0948 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; F79678EC1EDFD14600AC0948 /* AssetResizerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AssetResizerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + F79678F31EDFD14600AC0948 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + F79678FF1EDFD6A600AC0948 /* AssetResizerTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AssetResizerTests.swift; sourceTree = ""; }; + F7F0E33E1EDFE9D500E09A9A /* NSImage+Resizing.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "NSImage+Resizing.swift"; sourceTree = ""; }; + F7F0E3411EE0011C00E09A9A /* NSImage+Saving.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "NSImage+Saving.swift"; sourceTree = ""; }; + F7F0E34D1EE0388300E09A9A /* sample-blue-app-icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "sample-blue-app-icon.png"; sourceTree = ""; }; + F7F0E34E1EE0388300E09A9A /* sample-red-app-icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "sample-red-app-icon.png"; sourceTree = ""; }; + F7F0E3521EE0390500E09A9A /* Bundle+Tests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Bundle+Tests.swift"; sourceTree = ""; }; + F7F0E3541EE0390E00E09A9A /* TestData.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestData.swift; sourceTree = ""; }; + F7F0E3561EE0462800E09A9A /* ResizedImage.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ResizedImage.swift; sourceTree = ""; }; + F7F0E3581EE14C0B00E09A9A /* AppIconSet.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppIconSet.swift; sourceTree = ""; }; + F7F0E35A1EE153EB00E09A9A /* AppIconSetTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppIconSetTests.swift; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -79,82 +77,79 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - F757D816220FC3560060A62E /* AssetResizer */ = { + F79678D91EDFD14600AC0948 = { isa = PBXGroup; children = ( - F757D817220FC3560060A62E /* AppIconSet.swift */, - F757D818220FC3560060A62E /* NSImage+Saving.swift */, - F757D819220FC3560060A62E /* ResizedImage.swift */, - F757D81A220FC3560060A62E /* NSImage+Resizing.swift */, + F79678E51EDFD14600AC0948 /* AssetResizer */, + F79678F01EDFD14600AC0948 /* AssetResizerTests */, + F79678E41EDFD14600AC0948 /* Products */, + F70398691EE6D347003F2AD6 /* LICENSE */, + F703986A1EE6D347003F2AD6 /* README.md */, + F703986C1EE6D7A7003F2AD6 /* .travis.yml */, ); - name = AssetResizer; - path = Sources/AssetResizer; sourceTree = ""; }; - F757D81F220FC36B0060A62E /* AssetResizerTests */ = { + F79678E41EDFD14600AC0948 /* Products */ = { isa = PBXGroup; children = ( - F757D82C220FC36B0060A62E /* AppIconSetTests.swift */, - F757D82D220FC36B0060A62E /* AssetResizerTests.swift */, - F757D82E220FC36B0060A62E /* ResizedImageTests.swift */, - F757D82A220FC36B0060A62E /* SizeDescriptionTests.swift */, - F757D824220FC36B0060A62E /* test-data */, - F757D820220FC36B0060A62E /* Tools */, - F757D82B220FC36B0060A62E /* XCTestManifests.swift */, + F79678E31EDFD14600AC0948 /* AssetResizer.framework */, + F79678EC1EDFD14600AC0948 /* AssetResizerTests.xctest */, ); - name = AssetResizerTests; - path = Tests/AssetResizerTests; + name = Products; sourceTree = ""; }; - F757D820220FC36B0060A62E /* Tools */ = { + F79678E51EDFD14600AC0948 /* AssetResizer */ = { isa = PBXGroup; children = ( - F757D821220FC36B0060A62E /* URL+TempFolder.swift */, - F757D822220FC36B0060A62E /* TestData.swift */, - F757D823220FC36B0060A62E /* Bundle+Tests.swift */, + F7F0E3581EE14C0B00E09A9A /* AppIconSet.swift */, + F7F0E3561EE0462800E09A9A /* ResizedImage.swift */, + F7F0E33E1EDFE9D500E09A9A /* NSImage+Resizing.swift */, + F7F0E3411EE0011C00E09A9A /* NSImage+Saving.swift */, + F79678E71EDFD14600AC0948 /* Info.plist */, ); - path = Tools; + path = AssetResizer; sourceTree = ""; }; - F757D824220FC36B0060A62E /* test-data */ = { + F79678F01EDFD14600AC0948 /* AssetResizerTests */ = { isa = PBXGroup; children = ( - F757D825220FC36B0060A62E /* iOS */, - F757D828220FC36B0060A62E /* SampleAppIcon.appiconset.zip */, + F79678FF1EDFD6A600AC0948 /* AssetResizerTests.swift */, + F7F0E35A1EE153EB00E09A9A /* AppIconSetTests.swift */, + F7363ED51EE531DD005BA675 /* ResizedImageTests.swift */, + F7678EF51EE550A60089FAF7 /* SizeDescriptionTests.swift */, + F7F0E3511EE0390500E09A9A /* Tools */, + F7F0E34B1EE0388300E09A9A /* test-data */, + F79678F31EDFD14600AC0948 /* Info.plist */, ); - path = "test-data"; + path = AssetResizerTests; sourceTree = ""; }; - F757D825220FC36B0060A62E /* iOS */ = { + F7F0E34B1EE0388300E09A9A /* test-data */ = { isa = PBXGroup; children = ( - F757D826220FC36B0060A62E /* sample-red-app-icon.png */, - F757D827220FC36B0060A62E /* sample-blue-app-icon.png */, + F7678EFA1EE558160089FAF7 /* SampleAppIcon.appiconset.zip */, + F7F0E34C1EE0388300E09A9A /* iOS */, ); - path = iOS; + path = "test-data"; sourceTree = ""; }; - F79678D91EDFD14600AC0948 = { + F7F0E34C1EE0388300E09A9A /* iOS */ = { isa = PBXGroup; children = ( - F757D816220FC3560060A62E /* AssetResizer */, - F757D81F220FC36B0060A62E /* AssetResizerTests */, - F757D82F220FC36B0060A62E /* LinuxMain.swift */, - F79678E41EDFD14600AC0948 /* Products */, - F70398691EE6D347003F2AD6 /* LICENSE */, - F757D815220FC3490060A62E /* Package.swift */, - F703986A1EE6D347003F2AD6 /* README.md */, - F703986C1EE6D7A7003F2AD6 /* .travis.yml */, + F7F0E34D1EE0388300E09A9A /* sample-blue-app-icon.png */, + F7F0E34E1EE0388300E09A9A /* sample-red-app-icon.png */, ); + path = iOS; sourceTree = ""; }; - F79678E41EDFD14600AC0948 /* Products */ = { + F7F0E3511EE0390500E09A9A /* Tools */ = { isa = PBXGroup; children = ( - F79678E31EDFD14600AC0948 /* AssetResizer.framework */, - F79678EC1EDFD14600AC0948 /* AssetResizerTests.xctest */, + F7F0E3521EE0390500E09A9A /* Bundle+Tests.swift */, + F7678EFC1EE5717A0089FAF7 /* URL+TempFolder.swift */, + F7F0E3541EE0390E00E09A9A /* TestData.swift */, ); - name = Products; + path = Tools; sourceTree = ""; }; /* End PBXGroup section */ @@ -260,9 +255,9 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - F757D834220FC36B0060A62E /* sample-blue-app-icon.png in Resources */, - F757D833220FC36B0060A62E /* sample-red-app-icon.png in Resources */, - F757D835220FC36B0060A62E /* SampleAppIcon.appiconset.zip in Resources */, + F7F0E3501EE0388300E09A9A /* sample-red-app-icon.png in Resources */, + F7678EFB1EE558160089FAF7 /* SampleAppIcon.appiconset.zip in Resources */, + F7F0E34F1EE0388300E09A9A /* sample-blue-app-icon.png in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -273,10 +268,10 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - F757D81D220FC3560060A62E /* ResizedImage.swift in Sources */, - F757D81C220FC3560060A62E /* NSImage+Saving.swift in Sources */, - F757D81B220FC3560060A62E /* AppIconSet.swift in Sources */, - F757D81E220FC3560060A62E /* NSImage+Resizing.swift in Sources */, + F7F0E3591EE14C0B00E09A9A /* AppIconSet.swift in Sources */, + F7F0E3421EE0011C00E09A9A /* NSImage+Saving.swift in Sources */, + F7F0E33F1EDFE9D500E09A9A /* NSImage+Resizing.swift in Sources */, + F7F0E3571EE0462800E09A9A /* ResizedImage.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -284,14 +279,13 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - F757D838220FC36B0060A62E /* XCTestManifests.swift in Sources */, - F757D841220FC4560060A62E /* URL+TempFolder.swift in Sources */, - F757D83E220FC4560060A62E /* AssetResizerTests.swift in Sources */, - F757D840220FC4560060A62E /* SizeDescriptionTests.swift in Sources */, - F757D83F220FC4560060A62E /* ResizedImageTests.swift in Sources */, - F757D843220FC4560060A62E /* Bundle+Tests.swift in Sources */, - F757D842220FC4560060A62E /* TestData.swift in Sources */, - F757D83D220FC4560060A62E /* AppIconSetTests.swift in Sources */, + F7363ED61EE531DD005BA675 /* ResizedImageTests.swift in Sources */, + F7F0E3531EE0390500E09A9A /* Bundle+Tests.swift in Sources */, + F7F0E35B1EE153EB00E09A9A /* AppIconSetTests.swift in Sources */, + F7678EF61EE550A60089FAF7 /* SizeDescriptionTests.swift in Sources */, + F79679001EDFD6A600AC0948 /* AssetResizerTests.swift in Sources */, + F7F0E3551EE0390E00E09A9A /* TestData.swift in Sources */, + F7678EFD1EE5717A0089FAF7 /* URL+TempFolder.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -432,6 +426,7 @@ DYLIB_CURRENT_VERSION = 9; DYLIB_INSTALL_NAME_BASE = "@rpath"; FRAMEWORK_VERSION = A; + INFOPLIST_FILE = AssetResizer/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = net.jeanetienne.AssetResizer; @@ -454,6 +449,7 @@ DYLIB_CURRENT_VERSION = 9; DYLIB_INSTALL_NAME_BASE = "@rpath"; FRAMEWORK_VERSION = A; + INFOPLIST_FILE = AssetResizer/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = net.jeanetienne.AssetResizer; @@ -470,6 +466,7 @@ CLANG_ENABLE_MODULES = YES; COMBINE_HIDPI_IMAGES = YES; DEVELOPMENT_TEAM = N44EJ7YB22; + INFOPLIST_FILE = AssetResizerTests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = net.jeanetienne.AssetResizerTests; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -485,6 +482,7 @@ CLANG_ENABLE_MODULES = YES; COMBINE_HIDPI_IMAGES = YES; DEVELOPMENT_TEAM = N44EJ7YB22; + INFOPLIST_FILE = AssetResizerTests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = net.jeanetienne.AssetResizerTests; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/AssetResizer.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/AssetResizer.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/AssetResizer.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/Sources/AssetResizer/AppIconSet.swift b/AssetResizer/AppIconSet.swift similarity index 100% rename from Sources/AssetResizer/AppIconSet.swift rename to AssetResizer/AppIconSet.swift diff --git a/AssetResizer/Info.plist b/AssetResizer/Info.plist new file mode 100644 index 0000000..95286f7 --- /dev/null +++ b/AssetResizer/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 0.3.0 + CFBundleVersion + 9 + NSHumanReadableCopyright + Copyright © 2019 Jean-Étienne. All rights reserved. + NSPrincipalClass + + + diff --git a/Sources/AssetResizer/NSImage+Resizing.swift b/AssetResizer/NSImage+Resizing.swift similarity index 100% rename from Sources/AssetResizer/NSImage+Resizing.swift rename to AssetResizer/NSImage+Resizing.swift diff --git a/Sources/AssetResizer/NSImage+Saving.swift b/AssetResizer/NSImage+Saving.swift similarity index 100% rename from Sources/AssetResizer/NSImage+Saving.swift rename to AssetResizer/NSImage+Saving.swift diff --git a/Sources/AssetResizer/ResizedImage.swift b/AssetResizer/ResizedImage.swift similarity index 100% rename from Sources/AssetResizer/ResizedImage.swift rename to AssetResizer/ResizedImage.swift diff --git a/Tests/AssetResizerTests/AppIconSetTests.swift b/AssetResizerTests/AppIconSetTests.swift similarity index 100% rename from Tests/AssetResizerTests/AppIconSetTests.swift rename to AssetResizerTests/AppIconSetTests.swift diff --git a/Tests/AssetResizerTests/AssetResizerTests.swift b/AssetResizerTests/AssetResizerTests.swift similarity index 100% rename from Tests/AssetResizerTests/AssetResizerTests.swift rename to AssetResizerTests/AssetResizerTests.swift diff --git a/AssetResizerTests/AssetResizerTests.swift.orig b/AssetResizerTests/AssetResizerTests.swift.orig new file mode 100644 index 0000000..0532d7e --- /dev/null +++ b/AssetResizerTests/AssetResizerTests.swift.orig @@ -0,0 +1,18 @@ +// +// AssetResizer +// Copyright © 2019 Jean-Étienne. All rights reserved. +// + +import XCTest + +@testable import AssetResizer + +<<<<<<< HEAD:Tests/AssetResizerTests/AssetResizerTests.swift +final class AssetResizerTests: XCTestCase { + + static let identifier = "net.jeanetienne.AssetResizerTests" +======= +class AssetResizerTests: XCTestCase { +>>>>>>> parent of c22513e... Moving on to using Swift Package Manager:AssetResizerTests/AssetResizerTests.swift + +} diff --git a/AssetResizerTests/Info.plist b/AssetResizerTests/Info.plist new file mode 100644 index 0000000..1b039fd --- /dev/null +++ b/AssetResizerTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 0.3.0 + CFBundleVersion + 9 + + diff --git a/Tests/AssetResizerTests/ResizedImageTests.swift b/AssetResizerTests/ResizedImageTests.swift similarity index 100% rename from Tests/AssetResizerTests/ResizedImageTests.swift rename to AssetResizerTests/ResizedImageTests.swift diff --git a/Tests/AssetResizerTests/SizeDescriptionTests.swift b/AssetResizerTests/SizeDescriptionTests.swift similarity index 100% rename from Tests/AssetResizerTests/SizeDescriptionTests.swift rename to AssetResizerTests/SizeDescriptionTests.swift diff --git a/Tests/AssetResizerTests/Tools/Bundle+Tests.swift b/AssetResizerTests/Tools/Bundle+Tests.swift similarity index 100% rename from Tests/AssetResizerTests/Tools/Bundle+Tests.swift rename to AssetResizerTests/Tools/Bundle+Tests.swift diff --git a/Tests/AssetResizerTests/Tools/TestData.swift b/AssetResizerTests/Tools/TestData.swift similarity index 100% rename from Tests/AssetResizerTests/Tools/TestData.swift rename to AssetResizerTests/Tools/TestData.swift diff --git a/Tests/AssetResizerTests/Tools/URL+TempFolder.swift b/AssetResizerTests/Tools/URL+TempFolder.swift similarity index 100% rename from Tests/AssetResizerTests/Tools/URL+TempFolder.swift rename to AssetResizerTests/Tools/URL+TempFolder.swift diff --git a/Tests/AssetResizerTests/test-data/SampleAppIcon.appiconset.zip b/AssetResizerTests/test-data/SampleAppIcon.appiconset.zip similarity index 100% rename from Tests/AssetResizerTests/test-data/SampleAppIcon.appiconset.zip rename to AssetResizerTests/test-data/SampleAppIcon.appiconset.zip diff --git a/Tests/AssetResizerTests/test-data/iOS/sample-blue-app-icon.png b/AssetResizerTests/test-data/iOS/sample-blue-app-icon.png similarity index 100% rename from Tests/AssetResizerTests/test-data/iOS/sample-blue-app-icon.png rename to AssetResizerTests/test-data/iOS/sample-blue-app-icon.png diff --git a/Tests/AssetResizerTests/test-data/iOS/sample-red-app-icon.png b/AssetResizerTests/test-data/iOS/sample-red-app-icon.png similarity index 100% rename from Tests/AssetResizerTests/test-data/iOS/sample-red-app-icon.png rename to AssetResizerTests/test-data/iOS/sample-red-app-icon.png diff --git a/Package.swift b/Package.swift deleted file mode 100644 index f3e4192..0000000 --- a/Package.swift +++ /dev/null @@ -1,28 +0,0 @@ -// swift-tools-version:4.2 -// The swift-tools-version declares the minimum version of Swift required to build this package. - -import PackageDescription - -let package = Package( - name: "AssetResizer", - products: [ - // Products define the executables and libraries produced by a package, and make them visible to other packages. - .library( - name: "AssetResizer", - targets: ["AssetResizer"]), - ], - dependencies: [ - // Dependencies declare other packages that this package depends on. - // .package(url: /* package url */, from: "1.0.0"), - ], - targets: [ - // Targets are the basic building blocks of a package. A target can define a module or a test suite. - // Targets can depend on other targets in this package, and on products in packages which this package depends on. - .target( - name: "AssetResizer", - dependencies: []), - .testTarget( - name: "AssetResizerTests", - dependencies: ["AssetResizer"]), - ] -) diff --git a/README.md b/README.md index 0860bf5..5a1bb54 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ [![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/jeanetienne/AssetResizer/master/LICENSE) [![GitHub release](https://img.shields.io/github/release/jeanetienne/AssetResizer.svg)](https://github.com/jeanetienne/AssetResizer/releases) [![codecov.io](https://codecov.io/github/jeanetienne/AssetResizer/coverage.svg?branch=master&style=flat)](https://codecov.io/github/jeanetienne/AssetResizer/?branch=master) +[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) ## Create app icons based on the content of your .appiconset folder AssetResizer helps you read the contents of your AppIcon sets in your Xcode asset catalogs and resize your app icon accordingly. diff --git a/Tests/AssetResizerTests/XCTestManifests.swift b/Tests/AssetResizerTests/XCTestManifests.swift deleted file mode 100644 index 1876974..0000000 --- a/Tests/AssetResizerTests/XCTestManifests.swift +++ /dev/null @@ -1,9 +0,0 @@ -import XCTest - -#if !os(macOS) -public func allTests() -> [XCTestCaseEntry] { - return [ - testCase(AssetResizerTests.allTests), - ] -} -#endif \ No newline at end of file diff --git a/Tests/LinuxMain.swift b/Tests/LinuxMain.swift deleted file mode 100644 index fbeb908..0000000 --- a/Tests/LinuxMain.swift +++ /dev/null @@ -1,7 +0,0 @@ -import XCTest - -import AssetResizerTests - -var tests = [XCTestCaseEntry]() -tests += AssetResizerTests.allTests() -XCTMain(tests) \ No newline at end of file