From 504ea2b3a4c70cd63e6eab636c19f568b3f6ebdb Mon Sep 17 00:00:00 2001 From: Tomasz F Date: Thu, 25 Mar 2021 23:37:34 +0100 Subject: [PATCH 01/26] Create swift.yml --- .github/workflows/swift.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/swift.yml diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml new file mode 100644 index 0000000..402a1aa --- /dev/null +++ b/.github/workflows/swift.yml @@ -0,0 +1,17 @@ +name: Swift + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: macos-latest + + steps: + - uses: actions/checkout@v2 + - name: Build + run: swift build -v From e77d645d31f56f45deb0556ffee05ef0db6de028 Mon Sep 17 00:00:00 2001 From: Pengwius Date: Thu, 25 Mar 2021 23:41:11 +0100 Subject: [PATCH 02/26] Building app --- Package.swift | 28 + Sources/wulkanowy-ios/wulkanowy_ios.swift | 3 + Tests/LinuxMain.swift | 7 + .../wulkanowy-iosTests/XCTestManifests.swift | 9 + .../wulkanowy_iosTests.swift | 15 + wulkanowy-ios.xcodeproj/project.pbxproj | 605 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/WorkspaceSettings.xcsettings | 8 + .../wulkanowy_iosTests_Info.plist | 25 + .../wulkanowy_ios_Info.plist | 25 + .../xcschemes/wulkanowy-ios-Package.xcscheme | 33 + 11 files changed, 765 insertions(+) create mode 100644 Package.swift create mode 100644 Sources/wulkanowy-ios/wulkanowy_ios.swift create mode 100644 Tests/LinuxMain.swift create mode 100644 Tests/wulkanowy-iosTests/XCTestManifests.swift create mode 100644 Tests/wulkanowy-iosTests/wulkanowy_iosTests.swift create mode 100644 wulkanowy-ios.xcodeproj/project.pbxproj create mode 100644 wulkanowy-ios.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 wulkanowy-ios.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings create mode 100644 wulkanowy-ios.xcodeproj/wulkanowy_iosTests_Info.plist create mode 100644 wulkanowy-ios.xcodeproj/wulkanowy_ios_Info.plist create mode 100644 wulkanowy-ios.xcodeproj/xcshareddata/xcschemes/wulkanowy-ios-Package.xcscheme diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..788fcd7 --- /dev/null +++ b/Package.swift @@ -0,0 +1,28 @@ +// swift-tools-version:5.3 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "wulkanowy-ios", + products: [ + // Products define the executables and libraries a package produces, and make them visible to other packages. + .library( + name: "wulkanowy-ios", + targets: ["wulkanowy-ios"]), + ], + 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 this package depends on. + .target( + name: "wulkanowy-ios", + dependencies: []), + .testTarget( + name: "wulkanowy-iosTests", + dependencies: ["wulkanowy-ios"]), + ] +) diff --git a/Sources/wulkanowy-ios/wulkanowy_ios.swift b/Sources/wulkanowy-ios/wulkanowy_ios.swift new file mode 100644 index 0000000..010bf46 --- /dev/null +++ b/Sources/wulkanowy-ios/wulkanowy_ios.swift @@ -0,0 +1,3 @@ +struct wulkanowy_ios { + var text = "Hello, World!" +} diff --git a/Tests/LinuxMain.swift b/Tests/LinuxMain.swift new file mode 100644 index 0000000..f2308ab --- /dev/null +++ b/Tests/LinuxMain.swift @@ -0,0 +1,7 @@ +import XCTest + +import wulkanowy_iosTests + +var tests = [XCTestCaseEntry]() +tests += wulkanowy_iosTests.allTests() +XCTMain(tests) diff --git a/Tests/wulkanowy-iosTests/XCTestManifests.swift b/Tests/wulkanowy-iosTests/XCTestManifests.swift new file mode 100644 index 0000000..a8158fb --- /dev/null +++ b/Tests/wulkanowy-iosTests/XCTestManifests.swift @@ -0,0 +1,9 @@ +import XCTest + +#if !canImport(ObjectiveC) +public func allTests() -> [XCTestCaseEntry] { + return [ + testCase(wulkanowy_iosTests.allTests), + ] +} +#endif diff --git a/Tests/wulkanowy-iosTests/wulkanowy_iosTests.swift b/Tests/wulkanowy-iosTests/wulkanowy_iosTests.swift new file mode 100644 index 0000000..a8ff05a --- /dev/null +++ b/Tests/wulkanowy-iosTests/wulkanowy_iosTests.swift @@ -0,0 +1,15 @@ +import XCTest +@testable import wulkanowy_ios + +final class wulkanowy_iosTests: XCTestCase { + func testExample() { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct + // results. + XCTAssertEqual(wulkanowy_ios().text, "Hello, World!") + } + + static var allTests = [ + ("testExample", testExample), + ] +} diff --git a/wulkanowy-ios.xcodeproj/project.pbxproj b/wulkanowy-ios.xcodeproj/project.pbxproj new file mode 100644 index 0000000..9297c11 --- /dev/null +++ b/wulkanowy-ios.xcodeproj/project.pbxproj @@ -0,0 +1,605 @@ +// !$*UTF8*$! +{ + archiveVersion = "1"; + objectVersion = "46"; + objects = { + "OBJ_1" = { + isa = "PBXProject"; + attributes = { + LastSwiftMigration = "9999"; + LastUpgradeCheck = "9999"; + }; + buildConfigurationList = "OBJ_2"; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = "en"; + hasScannedForEncodings = "0"; + knownRegions = ( + "en" + ); + mainGroup = "OBJ_5"; + productRefGroup = "OBJ_14"; + projectDirPath = "."; + targets = ( + "wulkanowy-ios::wulkanowy-ios", + "wulkanowy-ios::SwiftPMPackageDescription", + "wulkanowy-ios::wulkanowy-iosPackageTests::ProductTarget", + "wulkanowy-ios::wulkanowy-iosTests" + ); + }; + "OBJ_10" = { + isa = "PBXGroup"; + children = ( + "OBJ_11" + ); + name = "Tests"; + path = ""; + sourceTree = "SOURCE_ROOT"; + }; + "OBJ_11" = { + isa = "PBXGroup"; + children = ( + "OBJ_12", + "OBJ_13" + ); + name = "wulkanowy-iosTests"; + path = "Tests/wulkanowy-iosTests"; + sourceTree = "SOURCE_ROOT"; + }; + "OBJ_12" = { + isa = "PBXFileReference"; + path = "XCTestManifests.swift"; + sourceTree = ""; + }; + "OBJ_13" = { + isa = "PBXFileReference"; + path = "wulkanowy_iosTests.swift"; + sourceTree = ""; + }; + "OBJ_14" = { + isa = "PBXGroup"; + children = ( + "wulkanowy-ios::wulkanowy-ios::Product", + "wulkanowy-ios::wulkanowy-iosTests::Product" + ); + name = "Products"; + path = ""; + sourceTree = "BUILT_PRODUCTS_DIR"; + }; + "OBJ_17" = { + isa = "PBXFileReference"; + path = "wulkanowy.xcworkspace"; + sourceTree = "SOURCE_ROOT"; + }; + "OBJ_18" = { + isa = "PBXFileReference"; + path = "wulkanowy"; + sourceTree = "SOURCE_ROOT"; + }; + "OBJ_19" = { + isa = "PBXFileReference"; + path = "wulkanowyTests"; + sourceTree = "SOURCE_ROOT"; + }; + "OBJ_2" = { + isa = "XCConfigurationList"; + buildConfigurations = ( + "OBJ_3", + "OBJ_4" + ); + defaultConfigurationIsVisible = "0"; + defaultConfigurationName = "Release"; + }; + "OBJ_20" = { + isa = "PBXFileReference"; + path = "Sdk"; + sourceTree = "SOURCE_ROOT"; + }; + "OBJ_21" = { + isa = "PBXFileReference"; + path = "wulkanowyUITests"; + sourceTree = "SOURCE_ROOT"; + }; + "OBJ_22" = { + isa = "PBXFileReference"; + path = "LICENSE"; + sourceTree = ""; + }; + "OBJ_23" = { + isa = "PBXFileReference"; + path = "README.md"; + sourceTree = ""; + }; + "OBJ_25" = { + isa = "XCConfigurationList"; + buildConfigurations = ( + "OBJ_26", + "OBJ_27" + ); + defaultConfigurationIsVisible = "0"; + defaultConfigurationName = "Release"; + }; + "OBJ_26" = { + isa = "XCBuildConfiguration"; + buildSettings = { + ENABLE_TESTABILITY = "YES"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PLATFORM_DIR)/Developer/Library/Frameworks" + ); + HEADER_SEARCH_PATHS = ( + "$(inherited)" + ); + INFOPLIST_FILE = "wulkanowy-ios.xcodeproj/wulkanowy_ios_Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = "9.0"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx" + ); + MACOSX_DEPLOYMENT_TARGET = "10.10"; + OTHER_CFLAGS = ( + "$(inherited)" + ); + OTHER_LDFLAGS = ( + "$(inherited)" + ); + OTHER_SWIFT_FLAGS = ( + "$(inherited)" + ); + PRODUCT_BUNDLE_IDENTIFIER = "wulkanowy-ios"; + PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = "YES"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( + "$(inherited)" + ); + SWIFT_VERSION = "5.0"; + TARGET_NAME = "wulkanowy-ios"; + TVOS_DEPLOYMENT_TARGET = "9.0"; + WATCHOS_DEPLOYMENT_TARGET = "2.0"; + }; + name = "Debug"; + }; + "OBJ_27" = { + isa = "XCBuildConfiguration"; + buildSettings = { + ENABLE_TESTABILITY = "YES"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PLATFORM_DIR)/Developer/Library/Frameworks" + ); + HEADER_SEARCH_PATHS = ( + "$(inherited)" + ); + INFOPLIST_FILE = "wulkanowy-ios.xcodeproj/wulkanowy_ios_Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = "9.0"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx" + ); + MACOSX_DEPLOYMENT_TARGET = "10.10"; + OTHER_CFLAGS = ( + "$(inherited)" + ); + OTHER_LDFLAGS = ( + "$(inherited)" + ); + OTHER_SWIFT_FLAGS = ( + "$(inherited)" + ); + PRODUCT_BUNDLE_IDENTIFIER = "wulkanowy-ios"; + PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = "YES"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( + "$(inherited)" + ); + SWIFT_VERSION = "5.0"; + TARGET_NAME = "wulkanowy-ios"; + TVOS_DEPLOYMENT_TARGET = "9.0"; + WATCHOS_DEPLOYMENT_TARGET = "2.0"; + }; + name = "Release"; + }; + "OBJ_28" = { + isa = "PBXSourcesBuildPhase"; + files = ( + "OBJ_29" + ); + }; + "OBJ_29" = { + isa = "PBXBuildFile"; + fileRef = "OBJ_9"; + }; + "OBJ_3" = { + isa = "XCBuildConfiguration"; + buildSettings = { + CLANG_ENABLE_OBJC_ARC = "YES"; + COMBINE_HIDPI_IMAGES = "YES"; + COPY_PHASE_STRIP = "NO"; + DEBUG_INFORMATION_FORMAT = "dwarf"; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_NS_ASSERTIONS = "YES"; + GCC_OPTIMIZATION_LEVEL = "0"; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + "SWIFT_PACKAGE=1", + "DEBUG=1" + ); + MACOSX_DEPLOYMENT_TARGET = "10.10"; + ONLY_ACTIVE_ARCH = "YES"; + OTHER_SWIFT_FLAGS = ( + "$(inherited)", + "-DXcode" + ); + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = "macosx"; + SUPPORTED_PLATFORMS = ( + "macosx", + "iphoneos", + "iphonesimulator", + "appletvos", + "appletvsimulator", + "watchos", + "watchsimulator" + ); + SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( + "$(inherited)", + "SWIFT_PACKAGE", + "DEBUG" + ); + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + USE_HEADERMAP = "NO"; + }; + name = "Debug"; + }; + "OBJ_30" = { + isa = "PBXFrameworksBuildPhase"; + files = ( + ); + }; + "OBJ_32" = { + isa = "XCConfigurationList"; + buildConfigurations = ( + "OBJ_33", + "OBJ_34" + ); + defaultConfigurationIsVisible = "0"; + defaultConfigurationName = "Release"; + }; + "OBJ_33" = { + isa = "XCBuildConfiguration"; + buildSettings = { + LD = "/usr/bin/true"; + OTHER_SWIFT_FLAGS = ( + "-swift-version", + "5", + "-I", + "$(TOOLCHAIN_DIR)/usr/lib/swift/pm/4_2", + "-sdk", + "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk", + "-package-description-version", + "5.3.0" + ); + SWIFT_VERSION = "5.0"; + }; + name = "Debug"; + }; + "OBJ_34" = { + isa = "XCBuildConfiguration"; + buildSettings = { + LD = "/usr/bin/true"; + OTHER_SWIFT_FLAGS = ( + "-swift-version", + "5", + "-I", + "$(TOOLCHAIN_DIR)/usr/lib/swift/pm/4_2", + "-sdk", + "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk", + "-package-description-version", + "5.3.0" + ); + SWIFT_VERSION = "5.0"; + }; + name = "Release"; + }; + "OBJ_35" = { + isa = "PBXSourcesBuildPhase"; + files = ( + "OBJ_36" + ); + }; + "OBJ_36" = { + isa = "PBXBuildFile"; + fileRef = "OBJ_6"; + }; + "OBJ_38" = { + isa = "XCConfigurationList"; + buildConfigurations = ( + "OBJ_39", + "OBJ_40" + ); + defaultConfigurationIsVisible = "0"; + defaultConfigurationName = "Release"; + }; + "OBJ_39" = { + isa = "XCBuildConfiguration"; + buildSettings = { + }; + name = "Debug"; + }; + "OBJ_4" = { + isa = "XCBuildConfiguration"; + buildSettings = { + CLANG_ENABLE_OBJC_ARC = "YES"; + COMBINE_HIDPI_IMAGES = "YES"; + COPY_PHASE_STRIP = "YES"; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_OPTIMIZATION_LEVEL = "s"; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + "SWIFT_PACKAGE=1" + ); + MACOSX_DEPLOYMENT_TARGET = "10.10"; + OTHER_SWIFT_FLAGS = ( + "$(inherited)", + "-DXcode" + ); + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = "macosx"; + SUPPORTED_PLATFORMS = ( + "macosx", + "iphoneos", + "iphonesimulator", + "appletvos", + "appletvsimulator", + "watchos", + "watchsimulator" + ); + SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( + "$(inherited)", + "SWIFT_PACKAGE" + ); + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + USE_HEADERMAP = "NO"; + }; + name = "Release"; + }; + "OBJ_40" = { + isa = "XCBuildConfiguration"; + buildSettings = { + }; + name = "Release"; + }; + "OBJ_41" = { + isa = "PBXTargetDependency"; + target = "wulkanowy-ios::wulkanowy-iosTests"; + }; + "OBJ_43" = { + isa = "XCConfigurationList"; + buildConfigurations = ( + "OBJ_44", + "OBJ_45" + ); + defaultConfigurationIsVisible = "0"; + defaultConfigurationName = "Release"; + }; + "OBJ_44" = { + isa = "XCBuildConfiguration"; + buildSettings = { + CLANG_ENABLE_MODULES = "YES"; + EMBEDDED_CONTENT_CONTAINS_SWIFT = "YES"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PLATFORM_DIR)/Developer/Library/Frameworks" + ); + HEADER_SEARCH_PATHS = ( + "$(inherited)" + ); + INFOPLIST_FILE = "wulkanowy-ios.xcodeproj/wulkanowy_iosTests_Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = "14.0"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@loader_path/../Frameworks", + "@loader_path/Frameworks" + ); + MACOSX_DEPLOYMENT_TARGET = "10.15"; + OTHER_CFLAGS = ( + "$(inherited)" + ); + OTHER_LDFLAGS = ( + "$(inherited)" + ); + OTHER_SWIFT_FLAGS = ( + "$(inherited)" + ); + SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( + "$(inherited)" + ); + SWIFT_VERSION = "5.0"; + TARGET_NAME = "wulkanowy-iosTests"; + TVOS_DEPLOYMENT_TARGET = "9.0"; + WATCHOS_DEPLOYMENT_TARGET = "2.0"; + }; + name = "Debug"; + }; + "OBJ_45" = { + isa = "XCBuildConfiguration"; + buildSettings = { + CLANG_ENABLE_MODULES = "YES"; + EMBEDDED_CONTENT_CONTAINS_SWIFT = "YES"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PLATFORM_DIR)/Developer/Library/Frameworks" + ); + HEADER_SEARCH_PATHS = ( + "$(inherited)" + ); + INFOPLIST_FILE = "wulkanowy-ios.xcodeproj/wulkanowy_iosTests_Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = "14.0"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@loader_path/../Frameworks", + "@loader_path/Frameworks" + ); + MACOSX_DEPLOYMENT_TARGET = "10.15"; + OTHER_CFLAGS = ( + "$(inherited)" + ); + OTHER_LDFLAGS = ( + "$(inherited)" + ); + OTHER_SWIFT_FLAGS = ( + "$(inherited)" + ); + SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( + "$(inherited)" + ); + SWIFT_VERSION = "5.0"; + TARGET_NAME = "wulkanowy-iosTests"; + TVOS_DEPLOYMENT_TARGET = "9.0"; + WATCHOS_DEPLOYMENT_TARGET = "2.0"; + }; + name = "Release"; + }; + "OBJ_46" = { + isa = "PBXSourcesBuildPhase"; + files = ( + "OBJ_47", + "OBJ_48" + ); + }; + "OBJ_47" = { + isa = "PBXBuildFile"; + fileRef = "OBJ_12"; + }; + "OBJ_48" = { + isa = "PBXBuildFile"; + fileRef = "OBJ_13"; + }; + "OBJ_49" = { + isa = "PBXFrameworksBuildPhase"; + files = ( + "OBJ_50" + ); + }; + "OBJ_5" = { + isa = "PBXGroup"; + children = ( + "OBJ_6", + "OBJ_7", + "OBJ_10", + "OBJ_14", + "OBJ_17", + "OBJ_18", + "OBJ_19", + "OBJ_20", + "OBJ_21", + "OBJ_22", + "OBJ_23" + ); + path = ""; + sourceTree = ""; + }; + "OBJ_50" = { + isa = "PBXBuildFile"; + fileRef = "wulkanowy-ios::wulkanowy-ios::Product"; + }; + "OBJ_51" = { + isa = "PBXTargetDependency"; + target = "wulkanowy-ios::wulkanowy-ios"; + }; + "OBJ_6" = { + isa = "PBXFileReference"; + explicitFileType = "sourcecode.swift"; + path = "Package.swift"; + sourceTree = ""; + }; + "OBJ_7" = { + isa = "PBXGroup"; + children = ( + "OBJ_8" + ); + name = "Sources"; + path = ""; + sourceTree = "SOURCE_ROOT"; + }; + "OBJ_8" = { + isa = "PBXGroup"; + children = ( + "OBJ_9" + ); + name = "wulkanowy-ios"; + path = "Sources/wulkanowy-ios"; + sourceTree = "SOURCE_ROOT"; + }; + "OBJ_9" = { + isa = "PBXFileReference"; + path = "wulkanowy_ios.swift"; + sourceTree = ""; + }; + "wulkanowy-ios::SwiftPMPackageDescription" = { + isa = "PBXNativeTarget"; + buildConfigurationList = "OBJ_32"; + buildPhases = ( + "OBJ_35" + ); + dependencies = ( + ); + name = "wulkanowy-iosPackageDescription"; + productName = "wulkanowy-iosPackageDescription"; + productType = "com.apple.product-type.framework"; + }; + "wulkanowy-ios::wulkanowy-ios" = { + isa = "PBXNativeTarget"; + buildConfigurationList = "OBJ_25"; + buildPhases = ( + "OBJ_28", + "OBJ_30" + ); + dependencies = ( + ); + name = "wulkanowy-ios"; + productName = "wulkanowy_ios"; + productReference = "wulkanowy-ios::wulkanowy-ios::Product"; + productType = "com.apple.product-type.framework"; + }; + "wulkanowy-ios::wulkanowy-ios::Product" = { + isa = "PBXFileReference"; + path = "wulkanowy_ios.framework"; + sourceTree = "BUILT_PRODUCTS_DIR"; + }; + "wulkanowy-ios::wulkanowy-iosPackageTests::ProductTarget" = { + isa = "PBXAggregateTarget"; + buildConfigurationList = "OBJ_38"; + buildPhases = ( + ); + dependencies = ( + "OBJ_41" + ); + name = "wulkanowy-iosPackageTests"; + productName = "wulkanowy-iosPackageTests"; + }; + "wulkanowy-ios::wulkanowy-iosTests" = { + isa = "PBXNativeTarget"; + buildConfigurationList = "OBJ_43"; + buildPhases = ( + "OBJ_46", + "OBJ_49" + ); + dependencies = ( + "OBJ_51" + ); + name = "wulkanowy-iosTests"; + productName = "wulkanowy_iosTests"; + productReference = "wulkanowy-ios::wulkanowy-iosTests::Product"; + productType = "com.apple.product-type.bundle.unit-test"; + }; + "wulkanowy-ios::wulkanowy-iosTests::Product" = { + isa = "PBXFileReference"; + path = "wulkanowy_iosTests.xctest"; + sourceTree = "BUILT_PRODUCTS_DIR"; + }; + }; + rootObject = "OBJ_1"; +} diff --git a/wulkanowy-ios.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/wulkanowy-ios.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..fe1aa71 --- /dev/null +++ b/wulkanowy-ios.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/wulkanowy-ios.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/wulkanowy-ios.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 0000000..a72dc2b --- /dev/null +++ b/wulkanowy-ios.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded + + + \ No newline at end of file diff --git a/wulkanowy-ios.xcodeproj/wulkanowy_iosTests_Info.plist b/wulkanowy-ios.xcodeproj/wulkanowy_iosTests_Info.plist new file mode 100644 index 0000000..7c23420 --- /dev/null +++ b/wulkanowy-ios.xcodeproj/wulkanowy_iosTests_Info.plist @@ -0,0 +1,25 @@ + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/wulkanowy-ios.xcodeproj/wulkanowy_ios_Info.plist b/wulkanowy-ios.xcodeproj/wulkanowy_ios_Info.plist new file mode 100644 index 0000000..57ada9f --- /dev/null +++ b/wulkanowy-ios.xcodeproj/wulkanowy_ios_Info.plist @@ -0,0 +1,25 @@ + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/wulkanowy-ios.xcodeproj/xcshareddata/xcschemes/wulkanowy-ios-Package.xcscheme b/wulkanowy-ios.xcodeproj/xcshareddata/xcschemes/wulkanowy-ios-Package.xcscheme new file mode 100644 index 0000000..49138d8 --- /dev/null +++ b/wulkanowy-ios.xcodeproj/xcshareddata/xcschemes/wulkanowy-ios-Package.xcscheme @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + From a89f84a681d04954fe8191b46bf674e8d0c6dd80 Mon Sep 17 00:00:00 2001 From: Tomasz F Date: Thu, 25 Mar 2021 23:42:58 +0100 Subject: [PATCH 03/26] Update swift.yml --- .github/workflows/swift.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 402a1aa..f9eb769 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -1,4 +1,4 @@ -name: Swift +name: Build on: push: From c7068dac2c36b906263300f092e7fee86cbb80f6 Mon Sep 17 00:00:00 2001 From: Tomasz F Date: Thu, 25 Mar 2021 23:44:49 +0100 Subject: [PATCH 04/26] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c3a0a98..bff3edf 100644 --- a/README.md +++ b/README.md @@ -1 +1,5 @@ -# wulkanowy-ios \ No newline at end of file +# wulkanowy-ios +🌋 iOSowy klient dziennika VULCAN UONET+ dla ucznia i rodzica + +![GitHub Workflow Status](https://github.com/wulkanowy/wulkanowy-ios/workflows/Build/badge.svg) +[![Discord](https://img.shields.io/discord/390889354199040011.svg?color=#33CD56)](https://discord.gg/vccAQBr) From e37f271ac97d4f239c46632246831a6ccb91a9b6 Mon Sep 17 00:00:00 2001 From: Tomasz F Date: Thu, 25 Mar 2021 23:45:29 +0100 Subject: [PATCH 05/26] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bff3edf..e85640d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# wulkanowy-ios +# Wulkanowy iOS 🌋 iOSowy klient dziennika VULCAN UONET+ dla ucznia i rodzica ![GitHub Workflow Status](https://github.com/wulkanowy/wulkanowy-ios/workflows/Build/badge.svg) From 7b13075c1d0b8d5144c79ef3249dabf65a1cc7a5 Mon Sep 17 00:00:00 2001 From: Pengwius Date: Thu, 25 Mar 2021 23:59:23 +0100 Subject: [PATCH 06/26] Tests --- .DS_Store | Bin 6148 -> 6148 bytes Package.swift | 28 ------- Sources/wulkanowy-ios/wulkanowy_ios.swift | 3 - Tests/LinuxMain.swift | 7 -- .../wulkanowy-iosTests/XCTestManifests.swift | 9 -- .../wulkanowy_iosTests.swift | 15 ---- .../xcode/xcshareddata/xcschemes/Sdk.xcscheme | 67 +++++++++++++++ wulkanowy.xcodeproj/project.pbxproj | 12 ++- .../xcshareddata/xcschemes/wulkanowy.xcscheme | 78 ++++++++++++++++++ .../xcschemes/wulkanowyTests.xcscheme | 52 ++++++++++++ .../contents.xcworkspacedata | 3 - wulkanowyTests/wulkanowyTests.swift | 34 -------- 12 files changed, 205 insertions(+), 103 deletions(-) delete mode 100644 Package.swift delete mode 100644 Sources/wulkanowy-ios/wulkanowy_ios.swift delete mode 100644 Tests/LinuxMain.swift delete mode 100644 Tests/wulkanowy-iosTests/XCTestManifests.swift delete mode 100644 Tests/wulkanowy-iosTests/wulkanowy_iosTests.swift create mode 100644 sdk/.swiftpm/xcode/xcshareddata/xcschemes/Sdk.xcscheme create mode 100644 wulkanowy.xcodeproj/xcshareddata/xcschemes/wulkanowy.xcscheme create mode 100644 wulkanowy.xcodeproj/xcshareddata/xcschemes/wulkanowyTests.xcscheme delete mode 100644 wulkanowyTests/wulkanowyTests.swift diff --git a/.DS_Store b/.DS_Store index 11de6050db98d706671e4edd3fbb5aff04e519b8..e7a0ec505e7ac575fb1944a8fefa2ac8529610b0 100644 GIT binary patch delta 61 zcmZoMXfc@J&&a(oU^g=(_hufJ6O4@FlNYiHv+FWsGUPK9Pkzp-H2FLmE9aX3V8Fnz O`6BBJ#?9;;fB6Ap;}(nn delta 32 ocmZoMXfc@J&&ahgU^g=(*Jd7;6O5ac*q$;@Z1CI6&heKY0IFCDmjD0& diff --git a/Package.swift b/Package.swift deleted file mode 100644 index 788fcd7..0000000 --- a/Package.swift +++ /dev/null @@ -1,28 +0,0 @@ -// swift-tools-version:5.3 -// The swift-tools-version declares the minimum version of Swift required to build this package. - -import PackageDescription - -let package = Package( - name: "wulkanowy-ios", - products: [ - // Products define the executables and libraries a package produces, and make them visible to other packages. - .library( - name: "wulkanowy-ios", - targets: ["wulkanowy-ios"]), - ], - 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 this package depends on. - .target( - name: "wulkanowy-ios", - dependencies: []), - .testTarget( - name: "wulkanowy-iosTests", - dependencies: ["wulkanowy-ios"]), - ] -) diff --git a/Sources/wulkanowy-ios/wulkanowy_ios.swift b/Sources/wulkanowy-ios/wulkanowy_ios.swift deleted file mode 100644 index 010bf46..0000000 --- a/Sources/wulkanowy-ios/wulkanowy_ios.swift +++ /dev/null @@ -1,3 +0,0 @@ -struct wulkanowy_ios { - var text = "Hello, World!" -} diff --git a/Tests/LinuxMain.swift b/Tests/LinuxMain.swift deleted file mode 100644 index f2308ab..0000000 --- a/Tests/LinuxMain.swift +++ /dev/null @@ -1,7 +0,0 @@ -import XCTest - -import wulkanowy_iosTests - -var tests = [XCTestCaseEntry]() -tests += wulkanowy_iosTests.allTests() -XCTMain(tests) diff --git a/Tests/wulkanowy-iosTests/XCTestManifests.swift b/Tests/wulkanowy-iosTests/XCTestManifests.swift deleted file mode 100644 index a8158fb..0000000 --- a/Tests/wulkanowy-iosTests/XCTestManifests.swift +++ /dev/null @@ -1,9 +0,0 @@ -import XCTest - -#if !canImport(ObjectiveC) -public func allTests() -> [XCTestCaseEntry] { - return [ - testCase(wulkanowy_iosTests.allTests), - ] -} -#endif diff --git a/Tests/wulkanowy-iosTests/wulkanowy_iosTests.swift b/Tests/wulkanowy-iosTests/wulkanowy_iosTests.swift deleted file mode 100644 index a8ff05a..0000000 --- a/Tests/wulkanowy-iosTests/wulkanowy_iosTests.swift +++ /dev/null @@ -1,15 +0,0 @@ -import XCTest -@testable import wulkanowy_ios - -final class wulkanowy_iosTests: XCTestCase { - func testExample() { - // This is an example of a functional test case. - // Use XCTAssert and related functions to verify your tests produce the correct - // results. - XCTAssertEqual(wulkanowy_ios().text, "Hello, World!") - } - - static var allTests = [ - ("testExample", testExample), - ] -} diff --git a/sdk/.swiftpm/xcode/xcshareddata/xcschemes/Sdk.xcscheme b/sdk/.swiftpm/xcode/xcshareddata/xcschemes/Sdk.xcscheme new file mode 100644 index 0000000..af992ad --- /dev/null +++ b/sdk/.swiftpm/xcode/xcshareddata/xcschemes/Sdk.xcscheme @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/wulkanowy.xcodeproj/project.pbxproj b/wulkanowy.xcodeproj/project.pbxproj index b81689e..bce5cc4 100644 --- a/wulkanowy.xcodeproj/project.pbxproj +++ b/wulkanowy.xcodeproj/project.pbxproj @@ -21,6 +21,8 @@ 5C89C8F525EA6AA4000B5816 /* licenses.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C89C8F425EA6AA4000B5816 /* licenses.swift */; }; 5C89C90625EA7996000B5816 /* SwiftUIEKtensions in Frameworks */ = {isa = PBXBuildFile; productRef = 5C89C90525EA7996000B5816 /* SwiftUIEKtensions */; }; 5C9B6F4925D6C08D00C3F5F5 /* Sdk in Frameworks */ = {isa = PBXBuildFile; productRef = 5C9B6F4825D6C08D00C3F5F5 /* Sdk */; }; + 5CB39737260D4BE200349B0D /* wulkanowyTests in Resources */ = {isa = PBXBuildFile; fileRef = 5CB39735260D4BE200349B0D /* wulkanowyTests */; }; + 5CB39738260D4BE200349B0D /* LinuxMain.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CB39736260D4BE200349B0D /* LinuxMain.swift */; }; 5CB9907225EE4A3200AA405C /* CustomButtonView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CB9907125EE4A3200AA405C /* CustomButtonView.swift */; }; 5CB9907625EE4A3B00AA405C /* OnboardingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CB9907525EE4A3B00AA405C /* OnboardingView.swift */; }; 5CC2EAA525E516F100B6183E /* dashboard.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CC2EAA425E516F100B6183E /* dashboard.swift */; }; @@ -31,7 +33,6 @@ F4C6D90A2544E17400F8903A /* LoginView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4C6D9092544E17400F8903A /* LoginView.swift */; }; F4C6D90C2544E17500F8903A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F4C6D90B2544E17500F8903A /* Assets.xcassets */; }; F4C6D90F2544E17500F8903A /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = F4C6D90E2544E17500F8903A /* Preview Assets.xcassets */; }; - F4C6D91A2544E17500F8903A /* wulkanowyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4C6D9192544E17500F8903A /* wulkanowyTests.swift */; }; F4C6D9252544E17500F8903A /* wulkanowyUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4C6D9242544E17500F8903A /* wulkanowyUITests.swift */; }; /* End PBXBuildFile section */ @@ -89,6 +90,8 @@ 5C89C8F425EA6AA4000B5816 /* licenses.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = licenses.swift; sourceTree = ""; }; 5C9B6E4925D6ADFB00C3F5F5 /* NetworkExtension.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = NetworkExtension.framework; path = System/Library/Frameworks/NetworkExtension.framework; sourceTree = SDKROOT; }; 5C9B6F4525D6C06D00C3F5F5 /* Sdk */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Sdk; sourceTree = ""; }; + 5CB39735260D4BE200349B0D /* wulkanowyTests */ = {isa = PBXFileReference; lastKnownFileType = folder; name = wulkanowyTests; path = "../../../../../Library/Mobile Documents/com~apple~CloudDocs/.Trash/Tests/wulkanowyTests"; sourceTree = ""; }; + 5CB39736260D4BE200349B0D /* LinuxMain.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = LinuxMain.swift; path = "../../../../../Library/Mobile Documents/com~apple~CloudDocs/.Trash/Tests/LinuxMain.swift"; sourceTree = ""; }; 5CB9907125EE4A3200AA405C /* CustomButtonView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = CustomButtonView.swift; path = ../../../../../../Shared/CustomButtonView.swift; sourceTree = ""; }; 5CB9907525EE4A3B00AA405C /* OnboardingView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = OnboardingView.swift; path = ../../../../../../Onboarding/OnboardingView.swift; sourceTree = ""; }; 5CC2EAA425E516F100B6183E /* dashboard.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = dashboard.swift; sourceTree = ""; }; @@ -102,7 +105,6 @@ F4C6D90E2544E17500F8903A /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; F4C6D9102544E17500F8903A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; F4C6D9152544E17500F8903A /* wulkanowyTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = wulkanowyTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - F4C6D9192544E17500F8903A /* wulkanowyTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = wulkanowyTests.swift; sourceTree = ""; }; F4C6D91B2544E17500F8903A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; F4C6D9202544E17500F8903A /* wulkanowyUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = wulkanowyUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; F4C6D9242544E17500F8903A /* wulkanowyUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = wulkanowyUITests.swift; sourceTree = ""; }; @@ -271,7 +273,8 @@ F4C6D9182544E17500F8903A /* wulkanowyTests */ = { isa = PBXGroup; children = ( - F4C6D9192544E17500F8903A /* wulkanowyTests.swift */, + 5CB39736260D4BE200349B0D /* LinuxMain.swift */, + 5CB39735260D4BE200349B0D /* wulkanowyTests */, F4C6D91B2544E17500F8903A /* Info.plist */, ); path = wulkanowyTests; @@ -413,6 +416,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 5CB39737260D4BE200349B0D /* wulkanowyTests in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -454,7 +458,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - F4C6D91A2544E17500F8903A /* wulkanowyTests.swift in Sources */, + 5CB39738260D4BE200349B0D /* LinuxMain.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/wulkanowy.xcodeproj/xcshareddata/xcschemes/wulkanowy.xcscheme b/wulkanowy.xcodeproj/xcshareddata/xcschemes/wulkanowy.xcscheme new file mode 100644 index 0000000..0bde8c0 --- /dev/null +++ b/wulkanowy.xcodeproj/xcshareddata/xcschemes/wulkanowy.xcscheme @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/wulkanowy.xcodeproj/xcshareddata/xcschemes/wulkanowyTests.xcscheme b/wulkanowy.xcodeproj/xcshareddata/xcschemes/wulkanowyTests.xcscheme new file mode 100644 index 0000000..5d282c7 --- /dev/null +++ b/wulkanowy.xcodeproj/xcshareddata/xcschemes/wulkanowyTests.xcscheme @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/wulkanowy.xcworkspace/contents.xcworkspacedata b/wulkanowy.xcworkspace/contents.xcworkspacedata index 9d722e0..7361111 100644 --- a/wulkanowy.xcworkspace/contents.xcworkspacedata +++ b/wulkanowy.xcworkspace/contents.xcworkspacedata @@ -4,7 +4,4 @@ - - diff --git a/wulkanowyTests/wulkanowyTests.swift b/wulkanowyTests/wulkanowyTests.swift deleted file mode 100644 index c88abd1..0000000 --- a/wulkanowyTests/wulkanowyTests.swift +++ /dev/null @@ -1,34 +0,0 @@ -// -// wulkanowyTests.swift -// wulkanowyTests -// -// Created by Mikołaj on 25/10/2020. -// - -import XCTest -@testable import wulkanowy - -@available (iOS 14, macOS 11, watchOS 7, tvOS 14, *) -class wulkanowyTests: XCTestCase { - - override func setUpWithError() throws { - // Put setup code here. This method is called before the invocation of each test method in the class. - } - - override func tearDownWithError() throws { - // Put teardown code here. This method is called after the invocation of each test method in the class. - } - - func testExample() throws { - // This is an example of a functional test case. - // Use XCTAssert and related functions to verify your tests produce the correct results. - } - - func testPerformanceExample() throws { - // This is an example of a performance test case. - self.measure { - // Put the code you want to measure the time of here. - } - } - -} From 26c4948ecb7b16ed2de26738559937774403a802 Mon Sep 17 00:00:00 2001 From: Tomasz F Date: Fri, 26 Mar 2021 00:19:48 +0100 Subject: [PATCH 07/26] Update swift.yml --- .github/workflows/swift.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index f9eb769..eb7e735 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -13,5 +13,20 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Build - run: swift build -v + - name: Select Xcode + run: sudo xcode-select -switch /Applications/Xcode_11.3.app + - name: Xcode version + run: /usr/bin/xcodebuild -version + - name: Build archive + run: | + xcodebuild -sdk iphoneos -project CocoaHeadsNL/CocoaHeadsNL.xcodeproj \ + -configuration Release -scheme CocoaHeadsNL \ + -derivedDataPath DerivedData \ + -archivePath DerivedData/Archive/CocoaHeadsNL archive + - name: Export Archive + run: | + xcodebuild -exportArchive \ + -archivePath DerivedData/Archive/CocoaHeadsNL.xcarchive \ + -exportOptionsPlist provisioning/App-Store.plist \ + -exportPath DerivedData/ipa + From e0fea55431c1099f08e10542ea53398a4752caa6 Mon Sep 17 00:00:00 2001 From: Tomasz F Date: Fri, 26 Mar 2021 00:22:22 +0100 Subject: [PATCH 08/26] Update swift.yml --- .github/workflows/swift.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index eb7e735..6e4a01b 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -19,14 +19,14 @@ jobs: run: /usr/bin/xcodebuild -version - name: Build archive run: | - xcodebuild -sdk iphoneos -project CocoaHeadsNL/CocoaHeadsNL.xcodeproj \ - -configuration Release -scheme CocoaHeadsNL \ + xcodebuild -sdk iphoneos -project wulkanowy/wulkanowy.xcodeproj \ + -configuration Release -scheme wulkanowy \ -derivedDataPath DerivedData \ - -archivePath DerivedData/Archive/CocoaHeadsNL archive + -archivePath DerivedData/Archive/Wulkanowy archive - name: Export Archive run: | xcodebuild -exportArchive \ - -archivePath DerivedData/Archive/CocoaHeadsNL.xcarchive \ + -archivePath DerivedData/Archive/Wulkanowy.xcarchive \ -exportOptionsPlist provisioning/App-Store.plist \ -exportPath DerivedData/ipa From 67aa744f0f0eed17e147fffc0ce212c79fe3526d Mon Sep 17 00:00:00 2001 From: Tomasz F Date: Fri, 26 Mar 2021 00:24:18 +0100 Subject: [PATCH 09/26] Update swift.yml --- .github/workflows/swift.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 6e4a01b..ba9e95f 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -19,7 +19,7 @@ jobs: run: /usr/bin/xcodebuild -version - name: Build archive run: | - xcodebuild -sdk iphoneos -project wulkanowy/wulkanowy.xcodeproj \ + xcodebuild -sdk iphoneos -project wulkanowy.xcodeproj \ -configuration Release -scheme wulkanowy \ -derivedDataPath DerivedData \ -archivePath DerivedData/Archive/Wulkanowy archive From a0ad32fb216a24dfd490946a9e17d8ef9dec2f1c Mon Sep 17 00:00:00 2001 From: Tomasz F Date: Fri, 26 Mar 2021 00:27:14 +0100 Subject: [PATCH 10/26] Delete wulkanowy-ios.xcodeproj directory --- wulkanowy-ios.xcodeproj/project.pbxproj | 605 ------------------ .../contents.xcworkspacedata | 7 - .../xcshareddata/WorkspaceSettings.xcsettings | 8 - .../wulkanowy_iosTests_Info.plist | 25 - .../wulkanowy_ios_Info.plist | 25 - .../xcschemes/wulkanowy-ios-Package.xcscheme | 33 - 6 files changed, 703 deletions(-) delete mode 100644 wulkanowy-ios.xcodeproj/project.pbxproj delete mode 100644 wulkanowy-ios.xcodeproj/project.xcworkspace/contents.xcworkspacedata delete mode 100644 wulkanowy-ios.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings delete mode 100644 wulkanowy-ios.xcodeproj/wulkanowy_iosTests_Info.plist delete mode 100644 wulkanowy-ios.xcodeproj/wulkanowy_ios_Info.plist delete mode 100644 wulkanowy-ios.xcodeproj/xcshareddata/xcschemes/wulkanowy-ios-Package.xcscheme diff --git a/wulkanowy-ios.xcodeproj/project.pbxproj b/wulkanowy-ios.xcodeproj/project.pbxproj deleted file mode 100644 index 9297c11..0000000 --- a/wulkanowy-ios.xcodeproj/project.pbxproj +++ /dev/null @@ -1,605 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = "1"; - objectVersion = "46"; - objects = { - "OBJ_1" = { - isa = "PBXProject"; - attributes = { - LastSwiftMigration = "9999"; - LastUpgradeCheck = "9999"; - }; - buildConfigurationList = "OBJ_2"; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = "en"; - hasScannedForEncodings = "0"; - knownRegions = ( - "en" - ); - mainGroup = "OBJ_5"; - productRefGroup = "OBJ_14"; - projectDirPath = "."; - targets = ( - "wulkanowy-ios::wulkanowy-ios", - "wulkanowy-ios::SwiftPMPackageDescription", - "wulkanowy-ios::wulkanowy-iosPackageTests::ProductTarget", - "wulkanowy-ios::wulkanowy-iosTests" - ); - }; - "OBJ_10" = { - isa = "PBXGroup"; - children = ( - "OBJ_11" - ); - name = "Tests"; - path = ""; - sourceTree = "SOURCE_ROOT"; - }; - "OBJ_11" = { - isa = "PBXGroup"; - children = ( - "OBJ_12", - "OBJ_13" - ); - name = "wulkanowy-iosTests"; - path = "Tests/wulkanowy-iosTests"; - sourceTree = "SOURCE_ROOT"; - }; - "OBJ_12" = { - isa = "PBXFileReference"; - path = "XCTestManifests.swift"; - sourceTree = ""; - }; - "OBJ_13" = { - isa = "PBXFileReference"; - path = "wulkanowy_iosTests.swift"; - sourceTree = ""; - }; - "OBJ_14" = { - isa = "PBXGroup"; - children = ( - "wulkanowy-ios::wulkanowy-ios::Product", - "wulkanowy-ios::wulkanowy-iosTests::Product" - ); - name = "Products"; - path = ""; - sourceTree = "BUILT_PRODUCTS_DIR"; - }; - "OBJ_17" = { - isa = "PBXFileReference"; - path = "wulkanowy.xcworkspace"; - sourceTree = "SOURCE_ROOT"; - }; - "OBJ_18" = { - isa = "PBXFileReference"; - path = "wulkanowy"; - sourceTree = "SOURCE_ROOT"; - }; - "OBJ_19" = { - isa = "PBXFileReference"; - path = "wulkanowyTests"; - sourceTree = "SOURCE_ROOT"; - }; - "OBJ_2" = { - isa = "XCConfigurationList"; - buildConfigurations = ( - "OBJ_3", - "OBJ_4" - ); - defaultConfigurationIsVisible = "0"; - defaultConfigurationName = "Release"; - }; - "OBJ_20" = { - isa = "PBXFileReference"; - path = "Sdk"; - sourceTree = "SOURCE_ROOT"; - }; - "OBJ_21" = { - isa = "PBXFileReference"; - path = "wulkanowyUITests"; - sourceTree = "SOURCE_ROOT"; - }; - "OBJ_22" = { - isa = "PBXFileReference"; - path = "LICENSE"; - sourceTree = ""; - }; - "OBJ_23" = { - isa = "PBXFileReference"; - path = "README.md"; - sourceTree = ""; - }; - "OBJ_25" = { - isa = "XCConfigurationList"; - buildConfigurations = ( - "OBJ_26", - "OBJ_27" - ); - defaultConfigurationIsVisible = "0"; - defaultConfigurationName = "Release"; - }; - "OBJ_26" = { - isa = "XCBuildConfiguration"; - buildSettings = { - ENABLE_TESTABILITY = "YES"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PLATFORM_DIR)/Developer/Library/Frameworks" - ); - HEADER_SEARCH_PATHS = ( - "$(inherited)" - ); - INFOPLIST_FILE = "wulkanowy-ios.xcodeproj/wulkanowy_ios_Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = "9.0"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx" - ); - MACOSX_DEPLOYMENT_TARGET = "10.10"; - OTHER_CFLAGS = ( - "$(inherited)" - ); - OTHER_LDFLAGS = ( - "$(inherited)" - ); - OTHER_SWIFT_FLAGS = ( - "$(inherited)" - ); - PRODUCT_BUNDLE_IDENTIFIER = "wulkanowy-ios"; - PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SKIP_INSTALL = "YES"; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( - "$(inherited)" - ); - SWIFT_VERSION = "5.0"; - TARGET_NAME = "wulkanowy-ios"; - TVOS_DEPLOYMENT_TARGET = "9.0"; - WATCHOS_DEPLOYMENT_TARGET = "2.0"; - }; - name = "Debug"; - }; - "OBJ_27" = { - isa = "XCBuildConfiguration"; - buildSettings = { - ENABLE_TESTABILITY = "YES"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PLATFORM_DIR)/Developer/Library/Frameworks" - ); - HEADER_SEARCH_PATHS = ( - "$(inherited)" - ); - INFOPLIST_FILE = "wulkanowy-ios.xcodeproj/wulkanowy_ios_Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = "9.0"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx" - ); - MACOSX_DEPLOYMENT_TARGET = "10.10"; - OTHER_CFLAGS = ( - "$(inherited)" - ); - OTHER_LDFLAGS = ( - "$(inherited)" - ); - OTHER_SWIFT_FLAGS = ( - "$(inherited)" - ); - PRODUCT_BUNDLE_IDENTIFIER = "wulkanowy-ios"; - PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SKIP_INSTALL = "YES"; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( - "$(inherited)" - ); - SWIFT_VERSION = "5.0"; - TARGET_NAME = "wulkanowy-ios"; - TVOS_DEPLOYMENT_TARGET = "9.0"; - WATCHOS_DEPLOYMENT_TARGET = "2.0"; - }; - name = "Release"; - }; - "OBJ_28" = { - isa = "PBXSourcesBuildPhase"; - files = ( - "OBJ_29" - ); - }; - "OBJ_29" = { - isa = "PBXBuildFile"; - fileRef = "OBJ_9"; - }; - "OBJ_3" = { - isa = "XCBuildConfiguration"; - buildSettings = { - CLANG_ENABLE_OBJC_ARC = "YES"; - COMBINE_HIDPI_IMAGES = "YES"; - COPY_PHASE_STRIP = "NO"; - DEBUG_INFORMATION_FORMAT = "dwarf"; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - ENABLE_NS_ASSERTIONS = "YES"; - GCC_OPTIMIZATION_LEVEL = "0"; - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(inherited)", - "SWIFT_PACKAGE=1", - "DEBUG=1" - ); - MACOSX_DEPLOYMENT_TARGET = "10.10"; - ONLY_ACTIVE_ARCH = "YES"; - OTHER_SWIFT_FLAGS = ( - "$(inherited)", - "-DXcode" - ); - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = "macosx"; - SUPPORTED_PLATFORMS = ( - "macosx", - "iphoneos", - "iphonesimulator", - "appletvos", - "appletvsimulator", - "watchos", - "watchsimulator" - ); - SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( - "$(inherited)", - "SWIFT_PACKAGE", - "DEBUG" - ); - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - USE_HEADERMAP = "NO"; - }; - name = "Debug"; - }; - "OBJ_30" = { - isa = "PBXFrameworksBuildPhase"; - files = ( - ); - }; - "OBJ_32" = { - isa = "XCConfigurationList"; - buildConfigurations = ( - "OBJ_33", - "OBJ_34" - ); - defaultConfigurationIsVisible = "0"; - defaultConfigurationName = "Release"; - }; - "OBJ_33" = { - isa = "XCBuildConfiguration"; - buildSettings = { - LD = "/usr/bin/true"; - OTHER_SWIFT_FLAGS = ( - "-swift-version", - "5", - "-I", - "$(TOOLCHAIN_DIR)/usr/lib/swift/pm/4_2", - "-sdk", - "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk", - "-package-description-version", - "5.3.0" - ); - SWIFT_VERSION = "5.0"; - }; - name = "Debug"; - }; - "OBJ_34" = { - isa = "XCBuildConfiguration"; - buildSettings = { - LD = "/usr/bin/true"; - OTHER_SWIFT_FLAGS = ( - "-swift-version", - "5", - "-I", - "$(TOOLCHAIN_DIR)/usr/lib/swift/pm/4_2", - "-sdk", - "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk", - "-package-description-version", - "5.3.0" - ); - SWIFT_VERSION = "5.0"; - }; - name = "Release"; - }; - "OBJ_35" = { - isa = "PBXSourcesBuildPhase"; - files = ( - "OBJ_36" - ); - }; - "OBJ_36" = { - isa = "PBXBuildFile"; - fileRef = "OBJ_6"; - }; - "OBJ_38" = { - isa = "XCConfigurationList"; - buildConfigurations = ( - "OBJ_39", - "OBJ_40" - ); - defaultConfigurationIsVisible = "0"; - defaultConfigurationName = "Release"; - }; - "OBJ_39" = { - isa = "XCBuildConfiguration"; - buildSettings = { - }; - name = "Debug"; - }; - "OBJ_4" = { - isa = "XCBuildConfiguration"; - buildSettings = { - CLANG_ENABLE_OBJC_ARC = "YES"; - COMBINE_HIDPI_IMAGES = "YES"; - COPY_PHASE_STRIP = "YES"; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_OPTIMIZATION_LEVEL = "s"; - GCC_PREPROCESSOR_DEFINITIONS = ( - "$(inherited)", - "SWIFT_PACKAGE=1" - ); - MACOSX_DEPLOYMENT_TARGET = "10.10"; - OTHER_SWIFT_FLAGS = ( - "$(inherited)", - "-DXcode" - ); - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = "macosx"; - SUPPORTED_PLATFORMS = ( - "macosx", - "iphoneos", - "iphonesimulator", - "appletvos", - "appletvsimulator", - "watchos", - "watchsimulator" - ); - SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( - "$(inherited)", - "SWIFT_PACKAGE" - ); - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - USE_HEADERMAP = "NO"; - }; - name = "Release"; - }; - "OBJ_40" = { - isa = "XCBuildConfiguration"; - buildSettings = { - }; - name = "Release"; - }; - "OBJ_41" = { - isa = "PBXTargetDependency"; - target = "wulkanowy-ios::wulkanowy-iosTests"; - }; - "OBJ_43" = { - isa = "XCConfigurationList"; - buildConfigurations = ( - "OBJ_44", - "OBJ_45" - ); - defaultConfigurationIsVisible = "0"; - defaultConfigurationName = "Release"; - }; - "OBJ_44" = { - isa = "XCBuildConfiguration"; - buildSettings = { - CLANG_ENABLE_MODULES = "YES"; - EMBEDDED_CONTENT_CONTAINS_SWIFT = "YES"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PLATFORM_DIR)/Developer/Library/Frameworks" - ); - HEADER_SEARCH_PATHS = ( - "$(inherited)" - ); - INFOPLIST_FILE = "wulkanowy-ios.xcodeproj/wulkanowy_iosTests_Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = "14.0"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@loader_path/../Frameworks", - "@loader_path/Frameworks" - ); - MACOSX_DEPLOYMENT_TARGET = "10.15"; - OTHER_CFLAGS = ( - "$(inherited)" - ); - OTHER_LDFLAGS = ( - "$(inherited)" - ); - OTHER_SWIFT_FLAGS = ( - "$(inherited)" - ); - SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( - "$(inherited)" - ); - SWIFT_VERSION = "5.0"; - TARGET_NAME = "wulkanowy-iosTests"; - TVOS_DEPLOYMENT_TARGET = "9.0"; - WATCHOS_DEPLOYMENT_TARGET = "2.0"; - }; - name = "Debug"; - }; - "OBJ_45" = { - isa = "XCBuildConfiguration"; - buildSettings = { - CLANG_ENABLE_MODULES = "YES"; - EMBEDDED_CONTENT_CONTAINS_SWIFT = "YES"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PLATFORM_DIR)/Developer/Library/Frameworks" - ); - HEADER_SEARCH_PATHS = ( - "$(inherited)" - ); - INFOPLIST_FILE = "wulkanowy-ios.xcodeproj/wulkanowy_iosTests_Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = "14.0"; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@loader_path/../Frameworks", - "@loader_path/Frameworks" - ); - MACOSX_DEPLOYMENT_TARGET = "10.15"; - OTHER_CFLAGS = ( - "$(inherited)" - ); - OTHER_LDFLAGS = ( - "$(inherited)" - ); - OTHER_SWIFT_FLAGS = ( - "$(inherited)" - ); - SWIFT_ACTIVE_COMPILATION_CONDITIONS = ( - "$(inherited)" - ); - SWIFT_VERSION = "5.0"; - TARGET_NAME = "wulkanowy-iosTests"; - TVOS_DEPLOYMENT_TARGET = "9.0"; - WATCHOS_DEPLOYMENT_TARGET = "2.0"; - }; - name = "Release"; - }; - "OBJ_46" = { - isa = "PBXSourcesBuildPhase"; - files = ( - "OBJ_47", - "OBJ_48" - ); - }; - "OBJ_47" = { - isa = "PBXBuildFile"; - fileRef = "OBJ_12"; - }; - "OBJ_48" = { - isa = "PBXBuildFile"; - fileRef = "OBJ_13"; - }; - "OBJ_49" = { - isa = "PBXFrameworksBuildPhase"; - files = ( - "OBJ_50" - ); - }; - "OBJ_5" = { - isa = "PBXGroup"; - children = ( - "OBJ_6", - "OBJ_7", - "OBJ_10", - "OBJ_14", - "OBJ_17", - "OBJ_18", - "OBJ_19", - "OBJ_20", - "OBJ_21", - "OBJ_22", - "OBJ_23" - ); - path = ""; - sourceTree = ""; - }; - "OBJ_50" = { - isa = "PBXBuildFile"; - fileRef = "wulkanowy-ios::wulkanowy-ios::Product"; - }; - "OBJ_51" = { - isa = "PBXTargetDependency"; - target = "wulkanowy-ios::wulkanowy-ios"; - }; - "OBJ_6" = { - isa = "PBXFileReference"; - explicitFileType = "sourcecode.swift"; - path = "Package.swift"; - sourceTree = ""; - }; - "OBJ_7" = { - isa = "PBXGroup"; - children = ( - "OBJ_8" - ); - name = "Sources"; - path = ""; - sourceTree = "SOURCE_ROOT"; - }; - "OBJ_8" = { - isa = "PBXGroup"; - children = ( - "OBJ_9" - ); - name = "wulkanowy-ios"; - path = "Sources/wulkanowy-ios"; - sourceTree = "SOURCE_ROOT"; - }; - "OBJ_9" = { - isa = "PBXFileReference"; - path = "wulkanowy_ios.swift"; - sourceTree = ""; - }; - "wulkanowy-ios::SwiftPMPackageDescription" = { - isa = "PBXNativeTarget"; - buildConfigurationList = "OBJ_32"; - buildPhases = ( - "OBJ_35" - ); - dependencies = ( - ); - name = "wulkanowy-iosPackageDescription"; - productName = "wulkanowy-iosPackageDescription"; - productType = "com.apple.product-type.framework"; - }; - "wulkanowy-ios::wulkanowy-ios" = { - isa = "PBXNativeTarget"; - buildConfigurationList = "OBJ_25"; - buildPhases = ( - "OBJ_28", - "OBJ_30" - ); - dependencies = ( - ); - name = "wulkanowy-ios"; - productName = "wulkanowy_ios"; - productReference = "wulkanowy-ios::wulkanowy-ios::Product"; - productType = "com.apple.product-type.framework"; - }; - "wulkanowy-ios::wulkanowy-ios::Product" = { - isa = "PBXFileReference"; - path = "wulkanowy_ios.framework"; - sourceTree = "BUILT_PRODUCTS_DIR"; - }; - "wulkanowy-ios::wulkanowy-iosPackageTests::ProductTarget" = { - isa = "PBXAggregateTarget"; - buildConfigurationList = "OBJ_38"; - buildPhases = ( - ); - dependencies = ( - "OBJ_41" - ); - name = "wulkanowy-iosPackageTests"; - productName = "wulkanowy-iosPackageTests"; - }; - "wulkanowy-ios::wulkanowy-iosTests" = { - isa = "PBXNativeTarget"; - buildConfigurationList = "OBJ_43"; - buildPhases = ( - "OBJ_46", - "OBJ_49" - ); - dependencies = ( - "OBJ_51" - ); - name = "wulkanowy-iosTests"; - productName = "wulkanowy_iosTests"; - productReference = "wulkanowy-ios::wulkanowy-iosTests::Product"; - productType = "com.apple.product-type.bundle.unit-test"; - }; - "wulkanowy-ios::wulkanowy-iosTests::Product" = { - isa = "PBXFileReference"; - path = "wulkanowy_iosTests.xctest"; - sourceTree = "BUILT_PRODUCTS_DIR"; - }; - }; - rootObject = "OBJ_1"; -} diff --git a/wulkanowy-ios.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/wulkanowy-ios.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index fe1aa71..0000000 --- a/wulkanowy-ios.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - \ No newline at end of file diff --git a/wulkanowy-ios.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/wulkanowy-ios.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index a72dc2b..0000000 --- a/wulkanowy-ios.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded - - - \ No newline at end of file diff --git a/wulkanowy-ios.xcodeproj/wulkanowy_iosTests_Info.plist b/wulkanowy-ios.xcodeproj/wulkanowy_iosTests_Info.plist deleted file mode 100644 index 7c23420..0000000 --- a/wulkanowy-ios.xcodeproj/wulkanowy_iosTests_Info.plist +++ /dev/null @@ -1,25 +0,0 @@ - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - $(CURRENT_PROJECT_VERSION) - NSPrincipalClass - - - diff --git a/wulkanowy-ios.xcodeproj/wulkanowy_ios_Info.plist b/wulkanowy-ios.xcodeproj/wulkanowy_ios_Info.plist deleted file mode 100644 index 57ada9f..0000000 --- a/wulkanowy-ios.xcodeproj/wulkanowy_ios_Info.plist +++ /dev/null @@ -1,25 +0,0 @@ - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - $(CURRENT_PROJECT_VERSION) - NSPrincipalClass - - - diff --git a/wulkanowy-ios.xcodeproj/xcshareddata/xcschemes/wulkanowy-ios-Package.xcscheme b/wulkanowy-ios.xcodeproj/xcshareddata/xcschemes/wulkanowy-ios-Package.xcscheme deleted file mode 100644 index 49138d8..0000000 --- a/wulkanowy-ios.xcodeproj/xcshareddata/xcschemes/wulkanowy-ios-Package.xcscheme +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - From 19d8f620285a2b1c6c1c609438d536ee94aaa68d Mon Sep 17 00:00:00 2001 From: Tomasz F Date: Fri, 26 Mar 2021 00:32:29 +0100 Subject: [PATCH 11/26] Update Package.swift --- sdk/Package.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/Package.swift b/sdk/Package.swift index eca6fe6..47c3623 100644 --- a/sdk/Package.swift +++ b/sdk/Package.swift @@ -13,7 +13,8 @@ let package = Package( ], dependencies: [ // Dependencies declare other packages that this package depends on. - // .package(url: /* package url */, from: "1.0.0"), + .package(url: "https://github.com/kishikawakatsumi/KeychainAccess.git", from: "4.2.2"), + .package(url: "https://github.com/krzyzanowskim/OpenSSL", from: "1.1.180"), ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. From 6f4e7038c6fe772d0078f79f14c530c38a64292b Mon Sep 17 00:00:00 2001 From: Tomasz F Date: Fri, 26 Mar 2021 09:05:18 +0100 Subject: [PATCH 12/26] Update swift.yml --- .github/workflows/swift.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index ba9e95f..b049c77 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Select Xcode - run: sudo xcode-select -switch /Applications/Xcode_11.3.app + run: sudo xcode-select -switch /Applications/Xcode_12.4.app - name: Xcode version run: /usr/bin/xcodebuild -version - name: Build archive From f66ea4799a61b40191bff46e26c610f89882af64 Mon Sep 17 00:00:00 2001 From: Tomasz F Date: Fri, 26 Mar 2021 09:55:30 +0100 Subject: [PATCH 13/26] Update swift.yml --- .github/workflows/swift.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index b049c77..fc93789 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -17,16 +17,7 @@ jobs: run: sudo xcode-select -switch /Applications/Xcode_12.4.app - name: Xcode version run: /usr/bin/xcodebuild -version - - name: Build archive + - name: Build app run: | - xcodebuild -sdk iphoneos -project wulkanowy.xcodeproj \ - -configuration Release -scheme wulkanowy \ - -derivedDataPath DerivedData \ - -archivePath DerivedData/Archive/Wulkanowy archive - - name: Export Archive - run: | - xcodebuild -exportArchive \ - -archivePath DerivedData/Archive/Wulkanowy.xcarchive \ - -exportOptionsPlist provisioning/App-Store.plist \ - -exportPath DerivedData/ipa + xcodebuild CODE_SIGNING_ALLOWED=NO -project wulkanowy.xcodeproj From e4264d629021a112763719e8f205e53a208c53a3 Mon Sep 17 00:00:00 2001 From: Tomasz F Date: Fri, 26 Mar 2021 10:02:39 +0100 Subject: [PATCH 14/26] Update Package.swift --- sdk/Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/Package.swift b/sdk/Package.swift index 47c3623..c780201 100644 --- a/sdk/Package.swift +++ b/sdk/Package.swift @@ -13,7 +13,7 @@ let package = Package( ], dependencies: [ // Dependencies declare other packages that this package depends on. - .package(url: "https://github.com/kishikawakatsumi/KeychainAccess.git", from: "4.2.2"), + .package(url: "https://github.com/kishikawakatsumi/KeychainAccess.git", from: "4.0"), .package(url: "https://github.com/krzyzanowskim/OpenSSL", from: "1.1.180"), ], targets: [ From c82e0fff8be946b48b586bc261624552c6fa1c53 Mon Sep 17 00:00:00 2001 From: Tomasz F Date: Fri, 26 Mar 2021 10:18:16 +0100 Subject: [PATCH 15/26] Update swift.yml --- .github/workflows/swift.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index fc93789..86e4eac 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -17,6 +17,8 @@ jobs: run: sudo xcode-select -switch /Applications/Xcode_12.4.app - name: Xcode version run: /usr/bin/xcodebuild -version + - name: Removing libraries + run: rm -rf ~/Library/Developer/Xcode/DerivedData/* - name: Build app run: | xcodebuild CODE_SIGNING_ALLOWED=NO -project wulkanowy.xcodeproj From 75f11dfce18827cc895d457ce26e983d498cc1be Mon Sep 17 00:00:00 2001 From: Tomasz F Date: Fri, 26 Mar 2021 10:19:25 +0100 Subject: [PATCH 16/26] Update Package.swift --- sdk/Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/Package.swift b/sdk/Package.swift index c780201..47c3623 100644 --- a/sdk/Package.swift +++ b/sdk/Package.swift @@ -13,7 +13,7 @@ let package = Package( ], dependencies: [ // Dependencies declare other packages that this package depends on. - .package(url: "https://github.com/kishikawakatsumi/KeychainAccess.git", from: "4.0"), + .package(url: "https://github.com/kishikawakatsumi/KeychainAccess.git", from: "4.2.2"), .package(url: "https://github.com/krzyzanowskim/OpenSSL", from: "1.1.180"), ], targets: [ From aaf9954aafd4748053a590659bf2a4aefbef2749 Mon Sep 17 00:00:00 2001 From: Tomasz F Date: Fri, 26 Mar 2021 11:37:57 +0100 Subject: [PATCH 17/26] Update swift.yml --- .github/workflows/swift.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 86e4eac..4d0ce71 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -17,9 +17,10 @@ jobs: run: sudo xcode-select -switch /Applications/Xcode_12.4.app - name: Xcode version run: /usr/bin/xcodebuild -version - - name: Removing libraries - run: rm -rf ~/Library/Developer/Xcode/DerivedData/* + - name: Resolve package dependencies + run: | + xcodebuild -resolvePackageDependencies - name: Build app run: | - xcodebuild CODE_SIGNING_ALLOWED=NO -project wulkanowy.xcodeproj + xcodebuild CODE_SIGNING_ALLOWED=NO -workspace "wulkanowy.xcworkspace" -scheme "wulkanowy" -configuration Release -sdk iphoneos From 577a3c1e02a880ad8eab1e5286dff8004d062065 Mon Sep 17 00:00:00 2001 From: Tomasz F Date: Fri, 26 Mar 2021 11:43:40 +0100 Subject: [PATCH 18/26] Update Package.swift --- sdk/Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/Package.swift b/sdk/Package.swift index 47c3623..2ef904e 100644 --- a/sdk/Package.swift +++ b/sdk/Package.swift @@ -13,7 +13,7 @@ let package = Package( ], dependencies: [ // Dependencies declare other packages that this package depends on. - .package(url: "https://github.com/kishikawakatsumi/KeychainAccess.git", from: "4.2.2"), + .package(url: "https://github.com/kishikawakatsumi/KeychainAccess", from: "4.2.2"), .package(url: "https://github.com/krzyzanowskim/OpenSSL", from: "1.1.180"), ], targets: [ From c745d7fb9cbd732feb90d77fc4c4d4fcdd5f14ab Mon Sep 17 00:00:00 2001 From: Pengwius Date: Fri, 26 Mar 2021 12:09:05 +0100 Subject: [PATCH 19/26] Fix --- sdk/Package.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/Package.swift b/sdk/Package.swift index eca6fe6..2ef904e 100644 --- a/sdk/Package.swift +++ b/sdk/Package.swift @@ -13,7 +13,8 @@ let package = Package( ], dependencies: [ // Dependencies declare other packages that this package depends on. - // .package(url: /* package url */, from: "1.0.0"), + .package(url: "https://github.com/kishikawakatsumi/KeychainAccess", from: "4.2.2"), + .package(url: "https://github.com/krzyzanowskim/OpenSSL", from: "1.1.180"), ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. From dbf04b4bd629f0bf12738d17adc659da9dfde1b1 Mon Sep 17 00:00:00 2001 From: Tomasz F Date: Fri, 26 Mar 2021 16:35:52 +0100 Subject: [PATCH 20/26] Update Package.swift --- sdk/Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/Package.swift b/sdk/Package.swift index 2ef904e..c27b13f 100644 --- a/sdk/Package.swift +++ b/sdk/Package.swift @@ -21,7 +21,7 @@ let package = Package( // Targets can depend on other targets in this package, and on products in packages this package depends on. .target( name: "Sdk", - dependencies: []), + dependencies: ["KeychainAccess", "OpenSSL"]), .testTarget( name: "SdkTests", dependencies: ["Sdk"]), From ec445cd619f873add071e1321ffc49b71e2220d0 Mon Sep 17 00:00:00 2001 From: Tomasz F Date: Fri, 26 Mar 2021 16:43:31 +0100 Subject: [PATCH 21/26] Update swift.yml --- .github/workflows/swift.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 4d0ce71..6d9d519 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -17,10 +17,7 @@ jobs: run: sudo xcode-select -switch /Applications/Xcode_12.4.app - name: Xcode version run: /usr/bin/xcodebuild -version - - name: Resolve package dependencies - run: | - xcodebuild -resolvePackageDependencies - name: Build app run: | - xcodebuild CODE_SIGNING_ALLOWED=NO -workspace "wulkanowy.xcworkspace" -scheme "wulkanowy" -configuration Release -sdk iphoneos + xcodebuild CODE_SIGNING_ALLOWED=NO -project"wulkanowy.xcodeproj" -scheme "wulkanowy" -configuration Release -sdk iphoneos From f0b9d94a7fe8fac80b72d03333fd7e8b3bfd9dd4 Mon Sep 17 00:00:00 2001 From: Tomasz F Date: Fri, 26 Mar 2021 16:45:00 +0100 Subject: [PATCH 22/26] Update swift.yml --- .github/workflows/swift.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 6d9d519..a576e64 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -19,5 +19,5 @@ jobs: run: /usr/bin/xcodebuild -version - name: Build app run: | - xcodebuild CODE_SIGNING_ALLOWED=NO -project"wulkanowy.xcodeproj" -scheme "wulkanowy" -configuration Release -sdk iphoneos + xcodebuild CODE_SIGNING_ALLOWED=NO -project "wulkanowy.xcodeproj" -scheme "wulkanowy" -configuration Release -sdk iphoneos From c57ba4635a0961c4f25cbc3d925cf48295dc8cf3 Mon Sep 17 00:00:00 2001 From: Tomasz F Date: Fri, 26 Mar 2021 16:51:14 +0100 Subject: [PATCH 23/26] Update swift.yml --- .github/workflows/swift.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index a576e64..e9d6a73 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -19,5 +19,7 @@ jobs: run: /usr/bin/xcodebuild -version - name: Build app run: | - xcodebuild CODE_SIGNING_ALLOWED=NO -project "wulkanowy.xcodeproj" -scheme "wulkanowy" -configuration Release -sdk iphoneos + xcodebuild CODE_SIGNING_ALLOWED=NO -sdk iphoneos -project wulkanowy/wulkanowy.xcodeproj \ + -configuration Release -scheme wulkanowy \ + -derivedDataPath DerivedData clean build From 38dbbba39748a19777553d3220e0bebed07a144c Mon Sep 17 00:00:00 2001 From: Tomasz F Date: Fri, 26 Mar 2021 16:52:16 +0100 Subject: [PATCH 24/26] Update swift.yml --- .github/workflows/swift.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index e9d6a73..6600005 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -19,7 +19,7 @@ jobs: run: /usr/bin/xcodebuild -version - name: Build app run: | - xcodebuild CODE_SIGNING_ALLOWED=NO -sdk iphoneos -project wulkanowy/wulkanowy.xcodeproj \ + xcodebuild CODE_SIGNING_ALLOWED=NO -sdk iphoneos -project wulkanowy.xcodeproj \ -configuration Release -scheme wulkanowy \ -derivedDataPath DerivedData clean build From db323f6a1bdd170ae74494df7cee9f1c82cdd397 Mon Sep 17 00:00:00 2001 From: Tomasz F Date: Fri, 26 Mar 2021 17:04:33 +0100 Subject: [PATCH 25/26] Update swift.yml --- .github/workflows/swift.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 6600005..50ade7b 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -19,7 +19,7 @@ jobs: run: /usr/bin/xcodebuild -version - name: Build app run: | - xcodebuild CODE_SIGNING_ALLOWED=NO -sdk iphoneos -project wulkanowy.xcodeproj \ + xcodebuild CODE_SIGNING_ALLOWED=NO -sdk iphoneos -workspace wulkanowy.xcworkspace \ -configuration Release -scheme wulkanowy \ -derivedDataPath DerivedData clean build From 4a8ea02c1291a356f2834c7f164cf79ca39e3827 Mon Sep 17 00:00:00 2001 From: Pengwius Date: Fri, 26 Mar 2021 17:56:24 +0100 Subject: [PATCH 26/26] Add DS_Store to .gitignore --- .DS_Store | Bin 6148 -> 6148 bytes .gitignore | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.DS_Store b/.DS_Store index e7a0ec505e7ac575fb1944a8fefa2ac8529610b0..0d3088b12c74e90f5e282b0b7da3d7b91cf7611a 100644 GIT binary patch delta 40 wcmZoMXfc@J&&atkU^g=(=VTt1ibDmH3#_f$G=%2LlF%&8t~oFm7h& H_{$Ff9?Tzj diff --git a/.gitignore b/.gitignore index da50a18..e530096 100644 --- a/.gitignore +++ b/.gitignore @@ -133,4 +133,6 @@ Package.resolved fastlane/report.xml fastlane/Preview.html fastlane/screenshots/**/.png -fastlane/test_output \ No newline at end of file +fastlane/test_output + +*.DS_Store