diff --git a/install_spm_dependency/after/Podfile.lock b/install_spm_dependency/after/Podfile.lock new file mode 100644 index 000000000..88e88b65b --- /dev/null +++ b/install_spm_dependency/after/Podfile.lock @@ -0,0 +1,12 @@ +PODS: + - Reachability (3.1.0) + +DEPENDENCIES: + - Reachability (from `Reachability.podspec`) + +EXTERNAL SOURCES: + Reachability: + :podspec: Reachability.podspec + +SPEC CHECKSUMS: + Reachability: ba1322b3898a453576766cc900a36ad9ebf1e8ed diff --git a/install_spm_dependency/after/Pods/Headers/Private/Reachability/Reachability.h b/install_spm_dependency/after/Pods/Headers/Private/Reachability/Reachability.h new file mode 120000 index 000000000..a30e80c62 --- /dev/null +++ b/install_spm_dependency/after/Pods/Headers/Private/Reachability/Reachability.h @@ -0,0 +1 @@ +../../../Reachability/Reachability.h \ No newline at end of file diff --git a/install_spm_dependency/after/Pods/Headers/Public/Reachability/Reachability.h b/install_spm_dependency/after/Pods/Headers/Public/Reachability/Reachability.h new file mode 120000 index 000000000..a30e80c62 --- /dev/null +++ b/install_spm_dependency/after/Pods/Headers/Public/Reachability/Reachability.h @@ -0,0 +1 @@ +../../../Reachability/Reachability.h \ No newline at end of file diff --git a/install_spm_dependency/after/Pods/Local Podspecs/Reachability.podspec.json b/install_spm_dependency/after/Pods/Local Podspecs/Reachability.podspec.json new file mode 100644 index 000000000..e1e9e39a9 --- /dev/null +++ b/install_spm_dependency/after/Pods/Local Podspecs/Reachability.podspec.json @@ -0,0 +1,35 @@ +{ + "name": "Reachability", + "version": "3.1.0", + "license": "BSD", + "homepage": "https://github.com/tonymillion/Reachability", + "authors": { + "Tony Million": "tonymillion@gmail.com" + }, + "summary": "ARC and GCD Compatible Reachability Class for iOS. Drop in replacement for Apple Reachability.", + "source": { + "git": "https://github.com/tonymillion/Reachability.git", + "tag": "v3.1.0" + }, + "source_files": "Reachability.{h,m}", + "frameworks": "SystemConfiguration", + "requires_arc": false, + "spm_dependencies": [ + { + "url": "https://github.com/apple/example-package-fisheryates.git", + "requirement": { + "kind": "upToNextMajorVersion", + "minimumVersion": "1.2.3" + }, + "products": [ + "PlayingCard" + ] + } + ], + "platforms": { + "osx": null, + "ios": null, + "tvos": null, + "watchos": null + } +} diff --git a/install_spm_dependency/after/Pods/Manifest.lock b/install_spm_dependency/after/Pods/Manifest.lock new file mode 100644 index 000000000..88e88b65b --- /dev/null +++ b/install_spm_dependency/after/Pods/Manifest.lock @@ -0,0 +1,12 @@ +PODS: + - Reachability (3.1.0) + +DEPENDENCIES: + - Reachability (from `Reachability.podspec`) + +EXTERNAL SOURCES: + Reachability: + :podspec: Reachability.podspec + +SPEC CHECKSUMS: + Reachability: ba1322b3898a453576766cc900a36ad9ebf1e8ed diff --git a/install_spm_dependency/after/Pods/Pods.xcodeproj/project.pbxproj b/install_spm_dependency/after/Pods/Pods.xcodeproj/project.pbxproj new file mode 100644 index 000000000..14a20d5f1 --- /dev/null +++ b/install_spm_dependency/after/Pods/Pods.xcodeproj/project.pbxproj @@ -0,0 +1,246 @@ + +File References: +- Podfile +- Frameworks: [] +- Pods: + - Reachability: + - Reachability.h + - Reachability.m + - Support Files: + - Reachability-dummy.m + - Reachability-prefix.pch + - Reachability.debug.xcconfig + - Reachability.release.xcconfig +- Products: + - Pods-SampleApp + - Reachability +- Targets Support Files: + - Pods-SampleApp: + - Pods-SampleApp-acknowledgements.markdown + - Pods-SampleApp-acknowledgements.plist + - Pods-SampleApp-dummy.m + - Pods-SampleApp.debug.xcconfig + - Pods-SampleApp.release.xcconfig + + + +Targets: +- Pods-SampleApp: + Build Phases: + - Headers: [] + - Sources: + - Pods-SampleApp-dummy.m + - Frameworks: [] + Build Configurations: + - Debug: + Build Settings: + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES: 'NO' + ARCHS: "$(ARCHS_STANDARD_64_BIT)" + CODE_SIGN_IDENTITY[sdk=appletvos*]: '' + CODE_SIGN_IDENTITY[sdk=iphoneos*]: '' + CODE_SIGN_IDENTITY[sdk=watchos*]: '' + IPHONEOS_DEPLOYMENT_TARGET: '6.0' + MACH_O_TYPE: staticlib + OTHER_LDFLAGS: '' + OTHER_LIBTOOLFLAGS: '' + PODS_ROOT: "$(SRCROOT)" + PRODUCT_BUNDLE_IDENTIFIER: org.cocoapods.${PRODUCT_NAME:rfc1034identifier} + SDKROOT: iphoneos + SKIP_INSTALL: 'YES' + TARGETED_DEVICE_FAMILY: '1,2' + Base Configuration: Pods-SampleApp.debug.xcconfig + - Release: + Build Settings: + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES: 'NO' + ARCHS: "$(ARCHS_STANDARD_64_BIT)" + CODE_SIGN_IDENTITY[sdk=appletvos*]: '' + CODE_SIGN_IDENTITY[sdk=iphoneos*]: '' + CODE_SIGN_IDENTITY[sdk=watchos*]: '' + IPHONEOS_DEPLOYMENT_TARGET: '6.0' + MACH_O_TYPE: staticlib + OTHER_LDFLAGS: '' + OTHER_LIBTOOLFLAGS: '' + PODS_ROOT: "$(SRCROOT)" + PRODUCT_BUNDLE_IDENTIFIER: org.cocoapods.${PRODUCT_NAME:rfc1034identifier} + SDKROOT: iphoneos + SKIP_INSTALL: 'YES' + TARGETED_DEVICE_FAMILY: '1,2' + VALIDATE_PRODUCT: 'YES' + Base Configuration: Pods-SampleApp.release.xcconfig +- Reachability: + Build Phases: + - Headers: + - Reachability.h: + ATTRIBUTES: + - Project + - Sources: + - Reachability.m: + COMPILER_FLAGS: "-fno-objc-arc" + - Reachability-dummy.m + - Frameworks: [] + Build Configurations: + - Debug: + Build Settings: + ARCHS: "$(ARCHS_STANDARD_64_BIT)" + CLANG_ENABLE_OBJC_WEAK: 'NO' + CODE_SIGN_IDENTITY[sdk=appletvos*]: '' + CODE_SIGN_IDENTITY[sdk=iphoneos*]: '' + CODE_SIGN_IDENTITY[sdk=watchos*]: '' + GCC_PREFIX_HEADER: Target Support Files/Reachability/Reachability-prefix.pch + IPHONEOS_DEPLOYMENT_TARGET: '4.3' + OTHER_LDFLAGS: '' + OTHER_LIBTOOLFLAGS: '' + PRIVATE_HEADERS_FOLDER_PATH: '' + PRODUCT_MODULE_NAME: Reachability + PRODUCT_NAME: Reachability + PUBLIC_HEADERS_FOLDER_PATH: '' + SDKROOT: iphoneos + SKIP_INSTALL: 'YES' + SWIFT_ACTIVE_COMPILATION_CONDITIONS: "$(inherited) " + SWIFT_INCLUDE_PATHS: "$(inherited) ${SYMROOT}/${CONFIGURATION}${EFFECTIVE_PLATFORM_NAME}/" + TARGETED_DEVICE_FAMILY: '1,2' + Base Configuration: Reachability.debug.xcconfig + - Release: + Build Settings: + ARCHS: "$(ARCHS_STANDARD_64_BIT)" + CLANG_ENABLE_OBJC_WEAK: 'NO' + CODE_SIGN_IDENTITY[sdk=appletvos*]: '' + CODE_SIGN_IDENTITY[sdk=iphoneos*]: '' + CODE_SIGN_IDENTITY[sdk=watchos*]: '' + GCC_PREFIX_HEADER: Target Support Files/Reachability/Reachability-prefix.pch + IPHONEOS_DEPLOYMENT_TARGET: '4.3' + OTHER_LDFLAGS: '' + OTHER_LIBTOOLFLAGS: '' + PRIVATE_HEADERS_FOLDER_PATH: '' + PRODUCT_MODULE_NAME: Reachability + PRODUCT_NAME: Reachability + PUBLIC_HEADERS_FOLDER_PATH: '' + SDKROOT: iphoneos + SKIP_INSTALL: 'YES' + SWIFT_ACTIVE_COMPILATION_CONDITIONS: "$(inherited) " + SWIFT_INCLUDE_PATHS: "$(inherited) ${SYMROOT}/${CONFIGURATION}${EFFECTIVE_PLATFORM_NAME}/" + TARGETED_DEVICE_FAMILY: '1,2' + VALIDATE_PRODUCT: 'YES' + Base Configuration: Reachability.release.xcconfig + + + +Build Configurations: +- Debug: + Build Settings: + ALWAYS_SEARCH_USER_PATHS: 'NO' + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED: 'YES' + CLANG_ANALYZER_NONNULL: 'YES' + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION: YES_AGGRESSIVE + CLANG_CXX_LANGUAGE_STANDARD: gnu++14 + CLANG_CXX_LIBRARY: libc++ + CLANG_ENABLE_MODULES: 'YES' + CLANG_ENABLE_OBJC_ARC: 'YES' + CLANG_ENABLE_OBJC_WEAK: 'YES' + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING: 'YES' + CLANG_WARN_BOOL_CONVERSION: 'YES' + CLANG_WARN_COMMA: 'YES' + CLANG_WARN_CONSTANT_CONVERSION: 'YES' + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS: 'YES' + CLANG_WARN_DIRECT_OBJC_ISA_USAGE: YES_ERROR + CLANG_WARN_DOCUMENTATION_COMMENTS: 'YES' + CLANG_WARN_EMPTY_BODY: 'YES' + CLANG_WARN_ENUM_CONVERSION: 'YES' + CLANG_WARN_INFINITE_RECURSION: 'YES' + CLANG_WARN_INT_CONVERSION: 'YES' + CLANG_WARN_NON_LITERAL_NULL_CONVERSION: 'YES' + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF: 'YES' + CLANG_WARN_OBJC_LITERAL_CONVERSION: 'YES' + CLANG_WARN_OBJC_ROOT_CLASS: YES_ERROR + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER: 'YES' + CLANG_WARN_RANGE_LOOP_ANALYSIS: 'YES' + CLANG_WARN_STRICT_PROTOTYPES: 'YES' + CLANG_WARN_SUSPICIOUS_MOVE: 'YES' + CLANG_WARN_UNGUARDED_AVAILABILITY: YES_AGGRESSIVE + CLANG_WARN_UNREACHABLE_CODE: 'YES' + CLANG_WARN__DUPLICATE_METHOD_MATCH: 'YES' + COPY_PHASE_STRIP: 'NO' + DEBUG_INFORMATION_FORMAT: dwarf + ENABLE_STRICT_OBJC_MSGSEND: 'YES' + ENABLE_TESTABILITY: 'YES' + GCC_C_LANGUAGE_STANDARD: gnu11 + GCC_DYNAMIC_NO_PIC: 'NO' + GCC_NO_COMMON_BLOCKS: 'YES' + GCC_OPTIMIZATION_LEVEL: '0' + GCC_PREPROCESSOR_DEFINITIONS: + - POD_CONFIGURATION_DEBUG=1 + - 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: '6.0' + MTL_ENABLE_DEBUG_INFO: INCLUDE_SOURCE + MTL_FAST_MATH: 'YES' + ONLY_ACTIVE_ARCH: 'YES' + PRODUCT_NAME: "$(TARGET_NAME)" + STRIP_INSTALLED_PRODUCT: 'NO' + SWIFT_ACTIVE_COMPILATION_CONDITIONS: DEBUG + SWIFT_OPTIMIZATION_LEVEL: "-Onone" + SWIFT_VERSION: '5.0' + SYMROOT: "${SRCROOT}/../build" +- Release: + Build Settings: + ALWAYS_SEARCH_USER_PATHS: 'NO' + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED: 'YES' + CLANG_ANALYZER_NONNULL: 'YES' + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION: YES_AGGRESSIVE + CLANG_CXX_LANGUAGE_STANDARD: gnu++14 + CLANG_CXX_LIBRARY: libc++ + CLANG_ENABLE_MODULES: 'YES' + CLANG_ENABLE_OBJC_ARC: 'YES' + CLANG_ENABLE_OBJC_WEAK: 'YES' + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING: 'YES' + CLANG_WARN_BOOL_CONVERSION: 'YES' + CLANG_WARN_COMMA: 'YES' + CLANG_WARN_CONSTANT_CONVERSION: 'YES' + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS: 'YES' + CLANG_WARN_DIRECT_OBJC_ISA_USAGE: YES_ERROR + CLANG_WARN_DOCUMENTATION_COMMENTS: 'YES' + CLANG_WARN_EMPTY_BODY: 'YES' + CLANG_WARN_ENUM_CONVERSION: 'YES' + CLANG_WARN_INFINITE_RECURSION: 'YES' + CLANG_WARN_INT_CONVERSION: 'YES' + CLANG_WARN_NON_LITERAL_NULL_CONVERSION: 'YES' + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF: 'YES' + CLANG_WARN_OBJC_LITERAL_CONVERSION: 'YES' + CLANG_WARN_OBJC_ROOT_CLASS: YES_ERROR + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER: 'YES' + CLANG_WARN_RANGE_LOOP_ANALYSIS: 'YES' + CLANG_WARN_STRICT_PROTOTYPES: 'YES' + CLANG_WARN_SUSPICIOUS_MOVE: 'YES' + CLANG_WARN_UNGUARDED_AVAILABILITY: YES_AGGRESSIVE + CLANG_WARN_UNREACHABLE_CODE: 'YES' + CLANG_WARN__DUPLICATE_METHOD_MATCH: 'YES' + COPY_PHASE_STRIP: 'NO' + DEBUG_INFORMATION_FORMAT: dwarf-with-dsym + ENABLE_NS_ASSERTIONS: 'NO' + ENABLE_STRICT_OBJC_MSGSEND: 'YES' + GCC_C_LANGUAGE_STANDARD: gnu11 + GCC_NO_COMMON_BLOCKS: 'YES' + GCC_PREPROCESSOR_DEFINITIONS: + - POD_CONFIGURATION_RELEASE=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: '6.0' + MTL_ENABLE_DEBUG_INFO: 'NO' + MTL_FAST_MATH: 'YES' + PRODUCT_NAME: "$(TARGET_NAME)" + STRIP_INSTALLED_PRODUCT: 'NO' + SWIFT_COMPILATION_MODE: wholemodule + SWIFT_OPTIMIZATION_LEVEL: "-O" + SWIFT_VERSION: '5.0' + SYMROOT: "${SRCROOT}/../build" diff --git a/install_spm_dependency/after/Pods/Pods.xcodeproj/xcuserdata/INTEGRATION.xcuserdatad/xcschemes/Pods-SampleApp.xcscheme b/install_spm_dependency/after/Pods/Pods.xcodeproj/xcuserdata/INTEGRATION.xcuserdatad/xcschemes/Pods-SampleApp.xcscheme new file mode 100644 index 000000000..baa1d5088 --- /dev/null +++ b/install_spm_dependency/after/Pods/Pods.xcodeproj/xcuserdata/INTEGRATION.xcuserdatad/xcschemes/Pods-SampleApp.xcscheme @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/install_spm_dependency/after/Pods/Pods.xcodeproj/xcuserdata/INTEGRATION.xcuserdatad/xcschemes/Reachability.xcscheme b/install_spm_dependency/after/Pods/Pods.xcodeproj/xcuserdata/INTEGRATION.xcuserdatad/xcschemes/Reachability.xcscheme new file mode 100644 index 000000000..865b2adbb --- /dev/null +++ b/install_spm_dependency/after/Pods/Pods.xcodeproj/xcuserdata/INTEGRATION.xcuserdatad/xcschemes/Reachability.xcscheme @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/install_spm_dependency/after/Pods/Pods.xcodeproj/xcuserdata/INTEGRATION.xcuserdatad/xcschemes/xcschememanagement.plist b/install_spm_dependency/after/Pods/Pods.xcodeproj/xcuserdata/INTEGRATION.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 000000000..970303786 --- /dev/null +++ b/install_spm_dependency/after/Pods/Pods.xcodeproj/xcuserdata/INTEGRATION.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,21 @@ + + + + + SchemeUserState + + Pods-SampleApp.xcscheme + + isShown + + + Reachability.xcscheme + + isShown + + + + SuppressBuildableAutocreation + + + diff --git a/install_spm_dependency/after/Pods/Reachability/README.md b/install_spm_dependency/after/Pods/Reachability/README.md new file mode 100644 index 000000000..36f537d55 --- /dev/null +++ b/install_spm_dependency/after/Pods/Reachability/README.md @@ -0,0 +1,48 @@ +# Reachability + +This is a drop-in replacement for Apples Reachability class. It is ARC compatible, uses the new GCD methods to notify of network interface changes. + +In addition to the standard NSNotification it supports the use of Blocks for when the network becomes reachable and unreachable. + +Finally you can specify wether or not a WWAN connection is considered "reachable". + +## A Simple example +This sample uses Blocks to tell you when the interface state has changed. The blocks will be called on a BACKGROUND THREAD so you need to dispatch UI updates onto the main thread. + + // allocate a reachability object + Reachability* reach = [Reachability reachabilityWithHostname:@"www.google.com"]; + + // set the blocks + reach.reachableBlock = ^(Reachability*reach) + { + NSLog(@"REACHABLE!"); + }; + + reach.unreachableBlock = ^(Reachability*reach) + { + NSLog(@"UNREACHABLE!"); + }; + + // start the notifier which will cause the reachability object to retain itself! + [reach startNotifier]; + +## Another simple example +This sample will use NSNotifications to tell you when the interface has changed, they will be delivered on the MAIN THREAD so you *can* do UI updates from within the function. + +In addition it asks the Reachability object to consider the WWAN (3G/EDGE/CDMA) as a non-reachable connection (you might use this if you are writing a video streaming app, for example, to save the users data plan). + + // allocate a reachability object + Reachability* reach = [Reachability reachabilityWithHostname:@"www.google.com"]; + + // tell the reachability that we DONT want to be reachable on 3G/EDGE/CDMA + reach.reachableOnWWAN = NO; + + // here we set up a NSNotification observer. The Reachability that caused the notification + // is passed in the object parameter + [[NSNotificationCenter defaultCenter] addObserver:self + selector:@selector(reachabilityChanged:) + name:kReachabilityChangedNotification + object:nil]; + + [reach startNotifier] + \ No newline at end of file diff --git a/install_spm_dependency/after/Pods/Reachability/Reachability.h b/install_spm_dependency/after/Pods/Reachability/Reachability.h new file mode 100644 index 000000000..6cce494d4 --- /dev/null +++ b/install_spm_dependency/after/Pods/Reachability/Reachability.h @@ -0,0 +1,116 @@ +/* + Copyright (c) 2011, Tony Million. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + */ + +#import +#import + +#import +#import +#import +#import +#import +#import + +/** + * Does ARC support support GCD objects? + * It does if the minimum deployment target is iOS 6+ or Mac OS X 8+ + **/ +#if TARGET_OS_IPHONE + +// Compiling for iOS + +#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 60000 // iOS 6.0 or later +#define NEEDS_DISPATCH_RETAIN_RELEASE 0 +#else // iOS 5.X or earlier +#define NEEDS_DISPATCH_RETAIN_RELEASE 1 +#endif + +#else + +// Compiling for Mac OS X + +#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1080 // Mac OS X 10.8 or later +#define NEEDS_DISPATCH_RETAIN_RELEASE 0 +#else +#define NEEDS_DISPATCH_RETAIN_RELEASE 1 // Mac OS X 10.7 or earlier +#endif + +#endif + + +extern NSString *const kReachabilityChangedNotification; + +typedef enum +{ + // Apple NetworkStatus Compatible Names. + NotReachable = 0, + ReachableViaWiFi = 2, + ReachableViaWWAN = 1 +} NetworkStatus; + +@class Reachability; + +typedef void (^NetworkReachable)(Reachability * reachability); +typedef void (^NetworkUnreachable)(Reachability * reachability); + +@interface Reachability : NSObject + +@property (nonatomic, copy) NetworkReachable reachableBlock; +@property (nonatomic, copy) NetworkUnreachable unreachableBlock; + + +@property (nonatomic, assign) BOOL reachableOnWWAN; + ++(Reachability*)reachabilityWithHostname:(NSString*)hostname; ++(Reachability*)reachabilityForInternetConnection; ++(Reachability*)reachabilityWithAddress:(const struct sockaddr_in*)hostAddress; ++(Reachability*)reachabilityForLocalWiFi; + +-(Reachability *)initWithReachabilityRef:(SCNetworkReachabilityRef)ref; + +-(BOOL)startNotifier; +-(void)stopNotifier; + +-(BOOL)isReachable; +-(BOOL)isReachableViaWWAN; +-(BOOL)isReachableViaWiFi; + +// WWAN may be available, but not active until a connection has been established. +// WiFi may require a connection for VPN on Demand. +-(BOOL)isConnectionRequired; // Identical DDG variant. +-(BOOL)connectionRequired; // Apple's routine. +// Dynamic, on demand connection? +-(BOOL)isConnectionOnDemand; +// Is user intervention required? +-(BOOL)isInterventionRequired; + +-(NetworkStatus)currentReachabilityStatus; +-(SCNetworkReachabilityFlags)reachabilityFlags; +-(NSString*)currentReachabilityString; +-(NSString*)currentReachabilityFlags; + +@end diff --git a/install_spm_dependency/after/Pods/Reachability/Reachability.m b/install_spm_dependency/after/Pods/Reachability/Reachability.m new file mode 100644 index 000000000..fafa74a28 --- /dev/null +++ b/install_spm_dependency/after/Pods/Reachability/Reachability.m @@ -0,0 +1,512 @@ +/* + Copyright (c) 2011, Tony Million. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + */ + +#import "Reachability.h" + + +NSString *const kReachabilityChangedNotification = @"kReachabilityChangedNotification"; + +@interface Reachability () + +@property (nonatomic, assign) SCNetworkReachabilityRef reachabilityRef; + + +#if NEEDS_DISPATCH_RETAIN_RELEASE +@property (nonatomic, assign) dispatch_queue_t reachabilitySerialQueue; +#else +@property (nonatomic, strong) dispatch_queue_t reachabilitySerialQueue; +#endif + + +@property (nonatomic, strong) id reachabilityObject; + +-(void)reachabilityChanged:(SCNetworkReachabilityFlags)flags; +-(BOOL)isReachableWithFlags:(SCNetworkReachabilityFlags)flags; + +@end + +static NSString *reachabilityFlags(SCNetworkReachabilityFlags flags) +{ + return [NSString stringWithFormat:@"%c%c %c%c%c%c%c%c%c", +#if TARGET_OS_IPHONE + (flags & kSCNetworkReachabilityFlagsIsWWAN) ? 'W' : '-', +#else + 'X', +#endif + (flags & kSCNetworkReachabilityFlagsReachable) ? 'R' : '-', + (flags & kSCNetworkReachabilityFlagsConnectionRequired) ? 'c' : '-', + (flags & kSCNetworkReachabilityFlagsTransientConnection) ? 't' : '-', + (flags & kSCNetworkReachabilityFlagsInterventionRequired) ? 'i' : '-', + (flags & kSCNetworkReachabilityFlagsConnectionOnTraffic) ? 'C' : '-', + (flags & kSCNetworkReachabilityFlagsConnectionOnDemand) ? 'D' : '-', + (flags & kSCNetworkReachabilityFlagsIsLocalAddress) ? 'l' : '-', + (flags & kSCNetworkReachabilityFlagsIsDirect) ? 'd' : '-']; +} + +//Start listening for reachability notifications on the current run loop +static void TMReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkReachabilityFlags flags, void* info) +{ +#pragma unused (target) +#if __has_feature(objc_arc) + Reachability *reachability = ((__bridge Reachability*)info); +#else + Reachability *reachability = ((Reachability*)info); +#endif + + // we probably dont need an autoreleasepool here as GCD docs state each queue has its own autorelease pool + // but what the heck eh? + @autoreleasepool + { + [reachability reachabilityChanged:flags]; + } +} + + +@implementation Reachability + +@synthesize reachabilityRef; +@synthesize reachabilitySerialQueue; + +@synthesize reachableOnWWAN; + +@synthesize reachableBlock; +@synthesize unreachableBlock; + +@synthesize reachabilityObject; + +#pragma mark - class constructor methods ++(Reachability*)reachabilityWithHostname:(NSString*)hostname +{ + SCNetworkReachabilityRef ref = SCNetworkReachabilityCreateWithName(NULL, [hostname UTF8String]); + if (ref) + { + id reachability = [[self alloc] initWithReachabilityRef:ref]; + +#if __has_feature(objc_arc) + return reachability; +#else + return [reachability autorelease]; +#endif + + } + + return nil; +} + ++(Reachability *)reachabilityWithAddress:(const struct sockaddr_in *)hostAddress +{ + SCNetworkReachabilityRef ref = SCNetworkReachabilityCreateWithAddress(kCFAllocatorDefault, (const struct sockaddr*)hostAddress); + if (ref) + { + id reachability = [[self alloc] initWithReachabilityRef:ref]; + +#if __has_feature(objc_arc) + return reachability; +#else + return [reachability autorelease]; +#endif + } + + return nil; +} + ++(Reachability *)reachabilityForInternetConnection +{ + struct sockaddr_in zeroAddress; + bzero(&zeroAddress, sizeof(zeroAddress)); + zeroAddress.sin_len = sizeof(zeroAddress); + zeroAddress.sin_family = AF_INET; + + return [self reachabilityWithAddress:&zeroAddress]; +} + ++(Reachability*)reachabilityForLocalWiFi +{ + struct sockaddr_in localWifiAddress; + bzero(&localWifiAddress, sizeof(localWifiAddress)); + localWifiAddress.sin_len = sizeof(localWifiAddress); + localWifiAddress.sin_family = AF_INET; + // IN_LINKLOCALNETNUM is defined in as 169.254.0.0 + localWifiAddress.sin_addr.s_addr = htonl(IN_LINKLOCALNETNUM); + + return [self reachabilityWithAddress:&localWifiAddress]; +} + + +// initialization methods + +-(Reachability *)initWithReachabilityRef:(SCNetworkReachabilityRef)ref +{ + self = [super init]; + if (self != nil) + { + self.reachableOnWWAN = YES; + self.reachabilityRef = ref; + } + + return self; +} + +-(void)dealloc +{ + [self stopNotifier]; + + if(self.reachabilityRef) + { + CFRelease(self.reachabilityRef); + self.reachabilityRef = nil; + } + + self.reachableBlock = nil; + self.unreachableBlock = nil; + +#if !(__has_feature(objc_arc)) + [super dealloc]; +#endif + + +} + +#pragma mark - notifier methods + +// Notifier +// NOTE: this uses GCD to trigger the blocks - they *WILL NOT* be called on THE MAIN THREAD +// - In other words DO NOT DO ANY UI UPDATES IN THE BLOCKS. +// INSTEAD USE dispatch_async(dispatch_get_main_queue(), ^{UISTUFF}) (or dispatch_sync if you want) + +-(BOOL)startNotifier +{ + SCNetworkReachabilityContext context = { 0, NULL, NULL, NULL, NULL }; + + // this should do a retain on ourself, so as long as we're in notifier mode we shouldn't disappear out from under ourselves + // woah + self.reachabilityObject = self; + + + + // first we need to create a serial queue + // we allocate this once for the lifetime of the notifier + self.reachabilitySerialQueue = dispatch_queue_create("com.tonymillion.reachability", NULL); + if(!self.reachabilitySerialQueue) + { + return NO; + } + +#if __has_feature(objc_arc) + context.info = (__bridge void *)self; +#else + context.info = (void *)self; +#endif + + if (!SCNetworkReachabilitySetCallback(self.reachabilityRef, TMReachabilityCallback, &context)) + { +#ifdef DEBUG + NSLog(@"SCNetworkReachabilitySetCallback() failed: %s", SCErrorString(SCError())); +#endif + + //clear out the dispatch queue + if(self.reachabilitySerialQueue) + { +#if NEEDS_DISPATCH_RETAIN_RELEASE + dispatch_release(self.reachabilitySerialQueue); +#endif + self.reachabilitySerialQueue = nil; + } + + self.reachabilityObject = nil; + + return NO; + } + + // set it as our reachability queue which will retain the queue + if(!SCNetworkReachabilitySetDispatchQueue(self.reachabilityRef, self.reachabilitySerialQueue)) + { +#ifdef DEBUG + NSLog(@"SCNetworkReachabilitySetDispatchQueue() failed: %s", SCErrorString(SCError())); +#endif + + //UH OH - FAILURE! + + // first stop any callbacks! + SCNetworkReachabilitySetCallback(self.reachabilityRef, NULL, NULL); + + // then clear out the dispatch queue + if(self.reachabilitySerialQueue) + { +#if NEEDS_DISPATCH_RETAIN_RELEASE + dispatch_release(self.reachabilitySerialQueue); +#endif + self.reachabilitySerialQueue = nil; + } + + self.reachabilityObject = nil; + + return NO; + } + + return YES; +} + +-(void)stopNotifier +{ + // first stop any callbacks! + SCNetworkReachabilitySetCallback(self.reachabilityRef, NULL, NULL); + + // unregister target from the GCD serial dispatch queue + SCNetworkReachabilitySetDispatchQueue(self.reachabilityRef, NULL); + + if(self.reachabilitySerialQueue) + { +#if NEEDS_DISPATCH_RETAIN_RELEASE + dispatch_release(self.reachabilitySerialQueue); +#endif + self.reachabilitySerialQueue = nil; + } + + self.reachabilityObject = nil; +} + +#pragma mark - reachability tests + +// this is for the case where you flick the airplane mode +// you end up getting something like this: +//Reachability: WR ct----- +//Reachability: -- ------- +//Reachability: WR ct----- +//Reachability: -- ------- +// we treat this as 4 UNREACHABLE triggers - really apple should do better than this + +#define testcase (kSCNetworkReachabilityFlagsConnectionRequired | kSCNetworkReachabilityFlagsTransientConnection) + +-(BOOL)isReachableWithFlags:(SCNetworkReachabilityFlags)flags +{ + BOOL connectionUP = YES; + + if(!(flags & kSCNetworkReachabilityFlagsReachable)) + connectionUP = NO; + + if( (flags & testcase) == testcase ) + connectionUP = NO; + +#if TARGET_OS_IPHONE + if(flags & kSCNetworkReachabilityFlagsIsWWAN) + { + // we're on 3G + if(!self.reachableOnWWAN) + { + // we dont want to connect when on 3G + connectionUP = NO; + } + } +#endif + + return connectionUP; +} + +-(BOOL)isReachable +{ + SCNetworkReachabilityFlags flags; + + if(!SCNetworkReachabilityGetFlags(self.reachabilityRef, &flags)) + return NO; + + return [self isReachableWithFlags:flags]; +} + +-(BOOL)isReachableViaWWAN +{ +#if TARGET_OS_IPHONE + + SCNetworkReachabilityFlags flags = 0; + + if(SCNetworkReachabilityGetFlags(reachabilityRef, &flags)) + { + // check we're REACHABLE + if(flags & kSCNetworkReachabilityFlagsReachable) + { + // now, check we're on WWAN + if(flags & kSCNetworkReachabilityFlagsIsWWAN) + { + return YES; + } + } + } +#endif + + return NO; +} + +-(BOOL)isReachableViaWiFi +{ + SCNetworkReachabilityFlags flags = 0; + + if(SCNetworkReachabilityGetFlags(reachabilityRef, &flags)) + { + // check we're reachable + if((flags & kSCNetworkReachabilityFlagsReachable)) + { +#if TARGET_OS_IPHONE + // check we're NOT on WWAN + if((flags & kSCNetworkReachabilityFlagsIsWWAN)) + { + return NO; + } +#endif + return YES; + } + } + + return NO; +} + + +// WWAN may be available, but not active until a connection has been established. +// WiFi may require a connection for VPN on Demand. +-(BOOL)isConnectionRequired +{ + return [self connectionRequired]; +} + +-(BOOL)connectionRequired +{ + SCNetworkReachabilityFlags flags; + + if(SCNetworkReachabilityGetFlags(reachabilityRef, &flags)) + { + return (flags & kSCNetworkReachabilityFlagsConnectionRequired); + } + + return NO; +} + +// Dynamic, on demand connection? +-(BOOL)isConnectionOnDemand +{ + SCNetworkReachabilityFlags flags; + + if (SCNetworkReachabilityGetFlags(reachabilityRef, &flags)) + { + return ((flags & kSCNetworkReachabilityFlagsConnectionRequired) && + (flags & (kSCNetworkReachabilityFlagsConnectionOnTraffic | kSCNetworkReachabilityFlagsConnectionOnDemand))); + } + + return NO; +} + +// Is user intervention required? +-(BOOL)isInterventionRequired +{ + SCNetworkReachabilityFlags flags; + + if (SCNetworkReachabilityGetFlags(reachabilityRef, &flags)) + { + return ((flags & kSCNetworkReachabilityFlagsConnectionRequired) && + (flags & kSCNetworkReachabilityFlagsInterventionRequired)); + } + + return NO; +} + + +#pragma mark - reachability status stuff + +-(NetworkStatus)currentReachabilityStatus +{ + if([self isReachable]) + { + if([self isReachableViaWiFi]) + return ReachableViaWiFi; + +#if TARGET_OS_IPHONE + return ReachableViaWWAN; +#endif + } + + return NotReachable; +} + +-(SCNetworkReachabilityFlags)reachabilityFlags +{ + SCNetworkReachabilityFlags flags = 0; + + if(SCNetworkReachabilityGetFlags(reachabilityRef, &flags)) + { + return flags; + } + + return 0; +} + +-(NSString*)currentReachabilityString +{ + NetworkStatus temp = [self currentReachabilityStatus]; + + if(temp == reachableOnWWAN) + { + // updated for the fact we have CDMA phones now! + return NSLocalizedString(@"Cellular", @""); + } + if (temp == ReachableViaWiFi) + { + return NSLocalizedString(@"WiFi", @""); + } + + return NSLocalizedString(@"No Connection", @""); +} + +-(NSString*)currentReachabilityFlags +{ + return reachabilityFlags([self reachabilityFlags]); +} + +#pragma mark - callback function calls this method + +-(void)reachabilityChanged:(SCNetworkReachabilityFlags)flags +{ + if([self isReachableWithFlags:flags]) + { + if(self.reachableBlock) + { + self.reachableBlock(self); + } + } + else + { + if(self.unreachableBlock) + { + self.unreachableBlock(self); + } + } + + // this makes sure the change notification happens on the MAIN THREAD + dispatch_async(dispatch_get_main_queue(), ^{ + [[NSNotificationCenter defaultCenter] postNotificationName:kReachabilityChangedNotification + object:self]; + }); +} + +@end diff --git a/install_spm_dependency/after/Pods/Target Support Files/Pods-SampleApp/Pods-SampleApp-acknowledgements.markdown b/install_spm_dependency/after/Pods/Target Support Files/Pods-SampleApp/Pods-SampleApp-acknowledgements.markdown new file mode 100644 index 000000000..102af7538 --- /dev/null +++ b/install_spm_dependency/after/Pods/Target Support Files/Pods-SampleApp/Pods-SampleApp-acknowledgements.markdown @@ -0,0 +1,3 @@ +# Acknowledgements +This application makes use of the following third party libraries: +Generated by CocoaPods - https://cocoapods.org diff --git a/install_spm_dependency/after/Pods/Target Support Files/Pods-SampleApp/Pods-SampleApp-acknowledgements.plist b/install_spm_dependency/after/Pods/Target Support Files/Pods-SampleApp/Pods-SampleApp-acknowledgements.plist new file mode 100644 index 000000000..7acbad1ea --- /dev/null +++ b/install_spm_dependency/after/Pods/Target Support Files/Pods-SampleApp/Pods-SampleApp-acknowledgements.plist @@ -0,0 +1,29 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/install_spm_dependency/after/Pods/Target Support Files/Pods-SampleApp/Pods-SampleApp-dummy.m b/install_spm_dependency/after/Pods/Target Support Files/Pods-SampleApp/Pods-SampleApp-dummy.m new file mode 100644 index 000000000..ad113e091 --- /dev/null +++ b/install_spm_dependency/after/Pods/Target Support Files/Pods-SampleApp/Pods-SampleApp-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_SampleApp : NSObject +@end +@implementation PodsDummy_Pods_SampleApp +@end diff --git a/install_spm_dependency/after/Pods/Target Support Files/Pods-SampleApp/Pods-SampleApp.debug.xcconfig b/install_spm_dependency/after/Pods/Target Support Files/Pods-SampleApp/Pods-SampleApp.debug.xcconfig new file mode 100644 index 000000000..e96a4a4a2 --- /dev/null +++ b/install_spm_dependency/after/Pods/Target Support Files/Pods-SampleApp/Pods-SampleApp.debug.xcconfig @@ -0,0 +1,11 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Reachability" +LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Reachability" +OTHER_LDFLAGS = $(inherited) -ObjC -l"Reachability" -framework "SystemConfiguration" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/install_spm_dependency/after/Pods/Target Support Files/Pods-SampleApp/Pods-SampleApp.release.xcconfig b/install_spm_dependency/after/Pods/Target Support Files/Pods-SampleApp/Pods-SampleApp.release.xcconfig new file mode 100644 index 000000000..e96a4a4a2 --- /dev/null +++ b/install_spm_dependency/after/Pods/Target Support Files/Pods-SampleApp/Pods-SampleApp.release.xcconfig @@ -0,0 +1,11 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Reachability" +LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Reachability" +OTHER_LDFLAGS = $(inherited) -ObjC -l"Reachability" -framework "SystemConfiguration" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/install_spm_dependency/after/Pods/Target Support Files/Reachability/Reachability-dummy.m b/install_spm_dependency/after/Pods/Target Support Files/Reachability/Reachability-dummy.m new file mode 100644 index 000000000..119024a8e --- /dev/null +++ b/install_spm_dependency/after/Pods/Target Support Files/Reachability/Reachability-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Reachability : NSObject +@end +@implementation PodsDummy_Reachability +@end diff --git a/install_spm_dependency/after/Pods/Target Support Files/Reachability/Reachability-prefix.pch b/install_spm_dependency/after/Pods/Target Support Files/Reachability/Reachability-prefix.pch new file mode 100644 index 000000000..beb2a2441 --- /dev/null +++ b/install_spm_dependency/after/Pods/Target Support Files/Reachability/Reachability-prefix.pch @@ -0,0 +1,12 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + diff --git a/install_spm_dependency/after/Pods/Target Support Files/Reachability/Reachability.debug.xcconfig b/install_spm_dependency/after/Pods/Target Support Files/Reachability/Reachability.debug.xcconfig new file mode 100644 index 000000000..abc9dde54 --- /dev/null +++ b/install_spm_dependency/after/Pods/Target Support Files/Reachability/Reachability.debug.xcconfig @@ -0,0 +1,13 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Reachability +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/Reachability" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Reachability" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/Reachability +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/install_spm_dependency/after/Pods/Target Support Files/Reachability/Reachability.release.xcconfig b/install_spm_dependency/after/Pods/Target Support Files/Reachability/Reachability.release.xcconfig new file mode 100644 index 000000000..abc9dde54 --- /dev/null +++ b/install_spm_dependency/after/Pods/Target Support Files/Reachability/Reachability.release.xcconfig @@ -0,0 +1,13 @@ +CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Reachability +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/Reachability" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/Reachability" +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/Reachability +PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/install_spm_dependency/after/SampleApp.xcodeproj/project.pbxproj b/install_spm_dependency/after/SampleApp.xcodeproj/project.pbxproj new file mode 100644 index 000000000..e1a34cf6e --- /dev/null +++ b/install_spm_dependency/after/SampleApp.xcodeproj/project.pbxproj @@ -0,0 +1,132 @@ + +File References: +- SampleApp: + - CPAppDelegate.h + - CPAppDelegate.m + - MainMenu.xib: + - en + - Supporting Files: + - SampleApp-Info.plist + - InfoPlist.strings: + - en + - main.m + - SampleApp-Prefix.pch + - Credits.rtf: + - en +- Frameworks: + - Cocoa.framework + - Other Frameworks: + - AppKit.framework + - CoreData.framework + - Foundation.framework + - libPods-SampleApp.a +- Products: + - SampleApp.app +- Pods: + - Pods-SampleApp.debug.xcconfig + - Pods-SampleApp.release.xcconfig + + + +Targets: +- SampleApp: + Build Phases: + - "[CP] Check Pods Manifest.lock": + Input File List Paths: [] + Input Paths: + - "${PODS_PODFILE_DIR_PATH}/Podfile.lock" + - "${PODS_ROOT}/Manifest.lock" + Output File List Paths: [] + Output Paths: + - "$(DERIVED_FILE_DIR)/Pods-SampleApp-checkManifestLockResult.txt" + Shell Path: "/bin/sh" + Shell Script: | + diff "${PODS_PODFILE_DIR_PATH}/Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null + if [ $? != 0 ] ; then + # print error to STDERR + echo "error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation." >&2 + exit 1 + fi + # This output is used by Xcode 'outputs' to avoid re-running this script phase. + echo "SUCCESS" > "${SCRIPT_OUTPUT_FILE_0}" + - Sources: + - main.m + - CPAppDelegate.m + - Frameworks: + - Cocoa.framework + - libPods-SampleApp.a + - Resources: + - InfoPlist.strings + - Credits.rtf + - MainMenu.xib + Build Configurations: + - Debug: + Build Settings: + COMBINE_HIDPI_IMAGES: 'YES' + GCC_PRECOMPILE_PREFIX_HEADER: 'YES' + GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch + INFOPLIST_FILE: SampleApp/SampleApp-Info.plist + PRODUCT_NAME: "$(TARGET_NAME)" + WRAPPER_EXTENSION: app + Base Configuration: Pods-SampleApp.debug.xcconfig + - Release: + Build Settings: + COMBINE_HIDPI_IMAGES: 'YES' + GCC_PRECOMPILE_PREFIX_HEADER: 'YES' + GCC_PREFIX_HEADER: SampleApp/SampleApp-Prefix.pch + INFOPLIST_FILE: SampleApp/SampleApp-Info.plist + PRODUCT_NAME: "$(TARGET_NAME)" + WRAPPER_EXTENSION: app + Base Configuration: Pods-SampleApp.release.xcconfig + + + +Build Configurations: +- Debug: + Build Settings: + ALWAYS_SEARCH_USER_PATHS: 'NO' + ARCHS: "$(ARCHS_STANDARD_64_BIT)" + CLANG_CXX_LANGUAGE_STANDARD: gnu++0x + CLANG_CXX_LIBRARY: libc++ + CLANG_WARN_CONSTANT_CONVERSION: 'YES' + CLANG_WARN_EMPTY_BODY: 'YES' + CLANG_WARN_ENUM_CONVERSION: 'YES' + CLANG_WARN_INT_CONVERSION: 'YES' + CLANG_WARN__DUPLICATE_METHOD_MATCH: 'YES' + COPY_PHASE_STRIP: 'NO' + GCC_C_LANGUAGE_STANDARD: gnu99 + GCC_DYNAMIC_NO_PIC: 'NO' + GCC_ENABLE_OBJC_EXCEPTIONS: 'YES' + GCC_OPTIMIZATION_LEVEL: '0' + GCC_PREPROCESSOR_DEFINITIONS: + - DEBUG=1 + - "$(inherited)" + GCC_SYMBOLS_PRIVATE_EXTERN: 'NO' + GCC_WARN_64_TO_32_BIT_CONVERSION: 'YES' + GCC_WARN_ABOUT_RETURN_TYPE: 'YES' + GCC_WARN_UNINITIALIZED_AUTOS: 'YES' + GCC_WARN_UNUSED_VARIABLE: 'YES' + MACOSX_DEPLOYMENT_TARGET: '10.8' + ONLY_ACTIVE_ARCH: 'YES' + SDKROOT: macosx +- Release: + Build Settings: + ALWAYS_SEARCH_USER_PATHS: 'NO' + ARCHS: "$(ARCHS_STANDARD_64_BIT)" + CLANG_CXX_LANGUAGE_STANDARD: gnu++0x + CLANG_CXX_LIBRARY: libc++ + CLANG_WARN_CONSTANT_CONVERSION: 'YES' + CLANG_WARN_EMPTY_BODY: 'YES' + CLANG_WARN_ENUM_CONVERSION: 'YES' + CLANG_WARN_INT_CONVERSION: 'YES' + CLANG_WARN__DUPLICATE_METHOD_MATCH: 'YES' + COPY_PHASE_STRIP: 'YES' + DEBUG_INFORMATION_FORMAT: dwarf-with-dsym + GCC_C_LANGUAGE_STANDARD: gnu99 + GCC_ENABLE_OBJC_EXCEPTIONS: 'YES' + GCC_WARN_64_TO_32_BIT_CONVERSION: 'YES' + GCC_WARN_ABOUT_RETURN_TYPE: 'YES' + GCC_WARN_UNINITIALIZED_AUTOS: 'YES' + GCC_WARN_UNUSED_VARIABLE: 'YES' + MACOSX_DEPLOYMENT_TARGET: '10.8' + SDKROOT: macosx diff --git a/install_spm_dependency/after/SampleApp.xcworkspace/contents.xcworkspacedata b/install_spm_dependency/after/SampleApp.xcworkspace/contents.xcworkspacedata new file mode 100644 index 000000000..40cc05939 --- /dev/null +++ b/install_spm_dependency/after/SampleApp.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/install_spm_dependency/after/execution_output.txt b/install_spm_dependency/after/execution_output.txt new file mode 100644 index 000000000..7fd6bcda2 --- /dev/null +++ b/install_spm_dependency/after/execution_output.txt @@ -0,0 +1,57 @@ +CLAIDE_DISABLE_AUTO_WRAP=TRUE COCOAPODS_DISABLE_STATS=TRUE COCOAPODS_SKIP_CACHE=TRUE COCOAPODS_VALIDATOR_SKIP_XCODEBUILD=TRUE CP_REPOS_DIR=ROOT/spec/fixtures/spec-repos ruby -W0 ROOT/bin/pod install --no-repo-update --verbose --no-ansi 2>&1 + Preparing + +Analyzing dependencies + +Inspecting targets to integrate + Using `ARCHS` setting to build architectures of target `Pods-SampleApp`: (`$(ARCHS_STANDARD_64_BIT)`) + +Fetching external sources +-> Fetching podspec for `Reachability` from `Reachability.podspec` + +Resolving dependencies of `Podfile` + +Comparing resolved specification to the sandbox manifest + A Reachability + +Downloading dependencies + +-> Installing Reachability (3.1.0) + > Git download + > Git download + $ GIT_BIN clone https://github.com/tonymillion/Reachability.git PROJECT/Pods/Reachability --template= --single-branch --depth 1 --branch v3.1.0 + + - Running pre install hooks + - Running pre integrate hooks + +Generating Pods project + - Creating Pods project + - Installing files into Pods project + - Adding source files + - Adding frameworks + - Adding libraries + - Adding resources + - Linking headers + - Installing Pod Targets + - Installing target `Reachability` iOS 4.3 + - Generating dummy source at `Pods/Target Support Files/Reachability/Reachability-dummy.m` + - Installing Aggregate Targets + - Installing target `Pods-SampleApp` iOS 6.0 + - Generating dummy source at `Pods/Target Support Files/Pods-SampleApp/Pods-SampleApp-dummy.m` + - Generating deterministic UUIDs + - Stabilizing target UUIDs + - Running post install hooks + - Writing Xcode project file to `Pods/Pods.xcodeproj` + Cleaning up sandbox directory + +Integrating client project + +[!] Please close any current Xcode sessions and use `SampleApp.xcworkspace` for this project from now on. + +Integrating target `Pods-SampleApp` (`SampleApp.xcodeproj` project) + Adding Build Phase '[CP] Check Pods Manifest.lock' to project. + - Running post integrate hooks + - Writing Lockfile in `Podfile.lock` + - Writing Manifest in `Pods/Manifest.lock` + +-> Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed. diff --git a/install_spm_dependency/before/Podfile b/install_spm_dependency/before/Podfile new file mode 100644 index 000000000..50f01d589 --- /dev/null +++ b/install_spm_dependency/before/Podfile @@ -0,0 +1,4 @@ +target 'SampleApp' do + platform :ios, '6.0' + pod 'Reachability', :podspec => 'Reachability.podspec' +end diff --git a/install_spm_dependency/before/Reachability.podspec b/install_spm_dependency/before/Reachability.podspec new file mode 100644 index 000000000..e8d2ba589 --- /dev/null +++ b/install_spm_dependency/before/Reachability.podspec @@ -0,0 +1,18 @@ +Pod::Spec.new do |s| + s.name = 'Reachability' + s.version = '3.1.0' + s.license = 'BSD' + s.homepage = 'https://github.com/tonymillion/Reachability' + s.authors = { 'Tony Million' => 'tonymillion@gmail.com' } + s.summary = 'ARC and GCD Compatible Reachability Class for iOS. Drop in replacement for Apple Reachability.' + s.source = { :git => 'https://github.com/tonymillion/Reachability.git', :tag => 'v3.1.0' } + s.source_files = 'Reachability.{h,m}' + s.framework = 'SystemConfiguration' + s.requires_arc = false + + s.spm_dependency( + :url => 'https://github.com/apple/example-package-fisheryates.git', + :requirement => { :kind => 'upToNextMajorVersion', :minimumVersion => '1.2.3'}, + :products => ['PlayingCard'] + ) +end diff --git a/install_spm_dependency/before/SampleApp.xcodeproj/project.pbxproj b/install_spm_dependency/before/SampleApp.xcodeproj/project.pbxproj new file mode 100644 index 000000000..c0705f70e --- /dev/null +++ b/install_spm_dependency/before/SampleApp.xcodeproj/project.pbxproj @@ -0,0 +1,309 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + E575589F16C5943000DC1500 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E575589E16C5943000DC1500 /* Cocoa.framework */; }; + E57558A916C5943000DC1500 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = E57558A716C5943000DC1500 /* InfoPlist.strings */; }; + E57558AB16C5943000DC1500 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E57558AA16C5943000DC1500 /* main.m */; }; + E57558AF16C5943000DC1500 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = E57558AD16C5943000DC1500 /* Credits.rtf */; }; + E57558B216C5943000DC1500 /* CPAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E57558B116C5943000DC1500 /* CPAppDelegate.m */; }; + E57558B516C5943100DC1500 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = E57558B316C5943100DC1500 /* MainMenu.xib */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + E575589B16C5943000DC1500 /* SampleApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SampleApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; + E575589E16C5943000DC1500 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; + E57558A116C5943000DC1500 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; + E57558A216C5943000DC1500 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; + E57558A316C5943000DC1500 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + E57558A616C5943000DC1500 /* SampleApp-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "SampleApp-Info.plist"; sourceTree = ""; }; + E57558A816C5943000DC1500 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + E57558AA16C5943000DC1500 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + E57558AC16C5943000DC1500 /* SampleApp-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SampleApp-Prefix.pch"; sourceTree = ""; }; + E57558AE16C5943000DC1500 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = ""; }; + E57558B016C5943000DC1500 /* CPAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CPAppDelegate.h; sourceTree = ""; }; + E57558B116C5943000DC1500 /* CPAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CPAppDelegate.m; sourceTree = ""; }; + E57558B416C5943100DC1500 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + E575589816C5943000DC1500 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + E575589F16C5943000DC1500 /* Cocoa.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + E575589216C5943000DC1500 = { + isa = PBXGroup; + children = ( + E57558A416C5943000DC1500 /* SampleApp */, + E575589D16C5943000DC1500 /* Frameworks */, + E575589C16C5943000DC1500 /* Products */, + ); + sourceTree = ""; + }; + E575589C16C5943000DC1500 /* Products */ = { + isa = PBXGroup; + children = ( + E575589B16C5943000DC1500 /* SampleApp.app */, + ); + name = Products; + sourceTree = ""; + }; + E575589D16C5943000DC1500 /* Frameworks */ = { + isa = PBXGroup; + children = ( + E575589E16C5943000DC1500 /* Cocoa.framework */, + E57558A016C5943000DC1500 /* Other Frameworks */, + ); + name = Frameworks; + sourceTree = ""; + }; + E57558A016C5943000DC1500 /* Other Frameworks */ = { + isa = PBXGroup; + children = ( + E57558A116C5943000DC1500 /* AppKit.framework */, + E57558A216C5943000DC1500 /* CoreData.framework */, + E57558A316C5943000DC1500 /* Foundation.framework */, + ); + name = "Other Frameworks"; + sourceTree = ""; + }; + E57558A416C5943000DC1500 /* SampleApp */ = { + isa = PBXGroup; + children = ( + E57558B016C5943000DC1500 /* CPAppDelegate.h */, + E57558B116C5943000DC1500 /* CPAppDelegate.m */, + E57558B316C5943100DC1500 /* MainMenu.xib */, + E57558A516C5943000DC1500 /* Supporting Files */, + ); + path = SampleApp; + sourceTree = ""; + }; + E57558A516C5943000DC1500 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + E57558A616C5943000DC1500 /* SampleApp-Info.plist */, + E57558A716C5943000DC1500 /* InfoPlist.strings */, + E57558AA16C5943000DC1500 /* main.m */, + E57558AC16C5943000DC1500 /* SampleApp-Prefix.pch */, + E57558AD16C5943000DC1500 /* Credits.rtf */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + E575589A16C5943000DC1500 /* SampleApp */ = { + isa = PBXNativeTarget; + buildConfigurationList = E57558B816C5943100DC1500 /* Build configuration list for PBXNativeTarget "SampleApp" */; + buildPhases = ( + E575589716C5943000DC1500 /* Sources */, + E575589816C5943000DC1500 /* Frameworks */, + E575589916C5943000DC1500 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = SampleApp; + productName = SampleApp; + productReference = E575589B16C5943000DC1500 /* SampleApp.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + E575589316C5943000DC1500 /* Project object */ = { + isa = PBXProject; + attributes = { + CLASSPREFIX = CP; + LastUpgradeCheck = 0460; + ORGANIZATIONNAME = CocoaPods; + }; + buildConfigurationList = E575589616C5943000DC1500 /* Build configuration list for PBXProject "SampleApp" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = E575589216C5943000DC1500; + productRefGroup = E575589C16C5943000DC1500 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + E575589A16C5943000DC1500 /* SampleApp */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + E575589916C5943000DC1500 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E57558A916C5943000DC1500 /* InfoPlist.strings in Resources */, + E57558AF16C5943000DC1500 /* Credits.rtf in Resources */, + E57558B516C5943100DC1500 /* MainMenu.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + E575589716C5943000DC1500 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E57558AB16C5943000DC1500 /* main.m in Sources */, + E57558B216C5943000DC1500 /* CPAppDelegate.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + E57558A716C5943000DC1500 /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + E57558A816C5943000DC1500 /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + E57558AD16C5943000DC1500 /* Credits.rtf */ = { + isa = PBXVariantGroup; + children = ( + E57558AE16C5943000DC1500 /* en */, + ); + name = Credits.rtf; + sourceTree = ""; + }; + E57558B316C5943100DC1500 /* MainMenu.xib */ = { + isa = PBXVariantGroup; + children = ( + E57558B416C5943100DC1500 /* en */, + ); + name = MainMenu.xib; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + E57558B616C5943100DC1500 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.8; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + }; + name = Debug; + }; + E57558B716C5943100DC1500 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.8; + SDKROOT = macosx; + }; + name = Release; + }; + E57558B916C5943100DC1500 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "SampleApp/SampleApp-Prefix.pch"; + INFOPLIST_FILE = "SampleApp/SampleApp-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + E57558BA16C5943100DC1500 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "SampleApp/SampleApp-Prefix.pch"; + INFOPLIST_FILE = "SampleApp/SampleApp-Info.plist"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + E575589616C5943000DC1500 /* Build configuration list for PBXProject "SampleApp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E57558B616C5943100DC1500 /* Debug */, + E57558B716C5943100DC1500 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + E57558B816C5943100DC1500 /* Build configuration list for PBXNativeTarget "SampleApp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E57558B916C5943100DC1500 /* Debug */, + E57558BA16C5943100DC1500 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = E575589316C5943000DC1500 /* Project object */; +}