Skip to content

Commit eba75ae

Browse files
committed
Create dynamic framework and rename demo target
1 parent cafded3 commit eba75ae

File tree

15 files changed

+301
-63
lines changed

15 files changed

+301
-63
lines changed

DateTimePicker.xcodeproj/project.pbxproj

Lines changed: 212 additions & 17 deletions
Large diffs are not rendered by default.

DateTimePicker.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0800"
3+
LastUpgradeVersion = "0940"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -14,8 +14,8 @@
1414
buildForAnalyzing = "YES">
1515
<BuildableReference
1616
BuildableIdentifier = "primary"
17-
BlueprintIdentifier = "DEF7C35F1D8B9EBC0043D9C4"
18-
BuildableName = "DateTimePicker.app"
17+
BlueprintIdentifier = "2C7889C22116AC4900B26F02"
18+
BuildableName = "DateTimePicker.framework"
1919
BlueprintName = "DateTimePicker"
2020
ReferencedContainer = "container:DateTimePicker.xcodeproj">
2121
</BuildableReference>
@@ -29,15 +29,6 @@
2929
shouldUseLaunchSchemeArgsEnv = "YES">
3030
<Testables>
3131
</Testables>
32-
<MacroExpansion>
33-
<BuildableReference
34-
BuildableIdentifier = "primary"
35-
BlueprintIdentifier = "DEF7C35F1D8B9EBC0043D9C4"
36-
BuildableName = "DateTimePicker.app"
37-
BlueprintName = "DateTimePicker"
38-
ReferencedContainer = "container:DateTimePicker.xcodeproj">
39-
</BuildableReference>
40-
</MacroExpansion>
4132
<AdditionalOptions>
4233
</AdditionalOptions>
4334
</TestAction>
@@ -51,16 +42,15 @@
5142
debugDocumentVersioning = "YES"
5243
debugServiceExtension = "internal"
5344
allowLocationSimulation = "YES">
54-
<BuildableProductRunnable
55-
runnableDebuggingMode = "0">
45+
<MacroExpansion>
5646
<BuildableReference
5747
BuildableIdentifier = "primary"
58-
BlueprintIdentifier = "DEF7C35F1D8B9EBC0043D9C4"
59-
BuildableName = "DateTimePicker.app"
48+
BlueprintIdentifier = "2C7889C22116AC4900B26F02"
49+
BuildableName = "DateTimePicker.framework"
6050
BlueprintName = "DateTimePicker"
6151
ReferencedContainer = "container:DateTimePicker.xcodeproj">
6252
</BuildableReference>
63-
</BuildableProductRunnable>
53+
</MacroExpansion>
6454
<AdditionalOptions>
6555
</AdditionalOptions>
6656
</LaunchAction>
@@ -70,16 +60,15 @@
7060
savedToolIdentifier = ""
7161
useCustomWorkingDirectory = "NO"
7262
debugDocumentVersioning = "YES">
73-
<BuildableProductRunnable
74-
runnableDebuggingMode = "0">
63+
<MacroExpansion>
7564
<BuildableReference
7665
BuildableIdentifier = "primary"
77-
BlueprintIdentifier = "DEF7C35F1D8B9EBC0043D9C4"
78-
BuildableName = "DateTimePicker.app"
66+
BlueprintIdentifier = "2C7889C22116AC4900B26F02"
67+
BuildableName = "DateTimePicker.framework"
7968
BlueprintName = "DateTimePicker"
8069
ReferencedContainer = "container:DateTimePicker.xcodeproj">
8170
</BuildableReference>
82-
</BuildableProductRunnable>
71+
</MacroExpansion>
8372
</ProfileAction>
8473
<AnalyzeAction
8574
buildConfiguration = "Debug">

DateTimePicker/DateTimePicker.h

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
//
2+
// DateTimePicker.h
3+
// DateTimePicker
4+
//
5+
// Created by Huong Do on 8/5/18.
6+
// Copyright © 2018 ichigo. All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
11+
//! Project version number for DateTimePicker.
12+
FOUNDATION_EXPORT double DateTimePickerVersionNumber;
13+
14+
//! Project version string for DateTimePicker.
15+
FOUNDATION_EXPORT const unsigned char DateTimePickerVersionString[];
16+
17+
// In this header, you should import all the public headers of your framework using statements like #import <DateTimePicker/PublicHeader.h>
18+
19+

DateTimePicker/Info.plist

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<plist version="1.0">
44
<dict>
55
<key>CFBundleDevelopmentRegion</key>
6-
<string>en</string>
6+
<string>$(DEVELOPMENT_LANGUAGE)</string>
77
<key>CFBundleExecutable</key>
88
<string>$(EXECUTABLE_NAME)</string>
99
<key>CFBundleIdentifier</key>
@@ -13,30 +13,12 @@
1313
<key>CFBundleName</key>
1414
<string>$(PRODUCT_NAME)</string>
1515
<key>CFBundlePackageType</key>
16-
<string>APPL</string>
16+
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
1818
<string>1.0</string>
19-
<key>CFBundleSignature</key>
20-
<string>????</string>
2119
<key>CFBundleVersion</key>
22-
<string>1</string>
23-
<key>LSRequiresIPhoneOS</key>
24-
<true/>
25-
<key>UILaunchStoryboardName</key>
26-
<string>LaunchScreen</string>
27-
<key>UIMainStoryboardFile</key>
28-
<string>Main</string>
29-
<key>UIRequiredDeviceCapabilities</key>
30-
<array>
31-
<string>armv7</string>
32-
</array>
33-
<key>UISupportedInterfaceOrientations</key>
34-
<array>
35-
<string>UIInterfaceOrientationPortrait</string>
36-
<string>UIInterfaceOrientationLandscapeLeft</string>
37-
<string>UIInterfaceOrientationLandscapeRight</string>
38-
</array>
39-
<key>UIViewControllerBasedStatusBarAppearance</key>
40-
<false/>
20+
<string>$(CURRENT_PROJECT_VERSION)</string>
21+
<key>NSPrincipalClass</key>
22+
<string></string>
4123
</dict>
4224
</plist>
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)