Skip to content
This repository has been archived by the owner on Jan 3, 2022. It is now read-only.

Commit

Permalink
Merge pull request #14 from twitter-fabric/feature/distribution-pods
Browse files Browse the repository at this point in the history
Add Podspec
  • Loading branch information
corydolphin committed Mar 17, 2016
2 parents e5523e6 + caf2d6a commit 19e4505
Show file tree
Hide file tree
Showing 11 changed files with 663 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Examples/SwiftExample/Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '8.0'
# Uncomment this line if you're using Swift
use_frameworks!

pod 'FABOperation', :path => '../../'

target 'SwiftExample' do

end

369 changes: 369 additions & 0 deletions Examples/SwiftExample/SwiftExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,369 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
4B7A07FE1C9B4DD600FEB640 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B7A07FD1C9B4DD600FEB640 /* AppDelegate.swift */; };
4B7A08001C9B4DD600FEB640 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B7A07FF1C9B4DD600FEB640 /* ViewController.swift */; };
4B7A08031C9B4DD600FEB640 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 4B7A08011C9B4DD600FEB640 /* Main.storyboard */; };
4B7A08051C9B4DD700FEB640 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4B7A08041C9B4DD700FEB640 /* Assets.xcassets */; };
4B7A08081C9B4DD700FEB640 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 4B7A08061C9B4DD700FEB640 /* LaunchScreen.storyboard */; };
F0877C7500C2F746AD391DA5 /* Pods.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 000F8E4EEB732AE99FFFF55A /* Pods.framework */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
000F8E4EEB732AE99FFFF55A /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; };
100F161555459C1F2AE07A15 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = "<group>"; };
2042FC4D0B699ABA6C9F6CE4 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = "<group>"; };
4B7A07FA1C9B4DD600FEB640 /* SwiftExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SwiftExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
4B7A07FD1C9B4DD600FEB640 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
4B7A07FF1C9B4DD600FEB640 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
4B7A08021C9B4DD600FEB640 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
4B7A08041C9B4DD700FEB640 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
4B7A08071C9B4DD700FEB640 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
4B7A08091C9B4DD700FEB640 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
4B7A07F71C9B4DD600FEB640 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
F0877C7500C2F746AD391DA5 /* Pods.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
2CF79E6DBF71D8F08959927F /* Frameworks */ = {
isa = PBXGroup;
children = (
000F8E4EEB732AE99FFFF55A /* Pods.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
4B7A07F11C9B4DD600FEB640 = {
isa = PBXGroup;
children = (
4B7A07FC1C9B4DD600FEB640 /* SwiftExample */,
4B7A07FB1C9B4DD600FEB640 /* Products */,
9B850141259851B963D35C86 /* Pods */,
2CF79E6DBF71D8F08959927F /* Frameworks */,
);
sourceTree = "<group>";
};
4B7A07FB1C9B4DD600FEB640 /* Products */ = {
isa = PBXGroup;
children = (
4B7A07FA1C9B4DD600FEB640 /* SwiftExample.app */,
);
name = Products;
sourceTree = "<group>";
};
4B7A07FC1C9B4DD600FEB640 /* SwiftExample */ = {
isa = PBXGroup;
children = (
4B7A07FD1C9B4DD600FEB640 /* AppDelegate.swift */,
4B7A07FF1C9B4DD600FEB640 /* ViewController.swift */,
4B7A08011C9B4DD600FEB640 /* Main.storyboard */,
4B7A08041C9B4DD700FEB640 /* Assets.xcassets */,
4B7A08061C9B4DD700FEB640 /* LaunchScreen.storyboard */,
4B7A08091C9B4DD700FEB640 /* Info.plist */,
);
path = SwiftExample;
sourceTree = "<group>";
};
9B850141259851B963D35C86 /* Pods */ = {
isa = PBXGroup;
children = (
100F161555459C1F2AE07A15 /* Pods.debug.xcconfig */,
2042FC4D0B699ABA6C9F6CE4 /* Pods.release.xcconfig */,
);
name = Pods;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
4B7A07F91C9B4DD600FEB640 /* SwiftExample */ = {
isa = PBXNativeTarget;
buildConfigurationList = 4B7A080C1C9B4DD700FEB640 /* Build configuration list for PBXNativeTarget "SwiftExample" */;
buildPhases = (
BD5F197475ED68440E82C076 /* Check Pods Manifest.lock */,
4B7A07F61C9B4DD600FEB640 /* Sources */,
4B7A07F71C9B4DD600FEB640 /* Frameworks */,
4B7A07F81C9B4DD600FEB640 /* Resources */,
6AE8D89775D387194D6608FD /* Embed Pods Frameworks */,
481D5EC0D018C20ED8DFC5A6 /* Copy Pods Resources */,
);
buildRules = (
);
dependencies = (
);
name = SwiftExample;
productName = SwiftExample;
productReference = 4B7A07FA1C9B4DD600FEB640 /* SwiftExample.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
4B7A07F21C9B4DD600FEB640 /* Project object */ = {
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0720;
LastUpgradeCheck = 0720;
ORGANIZATIONNAME = Twitter;
TargetAttributes = {
4B7A07F91C9B4DD600FEB640 = {
CreatedOnToolsVersion = 7.2.1;
};
};
};
buildConfigurationList = 4B7A07F51C9B4DD600FEB640 /* Build configuration list for PBXProject "SwiftExample" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 4B7A07F11C9B4DD600FEB640;
productRefGroup = 4B7A07FB1C9B4DD600FEB640 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
4B7A07F91C9B4DD600FEB640 /* SwiftExample */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
4B7A07F81C9B4DD600FEB640 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
4B7A08081C9B4DD700FEB640 /* LaunchScreen.storyboard in Resources */,
4B7A08051C9B4DD700FEB640 /* Assets.xcassets in Resources */,
4B7A08031C9B4DD600FEB640 /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
481D5EC0D018C20ED8DFC5A6 /* Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh\"\n";
showEnvVarsInLog = 0;
};
6AE8D89775D387194D6608FD /* Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Embed Pods Frameworks";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
BD5F197475ED68440E82C076 /* Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Check Pods Manifest.lock";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
4B7A07F61C9B4DD600FEB640 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
4B7A08001C9B4DD600FEB640 /* ViewController.swift in Sources */,
4B7A07FE1C9B4DD600FEB640 /* AppDelegate.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
4B7A08011C9B4DD600FEB640 /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
4B7A08021C9B4DD600FEB640 /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
4B7A08061C9B4DD700FEB640 /* LaunchScreen.storyboard */ = {
isa = PBXVariantGroup;
children = (
4B7A08071C9B4DD700FEB640 /* Base */,
);
name = LaunchScreen.storyboard;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */

/* Begin XCBuildConfiguration section */
4B7A080A1C9B4DD700FEB640 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.2;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
4B7A080B1C9B4DD700FEB640 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.2;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
};
name = Release;
};
4B7A080D1C9B4DD700FEB640 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 100F161555459C1F2AE07A15 /* Pods.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = SwiftExample/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.twitter.SwiftExample;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
4B7A080E1C9B4DD700FEB640 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 2042FC4D0B699ABA6C9F6CE4 /* Pods.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = SwiftExample/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.twitter.SwiftExample;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
4B7A07F51C9B4DD600FEB640 /* Build configuration list for PBXProject "SwiftExample" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4B7A080A1C9B4DD700FEB640 /* Debug */,
4B7A080B1C9B4DD700FEB640 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
4B7A080C1C9B4DD700FEB640 /* Build configuration list for PBXNativeTarget "SwiftExample" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4B7A080D1C9B4DD700FEB640 /* Debug */,
4B7A080E1C9B4DD700FEB640 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 4B7A07F21C9B4DD600FEB640 /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 19e4505

Please sign in to comment.