Skip to content

Commit

Permalink
Create framework
Browse files Browse the repository at this point in the history
  • Loading branch information
wangmchn committed Apr 20, 2016
1 parent 2841f2c commit e8b0e94
Show file tree
Hide file tree
Showing 6 changed files with 233 additions and 45 deletions.
164 changes: 164 additions & 0 deletions WMPageController-Swift.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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 = "<group>"; };
Expand All @@ -59,13 +88,17 @@
4D45BF4A1CC7A187003F0151 /* PageController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PageController.swift; sourceTree = "<group>"; };
4D45BF4B1CC7A187003F0151 /* ProgressView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ProgressView.swift; sourceTree = "<group>"; };
4D45BF511CC7A1EB003F0151 /* TableViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TableViewController.swift; sourceTree = "<group>"; };
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 = "<group>"; };
4D45BF671CC7BC12003F0151 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
4D45BF121CC7A10B003F0151 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
4D45BF6A1CC7BC12003F0151 /* WMPageController-Swift.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -83,6 +116,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
4D45BF5F1CC7BC12003F0151 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
Expand All @@ -92,6 +132,7 @@
4D45BF171CC7A10B003F0151 /* WMPageController-Swift */,
4D45BF2C1CC7A10B003F0151 /* WMPageController-SwiftTests */,
4D45BF371CC7A10B003F0151 /* WMPageController-SwiftUITests */,
4D45BF641CC7BC12003F0151 /* WMPageControllerSwiftFramework */,
4D45BF161CC7A10B003F0151 /* Products */,
);
sourceTree = "<group>";
Expand All @@ -102,6 +143,7 @@
4D45BF151CC7A10B003F0151 /* WMPageController-Swift.app */,
4D45BF291CC7A10B003F0151 /* WMPageController-SwiftTests.xctest */,
4D45BF341CC7A10B003F0151 /* WMPageController-SwiftUITests.xctest */,
4D45BF631CC7BC12003F0151 /* WMPageController-Swift.framework */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -151,8 +193,28 @@
path = PageController;
sourceTree = "<group>";
};
4D45BF641CC7BC12003F0151 /* WMPageControllerSwiftFramework */ = {
isa = PBXGroup;
children = (
4D45BF651CC7BC12003F0151 /* WMPageControllerSwiftFramework.h */,
4D45BF671CC7BC12003F0151 /* Info.plist */,
);
path = WMPageControllerSwiftFramework;
sourceTree = "<group>";
};
/* 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;
Expand All @@ -161,10 +223,12 @@
4D45BF111CC7A10B003F0151 /* Sources */,
4D45BF121CC7A10B003F0151 /* Frameworks */,
4D45BF131CC7A10B003F0151 /* Resources */,
4D45BF6F1CC7BC12003F0151 /* Embed Frameworks */,
);
buildRules = (
);
dependencies = (
4D45BF691CC7BC12003F0151 /* PBXTargetDependency */,
);
name = "WMPageController-Swift";
productName = "WMPageController-Swift";
Expand Down Expand Up @@ -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 */
Expand All @@ -228,6 +310,9 @@
CreatedOnToolsVersion = 7.3;
TestTargetID = 4D45BF141CC7A10B003F0151;
};
4D45BF621CC7BC12003F0151 = {
CreatedOnToolsVersion = 7.3;
};
};
};
buildConfigurationList = 4D45BF101CC7A10B003F0151 /* Build configuration list for PBXProject "WMPageController-Swift" */;
Expand All @@ -246,6 +331,7 @@
4D45BF141CC7A10B003F0151 /* WMPageController-Swift */,
4D45BF281CC7A10B003F0151 /* WMPageController-SwiftTests */,
4D45BF331CC7A10B003F0151 /* WMPageController-SwiftUITests */,
4D45BF621CC7BC12003F0151 /* WMPageControllerSwiftFramework */,
);
};
/* End PBXProject section */
Expand Down Expand Up @@ -275,6 +361,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
4D45BF611CC7BC12003F0151 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down Expand Up @@ -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 */
Expand All @@ -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 */
Expand Down Expand Up @@ -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";
Expand All @@ -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";
Expand Down Expand Up @@ -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 */
Expand Down Expand Up @@ -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 */;
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4D45BF141CC7A10B003F0151"
BuildableName = "WMPageController-Swift.app"
BlueprintName = "WMPageController-Swift"
BlueprintIdentifier = "4D45BF621CC7BC12003F0151"
BuildableName = "WMPageControllerSwiftFramework.framework"
BlueprintName = "WMPageControllerSwiftFramework"
ReferencedContainer = "container:WMPageController-Swift.xcodeproj">
</BuildableReference>
</BuildActionEntry>
Expand All @@ -28,36 +28,7 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4D45BF281CC7A10B003F0151"
BuildableName = "WMPageController-SwiftTests.xctest"
BlueprintName = "WMPageController-SwiftTests"
ReferencedContainer = "container:WMPageController-Swift.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4D45BF331CC7A10B003F0151"
BuildableName = "WMPageController-SwiftUITests.xctest"
BlueprintName = "WMPageController-SwiftUITests"
ReferencedContainer = "container:WMPageController-Swift.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4D45BF141CC7A10B003F0151"
BuildableName = "WMPageController-Swift.app"
BlueprintName = "WMPageController-Swift"
ReferencedContainer = "container:WMPageController-Swift.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
Expand All @@ -71,16 +42,15 @@
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4D45BF141CC7A10B003F0151"
BuildableName = "WMPageController-Swift.app"
BlueprintName = "WMPageController-Swift"
BlueprintIdentifier = "4D45BF621CC7BC12003F0151"
BuildableName = "WMPageControllerSwiftFramework.framework"
BlueprintName = "WMPageControllerSwiftFramework"
ReferencedContainer = "container:WMPageController-Swift.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
Expand All @@ -90,16 +60,15 @@
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4D45BF141CC7A10B003F0151"
BuildableName = "WMPageController-Swift.app"
BlueprintName = "WMPageController-Swift"
BlueprintIdentifier = "4D45BF621CC7BC12003F0151"
BuildableName = "WMPageControllerSwiftFramework.framework"
BlueprintName = "WMPageControllerSwiftFramework"
ReferencedContainer = "container:WMPageController-Swift.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
Expand Down
Loading

0 comments on commit e8b0e94

Please sign in to comment.