remove osx from cocoapods

This commit is contained in:
Jack Flintermann 2016-04-29 21:45:45 -04:00
parent 5e98fca1a0
commit 2505dfbf2d
10 changed files with 6 additions and 585 deletions

View File

@ -6,19 +6,16 @@ Pod::Spec.new do |s|
s.homepage = 'https://stripe.com/docs/mobile/ios'
s.authors = { 'Jack Flintermann' => 'jack@stripe.com', 'Stripe' => 'support+github@stripe.com' }
s.source = { :git => 'https://github.com/stripe/stripe-ios.git', :tag => "v#{s.version}" }
s.ios.frameworks = 'Foundation', 'Security'
s.ios.weak_frameworks = 'PassKit', 'AddressBook'
s.osx.frameworks = 'Foundation', 'Security', 'WebKit'
s.frameworks = 'Foundation', 'Security'
s.weak_frameworks = 'PassKit', 'AddressBook'
s.requires_arc = true
s.ios.deployment_target = '6.0'
s.osx.deployment_target = '10.9'
s.platform = :ios
s.deployment_target = '7.0'
s.default_subspecs = 'Core'
s.subspec 'Core' do |ss|
ss.public_header_files = 'Stripe/PublicHeaders/*.h'
ss.ios.public_header_files = 'Stripe/PublicHeaders/ApplePay/*.h', 'Stripe/PublicHeaders/UI/*.h'
ss.source_files = 'Stripe/PublicHeaders/*.h', 'Stripe/*.{h,m}'
ss.ios.source_files = 'Stripe/PublicHeaders/ApplePay/*.h', 'Stripe/ApplePay/*.{h,m}', 'Stripe/PublicHeaders/UI/*.h', 'Stripe/UI/*.{h,m}', 'Stripe/Fabric/*'
ss.public_header_files = 'Stripe/PublicHeaders/*.h', 'Stripe/PublicHeaders/ApplePay/*.h', 'Stripe/PublicHeaders/UI/*.h'
ss.source_files = 'Stripe/PublicHeaders/*.h', 'Stripe/*.{h,m}', 'Stripe/PublicHeaders/ApplePay/*.h', 'Stripe/ApplePay/*.{h,m}', 'Stripe/PublicHeaders/UI/*.h', 'Stripe/UI/*.{h,m}', 'Stripe/Fabric/*'
ss.resources = 'Stripe/Resources/**/*'
end

View File

@ -1,99 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0710"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "04D12C0F1A5F556D0010446E"
BuildableName = "StripeOSXTests.xctest"
BlueprintName = "StripeOSXTests"
ReferencedContainer = "container:Stripe.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "04D12C0F1A5F556D0010446E"
BuildableName = "StripeOSXTests.xctest"
BlueprintName = "StripeOSXTests"
ReferencedContainer = "container:Stripe.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "04D12C0F1A5F556D0010446E"
BuildableName = "StripeOSXTests.xctest"
BlueprintName = "StripeOSXTests"
ReferencedContainer = "container:Stripe.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "04D12C0F1A5F556D0010446E"
BuildableName = "StripeOSXTests.xctest"
BlueprintName = "StripeOSXTests"
ReferencedContainer = "container:Stripe.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "04D12C0F1A5F556D0010446E"
BuildableName = "StripeOSXTests.xctest"
BlueprintName = "StripeOSXTests"
ReferencedContainer = "container:Stripe.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

View File

@ -1,113 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0710"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "04D12C051A5F556D0010446E"
BuildableName = "StripeOSX.framework"
BlueprintName = "StripeOSX"
ReferencedContainer = "container:Stripe.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "04D12C0F1A5F556D0010446E"
BuildableName = "StripeOSXTests.xctest"
BlueprintName = "StripeOSXTests"
ReferencedContainer = "container:Stripe.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "04D12C0F1A5F556D0010446E"
BuildableName = "StripeOSXTests.xctest"
BlueprintName = "StripeOSXTests"
ReferencedContainer = "container:Stripe.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "04D12C051A5F556D0010446E"
BuildableName = "StripeOSX.framework"
BlueprintName = "StripeOSX"
ReferencedContainer = "container:Stripe.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "04D12C051A5F556D0010446E"
BuildableName = "StripeOSX.framework"
BlueprintName = "StripeOSX"
ReferencedContainer = "container:Stripe.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "04D12C051A5F556D0010446E"
BuildableName = "StripeOSX.framework"
BlueprintName = "StripeOSX"
ReferencedContainer = "container:Stripe.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

View File

@ -1,11 +0,0 @@
//
// StripeOSX-Debug.xcconfig
//
// Generated by BuildSettingExtractor on 4/27/15
// https://github.com/dempseyatgithub/BuildSettingExtractor
//
#include "StripeOSX-Shared.xcconfig"
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited)

View File

@ -1,22 +0,0 @@
//
// StripeOSX-Release.xcconfig
//
// Generated by BuildSettingExtractor on 4/27/15
// https://github.com/dempseyatgithub/BuildSettingExtractor
//
#include "StripeOSX-Shared.xcconfig"
// Debug Information Format
//
// This setting controls the format of debug information used by the developer tools.
//
// DWARF - Object files and linked products will use DWARF as the debug information
// format. [dwarf]
// DWARF with dSYM File - Object files and linked products will use DWARF as the debug
// information format, and Xcode will also produce a dSYM file containing the debug
// information from the individual object files (except that a dSYM file is not needed
// and will not be created for static library or object file products). [dwarf-with-dsym]
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym

View File

@ -1,186 +0,0 @@
//
// StripeOSX-Shared.xcconfig
//
// Generated by BuildSettingExtractor on 4/27/15
// https://github.com/dempseyatgithub/BuildSettingExtractor
//
CLANG_CXX_LANGUAGE_STANDARD = gnu++0x
CLANG_CXX_LIBRARY = libc++
CLANG_ENABLE_MODULES = YES
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR
// Combine High Resolution Artwork
//
// Combines image files at different resolutions into one multi-page TIFF file that is
// HiDPI compliant for Mac OS X 10.7 and later. Only image files in the same directory
// and with the same base name and extension are combined. The file names must conform to
// the naming convention used in HiDPI.
COMBINE_HIDPI_IMAGES = YES
// Current Project Version
//
// This setting defines the the current version of the project. The value must be a
// integer or floating point number like 57 or 365.8.
CURRENT_PROJECT_VERSION = 1
// Defines Module
//
// If enabled, the product will be treated as defining its own module. This enables
// automatic production of LLVM module map files when appropriate, and allows the product
// to be imported as a module.
DEFINES_MODULE = YES
MODULEMAP_FILE = Stripe/module_osx.modulemap
// Compatibility Version
//
// Determines the compatibility version of the resulting library, bundle, or framework
// binary.
DYLIB_COMPATIBILITY_VERSION = 1
// Current Library Version
//
// This setting defines the the current version of any framework built by the project.
// Like "Current Project Version", the value must be an integer or floating point number
// like 57 or 365.8. By default it is set to $(CURRENT_PROJECT_VERSION).
DYLIB_CURRENT_VERSION = 1
// Dynamic Library Install Name Base
//
// Sets the base value for the internal "install path" (LC_ID_DYLIB) in a dynamic
// library. This will be combined with the EXECUTABLE_PATH to form the full install path.
// Setting LD_DYLIB_INSTALL_NAME directly will override this setting. This setting
// defaults to the target's INSTALL_PATH. It is ignored when building any product other
// than a dynamic library. [-install_name]
DYLIB_INSTALL_NAME_BASE = @rpath
// Framework Version
//
// Framework bundles are versioned by having contents in subfolders of a version folder
// that has links to the current version and its contents.
FRAMEWORK_VERSION = A
GCC_TREAT_WARNINGS_AS_ERRORS = YES
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR
GCC_WARN_SHADOW = YES
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE
// Info.plist File
//
// This is the project-relative path to the plist file that contains the Info.plist
// information used by bundles.
INFOPLIST_FILE = Stripe/Info.plist
// Installation Directory
//
// The directory to install the build products in. This path is prepended by the
// 'Installation Build Products Location' (i.e., $(DSTROOT)).
INSTALL_PATH = $(LOCAL_LIBRARY_DIR)/Frameworks
// Runpath Search Paths
//
// This is a list of paths to be added to the runpath search path list for the image
// being created. At runtime, dyld uses the runpath when searching for dylibs whose load
// path begins with '@rpath/'. [-rpath]
LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/../Frameworks @loader_path/Frameworks
// OS X Deployment Target
//
// Code will load on this and later versions of OS X. Framework APIs that are
// unavailable in earlier versions will be weak-linked; your code should check for null
// function pointers or specific system versions before calling newer APIs.
//
// Compiler Default - Code will load on any Mac OS system that supports the APIs that are
// used.
// OS X 10.4 - Code will not load on systems earlier than 10.4. [10.4]
// OS X 10.5 - Code will not load on systems earlier than 10.5. [10.5]
// OS X 10.6 - Code will not load on systems earlier than 10.6. [10.6]
// OS X 10.7 - Code will not load on systems earlier than 10.7. [10.7]
// OS X 10.8 - Code will not load on systems earlier than 10.8. [10.8]
// OS X 10.9 - Code will not load on systems earlier than 10.9. [10.9]
MACOSX_DEPLOYMENT_TARGET = 10.9
// Product Name
//
// This is the basename of the product generated.
PRODUCT_NAME = StripeOSX
// Base SDK
//
// The name or path of the base SDK being used during the build. The product will be
// built against the headers and libraries located inside the indicated SDK. This path
// will be prepended to all search paths, and will be passed through the environment to
// the compiler and linker. Additional SDKs can be specified in the ADDITIONAL_SDKS
// setting.
SDKROOT = macosx
// Skip Install
//
// Activating this setting when deployment locations are used causes the product to be
// built into an alternative location instead of the install location.
SKIP_INSTALL = YES
// Versioning Name Prefix
//
// Used as a prefix for the name of the version info symbol in the generated versioning
// source file. If you prefix your exported symbols you will probably want to set this
// to the same prefix.
VERSION_INFO_PREFIX =
// Versioning System
//
// Selects the process used for version-stamping generated files.
//
// None - Use no versioning system. []
// Apple Generic - Use the current project version setting. [apple-generic]
VERSIONING_SYSTEM = apple-generic

View File

@ -1,11 +0,0 @@
//
// StripeOSXTests-Debug.xcconfig
//
// Generated by BuildSettingExtractor on 4/27/15
// https://github.com/dempseyatgithub/BuildSettingExtractor
//
#include "StripeOSXTests-Shared.xcconfig"
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited)

View File

@ -1,22 +0,0 @@
//
// StripeOSXTests-Release.xcconfig
//
// Generated by BuildSettingExtractor on 4/27/15
// https://github.com/dempseyatgithub/BuildSettingExtractor
//
#include "StripeOSXTests-Shared.xcconfig"
// Debug Information Format
//
// This setting controls the format of debug information used by the developer tools.
//
// DWARF - Object files and linked products will use DWARF as the debug information
// format. [dwarf]
// DWARF with dSYM File - Object files and linked products will use DWARF as the debug
// information format, and Xcode will also produce a dSYM file containing the debug
// information from the individual object files (except that a dSYM file is not needed
// and will not be created for static library or object file products). [dwarf-with-dsym]
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym

View File

@ -1,107 +0,0 @@
//
// StripeOSXTests-Shared.xcconfig
//
// Generated by BuildSettingExtractor on 4/27/15
// https://github.com/dempseyatgithub/BuildSettingExtractor
//
CLANG_CXX_LANGUAGE_STANDARD = gnu++0x
CLANG_CXX_LIBRARY = libc++
CLANG_ENABLE_MODULES = YES
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR
// Combine High Resolution Artwork
//
// Combines image files at different resolutions into one multi-page TIFF file that is
// HiDPI compliant for Mac OS X 10.7 and later. Only image files in the same directory
// and with the same base name and extension are combined. The file names must conform to
// the naming convention used in HiDPI.
COMBINE_HIDPI_IMAGES = YES
// Framework Search Paths
//
// This is a list of paths to folders containing frameworks to be searched by the
// compiler for both included or imported header files when compiling C, Objective-C,
// C++, or Objective-C++, and by the linker for frameworks used by the product. Paths are
// delimited by whitespace, so any paths with spaces in them need to be properly quoted.
// [-F]
FRAMEWORK_SEARCH_PATHS = $(DEVELOPER_FRAMEWORKS_DIR) $(inherited)
GCC_TREAT_WARNINGS_AS_ERRORS = YES
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR
GCC_WARN_SHADOW = YES
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE
// Info.plist File
//
// This is the project-relative path to the plist file that contains the Info.plist
// information used by bundles.
INFOPLIST_FILE = Tests/Tests/Info.plist
// Runpath Search Paths
//
// This is a list of paths to be added to the runpath search path list for the image
// being created. At runtime, dyld uses the runpath when searching for dylibs whose load
// path begins with '@rpath/'. [-rpath]
LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/../Frameworks @loader_path/../Frameworks
// OS X Deployment Target
//
// Code will load on this and later versions of OS X. Framework APIs that are
// unavailable in earlier versions will be weak-linked; your code should check for null
// function pointers or specific system versions before calling newer APIs.
//
// Compiler Default - Code will load on any Mac OS system that supports the APIs that are
// used.
// OS X 10.4 - Code will not load on systems earlier than 10.4. [10.4]
// OS X 10.5 - Code will not load on systems earlier than 10.5. [10.5]
// OS X 10.6 - Code will not load on systems earlier than 10.6. [10.6]
// OS X 10.7 - Code will not load on systems earlier than 10.7. [10.7]
// OS X 10.8 - Code will not load on systems earlier than 10.8. [10.8]
// OS X 10.9 - Code will not load on systems earlier than 10.9. [10.9]
MACOSX_DEPLOYMENT_TARGET = 10.10
// Product Name
//
// This is the basename of the product generated.
PRODUCT_NAME = $(TARGET_NAME)
// Base SDK
//
// The name or path of the base SDK being used during the build. The product will be
// built against the headers and libraries located inside the indicated SDK. This path
// will be prepended to all search paths, and will be passed through the environment to
// the compiler and linker. Additional SDKs can be specified in the ADDITIONAL_SDKS
// setting.
SDKROOT = macosx

View File

@ -1,5 +0,0 @@
framework module Stripe {
umbrella header "Stripe.h"
export *
module * { export * }
}