diff --git a/WMPageController-Swift.xcodeproj/project.pbxproj b/WMPageController-Swift.xcodeproj/project.pbxproj index f5937ee..928e8ce 100644 --- a/WMPageController-Swift.xcodeproj/project.pbxproj +++ b/WMPageController-Swift.xcodeproj/project.pbxproj @@ -20,6 +20,14 @@ 4D45BF4F1CC7A187003F0151 /* PageController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4D45BF4A1CC7A187003F0151 /* PageController.swift */; }; 4D45BF501CC7A187003F0151 /* ProgressView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4D45BF4B1CC7A187003F0151 /* ProgressView.swift */; }; 4D45BF521CC7A1EB003F0151 /* TableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4D45BF511CC7A1EB003F0151 /* TableViewController.swift */; }; + 4D45BF661CC7BC12003F0151 /* WMPageControllerSwiftFramework.h in Headers */ = {isa = PBXBuildFile; fileRef = 4D45BF651CC7BC12003F0151 /* WMPageControllerSwiftFramework.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4D45BF6A1CC7BC12003F0151 /* WMPageController-Swift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4D45BF631CC7BC12003F0151 /* WMPageController-Swift.framework */; }; + 4D45BF6B1CC7BC12003F0151 /* WMPageController-Swift.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 4D45BF631CC7BC12003F0151 /* WMPageController-Swift.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 4D45BF701CC7BC50003F0151 /* FooldView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4D45BF471CC7A187003F0151 /* FooldView.swift */; }; + 4D45BF711CC7BC50003F0151 /* MenuItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4D45BF481CC7A187003F0151 /* MenuItem.swift */; }; + 4D45BF721CC7BC50003F0151 /* MenuView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4D45BF491CC7A187003F0151 /* MenuView.swift */; }; + 4D45BF731CC7BC50003F0151 /* PageController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4D45BF4A1CC7A187003F0151 /* PageController.swift */; }; + 4D45BF741CC7BC50003F0151 /* ProgressView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4D45BF4B1CC7A187003F0151 /* ProgressView.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -37,8 +45,29 @@ remoteGlobalIDString = 4D45BF141CC7A10B003F0151; remoteInfo = "WMPageController-Swift"; }; + 4D45BF681CC7BC12003F0151 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 4D45BF0D1CC7A10B003F0151 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 4D45BF621CC7BC12003F0151; + remoteInfo = WMPageControllerSwiftFramework; + }; /* End PBXContainerItemProxy section */ +/* Begin PBXCopyFilesBuildPhase section */ + 4D45BF6F1CC7BC12003F0151 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 4D45BF6B1CC7BC12003F0151 /* WMPageController-Swift.framework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + /* Begin PBXFileReference section */ 4D45BF151CC7A10B003F0151 /* WMPageController-Swift.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "WMPageController-Swift.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 4D45BF181CC7A10B003F0151 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; @@ -59,6 +88,9 @@ 4D45BF4A1CC7A187003F0151 /* PageController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PageController.swift; sourceTree = ""; }; 4D45BF4B1CC7A187003F0151 /* ProgressView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ProgressView.swift; sourceTree = ""; }; 4D45BF511CC7A1EB003F0151 /* TableViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableViewController.swift; sourceTree = ""; }; + 4D45BF631CC7BC12003F0151 /* WMPageController-Swift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = "WMPageController-Swift.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + 4D45BF651CC7BC12003F0151 /* WMPageControllerSwiftFramework.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WMPageControllerSwiftFramework.h; sourceTree = ""; }; + 4D45BF671CC7BC12003F0151 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -66,6 +98,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 4D45BF6A1CC7BC12003F0151 /* WMPageController-Swift.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -83,6 +116,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 4D45BF5F1CC7BC12003F0151 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ @@ -92,6 +132,7 @@ 4D45BF171CC7A10B003F0151 /* WMPageController-Swift */, 4D45BF2C1CC7A10B003F0151 /* WMPageController-SwiftTests */, 4D45BF371CC7A10B003F0151 /* WMPageController-SwiftUITests */, + 4D45BF641CC7BC12003F0151 /* WMPageControllerSwiftFramework */, 4D45BF161CC7A10B003F0151 /* Products */, ); sourceTree = ""; @@ -102,6 +143,7 @@ 4D45BF151CC7A10B003F0151 /* WMPageController-Swift.app */, 4D45BF291CC7A10B003F0151 /* WMPageController-SwiftTests.xctest */, 4D45BF341CC7A10B003F0151 /* WMPageController-SwiftUITests.xctest */, + 4D45BF631CC7BC12003F0151 /* WMPageController-Swift.framework */, ); name = Products; sourceTree = ""; @@ -151,8 +193,28 @@ path = PageController; sourceTree = ""; }; + 4D45BF641CC7BC12003F0151 /* WMPageControllerSwiftFramework */ = { + isa = PBXGroup; + children = ( + 4D45BF651CC7BC12003F0151 /* WMPageControllerSwiftFramework.h */, + 4D45BF671CC7BC12003F0151 /* Info.plist */, + ); + path = WMPageControllerSwiftFramework; + sourceTree = ""; + }; /* End PBXGroup section */ +/* Begin PBXHeadersBuildPhase section */ + 4D45BF601CC7BC12003F0151 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 4D45BF661CC7BC12003F0151 /* WMPageControllerSwiftFramework.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + /* Begin PBXNativeTarget section */ 4D45BF141CC7A10B003F0151 /* WMPageController-Swift */ = { isa = PBXNativeTarget; @@ -161,10 +223,12 @@ 4D45BF111CC7A10B003F0151 /* Sources */, 4D45BF121CC7A10B003F0151 /* Frameworks */, 4D45BF131CC7A10B003F0151 /* Resources */, + 4D45BF6F1CC7BC12003F0151 /* Embed Frameworks */, ); buildRules = ( ); dependencies = ( + 4D45BF691CC7BC12003F0151 /* PBXTargetDependency */, ); name = "WMPageController-Swift"; productName = "WMPageController-Swift"; @@ -207,6 +271,24 @@ productReference = 4D45BF341CC7A10B003F0151 /* WMPageController-SwiftUITests.xctest */; productType = "com.apple.product-type.bundle.ui-testing"; }; + 4D45BF621CC7BC12003F0151 /* WMPageControllerSwiftFramework */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4D45BF6E1CC7BC12003F0151 /* Build configuration list for PBXNativeTarget "WMPageControllerSwiftFramework" */; + buildPhases = ( + 4D45BF5E1CC7BC12003F0151 /* Sources */, + 4D45BF5F1CC7BC12003F0151 /* Frameworks */, + 4D45BF601CC7BC12003F0151 /* Headers */, + 4D45BF611CC7BC12003F0151 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = WMPageControllerSwiftFramework; + productName = WMPageControllerSwiftFramework; + productReference = 4D45BF631CC7BC12003F0151 /* WMPageController-Swift.framework */; + productType = "com.apple.product-type.framework"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -228,6 +310,9 @@ CreatedOnToolsVersion = 7.3; TestTargetID = 4D45BF141CC7A10B003F0151; }; + 4D45BF621CC7BC12003F0151 = { + CreatedOnToolsVersion = 7.3; + }; }; }; buildConfigurationList = 4D45BF101CC7A10B003F0151 /* Build configuration list for PBXProject "WMPageController-Swift" */; @@ -246,6 +331,7 @@ 4D45BF141CC7A10B003F0151 /* WMPageController-Swift */, 4D45BF281CC7A10B003F0151 /* WMPageController-SwiftTests */, 4D45BF331CC7A10B003F0151 /* WMPageController-SwiftUITests */, + 4D45BF621CC7BC12003F0151 /* WMPageControllerSwiftFramework */, ); }; /* End PBXProject section */ @@ -275,6 +361,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 4D45BF611CC7BC12003F0151 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -309,6 +402,18 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 4D45BF5E1CC7BC12003F0151 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4D45BF701CC7BC50003F0151 /* FooldView.swift in Sources */, + 4D45BF711CC7BC50003F0151 /* MenuItem.swift in Sources */, + 4D45BF721CC7BC50003F0151 /* MenuView.swift in Sources */, + 4D45BF731CC7BC50003F0151 /* PageController.swift in Sources */, + 4D45BF741CC7BC50003F0151 /* ProgressView.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ @@ -322,6 +427,11 @@ target = 4D45BF141CC7A10B003F0151 /* WMPageController-Swift */; targetProxy = 4D45BF351CC7A10B003F0151 /* PBXContainerItemProxy */; }; + 4D45BF691CC7BC12003F0151 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 4D45BF621CC7BC12003F0151 /* WMPageControllerSwiftFramework */; + targetProxy = 4D45BF681CC7BC12003F0151 /* PBXContainerItemProxy */; + }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ @@ -431,6 +541,7 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + EMBEDDED_CONTENT_CONTAINS_SWIFT = YES; INFOPLIST_FILE = "WMPageController-Swift/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "com.wecan.WMPageController-Swift"; @@ -442,6 +553,7 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + EMBEDDED_CONTENT_CONTAINS_SWIFT = YES; INFOPLIST_FILE = "WMPageController-Swift/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "com.wecan.WMPageController-Swift"; @@ -495,6 +607,50 @@ }; name = Release; }; + 4D45BF6C1CC7BC12003F0151 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = WMPageControllerSwiftFramework/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.wecan.WMPageControllerSwiftFramework; + PRODUCT_MODULE_NAME = "WMPageController-Swift"; + PRODUCT_NAME = "WMPageController-Swift"; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 4D45BF6D1CC7BC12003F0151 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = WMPageControllerSwiftFramework/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.wecan.WMPageControllerSwiftFramework; + PRODUCT_MODULE_NAME = "WMPageController-Swift"; + PRODUCT_NAME = "WMPageController-Swift"; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -534,6 +690,14 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 4D45BF6E1CC7BC12003F0151 /* Build configuration list for PBXNativeTarget "WMPageControllerSwiftFramework" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4D45BF6C1CC7BC12003F0151 /* Debug */, + 4D45BF6D1CC7BC12003F0151 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; /* End XCConfigurationList section */ }; rootObject = 4D45BF0D1CC7A10B003F0151 /* Project object */; diff --git a/WMPageController-Swift.xcodeproj/project.xcworkspace/xcuserdata/Mark.xcuserdatad/UserInterfaceState.xcuserstate b/WMPageController-Swift.xcodeproj/project.xcworkspace/xcuserdata/Mark.xcuserdatad/UserInterfaceState.xcuserstate index 7dd72be..f0362c8 100644 Binary files a/WMPageController-Swift.xcodeproj/project.xcworkspace/xcuserdata/Mark.xcuserdatad/UserInterfaceState.xcuserstate and b/WMPageController-Swift.xcodeproj/project.xcworkspace/xcuserdata/Mark.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/WMPageController-Swift.xcodeproj/xcshareddata/xcschemes/WMPageController-Swift.xcscheme b/WMPageController-Swift.xcodeproj/xcshareddata/xcschemes/WMPageControllerSwiftFramework.xcscheme similarity index 54% rename from WMPageController-Swift.xcodeproj/xcshareddata/xcschemes/WMPageController-Swift.xcscheme rename to WMPageController-Swift.xcodeproj/xcshareddata/xcschemes/WMPageControllerSwiftFramework.xcscheme index 73b1e1f..81a32e4 100644 --- a/WMPageController-Swift.xcodeproj/xcshareddata/xcschemes/WMPageController-Swift.xcscheme +++ b/WMPageController-Swift.xcodeproj/xcshareddata/xcschemes/WMPageControllerSwiftFramework.xcscheme @@ -14,9 +14,9 @@ buildForAnalyzing = "YES"> @@ -28,36 +28,7 @@ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" shouldUseLaunchSchemeArgsEnv = "YES"> - - - - - - - - - - - - @@ -71,16 +42,15 @@ debugDocumentVersioning = "YES" debugServiceExtension = "internal" allowLocationSimulation = "YES"> - + - + @@ -90,16 +60,15 @@ savedToolIdentifier = "" useCustomWorkingDirectory = "NO" debugDocumentVersioning = "YES"> - + - + diff --git a/WMPageController-Swift.xcodeproj/xcuserdata/Mark.xcuserdatad/xcschemes/xcschememanagement.plist b/WMPageController-Swift.xcodeproj/xcuserdata/Mark.xcuserdatad/xcschemes/xcschememanagement.plist index 28adb34..6205c82 100644 --- a/WMPageController-Swift.xcodeproj/xcuserdata/Mark.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/WMPageController-Swift.xcodeproj/xcuserdata/Mark.xcuserdatad/xcschemes/xcschememanagement.plist @@ -4,11 +4,16 @@ SchemeUserState - WMPageController-Swift.xcscheme_^#shared#^_ + WMPageController-Swift.xcscheme orderHint 0 + WMPageControllerSwiftFramework.xcscheme_^#shared#^_ + + orderHint + 1 + SuppressBuildableAutocreation @@ -27,6 +32,11 @@ primary + 4D45BF621CC7BC12003F0151 + + primary + + diff --git a/WMPageControllerSwiftFramework/Info.plist b/WMPageControllerSwiftFramework/Info.plist new file mode 100644 index 0000000..d3de8ee --- /dev/null +++ b/WMPageControllerSwiftFramework/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/WMPageControllerSwiftFramework/WMPageControllerSwiftFramework.h b/WMPageControllerSwiftFramework/WMPageControllerSwiftFramework.h new file mode 100644 index 0000000..a1958f5 --- /dev/null +++ b/WMPageControllerSwiftFramework/WMPageControllerSwiftFramework.h @@ -0,0 +1,19 @@ +// +// WMPageControllerSwiftFramework.h +// WMPageControllerSwiftFramework +// +// Created by Mark on 16/4/20. +// Copyright © 2016年 Wecan Studio. All rights reserved. +// + +#import + +//! Project version number for WMPageControllerSwiftFramework. +FOUNDATION_EXPORT double WMPageControllerSwiftFrameworkVersionNumber; + +//! Project version string for WMPageControllerSwiftFramework. +FOUNDATION_EXPORT const unsigned char WMPageControllerSwiftFrameworkVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + +