Skip to content

Commit 70038d2

Browse files
committed
Add framework support
- Creats a root-level framework project that builds FLEX.framework - Adds FLEX shared scheme - Creates a root .xcworkspace to contain both the framework and example xcproject - Update .travis.yml to build both framework and example project - Declares [Carthage](https://github.com/Carthage/Carthage) compatability in README
1 parent a9e0ded commit 70038d2

File tree

10 files changed

+1468
-4
lines changed

10 files changed

+1468
-4
lines changed

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
language: objective-c
2-
xcode_project: Example/UICatalog.xcodeproj
3-
xcode_scheme: UICatalog
4-
xcode_sdk: iphonesimulator
2+
xcode_workspace: FLEX.xcworkspace
3+
matrix:
4+
include:
5+
- xcode_scheme: UICatalog
6+
xcode_sdk: iphonesimulator
7+
- xcode_scheme: FLEX
8+
xcode_sdk: iphonesimulator

Classes/FLEX.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
//
2+
// FLEX.h
3+
// FLEX
4+
//
5+
// Created by Eric Horacek on 7/18/15.
6+
// Copyright (c) 2015 Flipboard. All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
11+
//! Project version number for FLEX.
12+
FOUNDATION_EXPORT double FLEXVersionNumber;
13+
14+
//! Project version string for FLEX.
15+
FOUNDATION_EXPORT const unsigned char FLEXVersionString[];
16+
17+
#import <FLEX/FLEXManager.h>

Classes/Info.plist

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>en</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>com.flipboard.$(PRODUCT_NAME:rfc1034identifier)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
15+
<key>CFBundlePackageType</key>
16+
<string>FMWK</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>1.0</string>
19+
<key>CFBundleSignature</key>
20+
<string>????</string>
21+
<key>CFBundleVersion</key>
22+
<string>$(CURRENT_PROJECT_VERSION)</string>
23+
<key>NSPrincipalClass</key>
24+
<string></string>
25+
</dict>
26+
</plist>

FLEX.xcodeproj/project.pbxproj

Lines changed: 893 additions & 0 deletions
Large diffs are not rendered by default.

FLEX.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "0640"
4+
version = "1.3">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "3A4C941E1B5B20570088C3F2"
18+
BuildableName = "FLEX.framework"
19+
BlueprintName = "FLEX"
20+
ReferencedContainer = "container:FLEX.xcodeproj">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
</BuildActionEntries>
24+
</BuildAction>
25+
<TestAction
26+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
27+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
28+
shouldUseLaunchSchemeArgsEnv = "YES"
29+
buildConfiguration = "Debug">
30+
<Testables>
31+
</Testables>
32+
<MacroExpansion>
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "3A4C941E1B5B20570088C3F2"
36+
BuildableName = "FLEX.framework"
37+
BlueprintName = "FLEX"
38+
ReferencedContainer = "container:FLEX.xcodeproj">
39+
</BuildableReference>
40+
</MacroExpansion>
41+
</TestAction>
42+
<LaunchAction
43+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
44+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
45+
launchStyle = "0"
46+
useCustomWorkingDirectory = "NO"
47+
buildConfiguration = "Debug"
48+
ignoresPersistentStateOnLaunch = "NO"
49+
debugDocumentVersioning = "YES"
50+
allowLocationSimulation = "YES">
51+
<MacroExpansion>
52+
<BuildableReference
53+
BuildableIdentifier = "primary"
54+
BlueprintIdentifier = "3A4C941E1B5B20570088C3F2"
55+
BuildableName = "FLEX.framework"
56+
BlueprintName = "FLEX"
57+
ReferencedContainer = "container:FLEX.xcodeproj">
58+
</BuildableReference>
59+
</MacroExpansion>
60+
<AdditionalOptions>
61+
</AdditionalOptions>
62+
</LaunchAction>
63+
<ProfileAction
64+
shouldUseLaunchSchemeArgsEnv = "YES"
65+
savedToolIdentifier = ""
66+
useCustomWorkingDirectory = "NO"
67+
buildConfiguration = "Release"
68+
debugDocumentVersioning = "YES">
69+
<MacroExpansion>
70+
<BuildableReference
71+
BuildableIdentifier = "primary"
72+
BlueprintIdentifier = "3A4C941E1B5B20570088C3F2"
73+
BuildableName = "FLEX.framework"
74+
BlueprintName = "FLEX"
75+
ReferencedContainer = "container:FLEX.xcodeproj">
76+
</BuildableReference>
77+
</MacroExpansion>
78+
</ProfileAction>
79+
<AnalyzeAction
80+
buildConfiguration = "Debug">
81+
</AnalyzeAction>
82+
<ArchiveAction
83+
buildConfiguration = "Release"
84+
revealArchiveInOrganizer = "YES">
85+
</ArchiveAction>
86+
</Scheme>

FLEX.xcworkspace/contents.xcworkspacedata

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)