From 4afa821d4fbd70d48847c21b8d917bab6447f7b2 Mon Sep 17 00:00:00 2001 From: Anton Sokolchenko Date: Mon, 10 Jun 2019 15:18:02 +0300 Subject: [PATCH 1/4] Added Carthage support for building iOS framework --- .../project.pbxproj | 144 ++++++++++++++++++ .../MulticastDelegateSwift iOS.xcscheme | 80 ++++++++++ 2 files changed, 224 insertions(+) create mode 100644 MulticastDelegateDemo.xcodeproj/xcshareddata/xcschemes/MulticastDelegateSwift iOS.xcscheme diff --git a/MulticastDelegateDemo.xcodeproj/project.pbxproj b/MulticastDelegateDemo.xcodeproj/project.pbxproj index 2ced451..d20970c 100644 --- a/MulticastDelegateDemo.xcodeproj/project.pbxproj +++ b/MulticastDelegateDemo.xcodeproj/project.pbxproj @@ -8,6 +8,7 @@ /* Begin PBXBuildFile section */ 00C0F014203E1FC00033F08F /* MulticastDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF59E1F11C318EEC002CB071 /* MulticastDelegate.swift */; }; + 14D2231022AE80FB00D2D871 /* MulticastDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF59E1F11C318EEC002CB071 /* MulticastDelegate.swift */; }; CF59E1D11C318EAE002CB071 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF59E1D01C318EAE002CB071 /* AppDelegate.swift */; }; CF59E1D31C318EAE002CB071 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF59E1D21C318EAE002CB071 /* ViewController.swift */; }; CF59E1D61C318EAE002CB071 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = CF59E1D41C318EAE002CB071 /* Main.storyboard */; }; @@ -34,6 +35,8 @@ /* Begin PBXFileReference section */ 00C0F00C203E1F960033F08F /* MulticastDelegateSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MulticastDelegateSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 00C0F00F203E1F960033F08F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 14D2231722AE80FB00D2D871 /* MulticastDelegateSwift iOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = "MulticastDelegateSwift iOS.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + 14D2231822AE80FB00D2D871 /* MulticastDelegateSwift-Info-iOS.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "MulticastDelegateSwift-Info-iOS.plist"; path = "/Users/seven/Documents/work/waverley/muse/MUSE/Carthage/Checkouts/MulticastDelegate/MulticastDelegateDemo/MulticastDelegateSwift-Info-iOS.plist"; sourceTree = ""; }; CF010C431C3549E7001E396D /* MulticastDelegateSwift.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = MulticastDelegateSwift.podspec; sourceTree = SOURCE_ROOT; }; CF59E1CD1C318EAE002CB071 /* MulticastDelegateDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MulticastDelegateDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; CF59E1D01C318EAE002CB071 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; @@ -58,6 +61,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 14D2231122AE80FB00D2D871 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; CF59E1CA1C318EAE002CB071 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -91,6 +101,7 @@ CF59E1E41C318EAE002CB071 /* MulticastDelegateDemoTests */, 00C0F00D203E1F960033F08F /* MulticastDelegate-macOS */, CF59E1CE1C318EAE002CB071 /* Products */, + 14D2231822AE80FB00D2D871 /* MulticastDelegateSwift-Info-iOS.plist */, ); sourceTree = ""; }; @@ -100,6 +111,7 @@ CF59E1CD1C318EAE002CB071 /* MulticastDelegateDemo.app */, CF59E1E11C318EAE002CB071 /* MulticastDelegateDemoTests.xctest */, 00C0F00C203E1F960033F08F /* MulticastDelegateSwift.framework */, + 14D2231722AE80FB00D2D871 /* MulticastDelegateSwift iOS.framework */, ); name = Products; sourceTree = ""; @@ -147,6 +159,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 14D2231222AE80FB00D2D871 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ @@ -168,6 +187,24 @@ productReference = 00C0F00C203E1F960033F08F /* MulticastDelegateSwift.framework */; productType = "com.apple.product-type.framework"; }; + 14D2230E22AE80FB00D2D871 /* MulticastDelegateSwift iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 14D2231422AE80FB00D2D871 /* Build configuration list for PBXNativeTarget "MulticastDelegateSwift iOS" */; + buildPhases = ( + 14D2230F22AE80FB00D2D871 /* Sources */, + 14D2231122AE80FB00D2D871 /* Frameworks */, + 14D2231222AE80FB00D2D871 /* Headers */, + 14D2231322AE80FB00D2D871 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "MulticastDelegateSwift iOS"; + productName = "MulticastDelegate-macOS"; + productReference = 14D2231722AE80FB00D2D871 /* MulticastDelegateSwift iOS.framework */; + productType = "com.apple.product-type.framework"; + }; CF59E1CC1C318EAE002CB071 /* MulticastDelegateDemo */ = { isa = PBXNativeTarget; buildConfigurationList = CF59E1EA1C318EAE002CB071 /* Build configuration list for PBXNativeTarget "MulticastDelegateDemo" */; @@ -217,6 +254,10 @@ CreatedOnToolsVersion = 9.2; ProvisioningStyle = Automatic; }; + 14D2230E22AE80FB00D2D871 = { + LastSwiftMigration = 1020; + ProvisioningStyle = Automatic; + }; CF59E1CC1C318EAE002CB071 = { CreatedOnToolsVersion = 7.2; LastSwiftMigration = 1020; @@ -244,6 +285,7 @@ CF59E1CC1C318EAE002CB071 /* MulticastDelegateDemo */, CF59E1E01C318EAE002CB071 /* MulticastDelegateDemoTests */, 00C0F00B203E1F960033F08F /* MulticastDelegateSwift */, + 14D2230E22AE80FB00D2D871 /* MulticastDelegateSwift iOS */, ); }; /* End PBXProject section */ @@ -256,6 +298,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 14D2231322AE80FB00D2D871 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; CF59E1CB1C318EAE002CB071 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -284,6 +333,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 14D2230F22AE80FB00D2D871 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 14D2231022AE80FB00D2D871 /* MulticastDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; CF59E1C91C318EAE002CB071 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -414,6 +471,84 @@ }; name = Release; }; + 14D2231522AE80FB00D2D871 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_IDENTITY = "-"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_VERSION = A; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = "MulticastDelegateDemo/MulticastDelegateSwift-Info-iOS.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.9; + PRODUCT_BUNDLE_IDENTIFIER = "joao.MulticastDelegate-macOS"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 14D2231622AE80FB00D2D871 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_IDENTITY = "-"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_VERSION = A; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = "MulticastDelegateDemo/MulticastDelegateSwift-Info-iOS.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.9; + PRODUCT_BUNDLE_IDENTIFIER = "joao.MulticastDelegate-macOS"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; CF59E1E81C318EAE002CB071 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -581,6 +716,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 14D2231422AE80FB00D2D871 /* Build configuration list for PBXNativeTarget "MulticastDelegateSwift iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 14D2231522AE80FB00D2D871 /* Debug */, + 14D2231622AE80FB00D2D871 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; CF59E1C81C318EAE002CB071 /* Build configuration list for PBXProject "MulticastDelegateDemo" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/MulticastDelegateDemo.xcodeproj/xcshareddata/xcschemes/MulticastDelegateSwift iOS.xcscheme b/MulticastDelegateDemo.xcodeproj/xcshareddata/xcschemes/MulticastDelegateSwift iOS.xcscheme new file mode 100644 index 0000000..a729c44 --- /dev/null +++ b/MulticastDelegateDemo.xcodeproj/xcshareddata/xcschemes/MulticastDelegateSwift iOS.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 73654675a2c83db7a61ef5bcae4a83d1f0fe7c69 Mon Sep 17 00:00:00 2001 From: Anton Sokolchenko Date: Mon, 10 Jun 2019 15:35:13 +0300 Subject: [PATCH 2/4] Added missing file --- .../MulticastDelegateSwift-Info-iOS.plist | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 MulticastDelegateDemo/MulticastDelegateSwift-Info-iOS.plist diff --git a/MulticastDelegateDemo/MulticastDelegateSwift-Info-iOS.plist b/MulticastDelegateDemo/MulticastDelegateSwift-Info-iOS.plist new file mode 100644 index 0000000..23bf4f5 --- /dev/null +++ b/MulticastDelegateDemo/MulticastDelegateSwift-Info-iOS.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSHumanReadableCopyright + Copyright © 2018 Joao Nunes. All rights reserved. + NSPrincipalClass + + + From 3ad6ff85c7ccd3ed266f53a4e875bc40ae3de341 Mon Sep 17 00:00:00 2001 From: Anton Sokolchenko Date: Mon, 10 Jun 2019 15:56:20 +0300 Subject: [PATCH 3/4] Added a fixed target --- .../project.pbxproj | 111 +++++++++--------- .../MulticastDelegateSwift iOS.xcscheme | 31 ++--- MulticastDelegateSwift iOS/Info.plist | 24 ++++ .../MulticastDelegateSwift_iOS.h | 19 +++ 4 files changed, 109 insertions(+), 76 deletions(-) create mode 100644 MulticastDelegateSwift iOS/Info.plist create mode 100644 MulticastDelegateSwift iOS/MulticastDelegateSwift_iOS.h diff --git a/MulticastDelegateDemo.xcodeproj/project.pbxproj b/MulticastDelegateDemo.xcodeproj/project.pbxproj index d20970c..40281e3 100644 --- a/MulticastDelegateDemo.xcodeproj/project.pbxproj +++ b/MulticastDelegateDemo.xcodeproj/project.pbxproj @@ -8,7 +8,7 @@ /* Begin PBXBuildFile section */ 00C0F014203E1FC00033F08F /* MulticastDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF59E1F11C318EEC002CB071 /* MulticastDelegate.swift */; }; - 14D2231022AE80FB00D2D871 /* MulticastDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF59E1F11C318EEC002CB071 /* MulticastDelegate.swift */; }; + 14D2232422AE8A4500D2D871 /* MulticastDelegateSwift_iOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 14D2232222AE8A4500D2D871 /* MulticastDelegateSwift_iOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; CF59E1D11C318EAE002CB071 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF59E1D01C318EAE002CB071 /* AppDelegate.swift */; }; CF59E1D31C318EAE002CB071 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF59E1D21C318EAE002CB071 /* ViewController.swift */; }; CF59E1D61C318EAE002CB071 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = CF59E1D41C318EAE002CB071 /* Main.storyboard */; }; @@ -35,8 +35,9 @@ /* Begin PBXFileReference section */ 00C0F00C203E1F960033F08F /* MulticastDelegateSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MulticastDelegateSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 00C0F00F203E1F960033F08F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 14D2231722AE80FB00D2D871 /* MulticastDelegateSwift iOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = "MulticastDelegateSwift iOS.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - 14D2231822AE80FB00D2D871 /* MulticastDelegateSwift-Info-iOS.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "MulticastDelegateSwift-Info-iOS.plist"; path = "/Users/seven/Documents/work/waverley/muse/MUSE/Carthage/Checkouts/MulticastDelegate/MulticastDelegateDemo/MulticastDelegateSwift-Info-iOS.plist"; sourceTree = ""; }; + 14D2232022AE8A4500D2D871 /* MulticastDelegateSwift_iOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MulticastDelegateSwift_iOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 14D2232222AE8A4500D2D871 /* MulticastDelegateSwift_iOS.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MulticastDelegateSwift_iOS.h; sourceTree = ""; }; + 14D2232322AE8A4500D2D871 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; CF010C431C3549E7001E396D /* MulticastDelegateSwift.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = MulticastDelegateSwift.podspec; sourceTree = SOURCE_ROOT; }; CF59E1CD1C318EAE002CB071 /* MulticastDelegateDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MulticastDelegateDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; CF59E1D01C318EAE002CB071 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; @@ -61,7 +62,7 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 14D2231122AE80FB00D2D871 /* Frameworks */ = { + 14D2231D22AE8A4500D2D871 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( @@ -93,6 +94,15 @@ path = "MulticastDelegate-macOS"; sourceTree = ""; }; + 14D2232122AE8A4500D2D871 /* MulticastDelegateSwift iOS */ = { + isa = PBXGroup; + children = ( + 14D2232222AE8A4500D2D871 /* MulticastDelegateSwift_iOS.h */, + 14D2232322AE8A4500D2D871 /* Info.plist */, + ); + path = "MulticastDelegateSwift iOS"; + sourceTree = ""; + }; CF59E1C41C318EAE002CB071 = { isa = PBXGroup; children = ( @@ -100,8 +110,8 @@ CF59E1CF1C318EAE002CB071 /* MulticastDelegateDemo */, CF59E1E41C318EAE002CB071 /* MulticastDelegateDemoTests */, 00C0F00D203E1F960033F08F /* MulticastDelegate-macOS */, + 14D2232122AE8A4500D2D871 /* MulticastDelegateSwift iOS */, CF59E1CE1C318EAE002CB071 /* Products */, - 14D2231822AE80FB00D2D871 /* MulticastDelegateSwift-Info-iOS.plist */, ); sourceTree = ""; }; @@ -111,7 +121,7 @@ CF59E1CD1C318EAE002CB071 /* MulticastDelegateDemo.app */, CF59E1E11C318EAE002CB071 /* MulticastDelegateDemoTests.xctest */, 00C0F00C203E1F960033F08F /* MulticastDelegateSwift.framework */, - 14D2231722AE80FB00D2D871 /* MulticastDelegateSwift iOS.framework */, + 14D2232022AE8A4500D2D871 /* MulticastDelegateSwift_iOS.framework */, ); name = Products; sourceTree = ""; @@ -159,10 +169,11 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 14D2231222AE80FB00D2D871 /* Headers */ = { + 14D2231B22AE8A4500D2D871 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( + 14D2232422AE8A4500D2D871 /* MulticastDelegateSwift_iOS.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -187,22 +198,22 @@ productReference = 00C0F00C203E1F960033F08F /* MulticastDelegateSwift.framework */; productType = "com.apple.product-type.framework"; }; - 14D2230E22AE80FB00D2D871 /* MulticastDelegateSwift iOS */ = { + 14D2231F22AE8A4500D2D871 /* MulticastDelegateSwift iOS */ = { isa = PBXNativeTarget; - buildConfigurationList = 14D2231422AE80FB00D2D871 /* Build configuration list for PBXNativeTarget "MulticastDelegateSwift iOS" */; + buildConfigurationList = 14D2232522AE8A4500D2D871 /* Build configuration list for PBXNativeTarget "MulticastDelegateSwift iOS" */; buildPhases = ( - 14D2230F22AE80FB00D2D871 /* Sources */, - 14D2231122AE80FB00D2D871 /* Frameworks */, - 14D2231222AE80FB00D2D871 /* Headers */, - 14D2231322AE80FB00D2D871 /* Resources */, + 14D2231B22AE8A4500D2D871 /* Headers */, + 14D2231C22AE8A4500D2D871 /* Sources */, + 14D2231D22AE8A4500D2D871 /* Frameworks */, + 14D2231E22AE8A4500D2D871 /* Resources */, ); buildRules = ( ); dependencies = ( ); name = "MulticastDelegateSwift iOS"; - productName = "MulticastDelegate-macOS"; - productReference = 14D2231722AE80FB00D2D871 /* MulticastDelegateSwift iOS.framework */; + productName = "MulticastDelegateSwift iOS"; + productReference = 14D2232022AE8A4500D2D871 /* MulticastDelegateSwift_iOS.framework */; productType = "com.apple.product-type.framework"; }; CF59E1CC1C318EAE002CB071 /* MulticastDelegateDemo */ = { @@ -254,8 +265,8 @@ CreatedOnToolsVersion = 9.2; ProvisioningStyle = Automatic; }; - 14D2230E22AE80FB00D2D871 = { - LastSwiftMigration = 1020; + 14D2231F22AE8A4500D2D871 = { + CreatedOnToolsVersion = 10.2.1; ProvisioningStyle = Automatic; }; CF59E1CC1C318EAE002CB071 = { @@ -285,7 +296,7 @@ CF59E1CC1C318EAE002CB071 /* MulticastDelegateDemo */, CF59E1E01C318EAE002CB071 /* MulticastDelegateDemoTests */, 00C0F00B203E1F960033F08F /* MulticastDelegateSwift */, - 14D2230E22AE80FB00D2D871 /* MulticastDelegateSwift iOS */, + 14D2231F22AE8A4500D2D871 /* MulticastDelegateSwift iOS */, ); }; /* End PBXProject section */ @@ -298,7 +309,7 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 14D2231322AE80FB00D2D871 /* Resources */ = { + 14D2231E22AE8A4500D2D871 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( @@ -333,11 +344,10 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - 14D2230F22AE80FB00D2D871 /* Sources */ = { + 14D2231C22AE8A4500D2D871 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 14D2231022AE80FB00D2D871 /* MulticastDelegate.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -471,79 +481,68 @@ }; name = Release; }; - 14D2231522AE80FB00D2D871 /* Debug */ = { + 14D2232622AE8A4500D2D871 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_COMMA = YES; + CLANG_ENABLE_OBJC_WEAK = YES; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_IDENTITY = "-"; + CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; CURRENT_PROJECT_VERSION = 1; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; GCC_C_LANGUAGE_STANDARD = gnu11; - INFOPLIST_FILE = "MulticastDelegateDemo/MulticastDelegateSwift-Info-iOS.plist"; + INFOPLIST_FILE = "MulticastDelegateSwift iOS/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.9; - PRODUCT_BUNDLE_IDENTIFIER = "joao.MulticastDelegate-macOS"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; + IPHONEOS_DEPLOYMENT_TARGET = 9.2; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = "Joao-Nunes.MulticastDelegateSwift-iOS"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Debug; }; - 14D2231622AE80FB00D2D871 /* Release */ = { + 14D2232722AE8A4500D2D871 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_COMMA = YES; + CLANG_ENABLE_OBJC_WEAK = YES; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CODE_SIGN_IDENTITY = "-"; + CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; - COMBINE_HIDPI_IMAGES = YES; CURRENT_PROJECT_VERSION = 1; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - FRAMEWORK_VERSION = A; GCC_C_LANGUAGE_STANDARD = gnu11; - INFOPLIST_FILE = "MulticastDelegateDemo/MulticastDelegateSwift-Info-iOS.plist"; + INFOPLIST_FILE = "MulticastDelegateSwift iOS/Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; - MACOSX_DEPLOYMENT_TARGET = 10.9; - PRODUCT_BUNDLE_IDENTIFIER = "joao.MulticastDelegate-macOS"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; + IPHONEOS_DEPLOYMENT_TARGET = 9.2; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = "Joao-Nunes.MulticastDelegateSwift-iOS"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; @@ -716,11 +715,11 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 14D2231422AE80FB00D2D871 /* Build configuration list for PBXNativeTarget "MulticastDelegateSwift iOS" */ = { + 14D2232522AE8A4500D2D871 /* Build configuration list for PBXNativeTarget "MulticastDelegateSwift iOS" */ = { isa = XCConfigurationList; buildConfigurations = ( - 14D2231522AE80FB00D2D871 /* Debug */, - 14D2231622AE80FB00D2D871 /* Release */, + 14D2232622AE8A4500D2D871 /* Debug */, + 14D2232722AE8A4500D2D871 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; diff --git a/MulticastDelegateDemo.xcodeproj/xcshareddata/xcschemes/MulticastDelegateSwift iOS.xcscheme b/MulticastDelegateDemo.xcodeproj/xcshareddata/xcschemes/MulticastDelegateSwift iOS.xcscheme index a729c44..1a6a2a0 100644 --- a/MulticastDelegateDemo.xcodeproj/xcshareddata/xcschemes/MulticastDelegateSwift iOS.xcscheme +++ b/MulticastDelegateDemo.xcodeproj/xcshareddata/xcschemes/MulticastDelegateSwift iOS.xcscheme @@ -14,8 +14,8 @@ buildForAnalyzing = "YES"> @@ -29,6 +29,15 @@ shouldUseLaunchSchemeArgsEnv = "YES"> + + + + @@ -42,15 +51,6 @@ debugDocumentVersioning = "YES" debugServiceExtension = "internal" allowLocationSimulation = "YES"> - - - - @@ -60,15 +60,6 @@ savedToolIdentifier = "" useCustomWorkingDirectory = "NO" debugDocumentVersioning = "YES"> - - - - diff --git a/MulticastDelegateSwift iOS/Info.plist b/MulticastDelegateSwift iOS/Info.plist new file mode 100644 index 0000000..9e9d0ed --- /dev/null +++ b/MulticastDelegateSwift iOS/Info.plist @@ -0,0 +1,24 @@ + + + + + NSHumanReadableCopyright + Copyright © 2018 Joao Nunes. All rights reserved. + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + + diff --git a/MulticastDelegateSwift iOS/MulticastDelegateSwift_iOS.h b/MulticastDelegateSwift iOS/MulticastDelegateSwift_iOS.h new file mode 100644 index 0000000..2be7701 --- /dev/null +++ b/MulticastDelegateSwift iOS/MulticastDelegateSwift_iOS.h @@ -0,0 +1,19 @@ +// +// MulticastDelegateSwift_iOS.h +// MulticastDelegateSwift iOS +// +// Created by Anton Sokolchenko on 6/10/19. +// Copyright © 2019 Joao Nunes. All rights reserved. +// + +#import + +//! Project version number for MulticastDelegateSwift_iOS. +FOUNDATION_EXPORT double MulticastDelegateSwift_iOSVersionNumber; + +//! Project version string for MulticastDelegateSwift_iOS. +FOUNDATION_EXPORT const unsigned char MulticastDelegateSwift_iOSVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + From 9ecb843f4a336fde3b92fb9d8015fe7d71a4e523 Mon Sep 17 00:00:00 2001 From: Anton Sokolchenko Date: Mon, 10 Jun 2019 18:41:44 +0300 Subject: [PATCH 4/4] Added missing file --- MulticastDelegateDemo.xcodeproj/project.pbxproj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MulticastDelegateDemo.xcodeproj/project.pbxproj b/MulticastDelegateDemo.xcodeproj/project.pbxproj index 40281e3..64886b1 100644 --- a/MulticastDelegateDemo.xcodeproj/project.pbxproj +++ b/MulticastDelegateDemo.xcodeproj/project.pbxproj @@ -9,6 +9,7 @@ /* Begin PBXBuildFile section */ 00C0F014203E1FC00033F08F /* MulticastDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF59E1F11C318EEC002CB071 /* MulticastDelegate.swift */; }; 14D2232422AE8A4500D2D871 /* MulticastDelegateSwift_iOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 14D2232222AE8A4500D2D871 /* MulticastDelegateSwift_iOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 14D2232922AEB19800D2D871 /* MulticastDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF59E1F11C318EEC002CB071 /* MulticastDelegate.swift */; }; CF59E1D11C318EAE002CB071 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF59E1D01C318EAE002CB071 /* AppDelegate.swift */; }; CF59E1D31C318EAE002CB071 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = CF59E1D21C318EAE002CB071 /* ViewController.swift */; }; CF59E1D61C318EAE002CB071 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = CF59E1D41C318EAE002CB071 /* Main.storyboard */; }; @@ -348,6 +349,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + 14D2232922AEB19800D2D871 /* MulticastDelegate.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; };