Commit 81d7f5d1 authored by Fabio Pelosin's avatar Fabio Pelosin

[Specs Integration] Added more tests.

parent 5ded667c
Pod::Spec.new do |s|
s.name = "PodTest"
s.version = "1.0"
s.source = { :http => "./PodTest.zip" }
s.subspec "subspec_1" do |ss|
ss.source_files = "subspec_1.{h,m}"
end
s.subspec "subspec_2" do |ss|
ss.source_files = "subspec_2.{h,m}"
end
end
platform :ios
pod "PodTest", :hg => "PodTest-hg-source"
\ No newline at end of file
PODS:
- PodTest (1.0):
- PodTest/subspec_1 (= 1.0)
- PodTest/subspec_2 (= 1.0)
- PodTest/subspec_1 (1.0)
- PodTest/subspec_2 (1.0)
DEPENDENCIES:
- PodTest (from `PodTest-hg-source')
EXTERNAL SOURCES:
PodTest:
:hg: PodTest-hg-source
SPEC CHECKSUMS:
PodTest: 5049980a26c8960af5a42d1c7f086483c5b29d8f
PodTest/subspec_1: 5049980a26c8960af5a42d1c7f086483c5b29d8f
PodTest/subspec_2: 5049980a26c8960af5a42d1c7f086483c5b29d8f
COCOAPODS: 0.16.2
Pod::Spec.new do |s|
s.name = "PodTest"
s.version = "1.0"
s.source = { :http => "./PodTest.zip" }
s.subspec "subspec_1" do |ss|
ss.source_files = "subspec_1.{h,m}"
end
s.subspec "subspec_2" do |ss|
ss.source_files = "subspec_2.{h,m}"
end
end
Pod::Spec.new do |s|
s.name = "PodTest"
s.version = "1.0"
s.source = { :http => "./PodTest.zip" }
s.subspec "subspec_1" do |ss|
ss.source_files = "subspec_1.{h,m}"
end
s.subspec "subspec_2" do |ss|
ss.source_files = "subspec_2.{h,m}"
end
end
# Acknowledgements
This application makes use of the following third party libraries:
Generated by CocoaPods - http://cocoapods.org
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>FooterText</key>
<string>This application makes use of the following third party libraries:</string>
<key>Title</key>
<string>Acknowledgements</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Generated by CocoaPods - http://cocoapods.org</string>
<key>Title</key>
<string></string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
</array>
<key>StringsTable</key>
<string>Acknowledgements</string>
<key>Title</key>
<string>Acknowledgements</string>
</dict>
</plist>
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#!/bin/sh
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*)
echo "cp -R ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
cp -R "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
;;
esac
}
ALWAYS_SEARCH_USER_PATHS = YES
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/PodTest"
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/PodTest"
PODS_ROOT = ${SRCROOT}/Pods
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>archiveVersion</key>
<string>1</string>
<key>classes</key>
<dict/>
<key>objectVersion</key>
<string>46</string>
<key>objects</key>
<dict>
<key>05E3EE45F83344349848A4D2</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>name</key>
<string>subspec_1.h</string>
<key>path</key>
<string>PodTest/subspec_1.h</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>062EE6116FE14A84998DF331</key>
<dict>
<key>children</key>
<array>
<string>B365A07C68BE4BBCBEA0C03D</string>
<string>7E1E502A8C3B4010B97F6BD9</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>PodTest</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>0784FBFB0CB44718B1751DAD</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>name</key>
<string>subspec_2.h</string>
<key>path</key>
<string>PodTest/subspec_2.h</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>08BAAAEE356E4081B930256E</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>name</key>
<string>subspec_2.m</string>
<key>path</key>
<string>PodTest/subspec_2.m</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>0F1E29329C5D4BE6A1ED0715</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>Pods-resources.sh</string>
<key>path</key>
<string>Pods-resources.sh</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>0FA91B98E6354C47940EDDD9</key>
<dict>
<key>fileRef</key>
<string>295A108B94554FC88DD32673</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>1FB318DF3C7D429996F1E07B</key>
<dict>
<key>buildSettings</key>
<dict/>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>2049E818DB3D4074A3B89851</key>
<dict>
<key>baseConfigurationReference</key>
<string>8F085D3E27514C518AC800D5</string>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_32_BIT)</string>
<key>COPY_PHASE_STRIP</key>
<string>YES</string>
<key>DSTROOT</key>
<string>/tmp/xcodeproj.dst</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>Pods-prefix.pch</string>
<key>GCC_VERSION</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>GCC_WARN_INHIBIT_ALL_WARNINGS</key>
<string>NO</string>
<key>INSTALL_PATH</key>
<string>$(BUILT_PRODUCTS_DIR)</string>
<key>IPHONEOS_DEPLOYMENT_TARGET</key>
<string>4.3</string>
<key>OTHER_LDFLAGS</key>
<string></string>
<key>PODS_HEADERS_SEARCH_PATHS</key>
<string>${PODS_BUILD_HEADERS_SEARCH_PATHS}</string>
<key>PODS_ROOT</key>
<string>${SRCROOT}</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>PUBLIC_HEADERS_FOLDER_PATH</key>
<string>$(TARGET_NAME)</string>
<key>SDKROOT</key>
<string>iphoneos</string>
<key>SKIP_INSTALL</key>
<string>YES</string>
<key>VALIDATE_PRODUCT</key>
<string>YES</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>26AE66F0EF224FB9A82F0CD5</key>
<dict>
<key>fileRef</key>
<string>0784FBFB0CB44718B1751DAD</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>295A108B94554FC88DD32673</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>name</key>
<string>PodsDummy_Pods.m</string>
<key>path</key>
<string>PodsDummy_Pods.m</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>2C7FFDE67BF64C719B535A14</key>
<dict>
<key>children</key>
<array>
<string>97AD673650814DC2B3499447</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Frameworks</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>30150846B36049B29DA53744</key>
<dict>
<key>attributes</key>
<dict>
<key>LastUpgradeCheck</key>
<string>0450</string>
</dict>
<key>buildConfigurationList</key>
<string>7B3553AC716C4FD3A35F384C</string>
<key>compatibilityVersion</key>
<string>Xcode 3.2</string>
<key>developmentRegion</key>
<string>English</string>
<key>hasScannedForEncodings</key>
<string>0</string>
<key>isa</key>
<string>PBXProject</string>
<key>knownRegions</key>
<array>
<string>en</string>
</array>
<key>mainGroup</key>
<string>5F6C35843F534173AC1F44BB</string>
<key>productRefGroup</key>
<string>ECA240D4B6544434BE7FFC03</string>
<key>projectReferences</key>
<array/>
<key>targets</key>
<array>
<string>EAE8162C08A94ECD929A953B</string>
</array>
</dict>
<key>3363E126593441BBBEF5F2EE</key>
<dict>
<key>fileRef</key>
<string>97AD673650814DC2B3499447</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>3CE5DEA5CA124A0EAAF46B66</key>
<dict>
<key>buildSettings</key>
<dict/>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>3DD91C4EA9AB46FBABC1E9E7</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>2049E818DB3D4074A3B89851</string>
<string>DE01556425FD41D4A13713FB</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>defaultConfigurationName</key>
<string>Release</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>4C5C62CEE8BC48AEA1591095</key>
<dict>
<key>fileRef</key>
<string>08BAAAEE356E4081B930256E</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>4E5A884E7420414EBCF1CC3E</key>
<dict>
<key>fileRef</key>
<string>BBE6CCFC063E4BEA908949AB</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>5DB183EF312346F29D2BAED9</key>
<dict>
<key>children</key>
<array>
<string>062EE6116FE14A84998DF331</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Pods</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>5F6C35843F534173AC1F44BB</key>
<dict>
<key>children</key>
<array>
<string>ECA240D4B6544434BE7FFC03</string>
<string>2C7FFDE67BF64C719B535A14</string>
<string>5DB183EF312346F29D2BAED9</string>
<string>AD25CB1625144A7B965A87AA</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>7B3553AC716C4FD3A35F384C</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>1FB318DF3C7D429996F1E07B</string>
<string>3CE5DEA5CA124A0EAAF46B66</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>defaultConfigurationName</key>
<string>Release</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>7E1E502A8C3B4010B97F6BD9</key>
<dict>
<key>children</key>
<array>
<string>0784FBFB0CB44718B1751DAD</string>
<string>08BAAAEE356E4081B930256E</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>subspec_2</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>7F45AF56FC684E008DB27AFC</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>3363E126593441BBBEF5F2EE</string>
</array>
<key>isa</key>
<string>PBXFrameworksBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>83736700F1D64CA8BFBCBF32</key>
<dict>
<key>fileRef</key>
<string>05E3EE45F83344349848A4D2</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>89B464F58F2343069D05C8A8</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>4E5A884E7420414EBCF1CC3E</string>
<string>4C5C62CEE8BC48AEA1591095</string>
<string>0FA91B98E6354C47940EDDD9</string>
</array>
<key>isa</key>
<string>PBXSourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>8F085D3E27514C518AC800D5</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.xcconfig</string>
<key>name</key>
<string>Pods.xcconfig</string>
<key>path</key>
<string>Pods.xcconfig</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>97AD673650814DC2B3499447</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>Foundation.framework</string>
<key>path</key>
<string>Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework</string>
<key>sourceTree</key>
<string>DEVELOPER_DIR</string>
</dict>
<key>983AA2672A394F01899E6254</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>83736700F1D64CA8BFBCBF32</string>
<string>26AE66F0EF224FB9A82F0CD5</string>
</array>
<key>isa</key>
<string>PBXHeadersBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>AD25CB1625144A7B965A87AA</key>
<dict>
<key>children</key>
<array>
<string>FEA36D7D73EC4034A6F2117A</string>
<string>295A108B94554FC88DD32673</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Targets Support Files</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>AFB49A305BD4444989A045AD</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>Pods-prefix.pch</string>
<key>path</key>
<string>Pods-prefix.pch</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>B365A07C68BE4BBCBEA0C03D</key>
<dict>
<key>children</key>
<array>
<string>05E3EE45F83344349848A4D2</string>
<string>BBE6CCFC063E4BEA908949AB</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>subspec_1</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>BBE6CCFC063E4BEA908949AB</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>name</key>
<string>subspec_1.m</string>
<key>path</key>
<string>PodTest/subspec_1.m</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>DE01556425FD41D4A13713FB</key>
<dict>
<key>baseConfigurationReference</key>
<string>8F085D3E27514C518AC800D5</string>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_32_BIT)</string>
<key>COPY_PHASE_STRIP</key>
<string>NO</string>
<key>DSTROOT</key>
<string>/tmp/xcodeproj.dst</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_DYNAMIC_NO_PIC</key>
<string>NO</string>
<key>GCC_OPTIMIZATION_LEVEL</key>
<string>0</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>Pods-prefix.pch</string>
<key>GCC_PREPROCESSOR_DEFINITIONS</key>
<array>
<string>DEBUG=1</string>
<string>$(inherited)</string>
</array>
<key>GCC_SYMBOLS_PRIVATE_EXTERN</key>
<string>NO</string>
<key>GCC_VERSION</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>GCC_WARN_INHIBIT_ALL_WARNINGS</key>
<string>NO</string>
<key>INSTALL_PATH</key>
<string>$(BUILT_PRODUCTS_DIR)</string>
<key>IPHONEOS_DEPLOYMENT_TARGET</key>
<string>4.3</string>
<key>OTHER_LDFLAGS</key>
<string></string>
<key>PODS_HEADERS_SEARCH_PATHS</key>
<string>${PODS_BUILD_HEADERS_SEARCH_PATHS}</string>
<key>PODS_ROOT</key>
<string>${SRCROOT}</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>PUBLIC_HEADERS_FOLDER_PATH</key>
<string>$(TARGET_NAME)</string>
<key>SDKROOT</key>
<string>iphoneos</string>
<key>SKIP_INSTALL</key>
<string>YES</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>DFB13C5313DE4897906A155D</key>
<dict>
<key>explicitFileType</key>
<string>archive.ar</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>libPods.a</string>
<key>path</key>
<string>libPods.a</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>EAE8162C08A94ECD929A953B</key>
<dict>
<key>buildConfigurationList</key>
<string>3DD91C4EA9AB46FBABC1E9E7</string>
<key>buildPhases</key>
<array>
<string>89B464F58F2343069D05C8A8</string>
<string>7F45AF56FC684E008DB27AFC</string>
<string>983AA2672A394F01899E6254</string>
</array>
<key>buildRules</key>
<array/>
<key>dependencies</key>
<array/>
<key>isa</key>
<string>PBXNativeTarget</string>
<key>name</key>
<string>Pods</string>
<key>productName</key>
<string>Pods</string>
<key>productReference</key>
<string>DFB13C5313DE4897906A155D</string>
<key>productType</key>
<string>com.apple.product-type.library.static</string>
</dict>
<key>ECA240D4B6544434BE7FFC03</key>
<dict>
<key>children</key>
<array>
<string>DFB13C5313DE4897906A155D</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Products</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>FEA36D7D73EC4034A6F2117A</key>
<dict>
<key>children</key>
<array>
<string>0F1E29329C5D4BE6A1ED0715</string>
<string>AFB49A305BD4444989A045AD</string>
<string>8F085D3E27514C518AC800D5</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Pods</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
</dict>
<key>rootObject</key>
<string>30150846B36049B29DA53744</string>
</dict>
</plist>
@interface PodsDummy_Pods : NSObject
@end
@implementation PodsDummy_Pods
@end
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>archiveVersion</key>
<string>1</string>
<key>classes</key>
<dict/>
<key>objectVersion</key>
<string>46</string>
<key>objects</key>
<dict>
<key>3D1BC3015C8E4EFEA574F2ED</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array/>
<key>inputPaths</key>
<array/>
<key>isa</key>
<string>PBXShellScriptBuildPhase</string>
<key>name</key>
<string>Copy Pods Resources</string>
<key>outputPaths</key>
<array/>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
<key>shellPath</key>
<string>/bin/sh</string>
<key>shellScript</key>
<string>"${SRCROOT}/Pods/Pods-resources.sh"
</string>
<key>showEnvVarsInLog</key>
<string>1</string>
</dict>
<key>9DF0F114F0BE4DCF9B96A6CC</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.xcconfig</string>
<key>name</key>
<string>Pods.xcconfig</string>
<key>path</key>
<string>Pods/Pods.xcconfig</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>B7B0F74C3B99499D984AB583</key>
<dict>
<key>explicitFileType</key>
<string>archive.ar</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>libPods.a</string>
<key>path</key>
<string>libPods.a</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>C5C50295987641EDB38916CC</key>
<dict>
<key>fileRef</key>
<string>B7B0F74C3B99499D984AB583</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>E56E59F116C95CAB00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>SenTestingKit.framework</string>
<key>path</key>
<string>Library/Frameworks/SenTestingKit.framework</string>
<key>sourceTree</key>
<string>DEVELOPER_DIR</string>
</dict>
<key>E56E5A8B16C9703C00F39927</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E56E5A9D16C9703D00F39927</string>
<string>E56E5AA116C9703D00F39927</string>
</array>
<key>isa</key>
<string>PBXSourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E56E5A8C16C9703C00F39927</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E56E5A9116C9703D00F39927</string>
<string>E56E5A9316C9703D00F39927</string>
<string>E56E5A9516C9703D00F39927</string>
<string>C5C50295987641EDB38916CC</string>
</array>
<key>isa</key>
<string>PBXFrameworksBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E56E5A8D16C9703C00F39927</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E56E5A9B16C9703D00F39927</string>
<string>E56E5AA316C9703D00F39927</string>
<string>E56E5AA516C9703D00F39927</string>
<string>E56E5AA716C9703D00F39927</string>
</array>
<key>isa</key>
<string>PBXResourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E56E5A8E16C9703C00F39927</key>
<dict>
<key>buildConfigurationList</key>
<string>E56E5AA816C9703D00F39927</string>
<key>buildPhases</key>
<array>
<string>E56E5A8B16C9703C00F39927</string>
<string>E56E5A8C16C9703C00F39927</string>
<string>E56E5A8D16C9703C00F39927</string>
<string>3D1BC3015C8E4EFEA574F2ED</string>
</array>
<key>buildRules</key>
<array/>
<key>dependencies</key>
<array/>
<key>isa</key>
<string>PBXNativeTarget</string>
<key>name</key>
<string>iOS App</string>
<key>productName</key>
<string>iOS App</string>
<key>productReference</key>
<string>E56E5A8F16C9703C00F39927</string>
<key>productType</key>
<string>com.apple.product-type.application</string>
</dict>
<key>E56E5A8F16C9703C00F39927</key>
<dict>
<key>explicitFileType</key>
<string>wrapper.application</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>path</key>
<string>iOS App.app</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>E56E5A9016C9703C00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>UIKit.framework</string>
<key>path</key>
<string>Library/Frameworks/UIKit.framework</string>
<key>sourceTree</key>
<string>DEVELOPER_DIR</string>
</dict>
<key>E56E5A9116C9703D00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5A9016C9703C00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5A9216C9703D00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>Foundation.framework</string>
<key>path</key>
<string>Library/Frameworks/Foundation.framework</string>
<key>sourceTree</key>
<string>DEVELOPER_DIR</string>
</dict>
<key>E56E5A9316C9703D00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5A9216C9703D00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5A9416C9703D00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>CoreGraphics.framework</string>
<key>path</key>
<string>Library/Frameworks/CoreGraphics.framework</string>
<key>sourceTree</key>
<string>DEVELOPER_DIR</string>
</dict>
<key>E56E5A9516C9703D00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5A9416C9703D00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5A9616C9703D00F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5A9F16C9703D00F39927</string>
<string>E56E5AA016C9703D00F39927</string>
<string>E56E5A9716C9703D00F39927</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>path</key>
<string>iOS App</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A9716C9703D00F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5A9816C9703D00F39927</string>
<string>E56E5A9916C9703D00F39927</string>
<string>E56E5A9C16C9703D00F39927</string>
<string>E56E5A9E16C9703D00F39927</string>
<string>E56E5AA216C9703D00F39927</string>
<string>E56E5AA416C9703D00F39927</string>
<string>E56E5AA616C9703D00F39927</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Supporting Files</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A9816C9703D00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.plist.xml</string>
<key>path</key>
<string>iOS App-Info.plist</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A9916C9703D00F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5A9A16C9703D00F39927</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>InfoPlist.strings</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A9A16C9703D00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.plist.strings</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/InfoPlist.strings</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A9B16C9703D00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5A9916C9703D00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5A9C16C9703D00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>path</key>
<string>main.m</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A9D16C9703D00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5A9C16C9703D00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5A9E16C9703D00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>path</key>
<string>iOS App-Prefix.pch</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A9F16C9703D00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>path</key>
<string>CPAppDelegate.h</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AA016C9703D00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>path</key>
<string>CPAppDelegate.m</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AA116C9703D00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5AA016C9703D00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5AA216C9703D00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>image.png</string>
<key>path</key>
<string>Default.png</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AA316C9703D00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5AA216C9703D00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5AA416C9703D00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>image.png</string>
<key>path</key>
<string>Default@2x.png</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AA516C9703D00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5AA416C9703D00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5AA616C9703D00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>image.png</string>
<key>path</key>
<string>Default-568h@2x.png</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AA716C9703D00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5AA616C9703D00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5AA816C9703D00F39927</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>E56E5AA916C9703D00F39927</string>
<string>E56E5AAA16C9703D00F39927</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>defaultConfigurationName</key>
<string>Release</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>E56E5AA916C9703D00F39927</key>
<dict>
<key>baseConfigurationReference</key>
<string>9DF0F114F0BE4DCF9B96A6CC</string>
<key>buildSettings</key>
<dict>
<key>CODE_SIGN_IDENTITY[sdk=iphoneos*]</key>
<string>iPhone Developer</string>
<key>FRAMEWORK_SEARCH_PATHS</key>
<array>
<string>$(inherited)</string>
<string>"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks"</string>
</array>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>iOS App/iOS App-Prefix.pch</string>
<key>INFOPLIST_FILE</key>
<string>iOS App/iOS App-Info.plist</string>
<key>IPHONEOS_DEPLOYMENT_TARGET</key>
<string>6.1</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>SDKROOT</key>
<string>iphoneos</string>
<key>WRAPPER_EXTENSION</key>
<string>app</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>E56E5AAA16C9703D00F39927</key>
<dict>
<key>baseConfigurationReference</key>
<string>9DF0F114F0BE4DCF9B96A6CC</string>
<key>buildSettings</key>
<dict>
<key>CODE_SIGN_IDENTITY[sdk=iphoneos*]</key>
<string>iPhone Developer</string>
<key>FRAMEWORK_SEARCH_PATHS</key>
<array>
<string>$(inherited)</string>
<string>"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks"</string>
</array>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>iOS App/iOS App-Prefix.pch</string>
<key>INFOPLIST_FILE</key>
<string>iOS App/iOS App-Info.plist</string>
<key>IPHONEOS_DEPLOYMENT_TARGET</key>
<string>6.1</string>
<key>OTHER_CFLAGS</key>
<string>-DNS_BLOCK_ASSERTIONS=1</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>SDKROOT</key>
<string>iphoneos</string>
<key>VALIDATE_PRODUCT</key>
<string>YES</string>
<key>WRAPPER_EXTENSION</key>
<string>app</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>E56E5AB116C9704500F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5ABD16C9704500F39927</string>
<string>E56E5ABE16C9704500F39927</string>
<string>E56E5AC016C9704500F39927</string>
<string>E56E5AB216C9704500F39927</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>path</key>
<string>OS X App</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AB216C9704500F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5AB316C9704500F39927</string>
<string>E56E5AB416C9704500F39927</string>
<string>E56E5AB716C9704500F39927</string>
<string>E56E5AB916C9704500F39927</string>
<string>E56E5ABA16C9704500F39927</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Supporting Files</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AB316C9704500F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.plist.xml</string>
<key>path</key>
<string>OS X App-Info.plist</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AB416C9704500F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5AB516C9704500F39927</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>InfoPlist.strings</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AB516C9704500F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.plist.strings</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/InfoPlist.strings</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AB716C9704500F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>path</key>
<string>main.m</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AB916C9704500F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>path</key>
<string>OS X App-Prefix.pch</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5ABA16C9704500F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5ABB16C9704500F39927</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>Credits.rtf</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5ABB16C9704500F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.rtf</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/Credits.rtf</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5ABD16C9704500F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>path</key>
<string>CPAppDelegate.h</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5ABE16C9704500F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>path</key>
<string>CPAppDelegate.m</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AC016C9704500F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5AC116C9704500F39927</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>MainMenu.xib</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AC116C9704500F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>file.xib</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/MainMenu.xib</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E575589216C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E56E5A9616C9703D00F39927</string>
<string>E56E5AB116C9704500F39927</string>
<string>E575589D16C5943000DC1500</string>
<string>E575589C16C5943000DC1500</string>
<string>9DF0F114F0BE4DCF9B96A6CC</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E575589316C5943000DC1500</key>
<dict>
<key>attributes</key>
<dict>
<key>CLASSPREFIX</key>
<string>CP</string>
<key>LastUpgradeCheck</key>
<string>0460</string>
<key>ORGANIZATIONNAME</key>
<string>CocoaPods</string>
</dict>
<key>buildConfigurationList</key>
<string>E575589616C5943000DC1500</string>
<key>compatibilityVersion</key>
<string>Xcode 3.2</string>
<key>developmentRegion</key>
<string>English</string>
<key>hasScannedForEncodings</key>
<string>0</string>
<key>isa</key>
<string>PBXProject</string>
<key>knownRegions</key>
<array>
<string>en</string>
</array>
<key>mainGroup</key>
<string>E575589216C5943000DC1500</string>
<key>productRefGroup</key>
<string>E575589C16C5943000DC1500</string>
<key>projectDirPath</key>
<string></string>
<key>projectReferences</key>
<array/>
<key>projectRoot</key>
<string></string>
<key>targets</key>
<array>
<string>E56E5A8E16C9703C00F39927</string>
</array>
</dict>
<key>E575589616C5943000DC1500</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>E57558B616C5943100DC1500</string>
<string>E57558B716C5943100DC1500</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>defaultConfigurationName</key>
<string>Release</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>E575589C16C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E56E5A8F16C9703C00F39927</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Products</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E575589D16C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E575589E16C5943000DC1500</string>
<string>E56E59F116C95CAB00F39927</string>
<string>E56E5A9016C9703C00F39927</string>
<string>E56E5A9216C9703D00F39927</string>
<string>E56E5A9416C9703D00F39927</string>
<string>E57558A016C5943000DC1500</string>
<string>B7B0F74C3B99499D984AB583</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Frameworks</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E575589E16C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>Cocoa.framework</string>
<key>path</key>
<string>System/Library/Frameworks/Cocoa.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E57558A016C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558A116C5943000DC1500</string>
<string>E57558A216C5943000DC1500</string>
<string>E57558A316C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Other Frameworks</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558A116C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>AppKit.framework</string>
<key>path</key>
<string>System/Library/Frameworks/AppKit.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E57558A216C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>CoreData.framework</string>
<key>path</key>
<string>System/Library/Frameworks/CoreData.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E57558A316C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>Foundation.framework</string>
<key>path</key>
<string>System/Library/Frameworks/Foundation.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E57558B616C5943100DC1500</key>
<dict>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_64_BIT)</string>
<key>CLANG_CXX_LANGUAGE_STANDARD</key>
<string>gnu++0x</string>
<key>CLANG_CXX_LIBRARY</key>
<string>libc++</string>
<key>CLANG_WARN_CONSTANT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_EMPTY_BODY</key>
<string>YES</string>
<key>CLANG_WARN_ENUM_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_INT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN__DUPLICATE_METHOD_MATCH</key>
<string>YES</string>
<key>COPY_PHASE_STRIP</key>
<string>NO</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_DYNAMIC_NO_PIC</key>
<string>NO</string>
<key>GCC_ENABLE_OBJC_EXCEPTIONS</key>
<string>YES</string>
<key>GCC_OPTIMIZATION_LEVEL</key>
<string>0</string>
<key>GCC_PREPROCESSOR_DEFINITIONS</key>
<array>
<string>DEBUG=1</string>
<string>$(inherited)</string>
</array>
<key>GCC_SYMBOLS_PRIVATE_EXTERN</key>
<string>NO</string>
<key>GCC_WARN_64_TO_32_BIT_CONVERSION</key>
<string>YES</string>
<key>GCC_WARN_ABOUT_RETURN_TYPE</key>
<string>YES</string>
<key>GCC_WARN_UNINITIALIZED_AUTOS</key>
<string>YES</string>
<key>GCC_WARN_UNUSED_VARIABLE</key>
<string>YES</string>
<key>MACOSX_DEPLOYMENT_TARGET</key>
<string>10.8</string>
<key>ONLY_ACTIVE_ARCH</key>
<string>YES</string>
<key>SDKROOT</key>
<string>macosx</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>E57558B716C5943100DC1500</key>
<dict>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_64_BIT)</string>
<key>CLANG_CXX_LANGUAGE_STANDARD</key>
<string>gnu++0x</string>
<key>CLANG_CXX_LIBRARY</key>
<string>libc++</string>
<key>CLANG_WARN_CONSTANT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_EMPTY_BODY</key>
<string>YES</string>
<key>CLANG_WARN_ENUM_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_INT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN__DUPLICATE_METHOD_MATCH</key>
<string>YES</string>
<key>COPY_PHASE_STRIP</key>
<string>YES</string>
<key>DEBUG_INFORMATION_FORMAT</key>
<string>dwarf-with-dsym</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_ENABLE_OBJC_EXCEPTIONS</key>
<string>YES</string>
<key>GCC_WARN_64_TO_32_BIT_CONVERSION</key>
<string>YES</string>
<key>GCC_WARN_ABOUT_RETURN_TYPE</key>
<string>YES</string>
<key>GCC_WARN_UNINITIALIZED_AUTOS</key>
<string>YES</string>
<key>GCC_WARN_UNUSED_VARIABLE</key>
<string>YES</string>
<key>MACOSX_DEPLOYMENT_TARGET</key>
<string>10.8</string>
<key>SDKROOT</key>
<string>macosx</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
</dict>
<key>rootObject</key>
<string>E575589316C5943000DC1500</string>
</dict>
</plist>
<?xml version='1.0' encoding='UTF-8'?><Workspace version='1.0'><FileRef location='group:Pods/Pods.xcodeproj'/><FileRef location='group:SampleApp.xcodeproj'/></Workspace>
\ No newline at end of file
$ pod install --no-update --no-doc --verbose --no-color
Resolving dependencies of `./Podfile'
Resolving dependencies for target `default' (iOS 4.3)
- PodTest (from `PodTest-hg-source')
-> Pre-downloading: 'PodTest'
> Cloning mercurial repo
$ /usr/local/bin/hg clone "PodTest-hg-source" "ROOT/tmp/Pods/PodTest"
updating to branch default
5 files updated, 0 files merged, 0 files removed, 0 files unresolved
- PodTest/subspec_1 (= 1.0)
- PodTest/subspec_2 (= 1.0)
Downloading dependencies
-> Installing PodTest (1.0)
CLEANING: [#<Pod::Specification for PodTest (1.0)>, #<Pod::Specification for PodTest/subspec_1 (1.0)>, #<Pod::Specification for PodTest/subspec_2 (1.0)>]
Generating support files
- Running pre install hooks
- Generating project
- Installing targets
- Generating xcconfig file at `./Pods/Pods.xcconfig'
- Generating prefix header at `./Pods/Pods-prefix.pch'
- Generating copy resources script at `./Pods/Pods-resources.sh'
- Running post install hooks
- Writing Xcode project file to `./Pods/Pods.xcodeproj'
- Writing lockfile in `./Podfile.lock'
[!] From now on use `SampleApp.xcworkspace'.
Integrating `libPods.a' into target `iOS App' of Xcode project `./SampleApp.xcodeproj'.
Pod::Spec.new do |s|
s.name = "PodTest"
s.version = "1.0"
s.source = { :http => "./PodTest.zip" }
s.subspec "subspec_1" do |ss|
ss.source_files = "subspec_1.{h,m}"
end
s.subspec "subspec_2" do |ss|
ss.source_files = "subspec_2.{h,m}"
end
end
platform :ios
pod "PodTest", :hg => "PodTest-hg-source"
\ No newline at end of file
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
E56E5A9116C9703D00F39927 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E56E5A9016C9703C00F39927 /* UIKit.framework */; };
E56E5A9316C9703D00F39927 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E56E5A9216C9703D00F39927 /* Foundation.framework */; };
E56E5A9516C9703D00F39927 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E56E5A9416C9703D00F39927 /* CoreGraphics.framework */; };
E56E5A9B16C9703D00F39927 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = E56E5A9916C9703D00F39927 /* InfoPlist.strings */; };
E56E5A9D16C9703D00F39927 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E56E5A9C16C9703D00F39927 /* main.m */; };
E56E5AA116C9703D00F39927 /* CPAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E56E5AA016C9703D00F39927 /* CPAppDelegate.m */; };
E56E5AA316C9703D00F39927 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = E56E5AA216C9703D00F39927 /* Default.png */; };
E56E5AA516C9703D00F39927 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E56E5AA416C9703D00F39927 /* Default@2x.png */; };
E56E5AA716C9703D00F39927 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E56E5AA616C9703D00F39927 /* Default-568h@2x.png */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
E56E59F116C95CAB00F39927 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; };
E56E5A8F16C9703C00F39927 /* iOS App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "iOS App.app"; sourceTree = BUILT_PRODUCTS_DIR; };
E56E5A9016C9703C00F39927 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; };
E56E5A9216C9703D00F39927 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
E56E5A9416C9703D00F39927 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = Library/Frameworks/CoreGraphics.framework; sourceTree = DEVELOPER_DIR; };
E56E5A9816C9703D00F39927 /* iOS App-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "iOS App-Info.plist"; sourceTree = "<group>"; };
E56E5A9A16C9703D00F39927 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
E56E5A9C16C9703D00F39927 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
E56E5A9E16C9703D00F39927 /* iOS App-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "iOS App-Prefix.pch"; sourceTree = "<group>"; };
E56E5A9F16C9703D00F39927 /* CPAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CPAppDelegate.h; sourceTree = "<group>"; };
E56E5AA016C9703D00F39927 /* CPAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CPAppDelegate.m; sourceTree = "<group>"; };
E56E5AA216C9703D00F39927 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
E56E5AA416C9703D00F39927 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = "<group>"; };
E56E5AA616C9703D00F39927 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
E56E5AB316C9704500F39927 /* OS X App-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "OS X App-Info.plist"; sourceTree = "<group>"; };
E56E5AB516C9704500F39927 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
E56E5AB716C9704500F39927 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
E56E5AB916C9704500F39927 /* OS X App-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "OS X App-Prefix.pch"; sourceTree = "<group>"; };
E56E5ABB16C9704500F39927 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = "<group>"; };
E56E5ABD16C9704500F39927 /* CPAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CPAppDelegate.h; sourceTree = "<group>"; };
E56E5ABE16C9704500F39927 /* CPAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CPAppDelegate.m; sourceTree = "<group>"; };
E56E5AC116C9704500F39927 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = "<group>"; };
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; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
E56E5A8C16C9703C00F39927 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
E56E5A9116C9703D00F39927 /* UIKit.framework in Frameworks */,
E56E5A9316C9703D00F39927 /* Foundation.framework in Frameworks */,
E56E5A9516C9703D00F39927 /* CoreGraphics.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
E56E5A9616C9703D00F39927 /* iOS App */ = {
isa = PBXGroup;
children = (
E56E5A9F16C9703D00F39927 /* CPAppDelegate.h */,
E56E5AA016C9703D00F39927 /* CPAppDelegate.m */,
E56E5A9716C9703D00F39927 /* Supporting Files */,
);
path = "iOS App";
sourceTree = "<group>";
};
E56E5A9716C9703D00F39927 /* Supporting Files */ = {
isa = PBXGroup;
children = (
E56E5A9816C9703D00F39927 /* iOS App-Info.plist */,
E56E5A9916C9703D00F39927 /* InfoPlist.strings */,
E56E5A9C16C9703D00F39927 /* main.m */,
E56E5A9E16C9703D00F39927 /* iOS App-Prefix.pch */,
E56E5AA216C9703D00F39927 /* Default.png */,
E56E5AA416C9703D00F39927 /* Default@2x.png */,
E56E5AA616C9703D00F39927 /* Default-568h@2x.png */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
E56E5AB116C9704500F39927 /* OS X App */ = {
isa = PBXGroup;
children = (
E56E5ABD16C9704500F39927 /* CPAppDelegate.h */,
E56E5ABE16C9704500F39927 /* CPAppDelegate.m */,
E56E5AC016C9704500F39927 /* MainMenu.xib */,
E56E5AB216C9704500F39927 /* Supporting Files */,
);
path = "OS X App";
sourceTree = "<group>";
};
E56E5AB216C9704500F39927 /* Supporting Files */ = {
isa = PBXGroup;
children = (
E56E5AB316C9704500F39927 /* OS X App-Info.plist */,
E56E5AB416C9704500F39927 /* InfoPlist.strings */,
E56E5AB716C9704500F39927 /* main.m */,
E56E5AB916C9704500F39927 /* OS X App-Prefix.pch */,
E56E5ABA16C9704500F39927 /* Credits.rtf */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
E575589216C5943000DC1500 = {
isa = PBXGroup;
children = (
E56E5A9616C9703D00F39927 /* iOS App */,
E56E5AB116C9704500F39927 /* OS X App */,
E575589D16C5943000DC1500 /* Frameworks */,
E575589C16C5943000DC1500 /* Products */,
);
sourceTree = "<group>";
};
E575589C16C5943000DC1500 /* Products */ = {
isa = PBXGroup;
children = (
E56E5A8F16C9703C00F39927 /* iOS App.app */,
);
name = Products;
sourceTree = "<group>";
};
E575589D16C5943000DC1500 /* Frameworks */ = {
isa = PBXGroup;
children = (
E575589E16C5943000DC1500 /* Cocoa.framework */,
E56E59F116C95CAB00F39927 /* SenTestingKit.framework */,
E56E5A9016C9703C00F39927 /* UIKit.framework */,
E56E5A9216C9703D00F39927 /* Foundation.framework */,
E56E5A9416C9703D00F39927 /* CoreGraphics.framework */,
E57558A016C5943000DC1500 /* Other Frameworks */,
);
name = Frameworks;
sourceTree = "<group>";
};
E57558A016C5943000DC1500 /* Other Frameworks */ = {
isa = PBXGroup;
children = (
E57558A116C5943000DC1500 /* AppKit.framework */,
E57558A216C5943000DC1500 /* CoreData.framework */,
E57558A316C5943000DC1500 /* Foundation.framework */,
);
name = "Other Frameworks";
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
E56E5A8E16C9703C00F39927 /* iOS App */ = {
isa = PBXNativeTarget;
buildConfigurationList = E56E5AA816C9703D00F39927 /* Build configuration list for PBXNativeTarget "iOS App" */;
buildPhases = (
E56E5A8B16C9703C00F39927 /* Sources */,
E56E5A8C16C9703C00F39927 /* Frameworks */,
E56E5A8D16C9703C00F39927 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "iOS App";
productName = "iOS App";
productReference = E56E5A8F16C9703C00F39927 /* iOS App.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 = (
E56E5A8E16C9703C00F39927 /* iOS App */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
E56E5A8D16C9703C00F39927 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E56E5A9B16C9703D00F39927 /* InfoPlist.strings in Resources */,
E56E5AA316C9703D00F39927 /* Default.png in Resources */,
E56E5AA516C9703D00F39927 /* Default@2x.png in Resources */,
E56E5AA716C9703D00F39927 /* Default-568h@2x.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
E56E5A8B16C9703C00F39927 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E56E5A9D16C9703D00F39927 /* main.m in Sources */,
E56E5AA116C9703D00F39927 /* CPAppDelegate.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXVariantGroup section */
E56E5A9916C9703D00F39927 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
E56E5A9A16C9703D00F39927 /* en */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
E56E5AB416C9704500F39927 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
E56E5AB516C9704500F39927 /* en */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
E56E5ABA16C9704500F39927 /* Credits.rtf */ = {
isa = PBXVariantGroup;
children = (
E56E5ABB16C9704500F39927 /* en */,
);
name = Credits.rtf;
sourceTree = "<group>";
};
E56E5AC016C9704500F39927 /* MainMenu.xib */ = {
isa = PBXVariantGroup;
children = (
E56E5AC116C9704500F39927 /* en */,
);
name = MainMenu.xib;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
E56E5AA916C9703D00F39927 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"\"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks\"",
);
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "iOS App/iOS App-Prefix.pch";
INFOPLIST_FILE = "iOS App/iOS App-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 6.1;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
WRAPPER_EXTENSION = app;
};
name = Debug;
};
E56E5AAA16C9703D00F39927 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"\"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks\"",
);
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "iOS App/iOS App-Prefix.pch";
INFOPLIST_FILE = "iOS App/iOS App-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 6.1;
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
WRAPPER_EXTENSION = app;
};
name = Release;
};
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;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
E56E5AA816C9703D00F39927 /* Build configuration list for PBXNativeTarget "iOS App" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E56E5AA916C9703D00F39927 /* Debug */,
E56E5AAA16C9703D00F39927 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
E575589616C5943000DC1500 /* Build configuration list for PBXProject "SampleApp" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E57558B616C5943100DC1500 /* Debug */,
E57558B716C5943100DC1500 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = E575589316C5943000DC1500 /* Project object */;
}
platform :ios
pod "Reachability", :local => "Reachability"
PODS:
- Reachability (3.1.0)
DEPENDENCIES:
- Reachability (from `Reachability')
EXTERNAL SOURCES:
Reachability:
:local: Reachability
SPEC CHECKSUMS:
Reachability: b14c20321fa00f7f4600d8c9856fc57e71ef2ffe
COCOAPODS: 0.16.2
../../../Reachability/Reachability.h
\ No newline at end of file
../../../Reachability/Reachability.h
\ No newline at end of file
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
end
# Acknowledgements
This application makes use of the following third party libraries:
Generated by CocoaPods - http://cocoapods.org
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>FooterText</key>
<string>This application makes use of the following third party libraries:</string>
<key>Title</key>
<string>Acknowledgements</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Generated by CocoaPods - http://cocoapods.org</string>
<key>Title</key>
<string></string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
</array>
<key>StringsTable</key>
<string>Acknowledgements</string>
<key>Title</key>
<string>Acknowledgements</string>
</dict>
</plist>
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#!/bin/sh
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*)
echo "cp -R ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
cp -R "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
;;
esac
}
ALWAYS_SEARCH_USER_PATHS = YES
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC -framework SystemConfiguration
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability"
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
PODS_ROOT = ${SRCROOT}/Pods
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>archiveVersion</key>
<string>1</string>
<key>classes</key>
<dict/>
<key>objectVersion</key>
<string>46</string>
<key>objects</key>
<dict>
<key>0AB623E5A05442CFB6278B73</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>346E54DDE48A424A9FBD71B7</string>
<string>17ACF7374DAA4A7C8613D980</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>defaultConfigurationName</key>
<string>Release</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>0BB50EA4C1F04661942C491C</key>
<dict>
<key>fileRef</key>
<string>A0C2BD9706814400B0A9DFE4</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>103BA4FBA19A4EEEB9681778</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>Pods-prefix.pch</string>
<key>path</key>
<string>Pods-prefix.pch</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>17ACF7374DAA4A7C8613D980</key>
<dict>
<key>baseConfigurationReference</key>
<string>3D49478F2ABC4342B7D806A9</string>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_32_BIT)</string>
<key>COPY_PHASE_STRIP</key>
<string>NO</string>
<key>DSTROOT</key>
<string>/tmp/xcodeproj.dst</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_DYNAMIC_NO_PIC</key>
<string>NO</string>
<key>GCC_OPTIMIZATION_LEVEL</key>
<string>0</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>Pods-prefix.pch</string>
<key>GCC_PREPROCESSOR_DEFINITIONS</key>
<array>
<string>DEBUG=1</string>
<string>$(inherited)</string>
</array>
<key>GCC_SYMBOLS_PRIVATE_EXTERN</key>
<string>NO</string>
<key>GCC_VERSION</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>GCC_WARN_INHIBIT_ALL_WARNINGS</key>
<string>NO</string>
<key>INSTALL_PATH</key>
<string>$(BUILT_PRODUCTS_DIR)</string>
<key>IPHONEOS_DEPLOYMENT_TARGET</key>
<string>4.3</string>
<key>OTHER_LDFLAGS</key>
<string></string>
<key>PODS_HEADERS_SEARCH_PATHS</key>
<string>${PODS_BUILD_HEADERS_SEARCH_PATHS}</string>
<key>PODS_ROOT</key>
<string>${SRCROOT}</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>PUBLIC_HEADERS_FOLDER_PATH</key>
<string>$(TARGET_NAME)</string>
<key>SDKROOT</key>
<string>iphoneos</string>
<key>SKIP_INSTALL</key>
<string>YES</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>1DCAE98C33FF460C99FC777D</key>
<dict>
<key>children</key>
<array>
<string>ACE5A49292D344D8A6B4BC5E</string>
<string>FCBDCC9BC30A487A8ADAF678</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Reachability</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>1E3BF0EEA6944A7DBD23CE12</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>0BB50EA4C1F04661942C491C</string>
</array>
<key>isa</key>
<string>PBXFrameworksBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>236DEB8FBA9444FA96A7A1A3</key>
<dict>
<key>buildConfigurationList</key>
<string>0AB623E5A05442CFB6278B73</string>
<key>buildPhases</key>
<array>
<string>774F34D8F925484ABC22C091</string>
<string>1E3BF0EEA6944A7DBD23CE12</string>
<string>90B0FB47470545EA943B7BAD</string>
</array>
<key>buildRules</key>
<array/>
<key>dependencies</key>
<array/>
<key>isa</key>
<string>PBXNativeTarget</string>
<key>name</key>
<string>Pods</string>
<key>productName</key>
<string>Pods</string>
<key>productReference</key>
<string>96E070031B9B49288D9AA29A</string>
<key>productType</key>
<string>com.apple.product-type.library.static</string>
</dict>
<key>346E54DDE48A424A9FBD71B7</key>
<dict>
<key>baseConfigurationReference</key>
<string>3D49478F2ABC4342B7D806A9</string>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_32_BIT)</string>
<key>COPY_PHASE_STRIP</key>
<string>YES</string>
<key>DSTROOT</key>
<string>/tmp/xcodeproj.dst</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>Pods-prefix.pch</string>
<key>GCC_VERSION</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>GCC_WARN_INHIBIT_ALL_WARNINGS</key>
<string>NO</string>
<key>INSTALL_PATH</key>
<string>$(BUILT_PRODUCTS_DIR)</string>
<key>IPHONEOS_DEPLOYMENT_TARGET</key>
<string>4.3</string>
<key>OTHER_LDFLAGS</key>
<string></string>
<key>PODS_HEADERS_SEARCH_PATHS</key>
<string>${PODS_BUILD_HEADERS_SEARCH_PATHS}</string>
<key>PODS_ROOT</key>
<string>${SRCROOT}</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>PUBLIC_HEADERS_FOLDER_PATH</key>
<string>$(TARGET_NAME)</string>
<key>SDKROOT</key>
<string>iphoneos</string>
<key>SKIP_INSTALL</key>
<string>YES</string>
<key>VALIDATE_PRODUCT</key>
<string>YES</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>36F348B52FAB42669A7C4B73</key>
<dict>
<key>fileRef</key>
<string>FCBDCC9BC30A487A8ADAF678</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>3B317952EC094CC48E03AE6A</key>
<dict>
<key>fileRef</key>
<string>ACE5A49292D344D8A6B4BC5E</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>3D49478F2ABC4342B7D806A9</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.xcconfig</string>
<key>name</key>
<string>Pods.xcconfig</string>
<key>path</key>
<string>Pods.xcconfig</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>3DA2375F36A94A9CBA6181D4</key>
<dict>
<key>children</key>
<array>
<string>96E070031B9B49288D9AA29A</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Products</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>444E2E3BA99B4770A6D50967</key>
<dict>
<key>buildSettings</key>
<dict/>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>52AF4E1C18A54EF99374F299</key>
<dict>
<key>buildSettings</key>
<dict/>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>73BDFFD63A574F43A934C532</key>
<dict>
<key>children</key>
<array>
<string>9ED4BF7F110F4762AD7F4AD6</string>
<string>103BA4FBA19A4EEEB9681778</string>
<string>3D49478F2ABC4342B7D806A9</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Pods</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>774F34D8F925484ABC22C091</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>36F348B52FAB42669A7C4B73</string>
<string>800722738ED949BCB827AD7C</string>
</array>
<key>isa</key>
<string>PBXSourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>800722738ED949BCB827AD7C</key>
<dict>
<key>fileRef</key>
<string>A0327FECF2FA4290BC50B79B</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>90B0FB47470545EA943B7BAD</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>3B317952EC094CC48E03AE6A</string>
</array>
<key>isa</key>
<string>PBXHeadersBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>91DDE81BA6DB454582B19387</key>
<dict>
<key>children</key>
<array/>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Pods</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>96E070031B9B49288D9AA29A</key>
<dict>
<key>explicitFileType</key>
<string>archive.ar</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>libPods.a</string>
<key>path</key>
<string>libPods.a</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>9ED4BF7F110F4762AD7F4AD6</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>Pods-resources.sh</string>
<key>path</key>
<string>Pods-resources.sh</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>A0327FECF2FA4290BC50B79B</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>name</key>
<string>PodsDummy_Pods.m</string>
<key>path</key>
<string>PodsDummy_Pods.m</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>A0C2BD9706814400B0A9DFE4</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>Foundation.framework</string>
<key>path</key>
<string>Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework</string>
<key>sourceTree</key>
<string>DEVELOPER_DIR</string>
</dict>
<key>A395D31F221E44D1A65B7C76</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>444E2E3BA99B4770A6D50967</string>
<string>52AF4E1C18A54EF99374F299</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>defaultConfigurationName</key>
<string>Release</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>AA35051D77244D56A7A2A411</key>
<dict>
<key>children</key>
<array>
<string>73BDFFD63A574F43A934C532</string>
<string>A0327FECF2FA4290BC50B79B</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Targets Support Files</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>ACE5A49292D344D8A6B4BC5E</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>name</key>
<string>Reachability.h</string>
<key>path</key>
<string>../Reachability/Reachability.h</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>BFA25B41633C4B5F811529EC</key>
<dict>
<key>children</key>
<array>
<string>A0C2BD9706814400B0A9DFE4</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Frameworks</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>C4D01FA577164B058DCEB4AA</key>
<dict>
<key>children</key>
<array>
<string>3DA2375F36A94A9CBA6181D4</string>
<string>BFA25B41633C4B5F811529EC</string>
<string>91DDE81BA6DB454582B19387</string>
<string>AA35051D77244D56A7A2A411</string>
<string>E755EFC9920242BAAE9BF1F7</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>CA598C348D0244B994EF9310</key>
<dict>
<key>attributes</key>
<dict>
<key>LastUpgradeCheck</key>
<string>0450</string>
</dict>
<key>buildConfigurationList</key>
<string>A395D31F221E44D1A65B7C76</string>
<key>compatibilityVersion</key>
<string>Xcode 3.2</string>
<key>developmentRegion</key>
<string>English</string>
<key>hasScannedForEncodings</key>
<string>0</string>
<key>isa</key>
<string>PBXProject</string>
<key>knownRegions</key>
<array>
<string>en</string>
</array>
<key>mainGroup</key>
<string>C4D01FA577164B058DCEB4AA</string>
<key>productRefGroup</key>
<string>3DA2375F36A94A9CBA6181D4</string>
<key>projectReferences</key>
<array/>
<key>targets</key>
<array>
<string>236DEB8FBA9444FA96A7A1A3</string>
</array>
</dict>
<key>E755EFC9920242BAAE9BF1F7</key>
<dict>
<key>children</key>
<array>
<string>1DCAE98C33FF460C99FC777D</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Local Pods</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>FCBDCC9BC30A487A8ADAF678</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>name</key>
<string>Reachability.m</string>
<key>path</key>
<string>../Reachability/Reachability.m</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
</dict>
<key>rootObject</key>
<string>CA598C348D0244B994EF9310</string>
</dict>
</plist>
@interface PodsDummy_Pods : NSObject
@end
@implementation PodsDummy_Pods
@end
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
end
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>archiveVersion</key>
<string>1</string>
<key>classes</key>
<dict/>
<key>objectVersion</key>
<string>46</string>
<key>objects</key>
<dict>
<key>4EDB4DAB88984158A0041627</key>
<dict>
<key>fileRef</key>
<string>C0341C0C7F9942FFA90D4D75</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>7F98BA09D52748AB92C94087</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array/>
<key>inputPaths</key>
<array/>
<key>isa</key>
<string>PBXShellScriptBuildPhase</string>
<key>name</key>
<string>Copy Pods Resources</string>
<key>outputPaths</key>
<array/>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
<key>shellPath</key>
<string>/bin/sh</string>
<key>shellScript</key>
<string>"${SRCROOT}/Pods/Pods-resources.sh"
</string>
<key>showEnvVarsInLog</key>
<string>1</string>
</dict>
<key>C0341C0C7F9942FFA90D4D75</key>
<dict>
<key>explicitFileType</key>
<string>archive.ar</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>libPods.a</string>
<key>path</key>
<string>libPods.a</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>D05107D13FC2426F8F35DEC0</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.xcconfig</string>
<key>name</key>
<string>Pods.xcconfig</string>
<key>path</key>
<string>Pods/Pods.xcconfig</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>E56E59F116C95CAB00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>SenTestingKit.framework</string>
<key>path</key>
<string>Library/Frameworks/SenTestingKit.framework</string>
<key>sourceTree</key>
<string>DEVELOPER_DIR</string>
</dict>
<key>E56E5A8B16C9703C00F39927</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E56E5A9D16C9703D00F39927</string>
<string>E56E5AA116C9703D00F39927</string>
</array>
<key>isa</key>
<string>PBXSourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E56E5A8C16C9703C00F39927</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E56E5A9116C9703D00F39927</string>
<string>E56E5A9316C9703D00F39927</string>
<string>E56E5A9516C9703D00F39927</string>
<string>4EDB4DAB88984158A0041627</string>
</array>
<key>isa</key>
<string>PBXFrameworksBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E56E5A8D16C9703C00F39927</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E56E5A9B16C9703D00F39927</string>
<string>E56E5AA316C9703D00F39927</string>
<string>E56E5AA516C9703D00F39927</string>
<string>E56E5AA716C9703D00F39927</string>
</array>
<key>isa</key>
<string>PBXResourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E56E5A8E16C9703C00F39927</key>
<dict>
<key>buildConfigurationList</key>
<string>E56E5AA816C9703D00F39927</string>
<key>buildPhases</key>
<array>
<string>E56E5A8B16C9703C00F39927</string>
<string>E56E5A8C16C9703C00F39927</string>
<string>E56E5A8D16C9703C00F39927</string>
<string>7F98BA09D52748AB92C94087</string>
</array>
<key>buildRules</key>
<array/>
<key>dependencies</key>
<array/>
<key>isa</key>
<string>PBXNativeTarget</string>
<key>name</key>
<string>iOS App</string>
<key>productName</key>
<string>iOS App</string>
<key>productReference</key>
<string>E56E5A8F16C9703C00F39927</string>
<key>productType</key>
<string>com.apple.product-type.application</string>
</dict>
<key>E56E5A8F16C9703C00F39927</key>
<dict>
<key>explicitFileType</key>
<string>wrapper.application</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>path</key>
<string>iOS App.app</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>E56E5A9016C9703C00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>UIKit.framework</string>
<key>path</key>
<string>Library/Frameworks/UIKit.framework</string>
<key>sourceTree</key>
<string>DEVELOPER_DIR</string>
</dict>
<key>E56E5A9116C9703D00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5A9016C9703C00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5A9216C9703D00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>Foundation.framework</string>
<key>path</key>
<string>Library/Frameworks/Foundation.framework</string>
<key>sourceTree</key>
<string>DEVELOPER_DIR</string>
</dict>
<key>E56E5A9316C9703D00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5A9216C9703D00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5A9416C9703D00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>CoreGraphics.framework</string>
<key>path</key>
<string>Library/Frameworks/CoreGraphics.framework</string>
<key>sourceTree</key>
<string>DEVELOPER_DIR</string>
</dict>
<key>E56E5A9516C9703D00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5A9416C9703D00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5A9616C9703D00F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5A9F16C9703D00F39927</string>
<string>E56E5AA016C9703D00F39927</string>
<string>E56E5A9716C9703D00F39927</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>path</key>
<string>iOS App</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A9716C9703D00F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5A9816C9703D00F39927</string>
<string>E56E5A9916C9703D00F39927</string>
<string>E56E5A9C16C9703D00F39927</string>
<string>E56E5A9E16C9703D00F39927</string>
<string>E56E5AA216C9703D00F39927</string>
<string>E56E5AA416C9703D00F39927</string>
<string>E56E5AA616C9703D00F39927</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Supporting Files</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A9816C9703D00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.plist.xml</string>
<key>path</key>
<string>iOS App-Info.plist</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A9916C9703D00F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5A9A16C9703D00F39927</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>InfoPlist.strings</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A9A16C9703D00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.plist.strings</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/InfoPlist.strings</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A9B16C9703D00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5A9916C9703D00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5A9C16C9703D00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>path</key>
<string>main.m</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A9D16C9703D00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5A9C16C9703D00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5A9E16C9703D00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>path</key>
<string>iOS App-Prefix.pch</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A9F16C9703D00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>path</key>
<string>CPAppDelegate.h</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AA016C9703D00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>path</key>
<string>CPAppDelegate.m</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AA116C9703D00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5AA016C9703D00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5AA216C9703D00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>image.png</string>
<key>path</key>
<string>Default.png</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AA316C9703D00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5AA216C9703D00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5AA416C9703D00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>image.png</string>
<key>path</key>
<string>Default@2x.png</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AA516C9703D00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5AA416C9703D00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5AA616C9703D00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>image.png</string>
<key>path</key>
<string>Default-568h@2x.png</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AA716C9703D00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5AA616C9703D00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5AA816C9703D00F39927</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>E56E5AA916C9703D00F39927</string>
<string>E56E5AAA16C9703D00F39927</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>defaultConfigurationName</key>
<string>Release</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>E56E5AA916C9703D00F39927</key>
<dict>
<key>baseConfigurationReference</key>
<string>D05107D13FC2426F8F35DEC0</string>
<key>buildSettings</key>
<dict>
<key>CODE_SIGN_IDENTITY[sdk=iphoneos*]</key>
<string>iPhone Developer</string>
<key>FRAMEWORK_SEARCH_PATHS</key>
<array>
<string>$(inherited)</string>
<string>"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks"</string>
</array>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>iOS App/iOS App-Prefix.pch</string>
<key>INFOPLIST_FILE</key>
<string>iOS App/iOS App-Info.plist</string>
<key>IPHONEOS_DEPLOYMENT_TARGET</key>
<string>6.1</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>SDKROOT</key>
<string>iphoneos</string>
<key>WRAPPER_EXTENSION</key>
<string>app</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>E56E5AAA16C9703D00F39927</key>
<dict>
<key>baseConfigurationReference</key>
<string>D05107D13FC2426F8F35DEC0</string>
<key>buildSettings</key>
<dict>
<key>CODE_SIGN_IDENTITY[sdk=iphoneos*]</key>
<string>iPhone Developer</string>
<key>FRAMEWORK_SEARCH_PATHS</key>
<array>
<string>$(inherited)</string>
<string>"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks"</string>
</array>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>iOS App/iOS App-Prefix.pch</string>
<key>INFOPLIST_FILE</key>
<string>iOS App/iOS App-Info.plist</string>
<key>IPHONEOS_DEPLOYMENT_TARGET</key>
<string>6.1</string>
<key>OTHER_CFLAGS</key>
<string>-DNS_BLOCK_ASSERTIONS=1</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>SDKROOT</key>
<string>iphoneos</string>
<key>VALIDATE_PRODUCT</key>
<string>YES</string>
<key>WRAPPER_EXTENSION</key>
<string>app</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>E56E5AB116C9704500F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5ABD16C9704500F39927</string>
<string>E56E5ABE16C9704500F39927</string>
<string>E56E5AC016C9704500F39927</string>
<string>E56E5AB216C9704500F39927</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>path</key>
<string>OS X App</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AB216C9704500F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5AB316C9704500F39927</string>
<string>E56E5AB416C9704500F39927</string>
<string>E56E5AB716C9704500F39927</string>
<string>E56E5AB916C9704500F39927</string>
<string>E56E5ABA16C9704500F39927</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Supporting Files</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AB316C9704500F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.plist.xml</string>
<key>path</key>
<string>OS X App-Info.plist</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AB416C9704500F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5AB516C9704500F39927</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>InfoPlist.strings</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AB516C9704500F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.plist.strings</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/InfoPlist.strings</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AB716C9704500F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>path</key>
<string>main.m</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AB916C9704500F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>path</key>
<string>OS X App-Prefix.pch</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5ABA16C9704500F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5ABB16C9704500F39927</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>Credits.rtf</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5ABB16C9704500F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.rtf</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/Credits.rtf</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5ABD16C9704500F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>path</key>
<string>CPAppDelegate.h</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5ABE16C9704500F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>path</key>
<string>CPAppDelegate.m</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AC016C9704500F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5AC116C9704500F39927</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>MainMenu.xib</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5AC116C9704500F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>file.xib</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/MainMenu.xib</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E575589216C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E56E5A9616C9703D00F39927</string>
<string>E56E5AB116C9704500F39927</string>
<string>E575589D16C5943000DC1500</string>
<string>E575589C16C5943000DC1500</string>
<string>D05107D13FC2426F8F35DEC0</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E575589316C5943000DC1500</key>
<dict>
<key>attributes</key>
<dict>
<key>CLASSPREFIX</key>
<string>CP</string>
<key>LastUpgradeCheck</key>
<string>0460</string>
<key>ORGANIZATIONNAME</key>
<string>CocoaPods</string>
</dict>
<key>buildConfigurationList</key>
<string>E575589616C5943000DC1500</string>
<key>compatibilityVersion</key>
<string>Xcode 3.2</string>
<key>developmentRegion</key>
<string>English</string>
<key>hasScannedForEncodings</key>
<string>0</string>
<key>isa</key>
<string>PBXProject</string>
<key>knownRegions</key>
<array>
<string>en</string>
</array>
<key>mainGroup</key>
<string>E575589216C5943000DC1500</string>
<key>productRefGroup</key>
<string>E575589C16C5943000DC1500</string>
<key>projectDirPath</key>
<string></string>
<key>projectReferences</key>
<array/>
<key>projectRoot</key>
<string></string>
<key>targets</key>
<array>
<string>E56E5A8E16C9703C00F39927</string>
</array>
</dict>
<key>E575589616C5943000DC1500</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>E57558B616C5943100DC1500</string>
<string>E57558B716C5943100DC1500</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>defaultConfigurationName</key>
<string>Release</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>E575589C16C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E56E5A8F16C9703C00F39927</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Products</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E575589D16C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E575589E16C5943000DC1500</string>
<string>E56E59F116C95CAB00F39927</string>
<string>E56E5A9016C9703C00F39927</string>
<string>E56E5A9216C9703D00F39927</string>
<string>E56E5A9416C9703D00F39927</string>
<string>E57558A016C5943000DC1500</string>
<string>C0341C0C7F9942FFA90D4D75</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Frameworks</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E575589E16C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>Cocoa.framework</string>
<key>path</key>
<string>System/Library/Frameworks/Cocoa.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E57558A016C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558A116C5943000DC1500</string>
<string>E57558A216C5943000DC1500</string>
<string>E57558A316C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Other Frameworks</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558A116C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>AppKit.framework</string>
<key>path</key>
<string>System/Library/Frameworks/AppKit.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E57558A216C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>CoreData.framework</string>
<key>path</key>
<string>System/Library/Frameworks/CoreData.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E57558A316C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>Foundation.framework</string>
<key>path</key>
<string>System/Library/Frameworks/Foundation.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E57558B616C5943100DC1500</key>
<dict>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_64_BIT)</string>
<key>CLANG_CXX_LANGUAGE_STANDARD</key>
<string>gnu++0x</string>
<key>CLANG_CXX_LIBRARY</key>
<string>libc++</string>
<key>CLANG_WARN_CONSTANT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_EMPTY_BODY</key>
<string>YES</string>
<key>CLANG_WARN_ENUM_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_INT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN__DUPLICATE_METHOD_MATCH</key>
<string>YES</string>
<key>COPY_PHASE_STRIP</key>
<string>NO</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_DYNAMIC_NO_PIC</key>
<string>NO</string>
<key>GCC_ENABLE_OBJC_EXCEPTIONS</key>
<string>YES</string>
<key>GCC_OPTIMIZATION_LEVEL</key>
<string>0</string>
<key>GCC_PREPROCESSOR_DEFINITIONS</key>
<array>
<string>DEBUG=1</string>
<string>$(inherited)</string>
</array>
<key>GCC_SYMBOLS_PRIVATE_EXTERN</key>
<string>NO</string>
<key>GCC_WARN_64_TO_32_BIT_CONVERSION</key>
<string>YES</string>
<key>GCC_WARN_ABOUT_RETURN_TYPE</key>
<string>YES</string>
<key>GCC_WARN_UNINITIALIZED_AUTOS</key>
<string>YES</string>
<key>GCC_WARN_UNUSED_VARIABLE</key>
<string>YES</string>
<key>MACOSX_DEPLOYMENT_TARGET</key>
<string>10.8</string>
<key>ONLY_ACTIVE_ARCH</key>
<string>YES</string>
<key>SDKROOT</key>
<string>macosx</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>E57558B716C5943100DC1500</key>
<dict>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_64_BIT)</string>
<key>CLANG_CXX_LANGUAGE_STANDARD</key>
<string>gnu++0x</string>
<key>CLANG_CXX_LIBRARY</key>
<string>libc++</string>
<key>CLANG_WARN_CONSTANT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_EMPTY_BODY</key>
<string>YES</string>
<key>CLANG_WARN_ENUM_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_INT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN__DUPLICATE_METHOD_MATCH</key>
<string>YES</string>
<key>COPY_PHASE_STRIP</key>
<string>YES</string>
<key>DEBUG_INFORMATION_FORMAT</key>
<string>dwarf-with-dsym</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_ENABLE_OBJC_EXCEPTIONS</key>
<string>YES</string>
<key>GCC_WARN_64_TO_32_BIT_CONVERSION</key>
<string>YES</string>
<key>GCC_WARN_ABOUT_RETURN_TYPE</key>
<string>YES</string>
<key>GCC_WARN_UNINITIALIZED_AUTOS</key>
<string>YES</string>
<key>GCC_WARN_UNUSED_VARIABLE</key>
<string>YES</string>
<key>MACOSX_DEPLOYMENT_TARGET</key>
<string>10.8</string>
<key>SDKROOT</key>
<string>macosx</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
</dict>
<key>rootObject</key>
<string>E575589316C5943000DC1500</string>
</dict>
</plist>
<?xml version='1.0' encoding='UTF-8'?><Workspace version='1.0'><FileRef location='group:Pods/Pods.xcodeproj'/><FileRef location='group:SampleApp.xcodeproj'/></Workspace>
\ No newline at end of file
$ pod install --no-update --no-doc --verbose --no-color
Resolving dependencies of `./Podfile'
Resolving dependencies for target `default' (iOS 4.3)
- Reachability (from `Reachability')
Downloading dependencies
-> Installing Reachability (3.1.0) [LOCAL]
Generating support files
- Running pre install hooks
- Generating project
- Installing targets
- Generating xcconfig file at `./Pods/Pods.xcconfig'
- Generating prefix header at `./Pods/Pods-prefix.pch'
- Generating copy resources script at `./Pods/Pods-resources.sh'
- Running post install hooks
- Writing Xcode project file to `./Pods/Pods.xcodeproj'
- Writing lockfile in `./Podfile.lock'
[!] From now on use `SampleApp.xcworkspace'.
Integrating `libPods.a' into target `iOS App' of Xcode project `./SampleApp.xcodeproj'.
platform :ios
pod "Reachability", :local => "Reachability"
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
end
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
E56E5A9116C9703D00F39927 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E56E5A9016C9703C00F39927 /* UIKit.framework */; };
E56E5A9316C9703D00F39927 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E56E5A9216C9703D00F39927 /* Foundation.framework */; };
E56E5A9516C9703D00F39927 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E56E5A9416C9703D00F39927 /* CoreGraphics.framework */; };
E56E5A9B16C9703D00F39927 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = E56E5A9916C9703D00F39927 /* InfoPlist.strings */; };
E56E5A9D16C9703D00F39927 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E56E5A9C16C9703D00F39927 /* main.m */; };
E56E5AA116C9703D00F39927 /* CPAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E56E5AA016C9703D00F39927 /* CPAppDelegate.m */; };
E56E5AA316C9703D00F39927 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = E56E5AA216C9703D00F39927 /* Default.png */; };
E56E5AA516C9703D00F39927 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E56E5AA416C9703D00F39927 /* Default@2x.png */; };
E56E5AA716C9703D00F39927 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E56E5AA616C9703D00F39927 /* Default-568h@2x.png */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
E56E59F116C95CAB00F39927 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; };
E56E5A8F16C9703C00F39927 /* iOS App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "iOS App.app"; sourceTree = BUILT_PRODUCTS_DIR; };
E56E5A9016C9703C00F39927 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; };
E56E5A9216C9703D00F39927 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
E56E5A9416C9703D00F39927 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = Library/Frameworks/CoreGraphics.framework; sourceTree = DEVELOPER_DIR; };
E56E5A9816C9703D00F39927 /* iOS App-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "iOS App-Info.plist"; sourceTree = "<group>"; };
E56E5A9A16C9703D00F39927 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
E56E5A9C16C9703D00F39927 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
E56E5A9E16C9703D00F39927 /* iOS App-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "iOS App-Prefix.pch"; sourceTree = "<group>"; };
E56E5A9F16C9703D00F39927 /* CPAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CPAppDelegate.h; sourceTree = "<group>"; };
E56E5AA016C9703D00F39927 /* CPAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CPAppDelegate.m; sourceTree = "<group>"; };
E56E5AA216C9703D00F39927 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
E56E5AA416C9703D00F39927 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = "<group>"; };
E56E5AA616C9703D00F39927 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
E56E5AB316C9704500F39927 /* OS X App-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "OS X App-Info.plist"; sourceTree = "<group>"; };
E56E5AB516C9704500F39927 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
E56E5AB716C9704500F39927 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
E56E5AB916C9704500F39927 /* OS X App-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "OS X App-Prefix.pch"; sourceTree = "<group>"; };
E56E5ABB16C9704500F39927 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = "<group>"; };
E56E5ABD16C9704500F39927 /* CPAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CPAppDelegate.h; sourceTree = "<group>"; };
E56E5ABE16C9704500F39927 /* CPAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CPAppDelegate.m; sourceTree = "<group>"; };
E56E5AC116C9704500F39927 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = "<group>"; };
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; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
E56E5A8C16C9703C00F39927 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
E56E5A9116C9703D00F39927 /* UIKit.framework in Frameworks */,
E56E5A9316C9703D00F39927 /* Foundation.framework in Frameworks */,
E56E5A9516C9703D00F39927 /* CoreGraphics.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
E56E5A9616C9703D00F39927 /* iOS App */ = {
isa = PBXGroup;
children = (
E56E5A9F16C9703D00F39927 /* CPAppDelegate.h */,
E56E5AA016C9703D00F39927 /* CPAppDelegate.m */,
E56E5A9716C9703D00F39927 /* Supporting Files */,
);
path = "iOS App";
sourceTree = "<group>";
};
E56E5A9716C9703D00F39927 /* Supporting Files */ = {
isa = PBXGroup;
children = (
E56E5A9816C9703D00F39927 /* iOS App-Info.plist */,
E56E5A9916C9703D00F39927 /* InfoPlist.strings */,
E56E5A9C16C9703D00F39927 /* main.m */,
E56E5A9E16C9703D00F39927 /* iOS App-Prefix.pch */,
E56E5AA216C9703D00F39927 /* Default.png */,
E56E5AA416C9703D00F39927 /* Default@2x.png */,
E56E5AA616C9703D00F39927 /* Default-568h@2x.png */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
E56E5AB116C9704500F39927 /* OS X App */ = {
isa = PBXGroup;
children = (
E56E5ABD16C9704500F39927 /* CPAppDelegate.h */,
E56E5ABE16C9704500F39927 /* CPAppDelegate.m */,
E56E5AC016C9704500F39927 /* MainMenu.xib */,
E56E5AB216C9704500F39927 /* Supporting Files */,
);
path = "OS X App";
sourceTree = "<group>";
};
E56E5AB216C9704500F39927 /* Supporting Files */ = {
isa = PBXGroup;
children = (
E56E5AB316C9704500F39927 /* OS X App-Info.plist */,
E56E5AB416C9704500F39927 /* InfoPlist.strings */,
E56E5AB716C9704500F39927 /* main.m */,
E56E5AB916C9704500F39927 /* OS X App-Prefix.pch */,
E56E5ABA16C9704500F39927 /* Credits.rtf */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
E575589216C5943000DC1500 = {
isa = PBXGroup;
children = (
E56E5A9616C9703D00F39927 /* iOS App */,
E56E5AB116C9704500F39927 /* OS X App */,
E575589D16C5943000DC1500 /* Frameworks */,
E575589C16C5943000DC1500 /* Products */,
);
sourceTree = "<group>";
};
E575589C16C5943000DC1500 /* Products */ = {
isa = PBXGroup;
children = (
E56E5A8F16C9703C00F39927 /* iOS App.app */,
);
name = Products;
sourceTree = "<group>";
};
E575589D16C5943000DC1500 /* Frameworks */ = {
isa = PBXGroup;
children = (
E575589E16C5943000DC1500 /* Cocoa.framework */,
E56E59F116C95CAB00F39927 /* SenTestingKit.framework */,
E56E5A9016C9703C00F39927 /* UIKit.framework */,
E56E5A9216C9703D00F39927 /* Foundation.framework */,
E56E5A9416C9703D00F39927 /* CoreGraphics.framework */,
E57558A016C5943000DC1500 /* Other Frameworks */,
);
name = Frameworks;
sourceTree = "<group>";
};
E57558A016C5943000DC1500 /* Other Frameworks */ = {
isa = PBXGroup;
children = (
E57558A116C5943000DC1500 /* AppKit.framework */,
E57558A216C5943000DC1500 /* CoreData.framework */,
E57558A316C5943000DC1500 /* Foundation.framework */,
);
name = "Other Frameworks";
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
E56E5A8E16C9703C00F39927 /* iOS App */ = {
isa = PBXNativeTarget;
buildConfigurationList = E56E5AA816C9703D00F39927 /* Build configuration list for PBXNativeTarget "iOS App" */;
buildPhases = (
E56E5A8B16C9703C00F39927 /* Sources */,
E56E5A8C16C9703C00F39927 /* Frameworks */,
E56E5A8D16C9703C00F39927 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "iOS App";
productName = "iOS App";
productReference = E56E5A8F16C9703C00F39927 /* iOS App.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 = (
E56E5A8E16C9703C00F39927 /* iOS App */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
E56E5A8D16C9703C00F39927 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E56E5A9B16C9703D00F39927 /* InfoPlist.strings in Resources */,
E56E5AA316C9703D00F39927 /* Default.png in Resources */,
E56E5AA516C9703D00F39927 /* Default@2x.png in Resources */,
E56E5AA716C9703D00F39927 /* Default-568h@2x.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
E56E5A8B16C9703C00F39927 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E56E5A9D16C9703D00F39927 /* main.m in Sources */,
E56E5AA116C9703D00F39927 /* CPAppDelegate.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXVariantGroup section */
E56E5A9916C9703D00F39927 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
E56E5A9A16C9703D00F39927 /* en */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
E56E5AB416C9704500F39927 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
E56E5AB516C9704500F39927 /* en */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
E56E5ABA16C9704500F39927 /* Credits.rtf */ = {
isa = PBXVariantGroup;
children = (
E56E5ABB16C9704500F39927 /* en */,
);
name = Credits.rtf;
sourceTree = "<group>";
};
E56E5AC016C9704500F39927 /* MainMenu.xib */ = {
isa = PBXVariantGroup;
children = (
E56E5AC116C9704500F39927 /* en */,
);
name = MainMenu.xib;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
E56E5AA916C9703D00F39927 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"\"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks\"",
);
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "iOS App/iOS App-Prefix.pch";
INFOPLIST_FILE = "iOS App/iOS App-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 6.1;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
WRAPPER_EXTENSION = app;
};
name = Debug;
};
E56E5AAA16C9703D00F39927 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"\"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks\"",
);
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "iOS App/iOS App-Prefix.pch";
INFOPLIST_FILE = "iOS App/iOS App-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 6.1;
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
WRAPPER_EXTENSION = app;
};
name = Release;
};
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;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
E56E5AA816C9703D00F39927 /* Build configuration list for PBXNativeTarget "iOS App" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E56E5AA916C9703D00F39927 /* Debug */,
E56E5AAA16C9703D00F39927 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
E575589616C5943000DC1500 /* Build configuration list for PBXProject "SampleApp" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E57558B616C5943100DC1500 /* Debug */,
E57558B716C5943100DC1500 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = E575589316C5943000DC1500 /* Project object */;
}
# SampleApp is the first target i.e. default
platform :ios, '6.0'
pod "Reachability", "3.1.0"
target :test, :exclusive => true do
link_with 'SampleAppTests'
pod 'JSONKit'
end
target 'SampleApp_2' do
link_with 'SampleAppTests'
pod 'JSONKit'
end
\ No newline at end of file
PODS:
- JSONKit (1.5pre)
- Reachability (3.1.0)
DEPENDENCIES:
- JSONKit
- Reachability (= 3.1.0)
SPEC CHECKSUMS:
Reachability: 1c8584c5f26fa776695efef95caaa50402c94cfb
JSONKit: 3d4708953ea7ae399a49777372d8b060a43ddd27
COCOAPODS: 0.16.2
../../Reachability/Reachability.h
\ No newline at end of file
//
// JSONKit.h
// http://github.com/johnezang/JSONKit
// Dual licensed under either the terms of the BSD License, or alternatively
// under the terms of the Apache License, Version 2.0, as specified below.
//
/*
Copyright (c) 2011, John Engelhart
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* 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.
* Neither the name of the Zang Industries nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
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
OWNER 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.
*/
/*
Copyright 2011 John Engelhart
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#include <stddef.h>
#include <stdint.h>
#include <limits.h>
#include <TargetConditionals.h>
#include <AvailabilityMacros.h>
#ifdef __OBJC__
#import <Foundation/NSArray.h>
#import <Foundation/NSData.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSError.h>
#import <Foundation/NSObjCRuntime.h>
#import <Foundation/NSString.h>
#endif // __OBJC__
#ifdef __cplusplus
extern "C" {
#endif
// For Mac OS X < 10.5.
#ifndef NSINTEGER_DEFINED
#define NSINTEGER_DEFINED
#if defined(__LP64__) || defined(NS_BUILD_32_LIKE_64)
typedef long NSInteger;
typedef unsigned long NSUInteger;
#define NSIntegerMin LONG_MIN
#define NSIntegerMax LONG_MAX
#define NSUIntegerMax ULONG_MAX
#else // defined(__LP64__) || defined(NS_BUILD_32_LIKE_64)
typedef int NSInteger;
typedef unsigned int NSUInteger;
#define NSIntegerMin INT_MIN
#define NSIntegerMax INT_MAX
#define NSUIntegerMax UINT_MAX
#endif // defined(__LP64__) || defined(NS_BUILD_32_LIKE_64)
#endif // NSINTEGER_DEFINED
#ifndef _JSONKIT_H_
#define _JSONKIT_H_
#if defined(__GNUC__) && (__GNUC__ >= 4) && defined(__APPLE_CC__) && (__APPLE_CC__ >= 5465)
#define JK_DEPRECATED_ATTRIBUTE __attribute__((deprecated))
#else
#define JK_DEPRECATED_ATTRIBUTE
#endif
#define JSONKIT_VERSION_MAJOR 1
#define JSONKIT_VERSION_MINOR 4
typedef NSUInteger JKFlags;
/*
JKParseOptionComments : Allow C style // and /_* ... *_/ (without a _, obviously) comments in JSON.
JKParseOptionUnicodeNewlines : Allow Unicode recommended (?:\r\n|[\n\v\f\r\x85\p{Zl}\p{Zp}]) newlines.
JKParseOptionLooseUnicode : Normally the decoder will stop with an error at any malformed Unicode.
This option allows JSON with malformed Unicode to be parsed without reporting an error.
Any malformed Unicode is replaced with \uFFFD, or "REPLACEMENT CHARACTER".
*/
enum {
JKParseOptionNone = 0,
JKParseOptionStrict = 0,
JKParseOptionComments = (1 << 0),
JKParseOptionUnicodeNewlines = (1 << 1),
JKParseOptionLooseUnicode = (1 << 2),
JKParseOptionPermitTextAfterValidJSON = (1 << 3),
JKParseOptionValidFlags = (JKParseOptionComments | JKParseOptionUnicodeNewlines | JKParseOptionLooseUnicode | JKParseOptionPermitTextAfterValidJSON),
};
typedef JKFlags JKParseOptionFlags;
enum {
JKSerializeOptionNone = 0,
JKSerializeOptionPretty = (1 << 0),
JKSerializeOptionEscapeUnicode = (1 << 1),
JKSerializeOptionEscapeForwardSlashes = (1 << 4),
JKSerializeOptionValidFlags = (JKSerializeOptionPretty | JKSerializeOptionEscapeUnicode | JKSerializeOptionEscapeForwardSlashes),
};
typedef JKFlags JKSerializeOptionFlags;
#ifdef __OBJC__
typedef struct JKParseState JKParseState; // Opaque internal, private type.
// As a general rule of thumb, if you use a method that doesn't accept a JKParseOptionFlags argument, it defaults to JKParseOptionStrict
@interface JSONDecoder : NSObject {
JKParseState *parseState;
}
+ (id)decoder;
+ (id)decoderWithParseOptions:(JKParseOptionFlags)parseOptionFlags;
- (id)initWithParseOptions:(JKParseOptionFlags)parseOptionFlags;
- (void)clearCache;
// The parse... methods were deprecated in v1.4 in favor of the v1.4 objectWith... methods.
- (id)parseUTF8String:(const unsigned char *)string length:(size_t)length JK_DEPRECATED_ATTRIBUTE; // Deprecated in JSONKit v1.4. Use objectWithUTF8String:length: instead.
- (id)parseUTF8String:(const unsigned char *)string length:(size_t)length error:(NSError **)error JK_DEPRECATED_ATTRIBUTE; // Deprecated in JSONKit v1.4. Use objectWithUTF8String:length:error: instead.
// The NSData MUST be UTF8 encoded JSON.
- (id)parseJSONData:(NSData *)jsonData JK_DEPRECATED_ATTRIBUTE; // Deprecated in JSONKit v1.4. Use objectWithData: instead.
- (id)parseJSONData:(NSData *)jsonData error:(NSError **)error JK_DEPRECATED_ATTRIBUTE; // Deprecated in JSONKit v1.4. Use objectWithData:error: instead.
// Methods that return immutable collection objects.
- (id)objectWithUTF8String:(const unsigned char *)string length:(NSUInteger)length;
- (id)objectWithUTF8String:(const unsigned char *)string length:(NSUInteger)length error:(NSError **)error;
// The NSData MUST be UTF8 encoded JSON.
- (id)objectWithData:(NSData *)jsonData;
- (id)objectWithData:(NSData *)jsonData error:(NSError **)error;
// Methods that return mutable collection objects.
- (id)mutableObjectWithUTF8String:(const unsigned char *)string length:(NSUInteger)length;
- (id)mutableObjectWithUTF8String:(const unsigned char *)string length:(NSUInteger)length error:(NSError **)error;
// The NSData MUST be UTF8 encoded JSON.
- (id)mutableObjectWithData:(NSData *)jsonData;
- (id)mutableObjectWithData:(NSData *)jsonData error:(NSError **)error;
@end
////////////
#pragma mark Deserializing methods
////////////
@interface NSString (JSONKitDeserializing)
- (id)objectFromJSONString;
- (id)objectFromJSONStringWithParseOptions:(JKParseOptionFlags)parseOptionFlags;
- (id)objectFromJSONStringWithParseOptions:(JKParseOptionFlags)parseOptionFlags error:(NSError **)error;
- (id)mutableObjectFromJSONString;
- (id)mutableObjectFromJSONStringWithParseOptions:(JKParseOptionFlags)parseOptionFlags;
- (id)mutableObjectFromJSONStringWithParseOptions:(JKParseOptionFlags)parseOptionFlags error:(NSError **)error;
@end
@interface NSData (JSONKitDeserializing)
// The NSData MUST be UTF8 encoded JSON.
- (id)objectFromJSONData;
- (id)objectFromJSONDataWithParseOptions:(JKParseOptionFlags)parseOptionFlags;
- (id)objectFromJSONDataWithParseOptions:(JKParseOptionFlags)parseOptionFlags error:(NSError **)error;
- (id)mutableObjectFromJSONData;
- (id)mutableObjectFromJSONDataWithParseOptions:(JKParseOptionFlags)parseOptionFlags;
- (id)mutableObjectFromJSONDataWithParseOptions:(JKParseOptionFlags)parseOptionFlags error:(NSError **)error;
@end
////////////
#pragma mark Serializing methods
////////////
@interface NSString (JSONKitSerializing)
// Convenience methods for those that need to serialize the receiving NSString (i.e., instead of having to serialize a NSArray with a single NSString, you can "serialize to JSON" just the NSString).
// Normally, a string that is serialized to JSON has quotation marks surrounding it, which you may or may not want when serializing a single string, and can be controlled with includeQuotes:
// includeQuotes:YES `a "test"...` -> `"a \"test\"..."`
// includeQuotes:NO `a "test"...` -> `a \"test\"...`
- (NSData *)JSONData; // Invokes JSONDataWithOptions:JKSerializeOptionNone includeQuotes:YES
- (NSData *)JSONDataWithOptions:(JKSerializeOptionFlags)serializeOptions includeQuotes:(BOOL)includeQuotes error:(NSError **)error;
- (NSString *)JSONString; // Invokes JSONStringWithOptions:JKSerializeOptionNone includeQuotes:YES
- (NSString *)JSONStringWithOptions:(JKSerializeOptionFlags)serializeOptions includeQuotes:(BOOL)includeQuotes error:(NSError **)error;
@end
@interface NSArray (JSONKitSerializing)
- (NSData *)JSONData;
- (NSData *)JSONDataWithOptions:(JKSerializeOptionFlags)serializeOptions error:(NSError **)error;
- (NSData *)JSONDataWithOptions:(JKSerializeOptionFlags)serializeOptions serializeUnsupportedClassesUsingDelegate:(id)delegate selector:(SEL)selector error:(NSError **)error;
- (NSString *)JSONString;
- (NSString *)JSONStringWithOptions:(JKSerializeOptionFlags)serializeOptions error:(NSError **)error;
- (NSString *)JSONStringWithOptions:(JKSerializeOptionFlags)serializeOptions serializeUnsupportedClassesUsingDelegate:(id)delegate selector:(SEL)selector error:(NSError **)error;
@end
@interface NSDictionary (JSONKitSerializing)
- (NSData *)JSONData;
- (NSData *)JSONDataWithOptions:(JKSerializeOptionFlags)serializeOptions error:(NSError **)error;
- (NSData *)JSONDataWithOptions:(JKSerializeOptionFlags)serializeOptions serializeUnsupportedClassesUsingDelegate:(id)delegate selector:(SEL)selector error:(NSError **)error;
- (NSString *)JSONString;
- (NSString *)JSONStringWithOptions:(JKSerializeOptionFlags)serializeOptions error:(NSError **)error;
- (NSString *)JSONStringWithOptions:(JKSerializeOptionFlags)serializeOptions serializeUnsupportedClassesUsingDelegate:(id)delegate selector:(SEL)selector error:(NSError **)error;
@end
#ifdef __BLOCKS__
@interface NSArray (JSONKitSerializingBlockAdditions)
- (NSData *)JSONDataWithOptions:(JKSerializeOptionFlags)serializeOptions serializeUnsupportedClassesUsingBlock:(id(^)(id object))block error:(NSError **)error;
- (NSString *)JSONStringWithOptions:(JKSerializeOptionFlags)serializeOptions serializeUnsupportedClassesUsingBlock:(id(^)(id object))block error:(NSError **)error;
@end
@interface NSDictionary (JSONKitSerializingBlockAdditions)
- (NSData *)JSONDataWithOptions:(JKSerializeOptionFlags)serializeOptions serializeUnsupportedClassesUsingBlock:(id(^)(id object))block error:(NSError **)error;
- (NSString *)JSONStringWithOptions:(JKSerializeOptionFlags)serializeOptions serializeUnsupportedClassesUsingBlock:(id(^)(id object))block error:(NSError **)error;
@end
#endif
#endif // __OBJC__
#endif // _JSONKIT_H_
#ifdef __cplusplus
} // extern "C"
#endif
This source diff could not be displayed because it is too large. You can view the blob instead.
# JSONKit
JSONKit is dual licensed under either the terms of the BSD License, or alternatively under the terms of the Apache License, Version 2.0.<br />
Copyright &copy; 2011, John Engelhart.
### A Very High Performance Objective-C JSON Library
**UPDATE:** (2011/12/18) The benchmarks below were performed before Apples [`NSJSONSerialization`][NSJSONSerialization] was available (as of Mac OS X 10.7 and iOS 5). The obvious question is: Which is faster, [`NSJSONSerialization`][NSJSONSerialization] or JSONKit? According to [this site](http://www.bonto.ch/blog/2011/12/08/json-libraries-for-ios-comparison-updated/), JSONKit is faster than [`NSJSONSerialization`][NSJSONSerialization]. Some quick "back of the envelope" calculations using the numbers reported, JSONKit appears to be approximately 25% to 40% faster than [`NSJSONSerialization`][NSJSONSerialization], which is pretty significant.
Parsing | Serializing
:---------:|:-------------:
<img src="http://chart.googleapis.com/chart?chf=a,s,000000%7Cb0,lg,0,6589C760,0,6589C7B4,1%7Cbg,lg,90,EFEFEF,0,F8F8F8,1&chxl=0:%7CTouchJSON%7CXML+.plist%7Cjson-framework%7CYAJL-ObjC%7Cgzip+JSONKit%7CBinary+.plist%7CJSONKit%7C2:%7CTime+to+Deserialize+in+%C2%B5sec&chxp=2,40&chxr=0,0,5%7C1,0,3250&chxs=0,676767,11.5,1,lt,676767&chxt=y,x,x&chbh=a,5,4&chs=350x185&cht=bhs&chco=6589C783&chds=0,3250&chd=t:410.517,510.262,539.614,1351.257,1683.346,1747.953,2955.881&chg=-1,0,1,3&chm=N+*s*+%C2%B5s,676767,0,0:5,10.5%7CN+*s*+%C2%B5s,3d3d3d,0,6,10.5,,r:-5:1&chem=y;s=text_outline;d=666,10.5,l,fff,_,Decompress+%2b+Parse+is+just;ds=0;dp=2;py=0;of=58,7%7Cy;s=text_outline;d=666,10.5,l,fff,_,5.6%25+slower+than+Binary+.plist%21;ds=0;dp=2;py=0;of=53,-5" width="350" height="185" alt="Deserialize from JSON" /> | <img src="http://chart.googleapis.com/chart?chf=a,s,000000%7Cb0,lg,0,699E7260,0,699E72B4,1%7Cbg,lg,90,EFEFEF,0,F8F8F8,1&chxl=0:%7CTouchJSON%7CYAJL-ObjC%7CXML+.plist%7Cjson-framework%7CBinary+.plist%7Cgzip+JSONKit%7CJSONKit%7C2:%7CTime+to+Serialize+in+%C2%B5sec&chxp=2,40&chxr=0,0,5%7C1,0,3250&chxs=0,676767,11.5,1,lt,676767&chxt=y,x,x&chbh=a,5,4&chs=350x175&cht=bhs&chco=699E7284&chds=0,3250&chd=t:96.387,466.947,626.153,1028.432,1945.511,2156.978,3051.976&chg=-1,0,1,3&chm=N+*s*+%C2%B5s,676767,0,0:5,10.5%7CN+*s*+%C2%B5s,4d4d4d,0,6,10.5,,r:-5:1&chem=y;s=text_outline;d=666,10.5,l,fff,_,Serialize+%2b+Compress+is+34%25;ds=0;dp=1;py=0;of=51,7%7Cy;s=text_outline;d=666,10.5,l,fff,_,faster+than+Binary+.plist%21;ds=0;dp=1;py=0;of=62,-5" width="350" height="185" alt="Serialize to JSON" />
*23% Faster than Binary* <code><em>.plist</em></code>*&thinsp;!* | *549% Faster than Binary* <code><em>.plist</em></code>*&thinsp;!*
* Benchmarking was performed on a MacBook Pro with a 2.66GHz Core 2.
* All JSON libraries were compiled with `gcc-4.2 -DNS_BLOCK_ASSERTIONS -O3 -arch x86_64`.
* Timing results are the average of 1,000 iterations of the user + system time reported by [`getrusage`][getrusage].
* The JSON used was [`twitter_public_timeline.json`](https://github.com/samsoffes/json-benchmarks/blob/master/Resources/twitter_public_timeline.json) from [samsoffes / json-benchmarks](https://github.com/samsoffes/json-benchmarks).
* Since the `.plist` format does not support serializing [`NSNull`][NSNull], the `null` values in the original JSON were changed to `"null"`.
* The [experimental](https://github.com/johnezang/JSONKit/tree/experimental) branch contains the `gzip` compression changes.
* JSONKit automagically links to `libz.dylib` on the fly at run time&ndash; no manual linking required.
* Parsing / deserializing will automagically decompress a buffer if it detects a `gzip` signature header.
* You can compress / `gzip` the serialized JSON by passing `JKSerializeOptionCompress` to `-JSONDataWithOptions:error:`.
[JSON versus PLIST, the Ultimate Showdown](http://www.cocoanetics.com/2011/03/json-versus-plist-the-ultimate-showdown/) benchmarks the common JSON libraries and compares them to Apples `.plist` format.
***
JavaScript Object Notation, or [JSON][], is a lightweight, text-based, serialization format for structured data that is used by many web-based services and API's. It is defined by [RFC 4627][].
JSON provides the following primitive types:
* `null`
* Boolean `true` and `false`
* Number
* String
* Array
* Object (a.k.a. Associative Arrays, Key / Value Hash Tables, Maps, Dictionaries, etc.)
These primitive types are mapped to the following Objective-C Foundation classes:
JSON | Objective-C
-------------------|-------------
`null` | [`NSNull`][NSNull]
`true` and `false` | [`NSNumber`][NSNumber]
Number | [`NSNumber`][NSNumber]
String | [`NSString`][NSString]
Array | [`NSArray`][NSArray]
Object | [`NSDictionary`][NSDictionary]
JSONKit uses Core Foundation internally, and it is assumed that Core Foundation &equiv; Foundation for every equivalent base type, i.e. [`CFString`][CFString] &equiv; [`NSString`][NSString].
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC 2119][].
### JSON To Objective-C Primitive Mapping Details
* The [JSON specification][RFC 4627] is somewhat ambiguous about the details and requirements when it comes to Unicode, and it does not specify how Unicode issues and errors should be handled. Most of the ambiguity stems from the interpretation and scope [RFC 4627][] Section 3, Encoding: `JSON text SHALL be encoded in Unicode.` It is the authors opinion and interpretation that the language of [RFC 4627][] requires that a JSON implementation MUST follow the requirements specified in the [Unicode Standard][], and in particular the [Conformance][Unicode Standard - Conformance] chapter of the [Unicode Standard][], which specifies requirements related to handling, interpreting, and manipulating Unicode text.
The default behavior for JSONKit is strict [RFC 4627][] conformance. It is the authors opinion and interpretation that [RFC 4627][] requires JSON to be encoded in Unicode, and therefore JSON that is not legal Unicode as defined by the [Unicode Standard][] is invalid JSON. Therefore, JSONKit will not accept JSON that contains ill-formed Unicode. The default, strict behavior implies that the `JKParseOptionLooseUnicode` option is not enabled.
When the `JKParseOptionLooseUnicode` option is enabled, JSONKit follows the specifications and recommendations given in [The Unicode 6.0 standard, Chapter 3 - Conformance][Unicode Standard - Conformance], section 3.9 *Unicode Encoding Forms*. As a general rule of thumb, the Unicode code point `U+FFFD` is substituted for any ill-formed Unicode encountered. JSONKit attempts to follow the recommended *Best Practice for Using U+FFFD*: ***Replace each maximal subpart of an ill-formed subsequence by a single U+FFFD.***
The following Unicode code points are treated as ill-formed Unicode, and if `JKParseOptionLooseUnicode` is enabled, cause `U+FFFD` to be substituted in their place:
`U+0000`.<br>
`U+D800` thru `U+DFFF`, inclusive.<br>
`U+FDD0` thru `U+FDEF`, inclusive.<br>
<code>U+<i>n</i>FFFE</code> and <code>U+<i>n</i>FFFF</code>, where *n* is from `0x0` to `0x10`
The code points `U+FDD0` thru `U+FDEF`, <code>U+<i>n</i>FFFE</code>, and <code>U+<i>n</i>FFFF</code> (where *n* is from `0x0` to `0x10`), are defined as ***Noncharacters*** by the Unicode standard and "should never be interchanged".
An exception is made for the code point `U+0000`, which is legal Unicode. The reason for this is that this particular code point is used by C string handling code to specify the end of the string, and any such string handling code will incorrectly stop processing a string at the point where `U+0000` occurs. Although reasonable people may have different opinions on this point, it is the authors considered opinion that the risks of permitting JSON Strings that contain `U+0000` outweigh the benefits. One of the risks in allowing `U+0000` to appear unaltered in a string is that it has the potential to create security problems by subtly altering the semantics of the string which can then be exploited by a malicious attacker. This is similar to the issue of [arbitrarily deleting characters from Unicode text][Unicode_UTR36_Deleting].
[RFC 4627][] allows for these limitations under section 4, Parsers: `An implementation may set limits on the length and character contents of strings.` While the [Unicode Standard][] permits the mutation of the original JSON (i.e., substituting `U+FFFD` for ill-formed Unicode), [RFC 4627][] is silent on this issue. It is the authors opinion and interpretation that [RFC 4627][], section 3 &ndash; *Encoding*, `JSON text SHALL be encoded in Unicode.` implies that such mutations are not only permitted but MUST be expected by any strictly conforming [RFC 4627][] JSON implementation. The author feels obligated to note that this opinion and interpretation may not be shared by others and, in fact, may be a minority opinion and interpretation. You should be aware that any mutation of the original JSON may subtly alter its semantics and, as a result, may have security related implications for anything that consumes the final result.
It is important to note that JSONKit will not delete characters from the JSON being parsed as this is a [requirement specified by the Unicode Standard][Unicode_UTR36_Deleting]. Additional information can be found in the [Unicode Security FAQ][Unicode_Security_FAQ] and [Unicode Technical Report #36 - Unicode Security Consideration][Unicode_UTR36], in particular the section on [non-visual security][Unicode_UTR36_NonVisualSecurity].
* The [JSON specification][RFC 4627] does not specify the details or requirements for JSON String values, other than such strings must consist of Unicode code points, nor does it specify how errors should be handled. While JSONKit makes an effort (subject to the reasonable caveats above regarding Unicode) to preserve the parsed JSON String exactly, it can not guarantee that [`NSString`][NSString] will preserve the exact Unicode semantics of the original JSON String.
JSONKit does not perform any form of Unicode Normalization on the parsed JSON Strings, but can not make any guarantees that the [`NSString`][NSString] class will not perform Unicode Normalization on the parsed JSON String used to instantiate the [`NSString`][NSString] object. The [`NSString`][NSString] class may place additional restrictions or otherwise transform the JSON String in such a way so that the JSON String is not bijective with the instantiated [`NSString`][NSString] object. In other words, JSONKit can not guarantee that when you round trip a JSON String to a [`NSString`][NSString] and then back to a JSON String that the two JSON Strings will be exactly the same, even though in practice they are. For clarity, "exactly" in this case means bit for bit identical. JSONKit can not even guarantee that the two JSON Strings will be [Unicode equivalent][Unicode_equivalence], even though in practice they will be and would be the most likely cause for the two round tripped JSON Strings to no longer be bit for bit identical.
* JSONKit maps `true` and `false` to the [`CFBoolean`][CFBoolean] values [`kCFBooleanTrue`][kCFBooleanTrue] and [`kCFBooleanFalse`][kCFBooleanFalse], respectively. Conceptually, [`CFBoolean`][CFBoolean] values can be thought of, and treated as, [`NSNumber`][NSNumber] class objects. The benefit to using [`CFBoolean`][CFBoolean] is that `true` and `false` JSON values can be round trip deserialized and serialized without conversion or promotion to a [`NSNumber`][NSNumber] with a value of `0` or `1`.
* The [JSON specification][RFC 4627] does not specify the details or requirements for JSON Number values, nor does it specify how errors due to conversion should be handled. In general, JSONKit will not accept JSON that contains JSON Number values that it can not convert with out error or loss of precision.
For non-floating-point numbers (i.e., JSON Number values that do not include a `.` or `e|E`), JSONKit uses a 64-bit C primitive type internally, regardless of whether the target architecture is 32-bit or 64-bit. For unsigned values (i.e., those that do not begin with a `-`), this allows for values up to <code>2<sup>64</sup>-1</code> and up to <code>-2<sup>63</sup></code> for negative values. As a special case, the JSON Number `-0` is treated as a floating-point number since the underlying floating-point primitive type is capable of representing a negative zero, whereas the underlying twos-complement non-floating-point primitive type can not. JSON that contains Number values that exceed these limits will fail to parse and optionally return a [`NSError`][NSError] object. The functions [`strtoll()`][strtoll] and [`strtoull()`][strtoull] are used to perform the conversions.
The C `double` primitive type, or [IEEE 754 Double 64-bit floating-point][Double Precision], is used to represent floating-point JSON Number values. JSON that contains floating-point Number values that can not be represented as a `double` (i.e., due to over or underflow) will fail to parse and optionally return a [`NSError`][NSError] object. The function [`strtod()`][strtod] is used to perform the conversion. Note that the JSON standard does not allow for infinities or `NaN` (Not a Number). The conversion and manipulation of [floating-point values is non-trivial](http://www.validlab.com/goldberg/paper.pdf). Unfortunately, [RFC 4627][] is silent on how such details should be handled. You should not depend on or expect that when a floating-point value is round tripped that it will have the same textual representation or even compare equal. This is true even when JSONKit is used as both the parser and creator of the JSON, let alone when transferring JSON between different systems and implementations.
* For JSON Objects (or [`NSDictionary`][NSDictionary] in JSONKit nomenclature), [RFC 4627][] says `The names within an object SHOULD be unique` (note: `name` is a `key` in JSONKit nomenclature). At this time the JSONKit behavior is `undefined` for JSON that contains names within an object that are not unique. However, JSONKit currently tries to follow a "the last key / value pair parsed is the one chosen" policy. This behavior is not finalized and should not be depended on.
The previously covered limitations regarding JSON Strings have important consequences for JSON Objects since JSON Strings are used as the `key`. The [JSON specification][RFC 4627] does not specify the details or requirements for JSON Strings used as `keys` in JSON Objects, specifically what it means for two `keys` to compare equal. Unfortunately, because [RFC 4627][] states `JSON text SHALL be encoded in Unicode.`, this means that one must use the [Unicode Standard][] to interpret the JSON, and the [Unicode Standard][] allows for strings that are encoded with different Unicode Code Points to "compare equal". JSONKit uses [`NSString`][NSString] exclusively to manage the parsed JSON Strings. Because [`NSString`][NSString] uses [Unicode][Unicode Standard] as its basis, there exists the possibility that [`NSString`][NSString] may subtly and silently convert the Unicode Code Points contained in the original JSON String in to a [Unicode equivalent][Unicode_equivalence] string. Due to this, the JSONKit behavior for JSON Strings used as `keys` in JSON Objects that may be [Unicode equivalent][Unicode_equivalence] but not binary equivalent is `undefined`.
**See also:**<br />
&nbsp;&nbsp;&nbsp;&nbsp;[W3C - Requirements for String Identity Matching and String Indexing](http://www.w3.org/TR/charreq/#sec2)
### Objective-C To JSON Primitive Mapping Details
* When serializing, the top level container, and all of its children, are required to be *strictly* [invariant][wiki_invariant] during enumeration. This property is used to make certain optimizations, such as if a particular object has already been serialized, the result of the previous serialized `UTF8` string can be reused (i.e., the `UTF8` string of the previous serialization can simply be copied instead of performing all the serialization work again). While this is probably only of interest to those who are doing extraordinarily unusual things with the run-time or custom classes inheriting from the classes that JSONKit will serialize (i.e, a custom object whose value mutates each time it receives a message requesting its value for serialization), it also covers the case where any of the objects to be serialized are mutated during enumeration (i.e., mutated by another thread). The number of times JSONKit will request an objects value is non-deterministic, from a minimum of once up to the number of times it appears in the serialized JSON&ndash; therefore an object MUST NOT depend on receiving a message requesting its value each time it appears in the serialized output. The behavior is `undefined` if these requirements are violated.
* The objects to be serialized MUST be acyclic. If the objects to be serialized contain circular references the behavior is `undefined`. For example,
```objective-c
[arrayOne addObject:arrayTwo];
[arrayTwo addObject:arrayOne];
id json = [arrayOne JSONString];
```
&hellip; will result in `undefined` behavior.
* The contents of [`NSString`][NSString] objects are encoded as `UTF8` and added to the serialized JSON. JSONKit assumes that [`NSString`][NSString] produces well-formed `UTF8` Unicode and does no additional validation of the conversion. When `JKSerializeOptionEscapeUnicode` is enabled, JSONKit will encode Unicode code points that can be encoded as a single `UTF16` code unit as <code>\u<i>XXXX</i></code>, and will encode Unicode code points that require `UTF16` surrogate pairs as <code>\u<i>high</i>\u<i>low</i></code>. While JSONKit makes every effort to serialize the contents of a [`NSString`][NSString] object exactly, modulo any [RFC 4627][] requirements, the [`NSString`][NSString] class uses the [Unicode Standard][] as its basis for representing strings. You should be aware that the [Unicode Standard][] defines [string equivalence][Unicode_equivalence] in a such a way that two strings that compare equal are not required to be bit for bit identical. Therefore there exists the possibility that [`NSString`][NSString] may mutate a string in such a way that it is [Unicode equivalent][Unicode_equivalence], but not bit for bit identical with the original string.
* The [`NSDictionary`][NSDictionary] class allows for any object, which can be of any class, to be used as a `key`. JSON, however, only permits Strings to be used as `keys`. Therefore JSONKit will fail with an error if it encounters a [`NSDictionary`][NSDictionary] that contains keys that are not [`NSString`][NSString] objects during serialization. More specifically, the keys must return `YES` when sent [`-isKindOfClass:[NSString class]`][-isKindOfClass:].
* JSONKit will fail with an error if it encounters an object that is not a [`NSNull`][NSNull], [`NSNumber`][NSNumber], [`NSString`][NSString], [`NSArray`][NSArray], or [`NSDictionary`][NSDictionary] class object during serialization. More specifically, JSONKit will fail with an error if it encounters an object where [`-isKindOfClass:`][-isKindOfClass:] returns `NO` for all of the previously mentioned classes.
* JSON does not allow for Numbers that are <code>&plusmn;Infinity</code> or <code>&plusmn;NaN</code>. Therefore JSONKit will fail with an error if it encounters a [`NSNumber`][NSNumber] that contains such a value during serialization.
* Objects created with [`[NSNumber numberWithBool:YES]`][NSNumber_numberWithBool] and [`[NSNumber numberWithBool:NO]`][NSNumber_numberWithBool] will be mapped to the JSON values of `true` and `false`, respectively. More specifically, an object must have pointer equality with [`kCFBooleanTrue`][kCFBooleanTrue] or [`kCFBooleanFalse`][kCFBooleanFalse] (i.e., `if((id)object == (id)kCFBooleanTrue)`) in order to be mapped to the JSON values `true` and `false`.
* [`NSNumber`][NSNumber] objects that are not booleans (as defined above) are sent [`-objCType`][-objCType] to determine what type of C primitive type they represent. Those that respond with a type from the set `cislq` are treated as `long long`, those that respond with a type from the set `CISLQB` are treated as `unsigned long long`, and those that respond with a type from the set `fd` are treated as `double`. [`NSNumber`][NSNumber] objects that respond with a type not in the set of types mentioned will cause JSONKit to fail with an error.
More specifically, [`CFNumberGetValue(object, kCFNumberLongLongType, &longLong)`][CFNumberGetValue] is used to retrieve the value of both the signed and unsigned integer values, and the type reported by [`-objCType`][-objCType] is used to determine whether the result is signed or unsigned. For floating-point values, [`CFNumberGetValue`][CFNumberGetValue] is used to retrieve the value using [`kCFNumberDoubleType`][kCFNumberDoubleType] for the type argument.
Floating-point numbers are converted to their decimal representation using the [`printf`][printf] format conversion specifier `%.17g`. Theoretically this allows up to a `float`, or [IEEE 754 Single 32-bit floating-point][Single Precision], worth of precision to be represented. This means that for practical purposes, `double` values are converted to `float` values with the associated loss of precision. The [RFC 4627][] standard is silent on how floating-point numbers should be dealt with and the author has found that real world JSON implementations vary wildly in how they handle this issue. Furthermore, the `%g` format conversion specifier may convert floating-point values that can be exactly represented as an integer to a textual representation that does not include a `.` or `e`&ndash; essentially silently promoting a floating-point value to an integer value (i.e, `5.0` becomes `5`). Because of these and many other issues surrounding the conversion and manipulation of floating-point values, you should not expect or depend on floating point values to maintain their full precision, or when round tripped, to compare equal.
### Reporting Bugs
Please use the [github.com JSONKit Issue Tracker](https://github.com/johnezang/JSONKit/issues) to report bugs.
The author requests that you do not file a bug report with JSONKit regarding problems reported by the `clang` static analyzer unless you first manually verify that it is an actual, bona-fide problem with JSONKit and, if appropriate, is not "legal" C code as defined by the C99 language specification. If the `clang` static analyzer is reporting a problem with JSONKit that is not an actual, bona-fide problem and is perfectly legal code as defined by the C99 language specification, then the appropriate place to file a bug report or complaint is with the developers of the `clang` static analyzer.
### Important Details
* JSONKit is not designed to be used with the Mac OS X Garbage Collection. The behavior of JSONKit when compiled with `-fobjc-gc` is `undefined`. It is extremely unlikely that Mac OS X Garbage Collection will ever be supported.
* JSONKit is not designed to be used with [Objective-C Automatic Reference Counting (ARC)][ARC]. The behavior of JSONKit when compiled with `-fobjc-arc` is `undefined`. The behavior of JSONKit compiled without [ARC][] mixed with code that has been compiled with [ARC][] is normatively `undefined` since at this time no analysis has been done to understand if this configuration is safe to use. At this time, there are no plans to support [ARC][] in JSONKit. Although tenative, it is extremely unlikely that [ARC][] will ever be supported, for many of the same reasons that Mac OS X Garbage Collection is not supported.
* The JSON to be parsed by JSONKit MUST be encoded as Unicode. In the unlikely event you end up with JSON that is not encoded as Unicode, you must first convert the JSON to Unicode, preferably as `UTF8`. One way to accomplish this is with the [`NSString`][NSString] methods [`-initWithBytes:length:encoding:`][NSString_initWithBytes] and [`-initWithData:encoding:`][NSString_initWithData].
* Internally, the low level parsing engine uses `UTF8` exclusively. The `JSONDecoder` method `-objectWithData:` takes a [`NSData`][NSData] object as its argument and it is assumed that the raw bytes contained in the [`NSData`][NSData] is `UTF8` encoded, otherwise the behavior is `undefined`.
* It is not safe to use the same instantiated `JSONDecoder` object from multiple threads at the same time. If you wish to share a `JSONDecoder` between threads, you are responsible for adding mutex barriers to ensure that only one thread is decoding JSON using the shared `JSONDecoder` object at a time.
### Tips for speed
* Enable the `NS_BLOCK_ASSERTIONS` pre-processor flag. JSONKit makes heavy use of [`NSCParameterAssert()`][NSCParameterAssert] internally to ensure that various arguments, variables, and other state contains only legal and expected values. If an assertion check fails it causes a run time exception that will normally cause a program to terminate. These checks and assertions come with a price: they take time to execute and do not contribute to the work being performed. It is perfectly safe to enable `NS_BLOCK_ASSERTIONS` as JSONKit always performs checks that are required for correct operation. The checks performed with [`NSCParameterAssert()`][NSCParameterAssert] are completely optional and are meant to be used in "debug" builds where extra integrity checks are usually desired. While your mileage may vary, the author has found that adding `-DNS_BLOCK_ASSERTIONS` to an `-O2` optimization setting can generally result in an approximate <span style="white-space: nowrap;">7-12%</span> increase in performance.
* Since the very low level parsing engine works exclusively with `UTF8` byte streams, anything that is not already encoded as `UTF8` must first be converted to `UTF8`. While JSONKit provides additions to the [`NSString`][NSString] class which allows you to conveniently convert JSON contained in a [`NSString`][NSString], this convenience does come with a price. JSONKit must allocate an autoreleased [`NSMutableData`][NSMutableData] large enough to hold the strings `UTF8` conversion and then convert the string to `UTF8` before it can begin parsing. This takes both memory and time. Once the parsing has finished, JSONKit sets the autoreleased [`NSMutableData`][NSMutableData] length to `0`, which allows the [`NSMutableData`][NSMutableData] to release the memory. This helps to minimize the amount of memory that is in use but unavailable until the autorelease pool pops. Therefore, if speed and memory usage are a priority, you should avoid using the [`NSString`][NSString] convenience methods if possible.
* If you are receiving JSON data from a web server, and you are able to determine that the raw bytes returned by the web server is JSON encoded as `UTF8`, you should use the `JSONDecoder` method `-objectWithUTF8String:length:` which immediately begins parsing the pointers bytes. In practice, every JSONKit method that converts JSON to an Objective-C object eventually calls this method to perform the conversion.
* If you are using one of the various ways provided by the `NSURL` family of classes to receive JSON results from a web server, which typically return the results in the form of a [`NSData`][NSData] object, and you are able to determine that the raw bytes contained in the [`NSData`][NSData] are encoded as `UTF8`, then you should use either the `JSONDecoder` method `objectWithData:` or the [`NSData`][NSData] method `-objectFromJSONData`. If are going to be converting a lot of JSON, the better choice is to instantiate a `JSONDecoder` object once and use the same instantiated object to perform all your conversions. This has two benefits:
1. The [`NSData`][NSData] method `-objectFromJSONData` creates an autoreleased `JSONDecoder` object to perform the one time conversion. By instantiating a `JSONDecoder` object once and using the `objectWithData:` method repeatedly, you can avoid this overhead.
2. The instantiated object cache from the previous JSON conversion is reused. This can result in both better performance and a reduction in memory usage if the JSON your are converting is very similar. A typical example might be if you are converting JSON at periodic intervals that consists of real time status updates.
* On average, the <code>JSONData&hellip;</code> methods are nearly four times faster than the <code>JSONString&hellip;</code> methods when serializing a [`NSDictionary`][NSDictionary] or [`NSArray`][NSArray] to JSON. The difference in speed is due entirely to the instantiation overhead of [`NSString`][NSString].
* If at all possible, use [`NSData`][NSData] instead of [`NSString`][NSString] methods when processing JSON. This avoids the sometimes significant conversion overhead that [`NSString`][NSString] performs in order to provide an object oriented interface for its contents. For many uses, using [`NSString`][NSString] is not needed and results in wasted effort&ndash; for example, using JSONKit to serialize a [`NSDictionary`][NSDictionary] or [`NSArray`][NSArray] to a [`NSString`][NSString]. This [`NSString`][NSString] is then passed to a method that sends the JSON to a web server, and this invariably requires converting the [`NSString`][NSString] to [`NSData`][NSData] before it can be sent. In this case, serializing the collection object directly to [`NSData`][NSData] would avoid the unnecessary conversions to and from a [`NSString`][NSString] object.
### Parsing Interface
#### JSONDecoder Interface
The <code>objectWith&hellip;</code> methods return immutable collection objects and their respective <code>mutableObjectWith&hellip;</code> methods return mutable collection objects.
**Note:** The bytes contained in a [`NSData`][NSData] object ***MUST*** be `UTF8` encoded.
**Important:** Methods will raise [`NSInvalidArgumentException`][NSInvalidArgumentException] if `parseOptionFlags` is not valid.
**Important:** `objectWithUTF8String:` and `mutableObjectWithUTF8String:` will raise [`NSInvalidArgumentException`][NSInvalidArgumentException] if `string` is `NULL`.
**Important:** `objectWithData:` and `mutableObjectWithData:` will raise [`NSInvalidArgumentException`][NSInvalidArgumentException] if `jsonData` is `NULL`.
```objective-c
+ (id)decoder;
+ (id)decoderWithParseOptions:(JKParseOptionFlags)parseOptionFlags;
- (id)initWithParseOptions:(JKParseOptionFlags)parseOptionFlags;
- (void)clearCache;
- (id)objectWithUTF8String:(const unsigned char *)string length:(size_t)length;
- (id)objectWithUTF8String:(const unsigned char *)string length:(size_t)length error:(NSError **)error;
- (id)mutableObjectWithUTF8String:(const unsigned char *)string length:(size_t)length;
- (id)mutableObjectWithUTF8String:(const unsigned char *)string length:(size_t)length error:(NSError **)error;
- (id)objectWithData:(NSData *)jsonData;
- (id)objectWithData:(NSData *)jsonData error:(NSError **)error;
- (id)mutableObjectWithData:(NSData *)jsonData;
- (id)mutableObjectWithData:(NSData *)jsonData error:(NSError **)error;
```
#### NSString Interface
```objective-c
- (id)objectFromJSONString;
- (id)objectFromJSONStringWithParseOptions:(JKParseOptionFlags)parseOptionFlags;
- (id)objectFromJSONStringWithParseOptions:(JKParseOptionFlags)parseOptionFlags error:(NSError **)error;
- (id)mutableObjectFromJSONString;
- (id)mutableObjectFromJSONStringWithParseOptions:(JKParseOptionFlags)parseOptionFlags;
- (id)mutableObjectFromJSONStringWithParseOptions:(JKParseOptionFlags)parseOptionFlags error:(NSError **)error;
```
#### NSData Interface
```objective-c
- (id)objectFromJSONData;
- (id)objectFromJSONDataWithParseOptions:(JKParseOptionFlags)parseOptionFlags;
- (id)objectFromJSONDataWithParseOptions:(JKParseOptionFlags)parseOptionFlags error:(NSError **)error;
- (id)mutableObjectFromJSONData;
- (id)mutableObjectFromJSONDataWithParseOptions:(JKParseOptionFlags)parseOptionFlags;
- (id)mutableObjectFromJSONDataWithParseOptions:(JKParseOptionFlags)parseOptionFlags error:(NSError **)error;
```
#### JKParseOptionFlags
<table>
<tr><th>Parsing Option</th><th>Description</th></tr>
<tr><td valign="top"><code>JKParseOptionNone</code></td><td>This is the default if no other other parse option flags are specified, and the option used when a convenience method does not provide an argument for explicitly specifying the parse options to use. Synonymous with <code>JKParseOptionStrict</code>.</td></tr>
<tr><td valign="top"><code>JKParseOptionStrict</code></td><td>The JSON will be parsed in strict accordance with the <a href="http://tools.ietf.org/html/rfc4627">RFC 4627</a> specification.</td></tr>
<tr><td valign="top"><code>JKParseOptionComments</code></td><td>Allow C style <code>//</code> and <code>/* &hellip; */</code> comments in JSON. This is a fairly common extension to JSON, but JSON that contains C style comments is not strictly conforming JSON.</td></tr>
<tr><td valign="top"><code>JKParseOptionUnicodeNewlines</code></td><td>Allow Unicode recommended <code>(?:\r\n|[\n\v\f\r\x85\p{Zl}\p{Zp}])</code> newlines in JSON. The <a href="http://tools.ietf.org/html/rfc4627">JSON specification</a> only allows the newline characters <code>\r</code> and <code>\n</code>, but this option allows JSON that contains the <a href="http://en.wikipedia.org/wiki/Newline#Unicode">Unicode recommended newline characters</a> to be parsed. JSON that contains these additional newline characters is not strictly conforming JSON.</td></tr>
<tr><td valign="top"><code>JKParseOptionLooseUnicode</code></td><td>Normally the decoder will stop with an error at any malformed Unicode. This option allows JSON with malformed Unicode to be parsed without reporting an error. Any malformed Unicode is replaced with <code>\uFFFD</code>, or <code>REPLACEMENT CHARACTER</code>, as specified in <a href="http://www.unicode.org/versions/Unicode6.0.0/ch03.pdf">The Unicode 6.0 standard, Chapter 3</a>, section 3.9 <em>Unicode Encoding Forms</em>.</td></tr>
<tr><td valign="top"><code>JKParseOptionPermitTextAfterValidJSON</code></td><td>Normally, <code>non-white-space</code> that follows the JSON is interpreted as a parsing failure. This option allows for any trailing <code>non-white-space</code> to be ignored and not cause a parsing error.</td></tr>
</table>
### Serializing Interface
The serializing interface includes [`NSString`][NSString] convenience methods for those that need to serialize a single [`NSString`][NSString]. For those that need this functionality, the [`NSString`][NSString] additions are much more convenient than having to wrap a single [`NSString`][NSString] in a [`NSArray`][NSArray], which then requires stripping the unneeded `[`&hellip;`]` characters from the serialized JSON result. When serializing a single [`NSString`][NSString], you can control whether or not the serialized JSON result is surrounded by quotation marks using the `includeQuotes:` argument:
Example | Result | Argument
--------------|-------------------|--------------------
`a "test"...` | `"a \"test\"..."` | `includeQuotes:YES`
`a "test"...` | `a \"test\"...` | `includeQuotes:NO`
**Note:** The [`NSString`][NSString] methods that do not include a `includeQuotes:` argument behave as if invoked with `includeQuotes:YES`.
**Note:** The bytes contained in the returned [`NSData`][NSData] object are `UTF8` encoded.
#### NSArray and NSDictionary Interface
```objective-c
- (NSData *)JSONData;
- (NSData *)JSONDataWithOptions:(JKSerializeOptionFlags)serializeOptions error:(NSError **)error;
- (NSString *)JSONString;
- (NSString *)JSONStringWithOptions:(JKSerializeOptionFlags)serializeOptions error:(NSError **)error;
```
#### NSString Interface
```objective-c
- (NSData *)JSONData;
- (NSData *)JSONDataWithOptions:(JKSerializeOptionFlags)serializeOptions includeQuotes:(BOOL)includeQuotes error:(NSError **)error;
- (NSString *)JSONString;
- (NSString *)JSONStringWithOptions:(JKSerializeOptionFlags)serializeOptions includeQuotes:(BOOL)includeQuotes error:(NSError **)error;
```
#### JKSerializeOptionFlags
<table>
<tr><th>Serializing Option</th><th>Description</th></tr>
<tr><td valign="top"><code>JKSerializeOptionNone</code></td><td>This is the default if no other other serialize option flags are specified, and the option used when a convenience method does not provide an argument for explicitly specifying the serialize options to use.</td></tr>
<tr><td valign="top"><code>JKSerializeOptionPretty</code></td><td>Normally the serialized JSON does not include any unnecessary <code>white-space</code>. While this form is the most compact, the lack of any <code>white-space</code> means that it's something only another JSON parser could love. Enabling this option causes JSONKit to add additional <code>white-space</code> that makes it easier for people to read. Other than the extra <code>white-space</code>, the serialized JSON is identical to the JSON that would have been produced had this option not been enabled.</td></tr>
<tr><td valign="top"><code>JKSerializeOptionEscapeUnicode</code></td><td>When JSONKit encounters Unicode characters in <a href="http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/index.html"><code>NSString</code></a> objects, the default behavior is to encode those Unicode characters as <code>UTF8</code>. This option causes JSONKit to encode those characters as <code>\u<i>XXXX</i></code>. For example,<br/><code>["w&isin;L&#10234;y(&#8739;y&#8739;&le;&#8739;w&#8739;)"]</code><br/>becomes:<br/><code>["w\u2208L\u27fa\u2203y(\u2223y\u2223\u2264\u2223w\u2223)"]</code></td></tr>
<tr><td valign="top"><code>JKSerializeOptionEscapeForwardSlashes</code></td><td>According to the <a href="http://tools.ietf.org/html/rfc4627">JSON specification</a>, the <code>/</code> (<code>U+002F</code>) character may be backslash escaped (i.e., <code>\/</code>), but it is not required. The default behavior of JSONKit is to <b><i>not</i></b> backslash escape the <code>/</code> character. Unfortunately, it was found some real world implementations of the <a href="http://weblogs.asp.net/bleroy/archive/2008/01/18/dates-and-json.aspx">ASP.NET Date Format</a> require the date to be <i>strictly</i> encoded as <code>\/Date(...)\/</code>, and the only way to achieve this is through the use of <code>JKSerializeOptionEscapeForwardSlashes</code>. See <a href="https://github.com/johnezang/JSONKit/issues/21">github issue #21</a> for more information.</td></tr>
</table>
[JSON]: http://www.json.org/
[RFC 4627]: http://tools.ietf.org/html/rfc4627
[RFC 2119]: http://tools.ietf.org/html/rfc2119
[Single Precision]: http://en.wikipedia.org/wiki/Single_precision_floating-point_format
[Double Precision]: http://en.wikipedia.org/wiki/Double_precision_floating-point_format
[wiki_invariant]: http://en.wikipedia.org/wiki/Invariant_(computer_science)
[ARC]: http://clang.llvm.org/docs/AutomaticReferenceCounting.html
[CFBoolean]: http://developer.apple.com/mac/library/documentation/CoreFoundation/Reference/CFBooleanRef/index.html
[kCFBooleanTrue]: http://developer.apple.com/mac/library/documentation/CoreFoundation/Reference/CFBooleanRef/Reference/reference.html#//apple_ref/doc/c_ref/kCFBooleanTrue
[kCFBooleanFalse]: http://developer.apple.com/mac/library/documentation/CoreFoundation/Reference/CFBooleanRef/Reference/reference.html#//apple_ref/doc/c_ref/kCFBooleanFalse
[kCFNumberDoubleType]: http://developer.apple.com/library/mac/documentation/CoreFoundation/Reference/CFNumberRef/Reference/reference.html#//apple_ref/doc/c_ref/kCFNumberDoubleType
[CFNumberGetValue]: http://developer.apple.com/library/mac/documentation/CoreFoundation/Reference/CFNumberRef/Reference/reference.html#//apple_ref/c/func/CFNumberGetValue
[Unicode Standard]: http://www.unicode.org/versions/Unicode6.0.0/
[Unicode Standard - Conformance]: http://www.unicode.org/versions/Unicode6.0.0/ch03.pdf
[Unicode_equivalence]: http://en.wikipedia.org/wiki/Unicode_equivalence
[UnicodeNewline]: http://en.wikipedia.org/wiki/Newline#Unicode
[Unicode_UTR36]: http://www.unicode.org/reports/tr36/
[Unicode_UTR36_NonVisualSecurity]: http://www.unicode.org/reports/tr36/#Canonical_Represenation
[Unicode_UTR36_Deleting]: http://www.unicode.org/reports/tr36/#Deletion_of_Noncharacters
[Unicode_Security_FAQ]: http://www.unicode.org/faq/security.html
[NSNull]: http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Classes/NSNull_Class/index.html
[NSNumber]: http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Classes/NSNumber_Class/index.html
[NSNumber_numberWithBool]: http://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSNumber_Class/Reference/Reference.html#//apple_ref/occ/clm/NSNumber/numberWithBool:
[NSString]: http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/index.html
[NSString_initWithBytes]: http://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html#//apple_ref/occ/instm/NSString/initWithBytes:length:encoding:
[NSString_initWithData]: http://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html#//apple_ref/occ/instm/NSString/initWithData:encoding:
[NSString_UTF8String]: http://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html#//apple_ref/occ/instm/NSString/UTF8String
[NSArray]: http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/index.html
[NSDictionary]: http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Classes/NSDictionary_Class/index.html
[NSError]: http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Classes/NSError_Class/index.html
[NSData]: http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Classes/NSData_Class/index.html
[NSMutableData]: http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Classes/NSMutableData_Class/index.html
[NSInvalidArgumentException]: http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_Constants/Reference/reference.html#//apple_ref/doc/c_ref/NSInvalidArgumentException
[CFString]: http://developer.apple.com/library/mac/#documentation/CoreFoundation/Reference/CFStringRef/Reference/reference.html
[NSCParameterAssert]: http://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_Functions/Reference/reference.html#//apple_ref/c/macro/NSCParameterAssert
[-mutableCopy]: http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html%23//apple_ref/occ/instm/NSObject/mutableCopy
[-isKindOfClass:]: http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Protocols/NSObject_Protocol/Reference/NSObject.html%23//apple_ref/occ/intfm/NSObject/isKindOfClass:
[-objCType]: http://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSNumber_Class/Reference/Reference.html#//apple_ref/occ/instm/NSNumber/objCType
[strtoll]: http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man3/strtoll.3.html
[strtod]: http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man3/strtod.3.html
[strtoull]: http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man3/strtoull.3.html
[getrusage]: http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man2/getrusage.2.html
[printf]: http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man3/printf.3.html
[NSJSONSerialization]: http://developer.apple.com/library/ios/#documentation/Foundation/Reference/NSJSONSerialization_Class/Reference/Reference.html
# Acknowledgements
This application makes use of the following third party libraries:
## Reachability
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.
Generated by CocoaPods - http://cocoapods.org
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>FooterText</key>
<string>This application makes use of the following third party libraries:</string>
<key>Title</key>
<string>Acknowledgements</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>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.
</string>
<key>Title</key>
<string>Reachability</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Generated by CocoaPods - http://cocoapods.org</string>
<key>Title</key>
<string></string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
</array>
<key>StringsTable</key>
<string>Acknowledgements</string>
<key>Title</key>
<string>Acknowledgements</string>
</dict>
</plist>
# Acknowledgements
This application makes use of the following third party libraries:
## Reachability
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.
Generated by CocoaPods - http://cocoapods.org
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>FooterText</key>
<string>This application makes use of the following third party libraries:</string>
<key>Title</key>
<string>Acknowledgements</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>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.
</string>
<key>Title</key>
<string>Reachability</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Generated by CocoaPods - http://cocoapods.org</string>
<key>Title</key>
<string></string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
</array>
<key>StringsTable</key>
<string>Acknowledgements</string>
<key>Title</key>
<string>Acknowledgements</string>
</dict>
</plist>
#!/bin/sh
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*)
echo "cp -R ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
cp -R "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
;;
esac
}
ALWAYS_SEARCH_USER_PATHS = YES
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC -framework SystemConfiguration
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability" "${PODS_ROOT}/BuildHeaders/JSONKit"
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability" "${PODS_ROOT}/Headers/JSONKit"
PODS_ROOT = ${SRCROOT}/Pods
\ No newline at end of file
#!/bin/sh
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*)
echo "cp -R ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
cp -R "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
;;
esac
}
# Acknowledgements
This application makes use of the following third party libraries:
Generated by CocoaPods - http://cocoapods.org
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>FooterText</key>
<string>This application makes use of the following third party libraries:</string>
<key>Title</key>
<string>Acknowledgements</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Generated by CocoaPods - http://cocoapods.org</string>
<key>Title</key>
<string></string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
</array>
<key>StringsTable</key>
<string>Acknowledgements</string>
<key>Title</key>
<string>Acknowledgements</string>
</dict>
</plist>
#!/bin/sh
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*)
echo "cp -R ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
cp -R "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
;;
esac
}
ALWAYS_SEARCH_USER_PATHS = YES
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability" "${PODS_ROOT}/BuildHeaders/JSONKit"
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability" "${PODS_ROOT}/Headers/JSONKit"
PODS_ROOT = ${SRCROOT}/Pods
\ No newline at end of file
ALWAYS_SEARCH_USER_PATHS = YES
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC -framework SystemConfiguration
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability" "${PODS_ROOT}/BuildHeaders/JSONKit"
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability" "${PODS_ROOT}/Headers/JSONKit"
PODS_ROOT = ${SRCROOT}/Pods
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>archiveVersion</key>
<string>1</string>
<key>classes</key>
<dict/>
<key>objectVersion</key>
<string>46</string>
<key>objects</key>
<dict>
<key>008938BEB53A437C9B1473A1</key>
<dict>
<key>buildSettings</key>
<dict/>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>01FF3729334D4B77B218FDF4</key>
<dict>
<key>baseConfigurationReference</key>
<string>F55E6F31C3D04043A3DCA8E0</string>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_32_BIT)</string>
<key>COPY_PHASE_STRIP</key>
<string>YES</string>
<key>DSTROOT</key>
<string>/tmp/xcodeproj.dst</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>Pods-test-prefix.pch</string>
<key>GCC_VERSION</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>GCC_WARN_INHIBIT_ALL_WARNINGS</key>
<string>NO</string>
<key>INSTALL_PATH</key>
<string>$(BUILT_PRODUCTS_DIR)</string>
<key>IPHONEOS_DEPLOYMENT_TARGET</key>
<string>6.0</string>
<key>OTHER_LDFLAGS</key>
<string></string>
<key>PODS_HEADERS_SEARCH_PATHS</key>
<string>${PODS_BUILD_HEADERS_SEARCH_PATHS}</string>
<key>PODS_ROOT</key>
<string>${SRCROOT}</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>PUBLIC_HEADERS_FOLDER_PATH</key>
<string>$(TARGET_NAME)</string>
<key>SDKROOT</key>
<string>iphoneos</string>
<key>SKIP_INSTALL</key>
<string>YES</string>
<key>VALIDATE_PRODUCT</key>
<string>YES</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>04FF8FE443B54A6D80ADE8BC</key>
<dict>
<key>fileRef</key>
<string>57BF6C3D476949608092B0C8</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>05C9397CC5554289A489935E</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>36F13716C89A41EC93EEBFA3</string>
<string>8C1A5707743B42EDABE27B7A</string>
</array>
<key>isa</key>
<string>PBXSourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>0724A2D8925A40B19D65B85E</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>Pods-resources.sh</string>
<key>path</key>
<string>Pods-resources.sh</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>0751E81CDA2E4665BDE9756F</key>
<dict>
<key>children</key>
<array>
<string>F4D077EAE3F94990891CE377</string>
<string>4222F4FD4E3546CA8C046C33</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Reachability</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>0ACE456CC7714AB58356364D</key>
<dict>
<key>children</key>
<array>
<string>6CD28F353E9144498296C83F</string>
<string>A5B2444F85634B2C96E43830</string>
<string>19A16A393012486D86239675</string>
<string>82F8E25548A444F49BAA8F77</string>
<string>73A3513567B24A419489F37C</string>
<string>0F12926800D54203A8DE30DE</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Targets Support Files</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>0C03E39EEB594E71872D6BDC</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>name</key>
<string>JSONKit.h</string>
<key>path</key>
<string>JSONKit/JSONKit.h</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>0C5DD306732F4597A75837E1</key>
<dict>
<key>fileRef</key>
<string>57BF6C3D476949608092B0C8</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>0F12926800D54203A8DE30DE</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>name</key>
<string>PodsDummy_Pods_SampleApp_2.m</string>
<key>path</key>
<string>PodsDummy_Pods_SampleApp_2.m</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>139CD31D066346C996DA7806</key>
<dict>
<key>fileRef</key>
<string>0C03E39EEB594E71872D6BDC</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>16E71A0A6DD44F8EA4432503</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>0C5DD306732F4597A75837E1</string>
</array>
<key>isa</key>
<string>PBXFrameworksBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>19A16A393012486D86239675</key>
<dict>
<key>children</key>
<array>
<string>23B6570677434917A4F641FE</string>
<string>24ECFB33E0CE4C5A9B2D06C9</string>
<string>F55E6F31C3D04043A3DCA8E0</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Pods-test</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>1BE0B3319C7841568A4FAB13</key>
<dict>
<key>baseConfigurationReference</key>
<string>81658C42BDD44C3489DA1F26</string>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_32_BIT)</string>
<key>COPY_PHASE_STRIP</key>
<string>YES</string>
<key>DSTROOT</key>
<string>/tmp/xcodeproj.dst</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>Pods-prefix.pch</string>
<key>GCC_VERSION</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>GCC_WARN_INHIBIT_ALL_WARNINGS</key>
<string>NO</string>
<key>INSTALL_PATH</key>
<string>$(BUILT_PRODUCTS_DIR)</string>
<key>IPHONEOS_DEPLOYMENT_TARGET</key>
<string>6.0</string>
<key>OTHER_LDFLAGS</key>
<string></string>
<key>PODS_HEADERS_SEARCH_PATHS</key>
<string>${PODS_BUILD_HEADERS_SEARCH_PATHS}</string>
<key>PODS_ROOT</key>
<string>${SRCROOT}</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>PUBLIC_HEADERS_FOLDER_PATH</key>
<string>$(TARGET_NAME)</string>
<key>SDKROOT</key>
<string>iphoneos</string>
<key>SKIP_INSTALL</key>
<string>YES</string>
<key>VALIDATE_PRODUCT</key>
<string>YES</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>1C8CECD798604E1A9386D074</key>
<dict>
<key>fileRef</key>
<string>F4D077EAE3F94990891CE377</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>23B6570677434917A4F641FE</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>Pods-test-resources.sh</string>
<key>path</key>
<string>Pods-test-resources.sh</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>24ECFB33E0CE4C5A9B2D06C9</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>Pods-test-prefix.pch</string>
<key>path</key>
<string>Pods-test-prefix.pch</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>313B8D9B25DD443292C2A2DD</key>
<dict>
<key>buildConfigurationList</key>
<string>730CFC955CD746ED81A02094</string>
<key>buildPhases</key>
<array>
<string>D15C39951DF44BD485241B8A</string>
<string>BB8C4C9F189243F5AED6C52B</string>
<string>A639CDAC84144957A8D29428</string>
</array>
<key>buildRules</key>
<array/>
<key>dependencies</key>
<array/>
<key>isa</key>
<string>PBXNativeTarget</string>
<key>name</key>
<string>Pods-SampleApp_2</string>
<key>productName</key>
<string>Pods-SampleApp_2</string>
<key>productReference</key>
<string>DE97A3B8F9F844E1935FCBCF</string>
<key>productType</key>
<string>com.apple.product-type.library.static</string>
</dict>
<key>36C10697ADFF4014988A8F54</key>
<dict>
<key>fileRef</key>
<string>3DA7047DDF864CE199F3F17F</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict>
<key>COMPILER_FLAGS</key>
<string>-Wno-deprecated-objc-isa-usage -Wno-format</string>
</dict>
</dict>
<key>36F13716C89A41EC93EEBFA3</key>
<dict>
<key>fileRef</key>
<string>3DA7047DDF864CE199F3F17F</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict>
<key>COMPILER_FLAGS</key>
<string>-Wno-deprecated-objc-isa-usage -Wno-format</string>
</dict>
</dict>
<key>3BC81E82B1E645D8BF09A45A</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>Pods-prefix.pch</string>
<key>path</key>
<string>Pods-prefix.pch</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>3C20A440E12A453189C694DF</key>
<dict>
<key>baseConfigurationReference</key>
<string>81658C42BDD44C3489DA1F26</string>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_32_BIT)</string>
<key>COPY_PHASE_STRIP</key>
<string>NO</string>
<key>DSTROOT</key>
<string>/tmp/xcodeproj.dst</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_DYNAMIC_NO_PIC</key>
<string>NO</string>
<key>GCC_OPTIMIZATION_LEVEL</key>
<string>0</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>Pods-prefix.pch</string>
<key>GCC_PREPROCESSOR_DEFINITIONS</key>
<array>
<string>DEBUG=1</string>
<string>$(inherited)</string>
</array>
<key>GCC_SYMBOLS_PRIVATE_EXTERN</key>
<string>NO</string>
<key>GCC_VERSION</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>GCC_WARN_INHIBIT_ALL_WARNINGS</key>
<string>NO</string>
<key>INSTALL_PATH</key>
<string>$(BUILT_PRODUCTS_DIR)</string>
<key>IPHONEOS_DEPLOYMENT_TARGET</key>
<string>6.0</string>
<key>OTHER_LDFLAGS</key>
<string></string>
<key>PODS_HEADERS_SEARCH_PATHS</key>
<string>${PODS_BUILD_HEADERS_SEARCH_PATHS}</string>
<key>PODS_ROOT</key>
<string>${SRCROOT}</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>PUBLIC_HEADERS_FOLDER_PATH</key>
<string>$(TARGET_NAME)</string>
<key>SDKROOT</key>
<string>iphoneos</string>
<key>SKIP_INSTALL</key>
<string>YES</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>3DA7047DDF864CE199F3F17F</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>name</key>
<string>JSONKit.m</string>
<key>path</key>
<string>JSONKit/JSONKit.m</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>4222F4FD4E3546CA8C046C33</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>name</key>
<string>Reachability.m</string>
<key>path</key>
<string>Reachability/Reachability.m</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>4473B66A107D4AFA8BC038AF</key>
<dict>
<key>fileRef</key>
<string>F4D077EAE3F94990891CE377</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>46CA4AB2D8D849B389936E54</key>
<dict>
<key>fileRef</key>
<string>0C03E39EEB594E71872D6BDC</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>4BDAE3DE332E48219518211A</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>F37C247472F64E308E1FF1D9</string>
<string>87CF8BA176504E1DB70538E0</string>
</array>
<key>isa</key>
<string>PBXSourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>57BF6C3D476949608092B0C8</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>Foundation.framework</string>
<key>path</key>
<string>Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework</string>
<key>sourceTree</key>
<string>DEVELOPER_DIR</string>
</dict>
<key>5EA4FACEC4D34860BF5BAC2E</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>04FF8FE443B54A6D80ADE8BC</string>
</array>
<key>isa</key>
<string>PBXFrameworksBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>6B7F055AB58F416C86F2A930</key>
<dict>
<key>attributes</key>
<dict>
<key>LastUpgradeCheck</key>
<string>0450</string>
</dict>
<key>buildConfigurationList</key>
<string>B2FD67EBDFA547A3A1509042</string>
<key>compatibilityVersion</key>
<string>Xcode 3.2</string>
<key>developmentRegion</key>
<string>English</string>
<key>hasScannedForEncodings</key>
<string>0</string>
<key>isa</key>
<string>PBXProject</string>
<key>knownRegions</key>
<array>
<string>en</string>
</array>
<key>mainGroup</key>
<string>8A2D851DECC3405692BA6DB5</string>
<key>productRefGroup</key>
<string>8AC499B678C644E9BBCA4BE0</string>
<key>projectReferences</key>
<array/>
<key>targets</key>
<array>
<string>C80865EECB3749A1A24A89D9</string>
<string>B1699EDE20834DBFB806F716</string>
<string>313B8D9B25DD443292C2A2DD</string>
</array>
</dict>
<key>6CD28F353E9144498296C83F</key>
<dict>
<key>children</key>
<array>
<string>0724A2D8925A40B19D65B85E</string>
<string>3BC81E82B1E645D8BF09A45A</string>
<string>81658C42BDD44C3489DA1F26</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Pods</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>730CFC955CD746ED81A02094</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>9C48B92FF46345EC9916C3B9</string>
<string>C73B8EA1943444A8964CAC06</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>defaultConfigurationName</key>
<string>Release</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>73A3513567B24A419489F37C</key>
<dict>
<key>children</key>
<array>
<string>B53AB33498604C6395F567A4</string>
<string>8B6C24F9C222457AA28AFE76</string>
<string>D9084328D5434FF4A29A68ED</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Pods-SampleApp_2</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>7EE5183C415B45319F4681CD</key>
<dict>
<key>children</key>
<array>
<string>57BF6C3D476949608092B0C8</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Frameworks</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>81658C42BDD44C3489DA1F26</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.xcconfig</string>
<key>name</key>
<string>Pods.xcconfig</string>
<key>path</key>
<string>Pods.xcconfig</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>82F8E25548A444F49BAA8F77</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>name</key>
<string>PodsDummy_Pods_test.m</string>
<key>path</key>
<string>PodsDummy_Pods_test.m</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>87CF8BA176504E1DB70538E0</key>
<dict>
<key>fileRef</key>
<string>A5B2444F85634B2C96E43830</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>8A2D851DECC3405692BA6DB5</key>
<dict>
<key>children</key>
<array>
<string>8AC499B678C644E9BBCA4BE0</string>
<string>7EE5183C415B45319F4681CD</string>
<string>FA5C6E9B53D04E6AA4597423</string>
<string>0ACE456CC7714AB58356364D</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>8AC499B678C644E9BBCA4BE0</key>
<dict>
<key>children</key>
<array>
<string>FCC9800FE78C4D0D87B8639B</string>
<string>8E58BF3F093544F7AD24BC64</string>
<string>DE97A3B8F9F844E1935FCBCF</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Products</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>8B6C24F9C222457AA28AFE76</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>Pods-SampleApp_2-prefix.pch</string>
<key>path</key>
<string>Pods-SampleApp_2-prefix.pch</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>8C1A5707743B42EDABE27B7A</key>
<dict>
<key>fileRef</key>
<string>82F8E25548A444F49BAA8F77</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>8E58BF3F093544F7AD24BC64</key>
<dict>
<key>explicitFileType</key>
<string>archive.ar</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>libPods-test.a</string>
<key>path</key>
<string>libPods-test.a</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>92B8EE6212FB45FA83FDBEB7</key>
<dict>
<key>fileRef</key>
<string>4222F4FD4E3546CA8C046C33</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict>
<key>COMPILER_FLAGS</key>
<string>-fobjc-arc -DOS_OBJECT_USE_OBJC=0</string>
</dict>
</dict>
<key>97115771760D45BCA09DD12C</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>01FF3729334D4B77B218FDF4</string>
<string>9A1DCC28DC2149AE9A3D9735</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>defaultConfigurationName</key>
<string>Release</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>9A1DCC28DC2149AE9A3D9735</key>
<dict>
<key>baseConfigurationReference</key>
<string>F55E6F31C3D04043A3DCA8E0</string>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_32_BIT)</string>
<key>COPY_PHASE_STRIP</key>
<string>NO</string>
<key>DSTROOT</key>
<string>/tmp/xcodeproj.dst</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_DYNAMIC_NO_PIC</key>
<string>NO</string>
<key>GCC_OPTIMIZATION_LEVEL</key>
<string>0</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>Pods-test-prefix.pch</string>
<key>GCC_PREPROCESSOR_DEFINITIONS</key>
<array>
<string>DEBUG=1</string>
<string>$(inherited)</string>
</array>
<key>GCC_SYMBOLS_PRIVATE_EXTERN</key>
<string>NO</string>
<key>GCC_VERSION</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>GCC_WARN_INHIBIT_ALL_WARNINGS</key>
<string>NO</string>
<key>INSTALL_PATH</key>
<string>$(BUILT_PRODUCTS_DIR)</string>
<key>IPHONEOS_DEPLOYMENT_TARGET</key>
<string>6.0</string>
<key>OTHER_LDFLAGS</key>
<string></string>
<key>PODS_HEADERS_SEARCH_PATHS</key>
<string>${PODS_BUILD_HEADERS_SEARCH_PATHS}</string>
<key>PODS_ROOT</key>
<string>${SRCROOT}</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>PUBLIC_HEADERS_FOLDER_PATH</key>
<string>$(TARGET_NAME)</string>
<key>SDKROOT</key>
<string>iphoneos</string>
<key>SKIP_INSTALL</key>
<string>YES</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>9C48B92FF46345EC9916C3B9</key>
<dict>
<key>baseConfigurationReference</key>
<string>D9084328D5434FF4A29A68ED</string>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_32_BIT)</string>
<key>COPY_PHASE_STRIP</key>
<string>YES</string>
<key>DSTROOT</key>
<string>/tmp/xcodeproj.dst</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>Pods-SampleApp_2-prefix.pch</string>
<key>GCC_VERSION</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>GCC_WARN_INHIBIT_ALL_WARNINGS</key>
<string>NO</string>
<key>INSTALL_PATH</key>
<string>$(BUILT_PRODUCTS_DIR)</string>
<key>IPHONEOS_DEPLOYMENT_TARGET</key>
<string>6.0</string>
<key>OTHER_LDFLAGS</key>
<string></string>
<key>PODS_HEADERS_SEARCH_PATHS</key>
<string>${PODS_BUILD_HEADERS_SEARCH_PATHS}</string>
<key>PODS_ROOT</key>
<string>${SRCROOT}</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>PUBLIC_HEADERS_FOLDER_PATH</key>
<string>$(TARGET_NAME)</string>
<key>SDKROOT</key>
<string>iphoneos</string>
<key>SKIP_INSTALL</key>
<string>YES</string>
<key>VALIDATE_PRODUCT</key>
<string>YES</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>A22BF8936504474EA4F6ABB5</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>1C8CECD798604E1A9386D074</string>
</array>
<key>isa</key>
<string>PBXHeadersBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>A5B2444F85634B2C96E43830</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>name</key>
<string>PodsDummy_Pods.m</string>
<key>path</key>
<string>PodsDummy_Pods.m</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>A639CDAC84144957A8D29428</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>139CD31D066346C996DA7806</string>
<string>4473B66A107D4AFA8BC038AF</string>
</array>
<key>isa</key>
<string>PBXHeadersBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>A8140B9518214D758011595B</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>1BE0B3319C7841568A4FAB13</string>
<string>3C20A440E12A453189C694DF</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>defaultConfigurationName</key>
<string>Release</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>B1699EDE20834DBFB806F716</key>
<dict>
<key>buildConfigurationList</key>
<string>97115771760D45BCA09DD12C</string>
<key>buildPhases</key>
<array>
<string>05C9397CC5554289A489935E</string>
<string>16E71A0A6DD44F8EA4432503</string>
<string>FF77F5027E02436EB9C57453</string>
</array>
<key>buildRules</key>
<array/>
<key>dependencies</key>
<array/>
<key>isa</key>
<string>PBXNativeTarget</string>
<key>name</key>
<string>Pods-test</string>
<key>productName</key>
<string>Pods-test</string>
<key>productReference</key>
<string>8E58BF3F093544F7AD24BC64</string>
<key>productType</key>
<string>com.apple.product-type.library.static</string>
</dict>
<key>B1CECB9996B7489FA6240352</key>
<dict>
<key>fileRef</key>
<string>0F12926800D54203A8DE30DE</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>B2FD67EBDFA547A3A1509042</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>CEAB734BE48043AEAE75AB11</string>
<string>008938BEB53A437C9B1473A1</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>defaultConfigurationName</key>
<string>Release</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>B53AB33498604C6395F567A4</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>Pods-SampleApp_2-resources.sh</string>
<key>path</key>
<string>Pods-SampleApp_2-resources.sh</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>BB8C4C9F189243F5AED6C52B</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>CC7DCC272A234945A2ECFAB9</string>
</array>
<key>isa</key>
<string>PBXFrameworksBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>C73B8EA1943444A8964CAC06</key>
<dict>
<key>baseConfigurationReference</key>
<string>D9084328D5434FF4A29A68ED</string>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_32_BIT)</string>
<key>COPY_PHASE_STRIP</key>
<string>NO</string>
<key>DSTROOT</key>
<string>/tmp/xcodeproj.dst</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_DYNAMIC_NO_PIC</key>
<string>NO</string>
<key>GCC_OPTIMIZATION_LEVEL</key>
<string>0</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>Pods-SampleApp_2-prefix.pch</string>
<key>GCC_PREPROCESSOR_DEFINITIONS</key>
<array>
<string>DEBUG=1</string>
<string>$(inherited)</string>
</array>
<key>GCC_SYMBOLS_PRIVATE_EXTERN</key>
<string>NO</string>
<key>GCC_VERSION</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>GCC_WARN_INHIBIT_ALL_WARNINGS</key>
<string>NO</string>
<key>INSTALL_PATH</key>
<string>$(BUILT_PRODUCTS_DIR)</string>
<key>IPHONEOS_DEPLOYMENT_TARGET</key>
<string>6.0</string>
<key>OTHER_LDFLAGS</key>
<string></string>
<key>PODS_HEADERS_SEARCH_PATHS</key>
<string>${PODS_BUILD_HEADERS_SEARCH_PATHS}</string>
<key>PODS_ROOT</key>
<string>${SRCROOT}</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>PUBLIC_HEADERS_FOLDER_PATH</key>
<string>$(TARGET_NAME)</string>
<key>SDKROOT</key>
<string>iphoneos</string>
<key>SKIP_INSTALL</key>
<string>YES</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>C80865EECB3749A1A24A89D9</key>
<dict>
<key>buildConfigurationList</key>
<string>A8140B9518214D758011595B</string>
<key>buildPhases</key>
<array>
<string>4BDAE3DE332E48219518211A</string>
<string>5EA4FACEC4D34860BF5BAC2E</string>
<string>A22BF8936504474EA4F6ABB5</string>
</array>
<key>buildRules</key>
<array/>
<key>dependencies</key>
<array/>
<key>isa</key>
<string>PBXNativeTarget</string>
<key>name</key>
<string>Pods</string>
<key>productName</key>
<string>Pods</string>
<key>productReference</key>
<string>FCC9800FE78C4D0D87B8639B</string>
<key>productType</key>
<string>com.apple.product-type.library.static</string>
</dict>
<key>CC7DCC272A234945A2ECFAB9</key>
<dict>
<key>fileRef</key>
<string>57BF6C3D476949608092B0C8</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>CEAB734BE48043AEAE75AB11</key>
<dict>
<key>buildSettings</key>
<dict/>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>D15C39951DF44BD485241B8A</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>36C10697ADFF4014988A8F54</string>
<string>92B8EE6212FB45FA83FDBEB7</string>
<string>B1CECB9996B7489FA6240352</string>
</array>
<key>isa</key>
<string>PBXSourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>D9084328D5434FF4A29A68ED</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.xcconfig</string>
<key>name</key>
<string>Pods-SampleApp_2.xcconfig</string>
<key>path</key>
<string>Pods-SampleApp_2.xcconfig</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>DE97A3B8F9F844E1935FCBCF</key>
<dict>
<key>explicitFileType</key>
<string>archive.ar</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>libPods-SampleApp_2.a</string>
<key>path</key>
<string>libPods-SampleApp_2.a</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>E668B6D369EA4AE7BCF584ED</key>
<dict>
<key>children</key>
<array>
<string>0C03E39EEB594E71872D6BDC</string>
<string>3DA7047DDF864CE199F3F17F</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>JSONKit</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>F37C247472F64E308E1FF1D9</key>
<dict>
<key>fileRef</key>
<string>4222F4FD4E3546CA8C046C33</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict>
<key>COMPILER_FLAGS</key>
<string>-fobjc-arc -DOS_OBJECT_USE_OBJC=0</string>
</dict>
</dict>
<key>F4D077EAE3F94990891CE377</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>name</key>
<string>Reachability.h</string>
<key>path</key>
<string>Reachability/Reachability.h</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>F55E6F31C3D04043A3DCA8E0</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.xcconfig</string>
<key>name</key>
<string>Pods-test.xcconfig</string>
<key>path</key>
<string>Pods-test.xcconfig</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>FA5C6E9B53D04E6AA4597423</key>
<dict>
<key>children</key>
<array>
<string>0751E81CDA2E4665BDE9756F</string>
<string>E668B6D369EA4AE7BCF584ED</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Pods</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>FCC9800FE78C4D0D87B8639B</key>
<dict>
<key>explicitFileType</key>
<string>archive.ar</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>libPods.a</string>
<key>path</key>
<string>libPods.a</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>FF77F5027E02436EB9C57453</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>46CA4AB2D8D849B389936E54</string>
</array>
<key>isa</key>
<string>PBXHeadersBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
</dict>
<key>rootObject</key>
<string>6B7F055AB58F416C86F2A930</string>
</dict>
</plist>
@interface PodsDummy_Pods : NSObject
@end
@implementation PodsDummy_Pods
@end
@interface PodsDummy_Pods_SampleApp_2 : NSObject
@end
@implementation PodsDummy_Pods_SampleApp_2
@end
@interface PodsDummy_Pods_test : NSObject
@end
@implementation PodsDummy_Pods_test
@end
# 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
/*
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 <Foundation/Foundation.h>
#import <SystemConfiguration/SystemConfiguration.h>
#import <sys/socket.h>
#import <netinet/in.h>
#import <netinet6/in6.h>
#import <arpa/inet.h>
#import <ifaddrs.h>
#import <netdb.h>
/**
* 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
/*
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 <netinet/in.h> 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
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
end
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>archiveVersion</key>
<string>1</string>
<key>classes</key>
<dict/>
<key>objectVersion</key>
<string>46</string>
<key>objects</key>
<dict>
<key>112C16E509034E19A61769B2</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.xcconfig</string>
<key>name</key>
<string>Pods.xcconfig</string>
<key>path</key>
<string>Pods/Pods.xcconfig</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>22E94F3BB1294A318C37EDF2</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.xcconfig</string>
<key>name</key>
<string>Pods-test.xcconfig</string>
<key>path</key>
<string>Pods/Pods-test.xcconfig</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>32500F85636E4B5AB99F81D4</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.xcconfig</string>
<key>name</key>
<string>Pods-SampleApp_2.xcconfig</string>
<key>path</key>
<string>Pods/Pods-SampleApp_2.xcconfig</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>48F2DEFA8417428A92870873</key>
<dict>
<key>fileRef</key>
<string>8658D7B8909445A388FBB35E</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>74794BF2A8DE434891A5D978</key>
<dict>
<key>fileRef</key>
<string>89E743D64D6B4F3ABA83DCCE</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>7AE91488C1694BF3A029699E</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array/>
<key>inputPaths</key>
<array/>
<key>isa</key>
<string>PBXShellScriptBuildPhase</string>
<key>name</key>
<string>Copy Pods Resources</string>
<key>outputPaths</key>
<array/>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
<key>shellPath</key>
<string>/bin/sh</string>
<key>shellScript</key>
<string>"${SRCROOT}/Pods/Pods-test-resources.sh"
</string>
<key>showEnvVarsInLog</key>
<string>1</string>
</dict>
<key>8658D7B8909445A388FBB35E</key>
<dict>
<key>explicitFileType</key>
<string>archive.ar</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>libPods-SampleApp_2.a</string>
<key>path</key>
<string>libPods-SampleApp_2.a</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>89E743D64D6B4F3ABA83DCCE</key>
<dict>
<key>explicitFileType</key>
<string>archive.ar</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>libPods.a</string>
<key>path</key>
<string>libPods.a</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>B3001C61D6BD49E397A36F4E</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array/>
<key>inputPaths</key>
<array/>
<key>isa</key>
<string>PBXShellScriptBuildPhase</string>
<key>name</key>
<string>Copy Pods Resources</string>
<key>outputPaths</key>
<array/>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
<key>shellPath</key>
<string>/bin/sh</string>
<key>shellScript</key>
<string>"${SRCROOT}/Pods/Pods-SampleApp_2-resources.sh"
</string>
<key>showEnvVarsInLog</key>
<string>1</string>
</dict>
<key>D6198D0B3B3547AB8104B659</key>
<dict>
<key>explicitFileType</key>
<string>archive.ar</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>libPods-test.a</string>
<key>path</key>
<string>libPods-test.a</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>E56E59D316C95CAA00F39927</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E56E59E016C95CAA00F39927</string>
<string>E56E59E716C95CAA00F39927</string>
</array>
<key>isa</key>
<string>PBXSourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E56E59D416C95CAA00F39927</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E56E59D816C95CAA00F39927</string>
<string>74794BF2A8DE434891A5D978</string>
</array>
<key>isa</key>
<string>PBXFrameworksBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E56E59D516C95CAA00F39927</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E56E59DE16C95CAA00F39927</string>
<string>E56E59E416C95CAA00F39927</string>
<string>E56E59EA16C95CAB00F39927</string>
</array>
<key>isa</key>
<string>PBXResourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E56E59D616C95CAA00F39927</key>
<dict>
<key>buildConfigurationList</key>
<string>E56E59FF16C95CAB00F39927</string>
<key>buildPhases</key>
<array>
<string>E56E59D316C95CAA00F39927</string>
<string>E56E59D416C95CAA00F39927</string>
<string>E56E59D516C95CAA00F39927</string>
<string>E6B0BF0017444CFFB32F7538</string>
</array>
<key>buildRules</key>
<array/>
<key>dependencies</key>
<array/>
<key>isa</key>
<string>PBXNativeTarget</string>
<key>name</key>
<string>SampleApp</string>
<key>productName</key>
<string>SampleApp</string>
<key>productReference</key>
<string>E56E59D716C95CAA00F39927</string>
<key>productType</key>
<string>com.apple.product-type.application</string>
</dict>
<key>E56E59D716C95CAA00F39927</key>
<dict>
<key>explicitFileType</key>
<string>wrapper.application</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>path</key>
<string>SampleApp.app</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>E56E59D816C95CAA00F39927</key>
<dict>
<key>fileRef</key>
<string>E575589E16C5943000DC1500</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E59D916C95CAA00F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E59E516C95CAA00F39927</string>
<string>E56E59E616C95CAA00F39927</string>
<string>E56E59E816C95CAB00F39927</string>
<string>E56E59DA16C95CAA00F39927</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>path</key>
<string>SampleApp</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E59DA16C95CAA00F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E59DB16C95CAA00F39927</string>
<string>E56E59DC16C95CAA00F39927</string>
<string>E56E59DF16C95CAA00F39927</string>
<string>E56E59E116C95CAA00F39927</string>
<string>E56E59E216C95CAA00F39927</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Supporting Files</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E59DB16C95CAA00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.plist.xml</string>
<key>path</key>
<string>SampleApp-Info.plist</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E59DC16C95CAA00F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E59DD16C95CAA00F39927</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>InfoPlist.strings</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E59DD16C95CAA00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.plist.strings</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/InfoPlist.strings</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E59DE16C95CAA00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E59DC16C95CAA00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E59DF16C95CAA00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>path</key>
<string>main.m</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E59E016C95CAA00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E59DF16C95CAA00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E59E116C95CAA00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>path</key>
<string>SampleApp-Prefix.pch</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E59E216C95CAA00F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E59E316C95CAA00F39927</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>Credits.rtf</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E59E316C95CAA00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.rtf</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/Credits.rtf</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E59E416C95CAA00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E59E216C95CAA00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E59E516C95CAA00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>path</key>
<string>CPAppDelegate.h</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E59E616C95CAA00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>path</key>
<string>CPAppDelegate.m</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E59E716C95CAA00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E59E616C95CAA00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E59E816C95CAB00F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E59E916C95CAB00F39927</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>MainMenu.xib</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E59E916C95CAB00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>file.xib</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/MainMenu.xib</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E59EA16C95CAB00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E59E816C95CAB00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E59EB16C95CAB00F39927</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E56E59FE16C95CAB00F39927</string>
</array>
<key>isa</key>
<string>PBXSourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E56E59EC16C95CAB00F39927</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E56E59F216C95CAB00F39927</string>
<string>E56E59F316C95CAB00F39927</string>
<string>FBF213A9026F4D3F8BD9E997</string>
<string>48F2DEFA8417428A92870873</string>
</array>
<key>isa</key>
<string>PBXFrameworksBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E56E59ED16C95CAB00F39927</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E56E59FB16C95CAB00F39927</string>
</array>
<key>isa</key>
<string>PBXResourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E56E59EE16C95CAB00F39927</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array/>
<key>inputPaths</key>
<array/>
<key>isa</key>
<string>PBXShellScriptBuildPhase</string>
<key>outputPaths</key>
<array/>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
<key>shellPath</key>
<string>/bin/sh</string>
<key>shellScript</key>
<string># Run the unit tests in this test bundle.
"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests"
</string>
</dict>
<key>E56E59EF16C95CAB00F39927</key>
<dict>
<key>buildConfigurationList</key>
<string>E56E5A0216C95CAB00F39927</string>
<key>buildPhases</key>
<array>
<string>E56E59EB16C95CAB00F39927</string>
<string>E56E59EC16C95CAB00F39927</string>
<string>E56E59ED16C95CAB00F39927</string>
<string>E56E59EE16C95CAB00F39927</string>
<string>7AE91488C1694BF3A029699E</string>
<string>B3001C61D6BD49E397A36F4E</string>
</array>
<key>buildRules</key>
<array/>
<key>dependencies</key>
<array>
<string>E56E59F516C95CAB00F39927</string>
</array>
<key>isa</key>
<string>PBXNativeTarget</string>
<key>name</key>
<string>SampleAppTests</string>
<key>productName</key>
<string>SampleAppTests</string>
<key>productReference</key>
<string>E56E59F016C95CAB00F39927</string>
<key>productType</key>
<string>com.apple.product-type.bundle</string>
</dict>
<key>E56E59F016C95CAB00F39927</key>
<dict>
<key>explicitFileType</key>
<string>wrapper.cfbundle</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>path</key>
<string>SampleAppTests.octest</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>E56E59F116C95CAB00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>SenTestingKit.framework</string>
<key>path</key>
<string>Library/Frameworks/SenTestingKit.framework</string>
<key>sourceTree</key>
<string>DEVELOPER_DIR</string>
</dict>
<key>E56E59F216C95CAB00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E59F116C95CAB00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E59F316C95CAB00F39927</key>
<dict>
<key>fileRef</key>
<string>E575589E16C5943000DC1500</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E59F416C95CAB00F39927</key>
<dict>
<key>containerPortal</key>
<string>E575589316C5943000DC1500</string>
<key>isa</key>
<string>PBXContainerItemProxy</string>
<key>proxyType</key>
<string>1</string>
<key>remoteGlobalIDString</key>
<string>E56E59D616C95CAA00F39927</string>
<key>remoteInfo</key>
<string>SampleApp</string>
</dict>
<key>E56E59F516C95CAB00F39927</key>
<dict>
<key>isa</key>
<string>PBXTargetDependency</string>
<key>target</key>
<string>E56E59D616C95CAA00F39927</string>
<key>targetProxy</key>
<string>E56E59F416C95CAB00F39927</string>
</dict>
<key>E56E59F616C95CAB00F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E59FC16C95CAB00F39927</string>
<string>E56E59FD16C95CAB00F39927</string>
<string>E56E59F716C95CAB00F39927</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>path</key>
<string>SampleAppTests</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E59F716C95CAB00F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E59F816C95CAB00F39927</string>
<string>E56E59F916C95CAB00F39927</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Supporting Files</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E59F816C95CAB00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.plist.xml</string>
<key>path</key>
<string>SampleAppTests-Info.plist</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E59F916C95CAB00F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E59FA16C95CAB00F39927</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>InfoPlist.strings</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E59FA16C95CAB00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.plist.strings</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/InfoPlist.strings</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E59FB16C95CAB00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E59F916C95CAB00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E59FC16C95CAB00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>path</key>
<string>SampleAppTests.h</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E59FD16C95CAB00F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>path</key>
<string>SampleAppTests.m</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E59FE16C95CAB00F39927</key>
<dict>
<key>fileRef</key>
<string>E56E59FD16C95CAB00F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E59FF16C95CAB00F39927</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>E56E5A0016C95CAB00F39927</string>
<string>E56E5A0116C95CAB00F39927</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>E56E5A0016C95CAB00F39927</key>
<dict>
<key>baseConfigurationReference</key>
<string>112C16E509034E19A61769B2</string>
<key>buildSettings</key>
<dict>
<key>COMBINE_HIDPI_IMAGES</key>
<string>YES</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>SampleApp/SampleApp-Prefix.pch</string>
<key>INFOPLIST_FILE</key>
<string>SampleApp/SampleApp-Info.plist</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>WRAPPER_EXTENSION</key>
<string>app</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>E56E5A0116C95CAB00F39927</key>
<dict>
<key>baseConfigurationReference</key>
<string>112C16E509034E19A61769B2</string>
<key>buildSettings</key>
<dict>
<key>COMBINE_HIDPI_IMAGES</key>
<string>YES</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>SampleApp/SampleApp-Prefix.pch</string>
<key>INFOPLIST_FILE</key>
<string>SampleApp/SampleApp-Info.plist</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>WRAPPER_EXTENSION</key>
<string>app</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>E56E5A0216C95CAB00F39927</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>E56E5A0316C95CAB00F39927</string>
<string>E56E5A0416C95CAB00F39927</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>E56E5A0316C95CAB00F39927</key>
<dict>
<key>baseConfigurationReference</key>
<string>32500F85636E4B5AB99F81D4</string>
<key>buildSettings</key>
<dict>
<key>BUNDLE_LOADER</key>
<string>$(BUILT_PRODUCTS_DIR)/SampleApp.app/Contents/MacOS/SampleApp</string>
<key>COMBINE_HIDPI_IMAGES</key>
<string>YES</string>
<key>FRAMEWORK_SEARCH_PATHS</key>
<string>"$(DEVELOPER_LIBRARY_DIR)/Frameworks"</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>SampleApp/SampleApp-Prefix.pch</string>
<key>INFOPLIST_FILE</key>
<string>SampleAppTests/SampleAppTests-Info.plist</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>TEST_HOST</key>
<string>$(BUNDLE_LOADER)</string>
<key>WRAPPER_EXTENSION</key>
<string>octest</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>E56E5A0416C95CAB00F39927</key>
<dict>
<key>baseConfigurationReference</key>
<string>32500F85636E4B5AB99F81D4</string>
<key>buildSettings</key>
<dict>
<key>BUNDLE_LOADER</key>
<string>$(BUILT_PRODUCTS_DIR)/SampleApp.app/Contents/MacOS/SampleApp</string>
<key>COMBINE_HIDPI_IMAGES</key>
<string>YES</string>
<key>FRAMEWORK_SEARCH_PATHS</key>
<string>"$(DEVELOPER_LIBRARY_DIR)/Frameworks"</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>SampleApp/SampleApp-Prefix.pch</string>
<key>INFOPLIST_FILE</key>
<string>SampleAppTests/SampleAppTests-Info.plist</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>TEST_HOST</key>
<string>$(BUNDLE_LOADER)</string>
<key>WRAPPER_EXTENSION</key>
<string>octest</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>E56E5A3616C95CD600F39927</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E56E5A4316C95CD600F39927</string>
<string>E56E5A4A16C95CD600F39927</string>
</array>
<key>isa</key>
<string>PBXSourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E56E5A3716C95CD600F39927</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E56E5A3B16C95CD600F39927</string>
</array>
<key>isa</key>
<string>PBXFrameworksBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E56E5A3816C95CD600F39927</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E56E5A4116C95CD600F39927</string>
<string>E56E5A4716C95CD600F39927</string>
<string>E56E5A4D16C95CD600F39927</string>
</array>
<key>isa</key>
<string>PBXResourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E56E5A3916C95CD600F39927</key>
<dict>
<key>buildConfigurationList</key>
<string>E56E5A4E16C95CD600F39927</string>
<key>buildPhases</key>
<array>
<string>E56E5A3616C95CD600F39927</string>
<string>E56E5A3716C95CD600F39927</string>
<string>E56E5A3816C95CD600F39927</string>
</array>
<key>buildRules</key>
<array/>
<key>dependencies</key>
<array/>
<key>isa</key>
<string>PBXNativeTarget</string>
<key>name</key>
<string>SampleApp_2</string>
<key>productName</key>
<string>SampleApp_2</string>
<key>productReference</key>
<string>E56E5A3A16C95CD600F39927</string>
<key>productType</key>
<string>com.apple.product-type.application</string>
</dict>
<key>E56E5A3A16C95CD600F39927</key>
<dict>
<key>explicitFileType</key>
<string>wrapper.application</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>path</key>
<string>SampleApp_2.app</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>E56E5A3B16C95CD600F39927</key>
<dict>
<key>fileRef</key>
<string>E575589E16C5943000DC1500</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5A3C16C95CD600F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5A4816C95CD600F39927</string>
<string>E56E5A4916C95CD600F39927</string>
<string>E56E5A4B16C95CD600F39927</string>
<string>E56E5A3D16C95CD600F39927</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>path</key>
<string>SampleApp_2</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A3D16C95CD600F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5A3E16C95CD600F39927</string>
<string>E56E5A3F16C95CD600F39927</string>
<string>E56E5A4216C95CD600F39927</string>
<string>E56E5A4416C95CD600F39927</string>
<string>E56E5A4516C95CD600F39927</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Supporting Files</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A3E16C95CD600F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.plist.xml</string>
<key>path</key>
<string>SampleApp_2-Info.plist</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A3F16C95CD600F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5A4016C95CD600F39927</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>InfoPlist.strings</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A4016C95CD600F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.plist.strings</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/InfoPlist.strings</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A4116C95CD600F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5A3F16C95CD600F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5A4216C95CD600F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>path</key>
<string>main.m</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A4316C95CD600F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5A4216C95CD600F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5A4416C95CD600F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>path</key>
<string>SampleApp_2-Prefix.pch</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A4516C95CD600F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5A4616C95CD600F39927</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>Credits.rtf</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A4616C95CD600F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.rtf</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/Credits.rtf</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A4716C95CD600F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5A4516C95CD600F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5A4816C95CD600F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>path</key>
<string>CPAppDelegate.h</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A4916C95CD600F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>path</key>
<string>CPAppDelegate.m</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A4A16C95CD600F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5A4916C95CD600F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5A4B16C95CD600F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5A4C16C95CD600F39927</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>MainMenu.xib</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A4C16C95CD600F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>file.xib</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/MainMenu.xib</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A4D16C95CD600F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5A4B16C95CD600F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5A4E16C95CD600F39927</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>E56E5A4F16C95CD600F39927</string>
<string>E56E5A5016C95CD600F39927</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>E56E5A4F16C95CD600F39927</key>
<dict>
<key>buildSettings</key>
<dict>
<key>COMBINE_HIDPI_IMAGES</key>
<string>YES</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>SampleApp_2/SampleApp_2-Prefix.pch</string>
<key>INFOPLIST_FILE</key>
<string>SampleApp_2/SampleApp_2-Info.plist</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>WRAPPER_EXTENSION</key>
<string>app</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>E56E5A5016C95CD600F39927</key>
<dict>
<key>buildSettings</key>
<dict>
<key>COMBINE_HIDPI_IMAGES</key>
<string>YES</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>SampleApp_2/SampleApp_2-Prefix.pch</string>
<key>INFOPLIST_FILE</key>
<string>SampleApp_2/SampleApp_2-Info.plist</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>WRAPPER_EXTENSION</key>
<string>app</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>E56E5A5116C95CE300F39927</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E56E5A5E16C95CE300F39927</string>
<string>E56E5A6516C95CE300F39927</string>
</array>
<key>isa</key>
<string>PBXSourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E56E5A5216C95CE300F39927</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E56E5A5616C95CE300F39927</string>
</array>
<key>isa</key>
<string>PBXFrameworksBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E56E5A5316C95CE300F39927</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E56E5A5C16C95CE300F39927</string>
<string>E56E5A6216C95CE300F39927</string>
<string>E56E5A6816C95CE300F39927</string>
</array>
<key>isa</key>
<string>PBXResourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E56E5A5416C95CE300F39927</key>
<dict>
<key>buildConfigurationList</key>
<string>E56E5A6916C95CE300F39927</string>
<key>buildPhases</key>
<array>
<string>E56E5A5116C95CE300F39927</string>
<string>E56E5A5216C95CE300F39927</string>
<string>E56E5A5316C95CE300F39927</string>
</array>
<key>buildRules</key>
<array/>
<key>dependencies</key>
<array/>
<key>isa</key>
<string>PBXNativeTarget</string>
<key>name</key>
<string>NonIntegrated</string>
<key>productName</key>
<string>NonIntegrated</string>
<key>productReference</key>
<string>E56E5A5516C95CE300F39927</string>
<key>productType</key>
<string>com.apple.product-type.application</string>
</dict>
<key>E56E5A5516C95CE300F39927</key>
<dict>
<key>explicitFileType</key>
<string>wrapper.application</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>path</key>
<string>NonIntegrated.app</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>E56E5A5616C95CE300F39927</key>
<dict>
<key>fileRef</key>
<string>E575589E16C5943000DC1500</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5A5716C95CE300F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5A6316C95CE300F39927</string>
<string>E56E5A6416C95CE300F39927</string>
<string>E56E5A6616C95CE300F39927</string>
<string>E56E5A5816C95CE300F39927</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>path</key>
<string>NonIntegrated</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A5816C95CE300F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5A5916C95CE300F39927</string>
<string>E56E5A5A16C95CE300F39927</string>
<string>E56E5A5D16C95CE300F39927</string>
<string>E56E5A5F16C95CE300F39927</string>
<string>E56E5A6016C95CE300F39927</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Supporting Files</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A5916C95CE300F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.plist.xml</string>
<key>path</key>
<string>NonIntegrated-Info.plist</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A5A16C95CE300F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5A5B16C95CE300F39927</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>InfoPlist.strings</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A5B16C95CE300F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.plist.strings</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/InfoPlist.strings</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A5C16C95CE300F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5A5A16C95CE300F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5A5D16C95CE300F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>path</key>
<string>main.m</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A5E16C95CE300F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5A5D16C95CE300F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5A5F16C95CE300F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>path</key>
<string>NonIntegrated-Prefix.pch</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A6016C95CE300F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5A6116C95CE300F39927</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>Credits.rtf</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A6116C95CE300F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.rtf</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/Credits.rtf</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A6216C95CE300F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5A6016C95CE300F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5A6316C95CE300F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>path</key>
<string>CPAppDelegate.h</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A6416C95CE300F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>path</key>
<string>CPAppDelegate.m</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A6516C95CE300F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5A6416C95CE300F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5A6616C95CE300F39927</key>
<dict>
<key>children</key>
<array>
<string>E56E5A6716C95CE300F39927</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>MainMenu.xib</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A6716C95CE300F39927</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>file.xib</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/MainMenu.xib</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E56E5A6816C95CE300F39927</key>
<dict>
<key>fileRef</key>
<string>E56E5A6616C95CE300F39927</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E56E5A6916C95CE300F39927</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>E56E5A6A16C95CE300F39927</string>
<string>E56E5A6B16C95CE300F39927</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>E56E5A6A16C95CE300F39927</key>
<dict>
<key>buildSettings</key>
<dict>
<key>COMBINE_HIDPI_IMAGES</key>
<string>YES</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>NonIntegrated/NonIntegrated-Prefix.pch</string>
<key>INFOPLIST_FILE</key>
<string>NonIntegrated/NonIntegrated-Info.plist</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>WRAPPER_EXTENSION</key>
<string>app</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>E56E5A6B16C95CE300F39927</key>
<dict>
<key>buildSettings</key>
<dict>
<key>COMBINE_HIDPI_IMAGES</key>
<string>YES</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>NonIntegrated/NonIntegrated-Prefix.pch</string>
<key>INFOPLIST_FILE</key>
<string>NonIntegrated/NonIntegrated-Info.plist</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>WRAPPER_EXTENSION</key>
<string>app</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>E575589216C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E56E59D916C95CAA00F39927</string>
<string>E56E59F616C95CAB00F39927</string>
<string>E56E5A3C16C95CD600F39927</string>
<string>E56E5A5716C95CE300F39927</string>
<string>E575589D16C5943000DC1500</string>
<string>E575589C16C5943000DC1500</string>
<string>112C16E509034E19A61769B2</string>
<string>22E94F3BB1294A318C37EDF2</string>
<string>32500F85636E4B5AB99F81D4</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E575589316C5943000DC1500</key>
<dict>
<key>attributes</key>
<dict>
<key>CLASSPREFIX</key>
<string>CP</string>
<key>LastUpgradeCheck</key>
<string>0460</string>
<key>ORGANIZATIONNAME</key>
<string>CocoaPods</string>
</dict>
<key>buildConfigurationList</key>
<string>E575589616C5943000DC1500</string>
<key>compatibilityVersion</key>
<string>Xcode 3.2</string>
<key>developmentRegion</key>
<string>English</string>
<key>hasScannedForEncodings</key>
<string>0</string>
<key>isa</key>
<string>PBXProject</string>
<key>knownRegions</key>
<array>
<string>en</string>
</array>
<key>mainGroup</key>
<string>E575589216C5943000DC1500</string>
<key>productRefGroup</key>
<string>E575589C16C5943000DC1500</string>
<key>projectDirPath</key>
<string></string>
<key>projectReferences</key>
<array/>
<key>projectRoot</key>
<string></string>
<key>targets</key>
<array>
<string>E56E59D616C95CAA00F39927</string>
<string>E56E59EF16C95CAB00F39927</string>
<string>E56E5A3916C95CD600F39927</string>
<string>E56E5A5416C95CE300F39927</string>
</array>
</dict>
<key>E575589616C5943000DC1500</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>E57558B616C5943100DC1500</string>
<string>E57558B716C5943100DC1500</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>defaultConfigurationName</key>
<string>Release</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>E575589C16C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E56E59D716C95CAA00F39927</string>
<string>E56E59F016C95CAB00F39927</string>
<string>E56E5A3A16C95CD600F39927</string>
<string>E56E5A5516C95CE300F39927</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Products</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E575589D16C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E575589E16C5943000DC1500</string>
<string>E56E59F116C95CAB00F39927</string>
<string>E57558A016C5943000DC1500</string>
<string>89E743D64D6B4F3ABA83DCCE</string>
<string>D6198D0B3B3547AB8104B659</string>
<string>8658D7B8909445A388FBB35E</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Frameworks</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E575589E16C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>Cocoa.framework</string>
<key>path</key>
<string>System/Library/Frameworks/Cocoa.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E57558A016C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558A116C5943000DC1500</string>
<string>E57558A216C5943000DC1500</string>
<string>E57558A316C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Other Frameworks</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558A116C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>AppKit.framework</string>
<key>path</key>
<string>System/Library/Frameworks/AppKit.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E57558A216C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>CoreData.framework</string>
<key>path</key>
<string>System/Library/Frameworks/CoreData.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E57558A316C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>Foundation.framework</string>
<key>path</key>
<string>System/Library/Frameworks/Foundation.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E57558B616C5943100DC1500</key>
<dict>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_64_BIT)</string>
<key>CLANG_CXX_LANGUAGE_STANDARD</key>
<string>gnu++0x</string>
<key>CLANG_CXX_LIBRARY</key>
<string>libc++</string>
<key>CLANG_WARN_CONSTANT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_EMPTY_BODY</key>
<string>YES</string>
<key>CLANG_WARN_ENUM_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_INT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN__DUPLICATE_METHOD_MATCH</key>
<string>YES</string>
<key>COPY_PHASE_STRIP</key>
<string>NO</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_DYNAMIC_NO_PIC</key>
<string>NO</string>
<key>GCC_ENABLE_OBJC_EXCEPTIONS</key>
<string>YES</string>
<key>GCC_OPTIMIZATION_LEVEL</key>
<string>0</string>
<key>GCC_PREPROCESSOR_DEFINITIONS</key>
<array>
<string>DEBUG=1</string>
<string>$(inherited)</string>
</array>
<key>GCC_SYMBOLS_PRIVATE_EXTERN</key>
<string>NO</string>
<key>GCC_WARN_64_TO_32_BIT_CONVERSION</key>
<string>YES</string>
<key>GCC_WARN_ABOUT_RETURN_TYPE</key>
<string>YES</string>
<key>GCC_WARN_UNINITIALIZED_AUTOS</key>
<string>YES</string>
<key>GCC_WARN_UNUSED_VARIABLE</key>
<string>YES</string>
<key>MACOSX_DEPLOYMENT_TARGET</key>
<string>10.8</string>
<key>ONLY_ACTIVE_ARCH</key>
<string>YES</string>
<key>SDKROOT</key>
<string>macosx</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>E57558B716C5943100DC1500</key>
<dict>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_64_BIT)</string>
<key>CLANG_CXX_LANGUAGE_STANDARD</key>
<string>gnu++0x</string>
<key>CLANG_CXX_LIBRARY</key>
<string>libc++</string>
<key>CLANG_WARN_CONSTANT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_EMPTY_BODY</key>
<string>YES</string>
<key>CLANG_WARN_ENUM_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_INT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN__DUPLICATE_METHOD_MATCH</key>
<string>YES</string>
<key>COPY_PHASE_STRIP</key>
<string>YES</string>
<key>DEBUG_INFORMATION_FORMAT</key>
<string>dwarf-with-dsym</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_ENABLE_OBJC_EXCEPTIONS</key>
<string>YES</string>
<key>GCC_WARN_64_TO_32_BIT_CONVERSION</key>
<string>YES</string>
<key>GCC_WARN_ABOUT_RETURN_TYPE</key>
<string>YES</string>
<key>GCC_WARN_UNINITIALIZED_AUTOS</key>
<string>YES</string>
<key>GCC_WARN_UNUSED_VARIABLE</key>
<string>YES</string>
<key>MACOSX_DEPLOYMENT_TARGET</key>
<string>10.8</string>
<key>SDKROOT</key>
<string>macosx</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>E6B0BF0017444CFFB32F7538</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array/>
<key>inputPaths</key>
<array/>
<key>isa</key>
<string>PBXShellScriptBuildPhase</string>
<key>name</key>
<string>Copy Pods Resources</string>
<key>outputPaths</key>
<array/>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
<key>shellPath</key>
<string>/bin/sh</string>
<key>shellScript</key>
<string>"${SRCROOT}/Pods/Pods-resources.sh"
</string>
<key>showEnvVarsInLog</key>
<string>1</string>
</dict>
<key>FBF213A9026F4D3F8BD9E997</key>
<dict>
<key>fileRef</key>
<string>D6198D0B3B3547AB8104B659</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
</dict>
<key>rootObject</key>
<string>E575589316C5943000DC1500</string>
</dict>
</plist>
<?xml version='1.0' encoding='UTF-8'?><Workspace version='1.0'><FileRef location='group:Pods/Pods.xcodeproj'/><FileRef location='group:SampleApp.xcodeproj'/></Workspace>
\ No newline at end of file
$ pod install --no-update --no-doc --verbose --no-color
Resolving dependencies of `./Podfile'
Resolving dependencies for target `default' (iOS 6.0)
- Reachability (= 3.1.0)
Resolving dependencies for target `test' (iOS 6.0)
- JSONKit
Resolving dependencies for target `SampleApp_2' (iOS 6.0)
- JSONKit
- Reachability (= 3.1.0)
Downloading dependencies
-> Installing JSONKit (1.5pre)
$ /usr/bin/git config core.bare
true
> Cloning git repo
$ /usr/bin/git rev-list --max-count=1 0aff3deb5e1bb2bbc88a83fd71c8ad5550185cce
0aff3deb5e1bb2bbc88a83fd71c8ad5550185cce
> Cloning to Pods folder
$ /usr/bin/git clone "CACHES_DIR/Git/de3e1c97c03ac13b29e7533beea2d2131589900f"
"ROOT/tmp/Pods/JSONKit"
Cloning into 'ROOT/tmp/Pods/JSONKit'...
done.
$ /usr/bin/git checkout -b activated-pod-commit 0aff3deb5e1bb2bbc88a83fd71c8ad5550185cce
-> Installing Reachability (3.1.0)
$ /usr/bin/git config core.bare
true
> Cloning git repo
$ /usr/bin/git rev-list --max-count=1 v3.1.0
f7176f4798d068d233dca5223ae4bd9c8059e830
$ /usr/bin/git init
Initialized empty Git repository in ROOT/tmp/Pods/Reachability/.git/
$ /usr/bin/git remote add origin 'CACHES_DIR/Git/48f11286750afa2e2eb80564e288f42eed7cbab6'
$ /usr/bin/git fetch origin tags/v3.1.0
$ /usr/bin/git reset --hard FETCH_HEAD
HEAD is now at f7176f4 updated podspec
$ /usr/bin/git checkout -b activated-pod-commit
Generating support files
- Running pre install hooks
- Generating project
- Installing targets
- Generating xcconfig file at `./Pods/Pods.xcconfig'
- Generating prefix header at `./Pods/Pods-prefix.pch'
- Generating copy resources script at `./Pods/Pods-resources.sh'
- Generating xcconfig file at `./Pods/Pods-test.xcconfig'
- Generating prefix header at `./Pods/Pods-test-prefix.pch'
- Generating copy resources script at `./Pods/Pods-test-resources.sh'
- Generating xcconfig file at `./Pods/Pods-SampleApp_2.xcconfig'
- Generating prefix header at `./Pods/Pods-SampleApp_2-prefix.pch'
- Generating copy resources script at `./Pods/Pods-SampleApp_2-resources.sh'
- Running post install hooks
- Writing Xcode project file to `./Pods/Pods.xcodeproj'
- Writing lockfile in `./Podfile.lock'
[!] From now on use `SampleApp.xcworkspace'.
Integrating `libPods.a' into target `SampleApp' of Xcode project `./SampleApp.xcodeproj'.
Integrating `libPods-test.a' into target `SampleAppTests' of Xcode project `./SampleApp.xcodeproj'.
Integrating `libPods-SampleApp_2.a' into target `SampleAppTests' of Xcode project `./SampleApp.xcodeproj'.
# SampleApp is the first target i.e. default
platform :ios, '6.0'
pod "Reachability", "3.1.0"
target :test, :exclusive => true do
link_with 'SampleAppTests'
pod 'JSONKit'
end
target 'SampleApp_2' do
link_with 'SampleAppTests'
pod 'JSONKit'
end
\ No newline at end of file
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
E56E59D816C95CAA00F39927 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E575589E16C5943000DC1500 /* Cocoa.framework */; };
E56E59DE16C95CAA00F39927 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = E56E59DC16C95CAA00F39927 /* InfoPlist.strings */; };
E56E59E016C95CAA00F39927 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E56E59DF16C95CAA00F39927 /* main.m */; };
E56E59E416C95CAA00F39927 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = E56E59E216C95CAA00F39927 /* Credits.rtf */; };
E56E59E716C95CAA00F39927 /* CPAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E56E59E616C95CAA00F39927 /* CPAppDelegate.m */; };
E56E59EA16C95CAB00F39927 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = E56E59E816C95CAB00F39927 /* MainMenu.xib */; };
E56E59F216C95CAB00F39927 /* SenTestingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E56E59F116C95CAB00F39927 /* SenTestingKit.framework */; };
E56E59F316C95CAB00F39927 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E575589E16C5943000DC1500 /* Cocoa.framework */; };
E56E59FB16C95CAB00F39927 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = E56E59F916C95CAB00F39927 /* InfoPlist.strings */; };
E56E59FE16C95CAB00F39927 /* SampleAppTests.m in Sources */ = {isa = PBXBuildFile; fileRef = E56E59FD16C95CAB00F39927 /* SampleAppTests.m */; };
E56E5A3B16C95CD600F39927 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E575589E16C5943000DC1500 /* Cocoa.framework */; };
E56E5A4116C95CD600F39927 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = E56E5A3F16C95CD600F39927 /* InfoPlist.strings */; };
E56E5A4316C95CD600F39927 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E56E5A4216C95CD600F39927 /* main.m */; };
E56E5A4716C95CD600F39927 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = E56E5A4516C95CD600F39927 /* Credits.rtf */; };
E56E5A4A16C95CD600F39927 /* CPAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E56E5A4916C95CD600F39927 /* CPAppDelegate.m */; };
E56E5A4D16C95CD600F39927 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = E56E5A4B16C95CD600F39927 /* MainMenu.xib */; };
E56E5A5616C95CE300F39927 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E575589E16C5943000DC1500 /* Cocoa.framework */; };
E56E5A5C16C95CE300F39927 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = E56E5A5A16C95CE300F39927 /* InfoPlist.strings */; };
E56E5A5E16C95CE300F39927 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E56E5A5D16C95CE300F39927 /* main.m */; };
E56E5A6216C95CE300F39927 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = E56E5A6016C95CE300F39927 /* Credits.rtf */; };
E56E5A6516C95CE300F39927 /* CPAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E56E5A6416C95CE300F39927 /* CPAppDelegate.m */; };
E56E5A6816C95CE300F39927 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = E56E5A6616C95CE300F39927 /* MainMenu.xib */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
E56E59F416C95CAB00F39927 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = E575589316C5943000DC1500 /* Project object */;
proxyType = 1;
remoteGlobalIDString = E56E59D616C95CAA00F39927;
remoteInfo = SampleApp;
};
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
E56E59D716C95CAA00F39927 /* SampleApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SampleApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
E56E59DB16C95CAA00F39927 /* SampleApp-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "SampleApp-Info.plist"; sourceTree = "<group>"; };
E56E59DD16C95CAA00F39927 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
E56E59DF16C95CAA00F39927 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
E56E59E116C95CAA00F39927 /* SampleApp-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SampleApp-Prefix.pch"; sourceTree = "<group>"; };
E56E59E316C95CAA00F39927 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = "<group>"; };
E56E59E516C95CAA00F39927 /* CPAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CPAppDelegate.h; sourceTree = "<group>"; };
E56E59E616C95CAA00F39927 /* CPAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CPAppDelegate.m; sourceTree = "<group>"; };
E56E59E916C95CAB00F39927 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = "<group>"; };
E56E59F016C95CAB00F39927 /* SampleAppTests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SampleAppTests.octest; sourceTree = BUILT_PRODUCTS_DIR; };
E56E59F116C95CAB00F39927 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; };
E56E59F816C95CAB00F39927 /* SampleAppTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "SampleAppTests-Info.plist"; sourceTree = "<group>"; };
E56E59FA16C95CAB00F39927 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
E56E59FC16C95CAB00F39927 /* SampleAppTests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SampleAppTests.h; sourceTree = "<group>"; };
E56E59FD16C95CAB00F39927 /* SampleAppTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SampleAppTests.m; sourceTree = "<group>"; };
E56E5A3A16C95CD600F39927 /* SampleApp_2.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SampleApp_2.app; sourceTree = BUILT_PRODUCTS_DIR; };
E56E5A3E16C95CD600F39927 /* SampleApp_2-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "SampleApp_2-Info.plist"; sourceTree = "<group>"; };
E56E5A4016C95CD600F39927 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
E56E5A4216C95CD600F39927 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
E56E5A4416C95CD600F39927 /* SampleApp_2-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SampleApp_2-Prefix.pch"; sourceTree = "<group>"; };
E56E5A4616C95CD600F39927 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = "<group>"; };
E56E5A4816C95CD600F39927 /* CPAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CPAppDelegate.h; sourceTree = "<group>"; };
E56E5A4916C95CD600F39927 /* CPAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CPAppDelegate.m; sourceTree = "<group>"; };
E56E5A4C16C95CD600F39927 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = "<group>"; };
E56E5A5516C95CE300F39927 /* NonIntegrated.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = NonIntegrated.app; sourceTree = BUILT_PRODUCTS_DIR; };
E56E5A5916C95CE300F39927 /* NonIntegrated-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "NonIntegrated-Info.plist"; sourceTree = "<group>"; };
E56E5A5B16C95CE300F39927 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
E56E5A5D16C95CE300F39927 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
E56E5A5F16C95CE300F39927 /* NonIntegrated-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NonIntegrated-Prefix.pch"; sourceTree = "<group>"; };
E56E5A6116C95CE300F39927 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = "<group>"; };
E56E5A6316C95CE300F39927 /* CPAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CPAppDelegate.h; sourceTree = "<group>"; };
E56E5A6416C95CE300F39927 /* CPAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CPAppDelegate.m; sourceTree = "<group>"; };
E56E5A6716C95CE300F39927 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = "<group>"; };
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; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
E56E59D416C95CAA00F39927 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
E56E59D816C95CAA00F39927 /* Cocoa.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E56E59EC16C95CAB00F39927 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
E56E59F216C95CAB00F39927 /* SenTestingKit.framework in Frameworks */,
E56E59F316C95CAB00F39927 /* Cocoa.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E56E5A3716C95CD600F39927 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
E56E5A3B16C95CD600F39927 /* Cocoa.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E56E5A5216C95CE300F39927 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
E56E5A5616C95CE300F39927 /* Cocoa.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
E56E59D916C95CAA00F39927 /* SampleApp */ = {
isa = PBXGroup;
children = (
E56E59E516C95CAA00F39927 /* CPAppDelegate.h */,
E56E59E616C95CAA00F39927 /* CPAppDelegate.m */,
E56E59E816C95CAB00F39927 /* MainMenu.xib */,
E56E59DA16C95CAA00F39927 /* Supporting Files */,
);
path = SampleApp;
sourceTree = "<group>";
};
E56E59DA16C95CAA00F39927 /* Supporting Files */ = {
isa = PBXGroup;
children = (
E56E59DB16C95CAA00F39927 /* SampleApp-Info.plist */,
E56E59DC16C95CAA00F39927 /* InfoPlist.strings */,
E56E59DF16C95CAA00F39927 /* main.m */,
E56E59E116C95CAA00F39927 /* SampleApp-Prefix.pch */,
E56E59E216C95CAA00F39927 /* Credits.rtf */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
E56E59F616C95CAB00F39927 /* SampleAppTests */ = {
isa = PBXGroup;
children = (
E56E59FC16C95CAB00F39927 /* SampleAppTests.h */,
E56E59FD16C95CAB00F39927 /* SampleAppTests.m */,
E56E59F716C95CAB00F39927 /* Supporting Files */,
);
path = SampleAppTests;
sourceTree = "<group>";
};
E56E59F716C95CAB00F39927 /* Supporting Files */ = {
isa = PBXGroup;
children = (
E56E59F816C95CAB00F39927 /* SampleAppTests-Info.plist */,
E56E59F916C95CAB00F39927 /* InfoPlist.strings */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
E56E5A3C16C95CD600F39927 /* SampleApp_2 */ = {
isa = PBXGroup;
children = (
E56E5A4816C95CD600F39927 /* CPAppDelegate.h */,
E56E5A4916C95CD600F39927 /* CPAppDelegate.m */,
E56E5A4B16C95CD600F39927 /* MainMenu.xib */,
E56E5A3D16C95CD600F39927 /* Supporting Files */,
);
path = SampleApp_2;
sourceTree = "<group>";
};
E56E5A3D16C95CD600F39927 /* Supporting Files */ = {
isa = PBXGroup;
children = (
E56E5A3E16C95CD600F39927 /* SampleApp_2-Info.plist */,
E56E5A3F16C95CD600F39927 /* InfoPlist.strings */,
E56E5A4216C95CD600F39927 /* main.m */,
E56E5A4416C95CD600F39927 /* SampleApp_2-Prefix.pch */,
E56E5A4516C95CD600F39927 /* Credits.rtf */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
E56E5A5716C95CE300F39927 /* NonIntegrated */ = {
isa = PBXGroup;
children = (
E56E5A6316C95CE300F39927 /* CPAppDelegate.h */,
E56E5A6416C95CE300F39927 /* CPAppDelegate.m */,
E56E5A6616C95CE300F39927 /* MainMenu.xib */,
E56E5A5816C95CE300F39927 /* Supporting Files */,
);
path = NonIntegrated;
sourceTree = "<group>";
};
E56E5A5816C95CE300F39927 /* Supporting Files */ = {
isa = PBXGroup;
children = (
E56E5A5916C95CE300F39927 /* NonIntegrated-Info.plist */,
E56E5A5A16C95CE300F39927 /* InfoPlist.strings */,
E56E5A5D16C95CE300F39927 /* main.m */,
E56E5A5F16C95CE300F39927 /* NonIntegrated-Prefix.pch */,
E56E5A6016C95CE300F39927 /* Credits.rtf */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
E575589216C5943000DC1500 = {
isa = PBXGroup;
children = (
E56E59D916C95CAA00F39927 /* SampleApp */,
E56E59F616C95CAB00F39927 /* SampleAppTests */,
E56E5A3C16C95CD600F39927 /* SampleApp_2 */,
E56E5A5716C95CE300F39927 /* NonIntegrated */,
E575589D16C5943000DC1500 /* Frameworks */,
E575589C16C5943000DC1500 /* Products */,
);
sourceTree = "<group>";
};
E575589C16C5943000DC1500 /* Products */ = {
isa = PBXGroup;
children = (
E56E59D716C95CAA00F39927 /* SampleApp.app */,
E56E59F016C95CAB00F39927 /* SampleAppTests.octest */,
E56E5A3A16C95CD600F39927 /* SampleApp_2.app */,
E56E5A5516C95CE300F39927 /* NonIntegrated.app */,
);
name = Products;
sourceTree = "<group>";
};
E575589D16C5943000DC1500 /* Frameworks */ = {
isa = PBXGroup;
children = (
E575589E16C5943000DC1500 /* Cocoa.framework */,
E56E59F116C95CAB00F39927 /* SenTestingKit.framework */,
E57558A016C5943000DC1500 /* Other Frameworks */,
);
name = Frameworks;
sourceTree = "<group>";
};
E57558A016C5943000DC1500 /* Other Frameworks */ = {
isa = PBXGroup;
children = (
E57558A116C5943000DC1500 /* AppKit.framework */,
E57558A216C5943000DC1500 /* CoreData.framework */,
E57558A316C5943000DC1500 /* Foundation.framework */,
);
name = "Other Frameworks";
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
E56E59D616C95CAA00F39927 /* SampleApp */ = {
isa = PBXNativeTarget;
buildConfigurationList = E56E59FF16C95CAB00F39927 /* Build configuration list for PBXNativeTarget "SampleApp" */;
buildPhases = (
E56E59D316C95CAA00F39927 /* Sources */,
E56E59D416C95CAA00F39927 /* Frameworks */,
E56E59D516C95CAA00F39927 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = SampleApp;
productName = SampleApp;
productReference = E56E59D716C95CAA00F39927 /* SampleApp.app */;
productType = "com.apple.product-type.application";
};
E56E59EF16C95CAB00F39927 /* SampleAppTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = E56E5A0216C95CAB00F39927 /* Build configuration list for PBXNativeTarget "SampleAppTests" */;
buildPhases = (
E56E59EB16C95CAB00F39927 /* Sources */,
E56E59EC16C95CAB00F39927 /* Frameworks */,
E56E59ED16C95CAB00F39927 /* Resources */,
E56E59EE16C95CAB00F39927 /* ShellScript */,
);
buildRules = (
);
dependencies = (
E56E59F516C95CAB00F39927 /* PBXTargetDependency */,
);
name = SampleAppTests;
productName = SampleAppTests;
productReference = E56E59F016C95CAB00F39927 /* SampleAppTests.octest */;
productType = "com.apple.product-type.bundle";
};
E56E5A3916C95CD600F39927 /* SampleApp_2 */ = {
isa = PBXNativeTarget;
buildConfigurationList = E56E5A4E16C95CD600F39927 /* Build configuration list for PBXNativeTarget "SampleApp_2" */;
buildPhases = (
E56E5A3616C95CD600F39927 /* Sources */,
E56E5A3716C95CD600F39927 /* Frameworks */,
E56E5A3816C95CD600F39927 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = SampleApp_2;
productName = SampleApp_2;
productReference = E56E5A3A16C95CD600F39927 /* SampleApp_2.app */;
productType = "com.apple.product-type.application";
};
E56E5A5416C95CE300F39927 /* NonIntegrated */ = {
isa = PBXNativeTarget;
buildConfigurationList = E56E5A6916C95CE300F39927 /* Build configuration list for PBXNativeTarget "NonIntegrated" */;
buildPhases = (
E56E5A5116C95CE300F39927 /* Sources */,
E56E5A5216C95CE300F39927 /* Frameworks */,
E56E5A5316C95CE300F39927 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = NonIntegrated;
productName = NonIntegrated;
productReference = E56E5A5516C95CE300F39927 /* NonIntegrated.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 = (
E56E59D616C95CAA00F39927 /* SampleApp */,
E56E59EF16C95CAB00F39927 /* SampleAppTests */,
E56E5A3916C95CD600F39927 /* SampleApp_2 */,
E56E5A5416C95CE300F39927 /* NonIntegrated */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
E56E59D516C95CAA00F39927 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E56E59DE16C95CAA00F39927 /* InfoPlist.strings in Resources */,
E56E59E416C95CAA00F39927 /* Credits.rtf in Resources */,
E56E59EA16C95CAB00F39927 /* MainMenu.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E56E59ED16C95CAB00F39927 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E56E59FB16C95CAB00F39927 /* InfoPlist.strings in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E56E5A3816C95CD600F39927 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E56E5A4116C95CD600F39927 /* InfoPlist.strings in Resources */,
E56E5A4716C95CD600F39927 /* Credits.rtf in Resources */,
E56E5A4D16C95CD600F39927 /* MainMenu.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E56E5A5316C95CE300F39927 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E56E5A5C16C95CE300F39927 /* InfoPlist.strings in Resources */,
E56E5A6216C95CE300F39927 /* Credits.rtf in Resources */,
E56E5A6816C95CE300F39927 /* MainMenu.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
E56E59EE16C95CAB00F39927 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n";
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
E56E59D316C95CAA00F39927 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E56E59E016C95CAA00F39927 /* main.m in Sources */,
E56E59E716C95CAA00F39927 /* CPAppDelegate.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E56E59EB16C95CAB00F39927 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E56E59FE16C95CAB00F39927 /* SampleAppTests.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E56E5A3616C95CD600F39927 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E56E5A4316C95CD600F39927 /* main.m in Sources */,
E56E5A4A16C95CD600F39927 /* CPAppDelegate.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E56E5A5116C95CE300F39927 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E56E5A5E16C95CE300F39927 /* main.m in Sources */,
E56E5A6516C95CE300F39927 /* CPAppDelegate.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
E56E59F516C95CAB00F39927 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = E56E59D616C95CAA00F39927 /* SampleApp */;
targetProxy = E56E59F416C95CAB00F39927 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin PBXVariantGroup section */
E56E59DC16C95CAA00F39927 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
E56E59DD16C95CAA00F39927 /* en */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
E56E59E216C95CAA00F39927 /* Credits.rtf */ = {
isa = PBXVariantGroup;
children = (
E56E59E316C95CAA00F39927 /* en */,
);
name = Credits.rtf;
sourceTree = "<group>";
};
E56E59E816C95CAB00F39927 /* MainMenu.xib */ = {
isa = PBXVariantGroup;
children = (
E56E59E916C95CAB00F39927 /* en */,
);
name = MainMenu.xib;
sourceTree = "<group>";
};
E56E59F916C95CAB00F39927 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
E56E59FA16C95CAB00F39927 /* en */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
E56E5A3F16C95CD600F39927 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
E56E5A4016C95CD600F39927 /* en */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
E56E5A4516C95CD600F39927 /* Credits.rtf */ = {
isa = PBXVariantGroup;
children = (
E56E5A4616C95CD600F39927 /* en */,
);
name = Credits.rtf;
sourceTree = "<group>";
};
E56E5A4B16C95CD600F39927 /* MainMenu.xib */ = {
isa = PBXVariantGroup;
children = (
E56E5A4C16C95CD600F39927 /* en */,
);
name = MainMenu.xib;
sourceTree = "<group>";
};
E56E5A5A16C95CE300F39927 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
E56E5A5B16C95CE300F39927 /* en */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
E56E5A6016C95CE300F39927 /* Credits.rtf */ = {
isa = PBXVariantGroup;
children = (
E56E5A6116C95CE300F39927 /* en */,
);
name = Credits.rtf;
sourceTree = "<group>";
};
E56E5A6616C95CE300F39927 /* MainMenu.xib */ = {
isa = PBXVariantGroup;
children = (
E56E5A6716C95CE300F39927 /* en */,
);
name = MainMenu.xib;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
E56E5A0016C95CAB00F39927 /* 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;
};
E56E5A0116C95CAB00F39927 /* 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;
};
E56E5A0316C95CAB00F39927 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/SampleApp.app/Contents/MacOS/SampleApp";
COMBINE_HIDPI_IMAGES = YES;
FRAMEWORK_SEARCH_PATHS = "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "SampleApp/SampleApp-Prefix.pch";
INFOPLIST_FILE = "SampleAppTests/SampleAppTests-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUNDLE_LOADER)";
WRAPPER_EXTENSION = octest;
};
name = Debug;
};
E56E5A0416C95CAB00F39927 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/SampleApp.app/Contents/MacOS/SampleApp";
COMBINE_HIDPI_IMAGES = YES;
FRAMEWORK_SEARCH_PATHS = "\"$(DEVELOPER_LIBRARY_DIR)/Frameworks\"";
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "SampleApp/SampleApp-Prefix.pch";
INFOPLIST_FILE = "SampleAppTests/SampleAppTests-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUNDLE_LOADER)";
WRAPPER_EXTENSION = octest;
};
name = Release;
};
E56E5A4F16C95CD600F39927 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "SampleApp_2/SampleApp_2-Prefix.pch";
INFOPLIST_FILE = "SampleApp_2/SampleApp_2-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
name = Debug;
};
E56E5A5016C95CD600F39927 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "SampleApp_2/SampleApp_2-Prefix.pch";
INFOPLIST_FILE = "SampleApp_2/SampleApp_2-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
name = Release;
};
E56E5A6A16C95CE300F39927 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "NonIntegrated/NonIntegrated-Prefix.pch";
INFOPLIST_FILE = "NonIntegrated/NonIntegrated-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
name = Debug;
};
E56E5A6B16C95CE300F39927 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "NonIntegrated/NonIntegrated-Prefix.pch";
INFOPLIST_FILE = "NonIntegrated/NonIntegrated-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
name = Release;
};
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;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
E56E59FF16C95CAB00F39927 /* Build configuration list for PBXNativeTarget "SampleApp" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E56E5A0016C95CAB00F39927 /* Debug */,
E56E5A0116C95CAB00F39927 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
E56E5A0216C95CAB00F39927 /* Build configuration list for PBXNativeTarget "SampleAppTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E56E5A0316C95CAB00F39927 /* Debug */,
E56E5A0416C95CAB00F39927 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
E56E5A4E16C95CD600F39927 /* Build configuration list for PBXNativeTarget "SampleApp_2" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E56E5A4F16C95CD600F39927 /* Debug */,
E56E5A5016C95CD600F39927 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
E56E5A6916C95CE300F39927 /* Build configuration list for PBXNativeTarget "NonIntegrated" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E56E5A6A16C95CE300F39927 /* Debug */,
E56E5A6B16C95CE300F39927 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
E575589616C5943000DC1500 /* Build configuration list for PBXProject "SampleApp" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E57558B616C5943100DC1500 /* Debug */,
E57558B716C5943100DC1500 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = E575589316C5943000DC1500 /* Project object */;
}
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
end
platform :ios, '6.0'
pod "Reachability", "3.1.0"
pre_install do |installer|
memo = "PODS:#{installer.pods * ', '} TARGETS:#{installer.specs_by_target.keys.map(&:name) * ', '}"
File.open(config.project_pods_root + '../pre_install.txt', 'w') {|f| f.puts memo}
end
post_install do |installer|
target = installer.project.targets.first
target.build_configurations.each do |config|
config.build_settings['GCC_ENABLE_OBJC_GC'] = 'supported'
end
end
PODS:
- Reachability (3.1.0)
DEPENDENCIES:
- Reachability (= 3.1.0)
SPEC CHECKSUMS:
Reachability: 1c8584c5f26fa776695efef95caaa50402c94cfb
COCOAPODS: 0.16.2
../../Reachability/Reachability.h
\ No newline at end of file
# Acknowledgements
This application makes use of the following third party libraries:
## Reachability
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.
Generated by CocoaPods - http://cocoapods.org
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>FooterText</key>
<string>This application makes use of the following third party libraries:</string>
<key>Title</key>
<string>Acknowledgements</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>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.
</string>
<key>Title</key>
<string>Reachability</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Generated by CocoaPods - http://cocoapods.org</string>
<key>Title</key>
<string></string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
</array>
<key>StringsTable</key>
<string>Acknowledgements</string>
<key>Title</key>
<string>Acknowledgements</string>
</dict>
</plist>
#!/bin/sh
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*)
echo "cp -R ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
cp -R "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
;;
esac
}
ALWAYS_SEARCH_USER_PATHS = YES
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC -framework SystemConfiguration
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability"
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
PODS_ROOT = ${SRCROOT}/Pods
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>archiveVersion</key>
<string>1</string>
<key>classes</key>
<dict/>
<key>objectVersion</key>
<string>46</string>
<key>objects</key>
<dict>
<key>0AC3065D5B76403587A606F6</key>
<dict>
<key>fileRef</key>
<string>CBB15AE916924F509192F984</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict>
<key>COMPILER_FLAGS</key>
<string>-fobjc-arc -DOS_OBJECT_USE_OBJC=0</string>
</dict>
</dict>
<key>169989EDDE89445A85E2E9A6</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E7B857EA255F412B82182BFA</string>
</array>
<key>isa</key>
<string>PBXHeadersBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>2B570994A9814780A781A7C7</key>
<dict>
<key>children</key>
<array>
<string>95762FFCA1F241918FA7C34E</string>
<string>F37DD36A952B43BE97E03661</string>
<string>A933970DD35F43088566DB28</string>
<string>E2B31BCD56E4440C85AAB97F</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>3614CA5B30434FBBBCF66E90</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>Pods-prefix.pch</string>
<key>path</key>
<string>Pods-prefix.pch</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>38475FE0155A4ABDBF751F32</key>
<dict>
<key>fileRef</key>
<string>8120F7D38311468B903EE420</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>49AFFF338DBC46B59943B9D5</key>
<dict>
<key>children</key>
<array>
<string>E406E68B054A491887E60DCB</string>
<string>3614CA5B30434FBBBCF66E90</string>
<string>C237D30E32724E92A6F9F171</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Pods</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>586810EDA021400C8D0994EA</key>
<dict>
<key>buildConfigurationList</key>
<string>DA079D1C8655482CA74A9972</string>
<key>buildPhases</key>
<array>
<string>5CFCFF6592F64975A7439C38</string>
<string>E771C58E7A0642C593388410</string>
<string>169989EDDE89445A85E2E9A6</string>
</array>
<key>buildRules</key>
<array/>
<key>dependencies</key>
<array/>
<key>isa</key>
<string>PBXNativeTarget</string>
<key>name</key>
<string>Pods</string>
<key>productName</key>
<string>Pods</string>
<key>productReference</key>
<string>C02E651F65A14ACDB9FE9AFC</string>
<key>productType</key>
<string>com.apple.product-type.library.static</string>
</dict>
<key>5CFCFF6592F64975A7439C38</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>0AC3065D5B76403587A606F6</string>
<string>84BF1EAAA05A470D95FAE77E</string>
</array>
<key>isa</key>
<string>PBXSourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>6BD9FCDC9AC44308A0266475</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>name</key>
<string>PodsDummy_Pods.m</string>
<key>path</key>
<string>PodsDummy_Pods.m</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>73AE657811144D3388210B40</key>
<dict>
<key>baseConfigurationReference</key>
<string>C237D30E32724E92A6F9F171</string>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_32_BIT)</string>
<key>COPY_PHASE_STRIP</key>
<string>YES</string>
<key>DSTROOT</key>
<string>/tmp/xcodeproj.dst</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_ENABLE_OBJC_GC</key>
<string>supported</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>Pods-prefix.pch</string>
<key>GCC_VERSION</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>GCC_WARN_INHIBIT_ALL_WARNINGS</key>
<string>NO</string>
<key>INSTALL_PATH</key>
<string>$(BUILT_PRODUCTS_DIR)</string>
<key>IPHONEOS_DEPLOYMENT_TARGET</key>
<string>6.0</string>
<key>OTHER_LDFLAGS</key>
<string></string>
<key>PODS_HEADERS_SEARCH_PATHS</key>
<string>${PODS_BUILD_HEADERS_SEARCH_PATHS}</string>
<key>PODS_ROOT</key>
<string>${SRCROOT}</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>PUBLIC_HEADERS_FOLDER_PATH</key>
<string>$(TARGET_NAME)</string>
<key>SDKROOT</key>
<string>iphoneos</string>
<key>SKIP_INSTALL</key>
<string>YES</string>
<key>VALIDATE_PRODUCT</key>
<string>YES</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>8120F7D38311468B903EE420</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>Foundation.framework</string>
<key>path</key>
<string>Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework</string>
<key>sourceTree</key>
<string>DEVELOPER_DIR</string>
</dict>
<key>84BF1EAAA05A470D95FAE77E</key>
<dict>
<key>fileRef</key>
<string>6BD9FCDC9AC44308A0266475</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>95762FFCA1F241918FA7C34E</key>
<dict>
<key>children</key>
<array>
<string>C02E651F65A14ACDB9FE9AFC</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Products</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>A933970DD35F43088566DB28</key>
<dict>
<key>children</key>
<array>
<string>DE6B3B07481F4D29ABAF271D</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Pods</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>C02E651F65A14ACDB9FE9AFC</key>
<dict>
<key>explicitFileType</key>
<string>archive.ar</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>libPods.a</string>
<key>path</key>
<string>libPods.a</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>C237D30E32724E92A6F9F171</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.xcconfig</string>
<key>name</key>
<string>Pods.xcconfig</string>
<key>path</key>
<string>Pods.xcconfig</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>C307B52348454101A5602666</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>D0F78FF1B0F9437796381F94</string>
<string>E5D569D634D44AC9AFE41FE1</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>defaultConfigurationName</key>
<string>Release</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>CBB15AE916924F509192F984</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>name</key>
<string>Reachability.m</string>
<key>path</key>
<string>Reachability/Reachability.m</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>D0F78FF1B0F9437796381F94</key>
<dict>
<key>buildSettings</key>
<dict/>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>DA079D1C8655482CA74A9972</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>73AE657811144D3388210B40</string>
<string>ED39DF22E8F24688AAC7EACC</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>defaultConfigurationName</key>
<string>Release</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>DE6B3B07481F4D29ABAF271D</key>
<dict>
<key>children</key>
<array>
<string>F8A0D4A1245E416583B4970A</string>
<string>CBB15AE916924F509192F984</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Reachability</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E2B31BCD56E4440C85AAB97F</key>
<dict>
<key>children</key>
<array>
<string>49AFFF338DBC46B59943B9D5</string>
<string>6BD9FCDC9AC44308A0266475</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Targets Support Files</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E406E68B054A491887E60DCB</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>Pods-resources.sh</string>
<key>path</key>
<string>Pods-resources.sh</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>E5D569D634D44AC9AFE41FE1</key>
<dict>
<key>buildSettings</key>
<dict/>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>E771C58E7A0642C593388410</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>38475FE0155A4ABDBF751F32</string>
</array>
<key>isa</key>
<string>PBXFrameworksBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E784B95E52D14A6D803EC22D</key>
<dict>
<key>attributes</key>
<dict>
<key>LastUpgradeCheck</key>
<string>0450</string>
</dict>
<key>buildConfigurationList</key>
<string>C307B52348454101A5602666</string>
<key>compatibilityVersion</key>
<string>Xcode 3.2</string>
<key>developmentRegion</key>
<string>English</string>
<key>hasScannedForEncodings</key>
<string>0</string>
<key>isa</key>
<string>PBXProject</string>
<key>knownRegions</key>
<array>
<string>en</string>
</array>
<key>mainGroup</key>
<string>2B570994A9814780A781A7C7</string>
<key>productRefGroup</key>
<string>95762FFCA1F241918FA7C34E</string>
<key>projectReferences</key>
<array/>
<key>targets</key>
<array>
<string>586810EDA021400C8D0994EA</string>
</array>
</dict>
<key>E7B857EA255F412B82182BFA</key>
<dict>
<key>fileRef</key>
<string>F8A0D4A1245E416583B4970A</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>ED39DF22E8F24688AAC7EACC</key>
<dict>
<key>baseConfigurationReference</key>
<string>C237D30E32724E92A6F9F171</string>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_32_BIT)</string>
<key>COPY_PHASE_STRIP</key>
<string>NO</string>
<key>DSTROOT</key>
<string>/tmp/xcodeproj.dst</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_DYNAMIC_NO_PIC</key>
<string>NO</string>
<key>GCC_ENABLE_OBJC_GC</key>
<string>supported</string>
<key>GCC_OPTIMIZATION_LEVEL</key>
<string>0</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>Pods-prefix.pch</string>
<key>GCC_PREPROCESSOR_DEFINITIONS</key>
<array>
<string>DEBUG=1</string>
<string>$(inherited)</string>
</array>
<key>GCC_SYMBOLS_PRIVATE_EXTERN</key>
<string>NO</string>
<key>GCC_VERSION</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>GCC_WARN_INHIBIT_ALL_WARNINGS</key>
<string>NO</string>
<key>INSTALL_PATH</key>
<string>$(BUILT_PRODUCTS_DIR)</string>
<key>IPHONEOS_DEPLOYMENT_TARGET</key>
<string>6.0</string>
<key>OTHER_LDFLAGS</key>
<string></string>
<key>PODS_HEADERS_SEARCH_PATHS</key>
<string>${PODS_BUILD_HEADERS_SEARCH_PATHS}</string>
<key>PODS_ROOT</key>
<string>${SRCROOT}</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>PUBLIC_HEADERS_FOLDER_PATH</key>
<string>$(TARGET_NAME)</string>
<key>SDKROOT</key>
<string>iphoneos</string>
<key>SKIP_INSTALL</key>
<string>YES</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>F37DD36A952B43BE97E03661</key>
<dict>
<key>children</key>
<array>
<string>8120F7D38311468B903EE420</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Frameworks</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>F8A0D4A1245E416583B4970A</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>name</key>
<string>Reachability.h</string>
<key>path</key>
<string>Reachability/Reachability.h</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
</dict>
<key>rootObject</key>
<string>E784B95E52D14A6D803EC22D</string>
</dict>
</plist>
@interface PodsDummy_Pods : NSObject
@end
@implementation PodsDummy_Pods
@end
# 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
/*
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 <Foundation/Foundation.h>
#import <SystemConfiguration/SystemConfiguration.h>
#import <sys/socket.h>
#import <netinet/in.h>
#import <netinet6/in6.h>
#import <arpa/inet.h>
#import <ifaddrs.h>
#import <netdb.h>
/**
* 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
/*
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 <netinet/in.h> 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
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
end
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>archiveVersion</key>
<string>1</string>
<key>classes</key>
<dict/>
<key>objectVersion</key>
<string>46</string>
<key>objects</key>
<dict>
<key>226AFFD5AEA649CB8F7DFCC9</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.xcconfig</string>
<key>name</key>
<string>Pods.xcconfig</string>
<key>path</key>
<string>Pods/Pods.xcconfig</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>369484567C314F0F8D43F5D1</key>
<dict>
<key>fileRef</key>
<string>52B16B3DB4E843ED886BB4E4</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>52B16B3DB4E843ED886BB4E4</key>
<dict>
<key>explicitFileType</key>
<string>archive.ar</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>libPods.a</string>
<key>path</key>
<string>libPods.a</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>8601D69F4DE34E7984B421FD</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array/>
<key>inputPaths</key>
<array/>
<key>isa</key>
<string>PBXShellScriptBuildPhase</string>
<key>name</key>
<string>Copy Pods Resources</string>
<key>outputPaths</key>
<array/>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
<key>shellPath</key>
<string>/bin/sh</string>
<key>shellScript</key>
<string>"${SRCROOT}/Pods/Pods-resources.sh"
</string>
<key>showEnvVarsInLog</key>
<string>1</string>
</dict>
<key>E575589216C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558A416C5943000DC1500</string>
<string>E575589D16C5943000DC1500</string>
<string>E575589C16C5943000DC1500</string>
<string>226AFFD5AEA649CB8F7DFCC9</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E575589316C5943000DC1500</key>
<dict>
<key>attributes</key>
<dict>
<key>CLASSPREFIX</key>
<string>CP</string>
<key>LastUpgradeCheck</key>
<string>0460</string>
<key>ORGANIZATIONNAME</key>
<string>CocoaPods</string>
</dict>
<key>buildConfigurationList</key>
<string>E575589616C5943000DC1500</string>
<key>compatibilityVersion</key>
<string>Xcode 3.2</string>
<key>developmentRegion</key>
<string>English</string>
<key>hasScannedForEncodings</key>
<string>0</string>
<key>isa</key>
<string>PBXProject</string>
<key>knownRegions</key>
<array>
<string>en</string>
</array>
<key>mainGroup</key>
<string>E575589216C5943000DC1500</string>
<key>productRefGroup</key>
<string>E575589C16C5943000DC1500</string>
<key>projectDirPath</key>
<string></string>
<key>projectReferences</key>
<array/>
<key>projectRoot</key>
<string></string>
<key>targets</key>
<array>
<string>E575589A16C5943000DC1500</string>
</array>
</dict>
<key>E575589616C5943000DC1500</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>E57558B616C5943100DC1500</string>
<string>E57558B716C5943100DC1500</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>defaultConfigurationName</key>
<string>Release</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>E575589716C5943000DC1500</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E57558AB16C5943000DC1500</string>
<string>E57558B216C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXSourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E575589816C5943000DC1500</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E575589F16C5943000DC1500</string>
<string>369484567C314F0F8D43F5D1</string>
</array>
<key>isa</key>
<string>PBXFrameworksBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E575589916C5943000DC1500</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E57558A916C5943000DC1500</string>
<string>E57558AF16C5943000DC1500</string>
<string>E57558B516C5943100DC1500</string>
</array>
<key>isa</key>
<string>PBXResourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E575589A16C5943000DC1500</key>
<dict>
<key>buildConfigurationList</key>
<string>E57558B816C5943100DC1500</string>
<key>buildPhases</key>
<array>
<string>E575589716C5943000DC1500</string>
<string>E575589816C5943000DC1500</string>
<string>E575589916C5943000DC1500</string>
<string>8601D69F4DE34E7984B421FD</string>
</array>
<key>buildRules</key>
<array/>
<key>dependencies</key>
<array/>
<key>isa</key>
<string>PBXNativeTarget</string>
<key>name</key>
<string>SampleApp</string>
<key>productName</key>
<string>SampleApp</string>
<key>productReference</key>
<string>E575589B16C5943000DC1500</string>
<key>productType</key>
<string>com.apple.product-type.application</string>
</dict>
<key>E575589B16C5943000DC1500</key>
<dict>
<key>explicitFileType</key>
<string>wrapper.application</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>path</key>
<string>SampleApp.app</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>E575589C16C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E575589B16C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Products</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E575589D16C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E575589E16C5943000DC1500</string>
<string>E57558A016C5943000DC1500</string>
<string>52B16B3DB4E843ED886BB4E4</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Frameworks</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E575589E16C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>Cocoa.framework</string>
<key>path</key>
<string>System/Library/Frameworks/Cocoa.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E575589F16C5943000DC1500</key>
<dict>
<key>fileRef</key>
<string>E575589E16C5943000DC1500</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E57558A016C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558A116C5943000DC1500</string>
<string>E57558A216C5943000DC1500</string>
<string>E57558A316C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Other Frameworks</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558A116C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>AppKit.framework</string>
<key>path</key>
<string>System/Library/Frameworks/AppKit.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E57558A216C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>CoreData.framework</string>
<key>path</key>
<string>System/Library/Frameworks/CoreData.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E57558A316C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>Foundation.framework</string>
<key>path</key>
<string>System/Library/Frameworks/Foundation.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E57558A416C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558B016C5943000DC1500</string>
<string>E57558B116C5943000DC1500</string>
<string>E57558B316C5943100DC1500</string>
<string>E57558A516C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>path</key>
<string>SampleApp</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558A516C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558A616C5943000DC1500</string>
<string>E57558A716C5943000DC1500</string>
<string>E57558AA16C5943000DC1500</string>
<string>E57558AC16C5943000DC1500</string>
<string>E57558AD16C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Supporting Files</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558A616C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.plist.xml</string>
<key>path</key>
<string>SampleApp-Info.plist</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558A716C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558A816C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>InfoPlist.strings</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558A816C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.plist.strings</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/InfoPlist.strings</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558A916C5943000DC1500</key>
<dict>
<key>fileRef</key>
<string>E57558A716C5943000DC1500</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E57558AA16C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>path</key>
<string>main.m</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558AB16C5943000DC1500</key>
<dict>
<key>fileRef</key>
<string>E57558AA16C5943000DC1500</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E57558AC16C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>path</key>
<string>SampleApp-Prefix.pch</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558AD16C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558AE16C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>Credits.rtf</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558AE16C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.rtf</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/Credits.rtf</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558AF16C5943000DC1500</key>
<dict>
<key>fileRef</key>
<string>E57558AD16C5943000DC1500</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E57558B016C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>path</key>
<string>CPAppDelegate.h</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558B116C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>path</key>
<string>CPAppDelegate.m</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558B216C5943000DC1500</key>
<dict>
<key>fileRef</key>
<string>E57558B116C5943000DC1500</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E57558B316C5943100DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558B416C5943100DC1500</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>MainMenu.xib</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558B416C5943100DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>file.xib</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/MainMenu.xib</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558B516C5943100DC1500</key>
<dict>
<key>fileRef</key>
<string>E57558B316C5943100DC1500</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E57558B616C5943100DC1500</key>
<dict>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_64_BIT)</string>
<key>CLANG_CXX_LANGUAGE_STANDARD</key>
<string>gnu++0x</string>
<key>CLANG_CXX_LIBRARY</key>
<string>libc++</string>
<key>CLANG_WARN_CONSTANT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_EMPTY_BODY</key>
<string>YES</string>
<key>CLANG_WARN_ENUM_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_INT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN__DUPLICATE_METHOD_MATCH</key>
<string>YES</string>
<key>COPY_PHASE_STRIP</key>
<string>NO</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_DYNAMIC_NO_PIC</key>
<string>NO</string>
<key>GCC_ENABLE_OBJC_EXCEPTIONS</key>
<string>YES</string>
<key>GCC_OPTIMIZATION_LEVEL</key>
<string>0</string>
<key>GCC_PREPROCESSOR_DEFINITIONS</key>
<array>
<string>DEBUG=1</string>
<string>$(inherited)</string>
</array>
<key>GCC_SYMBOLS_PRIVATE_EXTERN</key>
<string>NO</string>
<key>GCC_WARN_64_TO_32_BIT_CONVERSION</key>
<string>YES</string>
<key>GCC_WARN_ABOUT_RETURN_TYPE</key>
<string>YES</string>
<key>GCC_WARN_UNINITIALIZED_AUTOS</key>
<string>YES</string>
<key>GCC_WARN_UNUSED_VARIABLE</key>
<string>YES</string>
<key>MACOSX_DEPLOYMENT_TARGET</key>
<string>10.8</string>
<key>ONLY_ACTIVE_ARCH</key>
<string>YES</string>
<key>SDKROOT</key>
<string>macosx</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>E57558B716C5943100DC1500</key>
<dict>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_64_BIT)</string>
<key>CLANG_CXX_LANGUAGE_STANDARD</key>
<string>gnu++0x</string>
<key>CLANG_CXX_LIBRARY</key>
<string>libc++</string>
<key>CLANG_WARN_CONSTANT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_EMPTY_BODY</key>
<string>YES</string>
<key>CLANG_WARN_ENUM_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_INT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN__DUPLICATE_METHOD_MATCH</key>
<string>YES</string>
<key>COPY_PHASE_STRIP</key>
<string>YES</string>
<key>DEBUG_INFORMATION_FORMAT</key>
<string>dwarf-with-dsym</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_ENABLE_OBJC_EXCEPTIONS</key>
<string>YES</string>
<key>GCC_WARN_64_TO_32_BIT_CONVERSION</key>
<string>YES</string>
<key>GCC_WARN_ABOUT_RETURN_TYPE</key>
<string>YES</string>
<key>GCC_WARN_UNINITIALIZED_AUTOS</key>
<string>YES</string>
<key>GCC_WARN_UNUSED_VARIABLE</key>
<string>YES</string>
<key>MACOSX_DEPLOYMENT_TARGET</key>
<string>10.8</string>
<key>SDKROOT</key>
<string>macosx</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>E57558B816C5943100DC1500</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>E57558B916C5943100DC1500</string>
<string>E57558BA16C5943100DC1500</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>E57558B916C5943100DC1500</key>
<dict>
<key>baseConfigurationReference</key>
<string>226AFFD5AEA649CB8F7DFCC9</string>
<key>buildSettings</key>
<dict>
<key>COMBINE_HIDPI_IMAGES</key>
<string>YES</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>SampleApp/SampleApp-Prefix.pch</string>
<key>INFOPLIST_FILE</key>
<string>SampleApp/SampleApp-Info.plist</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>WRAPPER_EXTENSION</key>
<string>app</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>E57558BA16C5943100DC1500</key>
<dict>
<key>baseConfigurationReference</key>
<string>226AFFD5AEA649CB8F7DFCC9</string>
<key>buildSettings</key>
<dict>
<key>COMBINE_HIDPI_IMAGES</key>
<string>YES</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>SampleApp/SampleApp-Prefix.pch</string>
<key>INFOPLIST_FILE</key>
<string>SampleApp/SampleApp-Info.plist</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>WRAPPER_EXTENSION</key>
<string>app</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
</dict>
<key>rootObject</key>
<string>E575589316C5943000DC1500</string>
</dict>
</plist>
<?xml version='1.0' encoding='UTF-8'?><Workspace version='1.0'><FileRef location='group:Pods/Pods.xcodeproj'/><FileRef location='group:SampleApp.xcodeproj'/></Workspace>
\ No newline at end of file
$ pod install --no-update --no-doc --verbose --no-color
Resolving dependencies of `./Podfile'
Resolving dependencies for target `default' (iOS 6.0)
- Reachability (= 3.1.0)
Downloading dependencies
-> Installing Reachability (3.1.0)
$ /usr/bin/git config core.bare
true
> Cloning git repo
$ /usr/bin/git rev-list --max-count=1 v3.1.0
f7176f4798d068d233dca5223ae4bd9c8059e830
$ /usr/bin/git init
Initialized empty Git repository in ROOT/tmp/Pods/Reachability/.git/
$ /usr/bin/git remote add origin 'CACHES_DIR/Git/48f11286750afa2e2eb80564e288f42eed7cbab6'
$ /usr/bin/git fetch origin tags/v3.1.0
$ /usr/bin/git reset --hard FETCH_HEAD
HEAD is now at f7176f4 updated podspec
$ /usr/bin/git checkout -b activated-pod-commit
Generating support files
- Running pre install hooks
- Generating project
- Installing targets
- Generating xcconfig file at `./Pods/Pods.xcconfig'
- Generating prefix header at `./Pods/Pods-prefix.pch'
- Generating copy resources script at `./Pods/Pods-resources.sh'
- Running post install hooks
- Writing Xcode project file to `./Pods/Pods.xcodeproj'
- Writing lockfile in `./Podfile.lock'
[!] From now on use `SampleApp.xcworkspace'.
Integrating `libPods.a' into target `SampleApp' of Xcode project `./SampleApp.xcodeproj'.
platform :ios, '6.0'
pod "Reachability", "3.1.0"
pre_install do |installer|
memo = "PODS:#{installer.pods * ', '} TARGETS:#{installer.specs_by_target.keys.map(&:name) * ', '}"
File.open(config.project_pods_root + '../pre_install.txt', 'w') {|f| f.puts memo}
end
post_install do |installer|
target = installer.project.targets.first
target.build_configurations.each do |config|
config.build_settings['GCC_ENABLE_OBJC_GC'] = 'supported'
end
end
// !$*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 = "<group>"; };
E57558A816C5943000DC1500 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
E57558AA16C5943000DC1500 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
E57558AC16C5943000DC1500 /* SampleApp-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SampleApp-Prefix.pch"; sourceTree = "<group>"; };
E57558AE16C5943000DC1500 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = "<group>"; };
E57558B016C5943000DC1500 /* CPAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CPAppDelegate.h; sourceTree = "<group>"; };
E57558B116C5943000DC1500 /* CPAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CPAppDelegate.m; sourceTree = "<group>"; };
E57558B416C5943100DC1500 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = "<group>"; };
/* 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 = "<group>";
};
E575589C16C5943000DC1500 /* Products */ = {
isa = PBXGroup;
children = (
E575589B16C5943000DC1500 /* SampleApp.app */,
);
name = Products;
sourceTree = "<group>";
};
E575589D16C5943000DC1500 /* Frameworks */ = {
isa = PBXGroup;
children = (
E575589E16C5943000DC1500 /* Cocoa.framework */,
E57558A016C5943000DC1500 /* Other Frameworks */,
);
name = Frameworks;
sourceTree = "<group>";
};
E57558A016C5943000DC1500 /* Other Frameworks */ = {
isa = PBXGroup;
children = (
E57558A116C5943000DC1500 /* AppKit.framework */,
E57558A216C5943000DC1500 /* CoreData.framework */,
E57558A316C5943000DC1500 /* Foundation.framework */,
);
name = "Other Frameworks";
sourceTree = "<group>";
};
E57558A416C5943000DC1500 /* SampleApp */ = {
isa = PBXGroup;
children = (
E57558B016C5943000DC1500 /* CPAppDelegate.h */,
E57558B116C5943000DC1500 /* CPAppDelegate.m */,
E57558B316C5943100DC1500 /* MainMenu.xib */,
E57558A516C5943000DC1500 /* Supporting Files */,
);
path = SampleApp;
sourceTree = "<group>";
};
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 = "<group>";
};
/* 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 = "<group>";
};
E57558AD16C5943000DC1500 /* Credits.rtf */ = {
isa = PBXVariantGroup;
children = (
E57558AE16C5943000DC1500 /* en */,
);
name = Credits.rtf;
sourceTree = "<group>";
};
E57558B316C5943100DC1500 /* MainMenu.xib */ = {
isa = PBXVariantGroup;
children = (
E57558B416C5943100DC1500 /* en */,
);
name = MainMenu.xib;
sourceTree = "<group>";
};
/* 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 */;
}
platform :ios, '6.0'
pod "Reachability", :podspec => "Reachability.podspec"
PODS:
- Reachability (3.1.0)
DEPENDENCIES:
- Reachability (from `Reachability.podspec')
EXTERNAL SOURCES:
Reachability:
:podspec: Reachability.podspec
SPEC CHECKSUMS:
Reachability: b14c20321fa00f7f4600d8c9856fc57e71ef2ffe
COCOAPODS: 0.16.2
../../Reachability/Reachability.h
\ No newline at end of file
../../Reachability/Reachability.h
\ No newline at end of file
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
end
# Acknowledgements
This application makes use of the following third party libraries:
Generated by CocoaPods - http://cocoapods.org
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>FooterText</key>
<string>This application makes use of the following third party libraries:</string>
<key>Title</key>
<string>Acknowledgements</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Generated by CocoaPods - http://cocoapods.org</string>
<key>Title</key>
<string></string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
</array>
<key>StringsTable</key>
<string>Acknowledgements</string>
<key>Title</key>
<string>Acknowledgements</string>
</dict>
</plist>
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#!/bin/sh
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*)
echo "cp -R ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
cp -R "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
;;
esac
}
ALWAYS_SEARCH_USER_PATHS = YES
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC -framework SystemConfiguration
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability"
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
PODS_ROOT = ${SRCROOT}/Pods
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>archiveVersion</key>
<string>1</string>
<key>classes</key>
<dict/>
<key>objectVersion</key>
<string>46</string>
<key>objects</key>
<dict>
<key>1114A2D05B2446CA875D463A</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>55F91F0433DC4DE68ED58CC8</string>
<string>36FB5E046A7D4612953FE799</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>defaultConfigurationName</key>
<string>Release</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>131D76380B8A4BA38760DF10</key>
<dict>
<key>baseConfigurationReference</key>
<string>E3F8F9C7A2954F4C9DFDCC90</string>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_32_BIT)</string>
<key>COPY_PHASE_STRIP</key>
<string>YES</string>
<key>DSTROOT</key>
<string>/tmp/xcodeproj.dst</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>Pods-prefix.pch</string>
<key>GCC_VERSION</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>GCC_WARN_INHIBIT_ALL_WARNINGS</key>
<string>NO</string>
<key>INSTALL_PATH</key>
<string>$(BUILT_PRODUCTS_DIR)</string>
<key>IPHONEOS_DEPLOYMENT_TARGET</key>
<string>6.0</string>
<key>OTHER_LDFLAGS</key>
<string></string>
<key>PODS_HEADERS_SEARCH_PATHS</key>
<string>${PODS_BUILD_HEADERS_SEARCH_PATHS}</string>
<key>PODS_ROOT</key>
<string>${SRCROOT}</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>PUBLIC_HEADERS_FOLDER_PATH</key>
<string>$(TARGET_NAME)</string>
<key>SDKROOT</key>
<string>iphoneos</string>
<key>SKIP_INSTALL</key>
<string>YES</string>
<key>VALIDATE_PRODUCT</key>
<string>YES</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>19A1C4EAEF084BBD9B4CED00</key>
<dict>
<key>children</key>
<array>
<string>B3E804D5EDBA4E158E7E26ED</string>
<string>5745D42B19A04A2687B4A142</string>
<string>7DD15C0C1BE245699657C85B</string>
<string>23C2616764B64F7E856DEFFA</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>216189AE1B7A4C9081A836FE</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>131D76380B8A4BA38760DF10</string>
<string>68221C2A720043C4B61CFE47</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>defaultConfigurationName</key>
<string>Release</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>2358702571DB4A4582D18C72</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>name</key>
<string>Reachability.m</string>
<key>path</key>
<string>Reachability/Reachability.m</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>23C2616764B64F7E856DEFFA</key>
<dict>
<key>children</key>
<array>
<string>DD7C4888E86648D1B76E6FBC</string>
<string>2E4DEEFB1B64492E91DD5F1A</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Targets Support Files</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>296AB8D8F5D54C469DE0720B</key>
<dict>
<key>fileRef</key>
<string>2358702571DB4A4582D18C72</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>2E4DEEFB1B64492E91DD5F1A</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>name</key>
<string>PodsDummy_Pods.m</string>
<key>path</key>
<string>PodsDummy_Pods.m</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>36FB5E046A7D4612953FE799</key>
<dict>
<key>buildSettings</key>
<dict/>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>4CE2788B21114D519990E5F7</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>Foundation.framework</string>
<key>path</key>
<string>Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework</string>
<key>sourceTree</key>
<string>DEVELOPER_DIR</string>
</dict>
<key>4CE2FCB0F9994149866BB1AD</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>296AB8D8F5D54C469DE0720B</string>
<string>DCB457ED90F840E6BCE4C1E2</string>
</array>
<key>isa</key>
<string>PBXSourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>55F91F0433DC4DE68ED58CC8</key>
<dict>
<key>buildSettings</key>
<dict/>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>5741E2D886A744A89855BB4A</key>
<dict>
<key>fileRef</key>
<string>4CE2788B21114D519990E5F7</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>5745D42B19A04A2687B4A142</key>
<dict>
<key>children</key>
<array>
<string>4CE2788B21114D519990E5F7</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Frameworks</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>5EFBFBBB2FE14DE294DCA2E5</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>7C31AF954044408A987B9615</string>
</array>
<key>isa</key>
<string>PBXHeadersBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>68221C2A720043C4B61CFE47</key>
<dict>
<key>baseConfigurationReference</key>
<string>E3F8F9C7A2954F4C9DFDCC90</string>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_32_BIT)</string>
<key>COPY_PHASE_STRIP</key>
<string>NO</string>
<key>DSTROOT</key>
<string>/tmp/xcodeproj.dst</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_DYNAMIC_NO_PIC</key>
<string>NO</string>
<key>GCC_OPTIMIZATION_LEVEL</key>
<string>0</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>Pods-prefix.pch</string>
<key>GCC_PREPROCESSOR_DEFINITIONS</key>
<array>
<string>DEBUG=1</string>
<string>$(inherited)</string>
</array>
<key>GCC_SYMBOLS_PRIVATE_EXTERN</key>
<string>NO</string>
<key>GCC_VERSION</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>GCC_WARN_INHIBIT_ALL_WARNINGS</key>
<string>NO</string>
<key>INSTALL_PATH</key>
<string>$(BUILT_PRODUCTS_DIR)</string>
<key>IPHONEOS_DEPLOYMENT_TARGET</key>
<string>6.0</string>
<key>OTHER_LDFLAGS</key>
<string></string>
<key>PODS_HEADERS_SEARCH_PATHS</key>
<string>${PODS_BUILD_HEADERS_SEARCH_PATHS}</string>
<key>PODS_ROOT</key>
<string>${SRCROOT}</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>PUBLIC_HEADERS_FOLDER_PATH</key>
<string>$(TARGET_NAME)</string>
<key>SDKROOT</key>
<string>iphoneos</string>
<key>SKIP_INSTALL</key>
<string>YES</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>7956217918354818B7DA391B</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>5741E2D886A744A89855BB4A</string>
</array>
<key>isa</key>
<string>PBXFrameworksBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>7C31AF954044408A987B9615</key>
<dict>
<key>fileRef</key>
<string>BBEEF16893594205A1EAB1D0</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>7DD15C0C1BE245699657C85B</key>
<dict>
<key>children</key>
<array>
<string>CBF64C9051BD466097B047BC</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Pods</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>805D03F13954450EB5CB0304</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>Pods-prefix.pch</string>
<key>path</key>
<string>Pods-prefix.pch</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>ADE310C46EE74F8C8A68EE0C</key>
<dict>
<key>attributes</key>
<dict>
<key>LastUpgradeCheck</key>
<string>0450</string>
</dict>
<key>buildConfigurationList</key>
<string>1114A2D05B2446CA875D463A</string>
<key>compatibilityVersion</key>
<string>Xcode 3.2</string>
<key>developmentRegion</key>
<string>English</string>
<key>hasScannedForEncodings</key>
<string>0</string>
<key>isa</key>
<string>PBXProject</string>
<key>knownRegions</key>
<array>
<string>en</string>
</array>
<key>mainGroup</key>
<string>19A1C4EAEF084BBD9B4CED00</string>
<key>productRefGroup</key>
<string>B3E804D5EDBA4E158E7E26ED</string>
<key>projectReferences</key>
<array/>
<key>targets</key>
<array>
<string>D53B65E709864F5482CEDEDF</string>
</array>
</dict>
<key>B3E804D5EDBA4E158E7E26ED</key>
<dict>
<key>children</key>
<array>
<string>F6E80CD1DDB64304A12323F0</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Products</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>BBEEF16893594205A1EAB1D0</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>name</key>
<string>Reachability.h</string>
<key>path</key>
<string>Reachability/Reachability.h</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>CA88C507992C481BBC1BEA3F</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>Pods-resources.sh</string>
<key>path</key>
<string>Pods-resources.sh</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>CBF64C9051BD466097B047BC</key>
<dict>
<key>children</key>
<array>
<string>BBEEF16893594205A1EAB1D0</string>
<string>2358702571DB4A4582D18C72</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Reachability</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>D53B65E709864F5482CEDEDF</key>
<dict>
<key>buildConfigurationList</key>
<string>216189AE1B7A4C9081A836FE</string>
<key>buildPhases</key>
<array>
<string>4CE2FCB0F9994149866BB1AD</string>
<string>7956217918354818B7DA391B</string>
<string>5EFBFBBB2FE14DE294DCA2E5</string>
</array>
<key>buildRules</key>
<array/>
<key>dependencies</key>
<array/>
<key>isa</key>
<string>PBXNativeTarget</string>
<key>name</key>
<string>Pods</string>
<key>productName</key>
<string>Pods</string>
<key>productReference</key>
<string>F6E80CD1DDB64304A12323F0</string>
<key>productType</key>
<string>com.apple.product-type.library.static</string>
</dict>
<key>DCB457ED90F840E6BCE4C1E2</key>
<dict>
<key>fileRef</key>
<string>2E4DEEFB1B64492E91DD5F1A</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>DD7C4888E86648D1B76E6FBC</key>
<dict>
<key>children</key>
<array>
<string>CA88C507992C481BBC1BEA3F</string>
<string>805D03F13954450EB5CB0304</string>
<string>E3F8F9C7A2954F4C9DFDCC90</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Pods</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E3F8F9C7A2954F4C9DFDCC90</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.xcconfig</string>
<key>name</key>
<string>Pods.xcconfig</string>
<key>path</key>
<string>Pods.xcconfig</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>F6E80CD1DDB64304A12323F0</key>
<dict>
<key>explicitFileType</key>
<string>archive.ar</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>libPods.a</string>
<key>path</key>
<string>libPods.a</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
</dict>
<key>rootObject</key>
<string>ADE310C46EE74F8C8A68EE0C</string>
</dict>
</plist>
@interface PodsDummy_Pods : NSObject
@end
@implementation PodsDummy_Pods
@end
# 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
/*
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 <Foundation/Foundation.h>
#import <SystemConfiguration/SystemConfiguration.h>
#import <sys/socket.h>
#import <netinet/in.h>
#import <netinet6/in6.h>
#import <arpa/inet.h>
#import <ifaddrs.h>
#import <netdb.h>
/**
* 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
/*
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 <netinet/in.h> 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
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
end
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
end
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>archiveVersion</key>
<string>1</string>
<key>classes</key>
<dict/>
<key>objectVersion</key>
<string>46</string>
<key>objects</key>
<dict>
<key>0A39253AC317441587A73E6A</key>
<dict>
<key>explicitFileType</key>
<string>archive.ar</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>libPods.a</string>
<key>path</key>
<string>libPods.a</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>2C98B67FC4AA4A66AA0D30B4</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.xcconfig</string>
<key>name</key>
<string>Pods.xcconfig</string>
<key>path</key>
<string>Pods/Pods.xcconfig</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>D4CC18634CB74D07965D34DF</key>
<dict>
<key>fileRef</key>
<string>0A39253AC317441587A73E6A</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>E575589216C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558A416C5943000DC1500</string>
<string>E575589D16C5943000DC1500</string>
<string>E575589C16C5943000DC1500</string>
<string>2C98B67FC4AA4A66AA0D30B4</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E575589316C5943000DC1500</key>
<dict>
<key>attributes</key>
<dict>
<key>CLASSPREFIX</key>
<string>CP</string>
<key>LastUpgradeCheck</key>
<string>0460</string>
<key>ORGANIZATIONNAME</key>
<string>CocoaPods</string>
</dict>
<key>buildConfigurationList</key>
<string>E575589616C5943000DC1500</string>
<key>compatibilityVersion</key>
<string>Xcode 3.2</string>
<key>developmentRegion</key>
<string>English</string>
<key>hasScannedForEncodings</key>
<string>0</string>
<key>isa</key>
<string>PBXProject</string>
<key>knownRegions</key>
<array>
<string>en</string>
</array>
<key>mainGroup</key>
<string>E575589216C5943000DC1500</string>
<key>productRefGroup</key>
<string>E575589C16C5943000DC1500</string>
<key>projectDirPath</key>
<string></string>
<key>projectReferences</key>
<array/>
<key>projectRoot</key>
<string></string>
<key>targets</key>
<array>
<string>E575589A16C5943000DC1500</string>
</array>
</dict>
<key>E575589616C5943000DC1500</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>E57558B616C5943100DC1500</string>
<string>E57558B716C5943100DC1500</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>defaultConfigurationName</key>
<string>Release</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>E575589716C5943000DC1500</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E57558AB16C5943000DC1500</string>
<string>E57558B216C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXSourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E575589816C5943000DC1500</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E575589F16C5943000DC1500</string>
<string>D4CC18634CB74D07965D34DF</string>
</array>
<key>isa</key>
<string>PBXFrameworksBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E575589916C5943000DC1500</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E57558A916C5943000DC1500</string>
<string>E57558AF16C5943000DC1500</string>
<string>E57558B516C5943100DC1500</string>
</array>
<key>isa</key>
<string>PBXResourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E575589A16C5943000DC1500</key>
<dict>
<key>buildConfigurationList</key>
<string>E57558B816C5943100DC1500</string>
<key>buildPhases</key>
<array>
<string>E575589716C5943000DC1500</string>
<string>E575589816C5943000DC1500</string>
<string>E575589916C5943000DC1500</string>
<string>E6024A20C5FE4C45B2A1DAE1</string>
</array>
<key>buildRules</key>
<array/>
<key>dependencies</key>
<array/>
<key>isa</key>
<string>PBXNativeTarget</string>
<key>name</key>
<string>SampleApp</string>
<key>productName</key>
<string>SampleApp</string>
<key>productReference</key>
<string>E575589B16C5943000DC1500</string>
<key>productType</key>
<string>com.apple.product-type.application</string>
</dict>
<key>E575589B16C5943000DC1500</key>
<dict>
<key>explicitFileType</key>
<string>wrapper.application</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>path</key>
<string>SampleApp.app</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>E575589C16C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E575589B16C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Products</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E575589D16C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E575589E16C5943000DC1500</string>
<string>E57558A016C5943000DC1500</string>
<string>0A39253AC317441587A73E6A</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Frameworks</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E575589E16C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>Cocoa.framework</string>
<key>path</key>
<string>System/Library/Frameworks/Cocoa.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E575589F16C5943000DC1500</key>
<dict>
<key>fileRef</key>
<string>E575589E16C5943000DC1500</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E57558A016C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558A116C5943000DC1500</string>
<string>E57558A216C5943000DC1500</string>
<string>E57558A316C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Other Frameworks</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558A116C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>AppKit.framework</string>
<key>path</key>
<string>System/Library/Frameworks/AppKit.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E57558A216C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>CoreData.framework</string>
<key>path</key>
<string>System/Library/Frameworks/CoreData.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E57558A316C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>Foundation.framework</string>
<key>path</key>
<string>System/Library/Frameworks/Foundation.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E57558A416C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558B016C5943000DC1500</string>
<string>E57558B116C5943000DC1500</string>
<string>E57558B316C5943100DC1500</string>
<string>E57558A516C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>path</key>
<string>SampleApp</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558A516C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558A616C5943000DC1500</string>
<string>E57558A716C5943000DC1500</string>
<string>E57558AA16C5943000DC1500</string>
<string>E57558AC16C5943000DC1500</string>
<string>E57558AD16C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Supporting Files</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558A616C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.plist.xml</string>
<key>path</key>
<string>SampleApp-Info.plist</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558A716C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558A816C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>InfoPlist.strings</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558A816C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.plist.strings</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/InfoPlist.strings</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558A916C5943000DC1500</key>
<dict>
<key>fileRef</key>
<string>E57558A716C5943000DC1500</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E57558AA16C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>path</key>
<string>main.m</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558AB16C5943000DC1500</key>
<dict>
<key>fileRef</key>
<string>E57558AA16C5943000DC1500</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E57558AC16C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>path</key>
<string>SampleApp-Prefix.pch</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558AD16C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558AE16C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>Credits.rtf</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558AE16C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.rtf</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/Credits.rtf</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558AF16C5943000DC1500</key>
<dict>
<key>fileRef</key>
<string>E57558AD16C5943000DC1500</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E57558B016C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>path</key>
<string>CPAppDelegate.h</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558B116C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>path</key>
<string>CPAppDelegate.m</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558B216C5943000DC1500</key>
<dict>
<key>fileRef</key>
<string>E57558B116C5943000DC1500</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E57558B316C5943100DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558B416C5943100DC1500</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>MainMenu.xib</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558B416C5943100DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>file.xib</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/MainMenu.xib</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558B516C5943100DC1500</key>
<dict>
<key>fileRef</key>
<string>E57558B316C5943100DC1500</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E57558B616C5943100DC1500</key>
<dict>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_64_BIT)</string>
<key>CLANG_CXX_LANGUAGE_STANDARD</key>
<string>gnu++0x</string>
<key>CLANG_CXX_LIBRARY</key>
<string>libc++</string>
<key>CLANG_WARN_CONSTANT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_EMPTY_BODY</key>
<string>YES</string>
<key>CLANG_WARN_ENUM_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_INT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN__DUPLICATE_METHOD_MATCH</key>
<string>YES</string>
<key>COPY_PHASE_STRIP</key>
<string>NO</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_DYNAMIC_NO_PIC</key>
<string>NO</string>
<key>GCC_ENABLE_OBJC_EXCEPTIONS</key>
<string>YES</string>
<key>GCC_OPTIMIZATION_LEVEL</key>
<string>0</string>
<key>GCC_PREPROCESSOR_DEFINITIONS</key>
<array>
<string>DEBUG=1</string>
<string>$(inherited)</string>
</array>
<key>GCC_SYMBOLS_PRIVATE_EXTERN</key>
<string>NO</string>
<key>GCC_WARN_64_TO_32_BIT_CONVERSION</key>
<string>YES</string>
<key>GCC_WARN_ABOUT_RETURN_TYPE</key>
<string>YES</string>
<key>GCC_WARN_UNINITIALIZED_AUTOS</key>
<string>YES</string>
<key>GCC_WARN_UNUSED_VARIABLE</key>
<string>YES</string>
<key>MACOSX_DEPLOYMENT_TARGET</key>
<string>10.8</string>
<key>ONLY_ACTIVE_ARCH</key>
<string>YES</string>
<key>SDKROOT</key>
<string>macosx</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>E57558B716C5943100DC1500</key>
<dict>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_64_BIT)</string>
<key>CLANG_CXX_LANGUAGE_STANDARD</key>
<string>gnu++0x</string>
<key>CLANG_CXX_LIBRARY</key>
<string>libc++</string>
<key>CLANG_WARN_CONSTANT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_EMPTY_BODY</key>
<string>YES</string>
<key>CLANG_WARN_ENUM_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_INT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN__DUPLICATE_METHOD_MATCH</key>
<string>YES</string>
<key>COPY_PHASE_STRIP</key>
<string>YES</string>
<key>DEBUG_INFORMATION_FORMAT</key>
<string>dwarf-with-dsym</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_ENABLE_OBJC_EXCEPTIONS</key>
<string>YES</string>
<key>GCC_WARN_64_TO_32_BIT_CONVERSION</key>
<string>YES</string>
<key>GCC_WARN_ABOUT_RETURN_TYPE</key>
<string>YES</string>
<key>GCC_WARN_UNINITIALIZED_AUTOS</key>
<string>YES</string>
<key>GCC_WARN_UNUSED_VARIABLE</key>
<string>YES</string>
<key>MACOSX_DEPLOYMENT_TARGET</key>
<string>10.8</string>
<key>SDKROOT</key>
<string>macosx</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>E57558B816C5943100DC1500</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>E57558B916C5943100DC1500</string>
<string>E57558BA16C5943100DC1500</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>E57558B916C5943100DC1500</key>
<dict>
<key>baseConfigurationReference</key>
<string>2C98B67FC4AA4A66AA0D30B4</string>
<key>buildSettings</key>
<dict>
<key>COMBINE_HIDPI_IMAGES</key>
<string>YES</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>SampleApp/SampleApp-Prefix.pch</string>
<key>INFOPLIST_FILE</key>
<string>SampleApp/SampleApp-Info.plist</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>WRAPPER_EXTENSION</key>
<string>app</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>E57558BA16C5943100DC1500</key>
<dict>
<key>baseConfigurationReference</key>
<string>2C98B67FC4AA4A66AA0D30B4</string>
<key>buildSettings</key>
<dict>
<key>COMBINE_HIDPI_IMAGES</key>
<string>YES</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>SampleApp/SampleApp-Prefix.pch</string>
<key>INFOPLIST_FILE</key>
<string>SampleApp/SampleApp-Info.plist</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>WRAPPER_EXTENSION</key>
<string>app</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>E6024A20C5FE4C45B2A1DAE1</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array/>
<key>inputPaths</key>
<array/>
<key>isa</key>
<string>PBXShellScriptBuildPhase</string>
<key>name</key>
<string>Copy Pods Resources</string>
<key>outputPaths</key>
<array/>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
<key>shellPath</key>
<string>/bin/sh</string>
<key>shellScript</key>
<string>"${SRCROOT}/Pods/Pods-resources.sh"
</string>
<key>showEnvVarsInLog</key>
<string>1</string>
</dict>
</dict>
<key>rootObject</key>
<string>E575589316C5943000DC1500</string>
</dict>
</plist>
<?xml version='1.0' encoding='UTF-8'?><Workspace version='1.0'><FileRef location='group:Pods/Pods.xcodeproj'/><FileRef location='group:SampleApp.xcodeproj'/></Workspace>
\ No newline at end of file
$ pod install --no-update --no-doc --verbose --no-color
Resolving dependencies of `./Podfile'
Resolving dependencies for target `default' (iOS 6.0)
- Reachability (from `Reachability.podspec')
-> Fetching podspec for `Reachability' from: Reachability.podspec
Downloading dependencies
-> Installing Reachability (3.1.0)
$ /usr/bin/git config core.bare
true
> Cloning git repo
$ /usr/bin/git rev-list --max-count=1 v3.1.0
f7176f4798d068d233dca5223ae4bd9c8059e830
$ /usr/bin/git init
Initialized empty Git repository in ROOT/tmp/Pods/Reachability/.git/
$ /usr/bin/git remote add origin 'CACHES_DIR/Git/48f11286750afa2e2eb80564e288f42eed7cbab6'
$ /usr/bin/git fetch origin tags/v3.1.0
$ /usr/bin/git reset --hard FETCH_HEAD
HEAD is now at f7176f4 updated podspec
$ /usr/bin/git checkout -b activated-pod-commit
CLEANING: [#<Pod::Specification for Reachability (3.1.0)>]
Generating support files
- Running pre install hooks
- Generating project
- Installing targets
- Generating xcconfig file at `./Pods/Pods.xcconfig'
- Generating prefix header at `./Pods/Pods-prefix.pch'
- Generating copy resources script at `./Pods/Pods-resources.sh'
- Running post install hooks
- Writing Xcode project file to `./Pods/Pods.xcodeproj'
- Writing lockfile in `./Podfile.lock'
[!] From now on use `SampleApp.xcworkspace'.
Integrating `libPods.a' into target `SampleApp' of Xcode project `./SampleApp.xcodeproj'.
platform :ios, '6.0'
pod "Reachability", :podspec => "Reachability.podspec"
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
end
// !$*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 = "<group>"; };
E57558A816C5943000DC1500 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
E57558AA16C5943000DC1500 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
E57558AC16C5943000DC1500 /* SampleApp-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SampleApp-Prefix.pch"; sourceTree = "<group>"; };
E57558AE16C5943000DC1500 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = "<group>"; };
E57558B016C5943000DC1500 /* CPAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CPAppDelegate.h; sourceTree = "<group>"; };
E57558B116C5943000DC1500 /* CPAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CPAppDelegate.m; sourceTree = "<group>"; };
E57558B416C5943100DC1500 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = "<group>"; };
/* 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 = "<group>";
};
E575589C16C5943000DC1500 /* Products */ = {
isa = PBXGroup;
children = (
E575589B16C5943000DC1500 /* SampleApp.app */,
);
name = Products;
sourceTree = "<group>";
};
E575589D16C5943000DC1500 /* Frameworks */ = {
isa = PBXGroup;
children = (
E575589E16C5943000DC1500 /* Cocoa.framework */,
E57558A016C5943000DC1500 /* Other Frameworks */,
);
name = Frameworks;
sourceTree = "<group>";
};
E57558A016C5943000DC1500 /* Other Frameworks */ = {
isa = PBXGroup;
children = (
E57558A116C5943000DC1500 /* AppKit.framework */,
E57558A216C5943000DC1500 /* CoreData.framework */,
E57558A316C5943000DC1500 /* Foundation.framework */,
);
name = "Other Frameworks";
sourceTree = "<group>";
};
E57558A416C5943000DC1500 /* SampleApp */ = {
isa = PBXGroup;
children = (
E57558B016C5943000DC1500 /* CPAppDelegate.h */,
E57558B116C5943000DC1500 /* CPAppDelegate.m */,
E57558B316C5943100DC1500 /* MainMenu.xib */,
E57558A516C5943000DC1500 /* Supporting Files */,
);
path = SampleApp;
sourceTree = "<group>";
};
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 = "<group>";
};
/* 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 = "<group>";
};
E57558AD16C5943000DC1500 /* Credits.rtf */ = {
isa = PBXVariantGroup;
children = (
E57558AE16C5943000DC1500 /* en */,
);
name = Credits.rtf;
sourceTree = "<group>";
};
E57558B316C5943100DC1500 /* MainMenu.xib */ = {
isa = PBXVariantGroup;
children = (
E57558B416C5943100DC1500 /* en */,
);
name = MainMenu.xib;
sourceTree = "<group>";
};
/* 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 */;
}
platform :ios, '6.0'
pod "Reachability", :podspec => "Reachability.podspec"
PODS:
- Reachability (3.1.0)
DEPENDENCIES:
- Reachability (from `Reachability.podspec')
EXTERNAL SOURCES:
Reachability:
:podspec: Reachability.podspec
SPEC CHECKSUMS:
Reachability: fc385e96bfc6d73ff55de863145498352d1c12ea
COCOAPODS: 0.16.2
../../Reachability/Reachability.h
\ No newline at end of file
../../Reachability/TestClass.h
\ No newline at end of file
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}', 'TestClass.{h,m}'
s.framework = 'SystemConfiguration'
s.requires_arc = false
def s.pre_install(pod, target_definition)
# Replace strings in existing files
pod.source_files.each do |file|
replaced = file.read.gsub("kReachabilityChangedNotification", "kTEST")
File.open(file, 'w') { |f| f.write(replaced) }
end
# Add new files
File.open(pod.root + "TestClass.h", 'w') { |file| file.write("// TEST") }
File.open(pod.root + "TestClass.m", 'w') { |file| file.write("// TEST") }
dependencies = target_definition.dependencies.map(&:to_s) * ", "
File.open(pod.root + "DependenciesList.txt", 'w') { |file| file.write(dependencies) }
end
def s.post_install(target)
end
end
# Acknowledgements
This application makes use of the following third party libraries:
Generated by CocoaPods - http://cocoapods.org
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>FooterText</key>
<string>This application makes use of the following third party libraries:</string>
<key>Title</key>
<string>Acknowledgements</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>FooterText</key>
<string>Generated by CocoaPods - http://cocoapods.org</string>
<key>Title</key>
<string></string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
</array>
<key>StringsTable</key>
<string>Acknowledgements</string>
<key>Title</key>
<string>Acknowledgements</string>
</dict>
</plist>
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
#!/bin/sh
install_resource()
{
case $1 in
*.storyboard)
echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.xib)
echo "ibtool --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}"
ibtool --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}"
;;
*.framework)
echo "rsync -rp ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
rsync -rp "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
;;
*)
echo "cp -R ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
cp -R "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
;;
esac
}
ALWAYS_SEARCH_USER_PATHS = YES
HEADER_SEARCH_PATHS = ${PODS_HEADERS_SEARCH_PATHS}
OTHER_LDFLAGS = -ObjC -framework SystemConfiguration
PODS_BUILD_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/BuildHeaders" "${PODS_ROOT}/BuildHeaders/Reachability"
PODS_HEADERS_SEARCH_PATHS = ${PODS_PUBLIC_HEADERS_SEARCH_PATHS}
PODS_PUBLIC_HEADERS_SEARCH_PATHS = "${PODS_ROOT}/Headers" "${PODS_ROOT}/Headers/Reachability"
PODS_ROOT = ${SRCROOT}/Pods
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>archiveVersion</key>
<string>1</string>
<key>classes</key>
<dict/>
<key>objectVersion</key>
<string>46</string>
<key>objects</key>
<dict>
<key>04CFC1980A8E48EDBCA8B029</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>B3F5821C457342DA8E6FFF67</string>
</array>
<key>isa</key>
<string>PBXFrameworksBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>10263B9BBBA54E10A3D2BC58</key>
<dict>
<key>fileRef</key>
<string>1A947D9D99C04CB18325D175</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>1070A3D9D2C94BE0B1F43E77</key>
<dict>
<key>fileRef</key>
<string>1C5FCE108BE74F14B3FDB8D6</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>1A947D9D99C04CB18325D175</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>name</key>
<string>TestClass.m</string>
<key>path</key>
<string>Reachability/TestClass.m</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>1C5FCE108BE74F14B3FDB8D6</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>name</key>
<string>TestClass.h</string>
<key>path</key>
<string>Reachability/TestClass.h</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>23C235D5A6E9414E9B080394</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>EE10108B380F47778CF590BA</string>
<string>10263B9BBBA54E10A3D2BC58</string>
<string>3B737AC819444C0686BE68E7</string>
</array>
<key>isa</key>
<string>PBXSourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>2A92BEA426BF489A8EE5CCD3</key>
<dict>
<key>buildSettings</key>
<dict/>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>357BFC08910A4A8CBAEA8BE9</key>
<dict>
<key>attributes</key>
<dict>
<key>LastUpgradeCheck</key>
<string>0450</string>
</dict>
<key>buildConfigurationList</key>
<string>EAEB69DB24AB4D35BACB8D2A</string>
<key>compatibilityVersion</key>
<string>Xcode 3.2</string>
<key>developmentRegion</key>
<string>English</string>
<key>hasScannedForEncodings</key>
<string>0</string>
<key>isa</key>
<string>PBXProject</string>
<key>knownRegions</key>
<array>
<string>en</string>
</array>
<key>mainGroup</key>
<string>BAF786BDCBDC4DC49FC7D948</string>
<key>productRefGroup</key>
<string>DC20AA89A39B467DA0666747</string>
<key>projectReferences</key>
<array/>
<key>targets</key>
<array>
<string>65A062D2FFA341D1B564EE79</string>
</array>
</dict>
<key>3B737AC819444C0686BE68E7</key>
<dict>
<key>fileRef</key>
<string>7545652ABABF48FD80C37401</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>3F61FEAFA3844A7A97B4A2CD</key>
<dict>
<key>children</key>
<array>
<string>633564638E934209BFE9D3EF</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Pods</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>46EB79BF64854A4CB60A3D9E</key>
<dict>
<key>baseConfigurationReference</key>
<string>4D1D573914324E9EBAFF35D5</string>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_32_BIT)</string>
<key>COPY_PHASE_STRIP</key>
<string>NO</string>
<key>DSTROOT</key>
<string>/tmp/xcodeproj.dst</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_DYNAMIC_NO_PIC</key>
<string>NO</string>
<key>GCC_OPTIMIZATION_LEVEL</key>
<string>0</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>Pods-prefix.pch</string>
<key>GCC_PREPROCESSOR_DEFINITIONS</key>
<array>
<string>DEBUG=1</string>
<string>$(inherited)</string>
</array>
<key>GCC_SYMBOLS_PRIVATE_EXTERN</key>
<string>NO</string>
<key>GCC_VERSION</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>GCC_WARN_INHIBIT_ALL_WARNINGS</key>
<string>NO</string>
<key>INSTALL_PATH</key>
<string>$(BUILT_PRODUCTS_DIR)</string>
<key>IPHONEOS_DEPLOYMENT_TARGET</key>
<string>6.0</string>
<key>OTHER_LDFLAGS</key>
<string></string>
<key>PODS_HEADERS_SEARCH_PATHS</key>
<string>${PODS_BUILD_HEADERS_SEARCH_PATHS}</string>
<key>PODS_ROOT</key>
<string>${SRCROOT}</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>PUBLIC_HEADERS_FOLDER_PATH</key>
<string>$(TARGET_NAME)</string>
<key>SDKROOT</key>
<string>iphoneos</string>
<key>SKIP_INSTALL</key>
<string>YES</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>4D1D573914324E9EBAFF35D5</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.xcconfig</string>
<key>name</key>
<string>Pods.xcconfig</string>
<key>path</key>
<string>Pods.xcconfig</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>4ECA53BD081742E3B9AC9B78</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>A9D407D8807E437B992B5FAA</string>
<string>46EB79BF64854A4CB60A3D9E</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>defaultConfigurationName</key>
<string>Release</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>4F72EC1EB2AE475A89D3AC8C</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>Pods-resources.sh</string>
<key>path</key>
<string>Pods-resources.sh</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>5CCACA083CC24A7EBE2E5655</key>
<dict>
<key>children</key>
<array>
<string>86DB5CCFDDFF4132B5B78F27</string>
<string>7545652ABABF48FD80C37401</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Targets Support Files</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>633564638E934209BFE9D3EF</key>
<dict>
<key>children</key>
<array>
<string>D3E2B4D5EA6E4B40A57770F4</string>
<string>BBAA637A1A004C18B346B79E</string>
<string>1C5FCE108BE74F14B3FDB8D6</string>
<string>1A947D9D99C04CB18325D175</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Reachability</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>65A062D2FFA341D1B564EE79</key>
<dict>
<key>buildConfigurationList</key>
<string>4ECA53BD081742E3B9AC9B78</string>
<key>buildPhases</key>
<array>
<string>23C235D5A6E9414E9B080394</string>
<string>04CFC1980A8E48EDBCA8B029</string>
<string>8E16B9D081BC4BA79F8ABB00</string>
</array>
<key>buildRules</key>
<array/>
<key>dependencies</key>
<array/>
<key>isa</key>
<string>PBXNativeTarget</string>
<key>name</key>
<string>Pods</string>
<key>productName</key>
<string>Pods</string>
<key>productReference</key>
<string>E215C8B327894E29B01D38FA</string>
<key>productType</key>
<string>com.apple.product-type.library.static</string>
</dict>
<key>7545652ABABF48FD80C37401</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>name</key>
<string>PodsDummy_Pods.m</string>
<key>path</key>
<string>PodsDummy_Pods.m</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>86DB5CCFDDFF4132B5B78F27</key>
<dict>
<key>children</key>
<array>
<string>4F72EC1EB2AE475A89D3AC8C</string>
<string>C000543B76E44D6AB6C503C0</string>
<string>4D1D573914324E9EBAFF35D5</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Pods</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>8E16B9D081BC4BA79F8ABB00</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>D6100240EBB943AFADD2241E</string>
<string>1070A3D9D2C94BE0B1F43E77</string>
</array>
<key>isa</key>
<string>PBXHeadersBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>A8D8EA49D92A45AE98189F91</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>Foundation.framework</string>
<key>path</key>
<string>Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/System/Library/Frameworks/Foundation.framework</string>
<key>sourceTree</key>
<string>DEVELOPER_DIR</string>
</dict>
<key>A9D407D8807E437B992B5FAA</key>
<dict>
<key>baseConfigurationReference</key>
<string>4D1D573914324E9EBAFF35D5</string>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_32_BIT)</string>
<key>COPY_PHASE_STRIP</key>
<string>YES</string>
<key>DSTROOT</key>
<string>/tmp/xcodeproj.dst</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>Pods-prefix.pch</string>
<key>GCC_VERSION</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>GCC_WARN_INHIBIT_ALL_WARNINGS</key>
<string>NO</string>
<key>INSTALL_PATH</key>
<string>$(BUILT_PRODUCTS_DIR)</string>
<key>IPHONEOS_DEPLOYMENT_TARGET</key>
<string>6.0</string>
<key>OTHER_LDFLAGS</key>
<string></string>
<key>PODS_HEADERS_SEARCH_PATHS</key>
<string>${PODS_BUILD_HEADERS_SEARCH_PATHS}</string>
<key>PODS_ROOT</key>
<string>${SRCROOT}</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>PUBLIC_HEADERS_FOLDER_PATH</key>
<string>$(TARGET_NAME)</string>
<key>SDKROOT</key>
<string>iphoneos</string>
<key>SKIP_INSTALL</key>
<string>YES</string>
<key>VALIDATE_PRODUCT</key>
<string>YES</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>B3F5821C457342DA8E6FFF67</key>
<dict>
<key>fileRef</key>
<string>A8D8EA49D92A45AE98189F91</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>BAF786BDCBDC4DC49FC7D948</key>
<dict>
<key>children</key>
<array>
<string>DC20AA89A39B467DA0666747</string>
<string>D420B04A0E9746C3B5763C76</string>
<string>3F61FEAFA3844A7A97B4A2CD</string>
<string>5CCACA083CC24A7EBE2E5655</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>BBAA637A1A004C18B346B79E</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>name</key>
<string>Reachability.m</string>
<key>path</key>
<string>Reachability/Reachability.m</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>BFE77C7E08204988B4AC91A9</key>
<dict>
<key>buildSettings</key>
<dict/>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>C000543B76E44D6AB6C503C0</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>Pods-prefix.pch</string>
<key>path</key>
<string>Pods-prefix.pch</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>D3E2B4D5EA6E4B40A57770F4</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>name</key>
<string>Reachability.h</string>
<key>path</key>
<string>Reachability/Reachability.h</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>D420B04A0E9746C3B5763C76</key>
<dict>
<key>children</key>
<array>
<string>A8D8EA49D92A45AE98189F91</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Frameworks</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>D6100240EBB943AFADD2241E</key>
<dict>
<key>fileRef</key>
<string>D3E2B4D5EA6E4B40A57770F4</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>DC20AA89A39B467DA0666747</key>
<dict>
<key>children</key>
<array>
<string>E215C8B327894E29B01D38FA</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Products</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E215C8B327894E29B01D38FA</key>
<dict>
<key>explicitFileType</key>
<string>archive.ar</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>libPods.a</string>
<key>path</key>
<string>libPods.a</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>EAEB69DB24AB4D35BACB8D2A</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>2A92BEA426BF489A8EE5CCD3</string>
<string>BFE77C7E08204988B4AC91A9</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>defaultConfigurationName</key>
<string>Release</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>EE10108B380F47778CF590BA</key>
<dict>
<key>fileRef</key>
<string>BBAA637A1A004C18B346B79E</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
</dict>
<key>rootObject</key>
<string>357BFC08910A4A8CBAEA8BE9</string>
</dict>
</plist>
@interface PodsDummy_Pods : NSObject
@end
@implementation PodsDummy_Pods
@end
Reachability (from `Reachability.podspec')
\ No newline at end of file
# 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
/*
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 <Foundation/Foundation.h>
#import <SystemConfiguration/SystemConfiguration.h>
#import <sys/socket.h>
#import <netinet/in.h>
#import <netinet6/in6.h>
#import <arpa/inet.h>
#import <ifaddrs.h>
#import <netdb.h>
/**
* 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 kTEST;
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
/*
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 kTEST = @"kTEST";
@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 <netinet/in.h> 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:kTEST
object:self];
});
}
@end
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
end
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}', 'TestClass.{h,m}'
s.framework = 'SystemConfiguration'
s.requires_arc = false
def s.pre_install(pod, target_definition)
# Replace strings in existing files
pod.source_files.each do |file|
replaced = file.read.gsub("kReachabilityChangedNotification", "kTEST")
File.open(file, 'w') { |f| f.write(replaced) }
end
# Add new files
File.open(pod.root + "TestClass.h", 'w') { |file| file.write("// TEST") }
File.open(pod.root + "TestClass.m", 'w') { |file| file.write("// TEST") }
dependencies = target_definition.dependencies.map(&:to_s) * ", "
File.open(pod.root + "DependenciesList.txt", 'w') { |file| file.write(dependencies) }
end
def s.post_install(target)
end
end
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>archiveVersion</key>
<string>1</string>
<key>classes</key>
<dict/>
<key>objectVersion</key>
<string>46</string>
<key>objects</key>
<dict>
<key>7E65AC014B954DECAAB6F589</key>
<dict>
<key>fileRef</key>
<string>9BC7128666AE4AFEA6B5F214</string>
<key>isa</key>
<string>PBXBuildFile</string>
<key>settings</key>
<dict/>
</dict>
<key>9BC7128666AE4AFEA6B5F214</key>
<dict>
<key>explicitFileType</key>
<string>archive.ar</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>name</key>
<string>libPods.a</string>
<key>path</key>
<string>libPods.a</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>B3D5D495F91844E886727C89</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array/>
<key>inputPaths</key>
<array/>
<key>isa</key>
<string>PBXShellScriptBuildPhase</string>
<key>name</key>
<string>Copy Pods Resources</string>
<key>outputPaths</key>
<array/>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
<key>shellPath</key>
<string>/bin/sh</string>
<key>shellScript</key>
<string>"${SRCROOT}/Pods/Pods-resources.sh"
</string>
<key>showEnvVarsInLog</key>
<string>1</string>
</dict>
<key>C626C5E7A9C84033A57ACEF8</key>
<dict>
<key>includeInIndex</key>
<string>1</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.xcconfig</string>
<key>name</key>
<string>Pods.xcconfig</string>
<key>path</key>
<string>Pods/Pods.xcconfig</string>
<key>sourceTree</key>
<string>SOURCE_ROOT</string>
</dict>
<key>E575589216C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558A416C5943000DC1500</string>
<string>E575589D16C5943000DC1500</string>
<string>E575589C16C5943000DC1500</string>
<string>C626C5E7A9C84033A57ACEF8</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E575589316C5943000DC1500</key>
<dict>
<key>attributes</key>
<dict>
<key>CLASSPREFIX</key>
<string>CP</string>
<key>LastUpgradeCheck</key>
<string>0460</string>
<key>ORGANIZATIONNAME</key>
<string>CocoaPods</string>
</dict>
<key>buildConfigurationList</key>
<string>E575589616C5943000DC1500</string>
<key>compatibilityVersion</key>
<string>Xcode 3.2</string>
<key>developmentRegion</key>
<string>English</string>
<key>hasScannedForEncodings</key>
<string>0</string>
<key>isa</key>
<string>PBXProject</string>
<key>knownRegions</key>
<array>
<string>en</string>
</array>
<key>mainGroup</key>
<string>E575589216C5943000DC1500</string>
<key>productRefGroup</key>
<string>E575589C16C5943000DC1500</string>
<key>projectDirPath</key>
<string></string>
<key>projectReferences</key>
<array/>
<key>projectRoot</key>
<string></string>
<key>targets</key>
<array>
<string>E575589A16C5943000DC1500</string>
</array>
</dict>
<key>E575589616C5943000DC1500</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>E57558B616C5943100DC1500</string>
<string>E57558B716C5943100DC1500</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>defaultConfigurationName</key>
<string>Release</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>E575589716C5943000DC1500</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E57558AB16C5943000DC1500</string>
<string>E57558B216C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXSourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E575589816C5943000DC1500</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E575589F16C5943000DC1500</string>
<string>7E65AC014B954DECAAB6F589</string>
</array>
<key>isa</key>
<string>PBXFrameworksBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E575589916C5943000DC1500</key>
<dict>
<key>buildActionMask</key>
<string>2147483647</string>
<key>files</key>
<array>
<string>E57558A916C5943000DC1500</string>
<string>E57558AF16C5943000DC1500</string>
<string>E57558B516C5943100DC1500</string>
</array>
<key>isa</key>
<string>PBXResourcesBuildPhase</string>
<key>runOnlyForDeploymentPostprocessing</key>
<string>0</string>
</dict>
<key>E575589A16C5943000DC1500</key>
<dict>
<key>buildConfigurationList</key>
<string>E57558B816C5943100DC1500</string>
<key>buildPhases</key>
<array>
<string>E575589716C5943000DC1500</string>
<string>E575589816C5943000DC1500</string>
<string>E575589916C5943000DC1500</string>
<string>B3D5D495F91844E886727C89</string>
</array>
<key>buildRules</key>
<array/>
<key>dependencies</key>
<array/>
<key>isa</key>
<string>PBXNativeTarget</string>
<key>name</key>
<string>SampleApp</string>
<key>productName</key>
<string>SampleApp</string>
<key>productReference</key>
<string>E575589B16C5943000DC1500</string>
<key>productType</key>
<string>com.apple.product-type.application</string>
</dict>
<key>E575589B16C5943000DC1500</key>
<dict>
<key>explicitFileType</key>
<string>wrapper.application</string>
<key>includeInIndex</key>
<string>0</string>
<key>isa</key>
<string>PBXFileReference</string>
<key>path</key>
<string>SampleApp.app</string>
<key>sourceTree</key>
<string>BUILT_PRODUCTS_DIR</string>
</dict>
<key>E575589C16C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E575589B16C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Products</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E575589D16C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E575589E16C5943000DC1500</string>
<string>E57558A016C5943000DC1500</string>
<string>9BC7128666AE4AFEA6B5F214</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Frameworks</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E575589E16C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>Cocoa.framework</string>
<key>path</key>
<string>System/Library/Frameworks/Cocoa.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E575589F16C5943000DC1500</key>
<dict>
<key>fileRef</key>
<string>E575589E16C5943000DC1500</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E57558A016C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558A116C5943000DC1500</string>
<string>E57558A216C5943000DC1500</string>
<string>E57558A316C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Other Frameworks</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558A116C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>AppKit.framework</string>
<key>path</key>
<string>System/Library/Frameworks/AppKit.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E57558A216C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>CoreData.framework</string>
<key>path</key>
<string>System/Library/Frameworks/CoreData.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E57558A316C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>wrapper.framework</string>
<key>name</key>
<string>Foundation.framework</string>
<key>path</key>
<string>System/Library/Frameworks/Foundation.framework</string>
<key>sourceTree</key>
<string>SDKROOT</string>
</dict>
<key>E57558A416C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558B016C5943000DC1500</string>
<string>E57558B116C5943000DC1500</string>
<string>E57558B316C5943100DC1500</string>
<string>E57558A516C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>path</key>
<string>SampleApp</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558A516C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558A616C5943000DC1500</string>
<string>E57558A716C5943000DC1500</string>
<string>E57558AA16C5943000DC1500</string>
<string>E57558AC16C5943000DC1500</string>
<string>E57558AD16C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXGroup</string>
<key>name</key>
<string>Supporting Files</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558A616C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.plist.xml</string>
<key>path</key>
<string>SampleApp-Info.plist</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558A716C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558A816C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>InfoPlist.strings</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558A816C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.plist.strings</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/InfoPlist.strings</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558A916C5943000DC1500</key>
<dict>
<key>fileRef</key>
<string>E57558A716C5943000DC1500</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E57558AA16C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>path</key>
<string>main.m</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558AB16C5943000DC1500</key>
<dict>
<key>fileRef</key>
<string>E57558AA16C5943000DC1500</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E57558AC16C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>path</key>
<string>SampleApp-Prefix.pch</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558AD16C5943000DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558AE16C5943000DC1500</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>Credits.rtf</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558AE16C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>text.rtf</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/Credits.rtf</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558AF16C5943000DC1500</key>
<dict>
<key>fileRef</key>
<string>E57558AD16C5943000DC1500</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E57558B016C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.h</string>
<key>path</key>
<string>CPAppDelegate.h</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558B116C5943000DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>sourcecode.c.objc</string>
<key>path</key>
<string>CPAppDelegate.m</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558B216C5943000DC1500</key>
<dict>
<key>fileRef</key>
<string>E57558B116C5943000DC1500</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E57558B316C5943100DC1500</key>
<dict>
<key>children</key>
<array>
<string>E57558B416C5943100DC1500</string>
</array>
<key>isa</key>
<string>PBXVariantGroup</string>
<key>name</key>
<string>MainMenu.xib</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558B416C5943100DC1500</key>
<dict>
<key>isa</key>
<string>PBXFileReference</string>
<key>lastKnownFileType</key>
<string>file.xib</string>
<key>name</key>
<string>en</string>
<key>path</key>
<string>en.lproj/MainMenu.xib</string>
<key>sourceTree</key>
<string>&lt;group&gt;</string>
</dict>
<key>E57558B516C5943100DC1500</key>
<dict>
<key>fileRef</key>
<string>E57558B316C5943100DC1500</string>
<key>isa</key>
<string>PBXBuildFile</string>
</dict>
<key>E57558B616C5943100DC1500</key>
<dict>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_64_BIT)</string>
<key>CLANG_CXX_LANGUAGE_STANDARD</key>
<string>gnu++0x</string>
<key>CLANG_CXX_LIBRARY</key>
<string>libc++</string>
<key>CLANG_WARN_CONSTANT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_EMPTY_BODY</key>
<string>YES</string>
<key>CLANG_WARN_ENUM_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_INT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN__DUPLICATE_METHOD_MATCH</key>
<string>YES</string>
<key>COPY_PHASE_STRIP</key>
<string>NO</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_DYNAMIC_NO_PIC</key>
<string>NO</string>
<key>GCC_ENABLE_OBJC_EXCEPTIONS</key>
<string>YES</string>
<key>GCC_OPTIMIZATION_LEVEL</key>
<string>0</string>
<key>GCC_PREPROCESSOR_DEFINITIONS</key>
<array>
<string>DEBUG=1</string>
<string>$(inherited)</string>
</array>
<key>GCC_SYMBOLS_PRIVATE_EXTERN</key>
<string>NO</string>
<key>GCC_WARN_64_TO_32_BIT_CONVERSION</key>
<string>YES</string>
<key>GCC_WARN_ABOUT_RETURN_TYPE</key>
<string>YES</string>
<key>GCC_WARN_UNINITIALIZED_AUTOS</key>
<string>YES</string>
<key>GCC_WARN_UNUSED_VARIABLE</key>
<string>YES</string>
<key>MACOSX_DEPLOYMENT_TARGET</key>
<string>10.8</string>
<key>ONLY_ACTIVE_ARCH</key>
<string>YES</string>
<key>SDKROOT</key>
<string>macosx</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>E57558B716C5943100DC1500</key>
<dict>
<key>buildSettings</key>
<dict>
<key>ALWAYS_SEARCH_USER_PATHS</key>
<string>NO</string>
<key>ARCHS</key>
<string>$(ARCHS_STANDARD_64_BIT)</string>
<key>CLANG_CXX_LANGUAGE_STANDARD</key>
<string>gnu++0x</string>
<key>CLANG_CXX_LIBRARY</key>
<string>libc++</string>
<key>CLANG_WARN_CONSTANT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_EMPTY_BODY</key>
<string>YES</string>
<key>CLANG_WARN_ENUM_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN_INT_CONVERSION</key>
<string>YES</string>
<key>CLANG_WARN__DUPLICATE_METHOD_MATCH</key>
<string>YES</string>
<key>COPY_PHASE_STRIP</key>
<string>YES</string>
<key>DEBUG_INFORMATION_FORMAT</key>
<string>dwarf-with-dsym</string>
<key>GCC_C_LANGUAGE_STANDARD</key>
<string>gnu99</string>
<key>GCC_ENABLE_OBJC_EXCEPTIONS</key>
<string>YES</string>
<key>GCC_WARN_64_TO_32_BIT_CONVERSION</key>
<string>YES</string>
<key>GCC_WARN_ABOUT_RETURN_TYPE</key>
<string>YES</string>
<key>GCC_WARN_UNINITIALIZED_AUTOS</key>
<string>YES</string>
<key>GCC_WARN_UNUSED_VARIABLE</key>
<string>YES</string>
<key>MACOSX_DEPLOYMENT_TARGET</key>
<string>10.8</string>
<key>SDKROOT</key>
<string>macosx</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
<key>E57558B816C5943100DC1500</key>
<dict>
<key>buildConfigurations</key>
<array>
<string>E57558B916C5943100DC1500</string>
<string>E57558BA16C5943100DC1500</string>
</array>
<key>defaultConfigurationIsVisible</key>
<string>0</string>
<key>isa</key>
<string>XCConfigurationList</string>
</dict>
<key>E57558B916C5943100DC1500</key>
<dict>
<key>baseConfigurationReference</key>
<string>C626C5E7A9C84033A57ACEF8</string>
<key>buildSettings</key>
<dict>
<key>COMBINE_HIDPI_IMAGES</key>
<string>YES</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>SampleApp/SampleApp-Prefix.pch</string>
<key>INFOPLIST_FILE</key>
<string>SampleApp/SampleApp-Info.plist</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>WRAPPER_EXTENSION</key>
<string>app</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Debug</string>
</dict>
<key>E57558BA16C5943100DC1500</key>
<dict>
<key>baseConfigurationReference</key>
<string>C626C5E7A9C84033A57ACEF8</string>
<key>buildSettings</key>
<dict>
<key>COMBINE_HIDPI_IMAGES</key>
<string>YES</string>
<key>GCC_PRECOMPILE_PREFIX_HEADER</key>
<string>YES</string>
<key>GCC_PREFIX_HEADER</key>
<string>SampleApp/SampleApp-Prefix.pch</string>
<key>INFOPLIST_FILE</key>
<string>SampleApp/SampleApp-Info.plist</string>
<key>PRODUCT_NAME</key>
<string>$(TARGET_NAME)</string>
<key>WRAPPER_EXTENSION</key>
<string>app</string>
</dict>
<key>isa</key>
<string>XCBuildConfiguration</string>
<key>name</key>
<string>Release</string>
</dict>
</dict>
<key>rootObject</key>
<string>E575589316C5943000DC1500</string>
</dict>
</plist>
<?xml version='1.0' encoding='UTF-8'?><Workspace version='1.0'><FileRef location='group:Pods/Pods.xcodeproj'/><FileRef location='group:SampleApp.xcodeproj'/></Workspace>
\ No newline at end of file
$ pod install --no-update --no-doc --verbose --no-color
Resolving dependencies of `./Podfile'
Resolving dependencies for target `default' (iOS 6.0)
- Reachability (from `Reachability.podspec')
-> Fetching podspec for `Reachability' from: Reachability.podspec
Downloading dependencies
-> Installing Reachability (3.1.0)
$ /usr/bin/git config core.bare
true
> Cloning git repo
$ /usr/bin/git rev-list --max-count=1 v3.1.0
f7176f4798d068d233dca5223ae4bd9c8059e830
$ /usr/bin/git init
Initialized empty Git repository in ROOT/tmp/Pods/Reachability/.git/
$ /usr/bin/git remote add origin 'CACHES_DIR/Git/48f11286750afa2e2eb80564e288f42eed7cbab6'
$ /usr/bin/git fetch origin tags/v3.1.0
$ /usr/bin/git reset --hard FETCH_HEAD
HEAD is now at f7176f4 updated podspec
$ /usr/bin/git checkout -b activated-pod-commit
Generating support files
- Running pre install hooks
- Generating project
- Installing targets
- Generating xcconfig file at `./Pods/Pods.xcconfig'
- Generating prefix header at `./Pods/Pods-prefix.pch'
- Generating copy resources script at `./Pods/Pods-resources.sh'
- Running post install hooks
- Writing Xcode project file to `./Pods/Pods.xcodeproj'
- Writing lockfile in `./Podfile.lock'
[!] From now on use `SampleApp.xcworkspace'.
Integrating `libPods.a' into target `SampleApp' of Xcode project `./SampleApp.xcodeproj'.
platform :ios, '6.0'
pod "Reachability", :podspec => "Reachability.podspec"
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}', 'TestClass.{h,m}'
s.framework = 'SystemConfiguration'
s.requires_arc = false
def s.pre_install(pod, target_definition)
# Replace strings in existing files
pod.source_files.each do |file|
replaced = file.read.gsub("kReachabilityChangedNotification", "kTEST")
File.open(file, 'w') { |f| f.write(replaced) }
end
# Add new files
File.open(pod.root + "TestClass.h", 'w') { |file| file.write("// TEST") }
File.open(pod.root + "TestClass.m", 'w') { |file| file.write("// TEST") }
dependencies = target_definition.dependencies.map(&:to_s) * ", "
File.open(pod.root + "DependenciesList.txt", 'w') { |file| file.write(dependencies) }
end
def s.post_install(target)
end
end
// !$*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 = "<group>"; };
E57558A816C5943000DC1500 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
E57558AA16C5943000DC1500 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
E57558AC16C5943000DC1500 /* SampleApp-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SampleApp-Prefix.pch"; sourceTree = "<group>"; };
E57558AE16C5943000DC1500 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = "<group>"; };
E57558B016C5943000DC1500 /* CPAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CPAppDelegate.h; sourceTree = "<group>"; };
E57558B116C5943000DC1500 /* CPAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CPAppDelegate.m; sourceTree = "<group>"; };
E57558B416C5943100DC1500 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = "<group>"; };
/* 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 = "<group>";
};
E575589C16C5943000DC1500 /* Products */ = {
isa = PBXGroup;
children = (
E575589B16C5943000DC1500 /* SampleApp.app */,
);
name = Products;
sourceTree = "<group>";
};
E575589D16C5943000DC1500 /* Frameworks */ = {
isa = PBXGroup;
children = (
E575589E16C5943000DC1500 /* Cocoa.framework */,
E57558A016C5943000DC1500 /* Other Frameworks */,
);
name = Frameworks;
sourceTree = "<group>";
};
E57558A016C5943000DC1500 /* Other Frameworks */ = {
isa = PBXGroup;
children = (
E57558A116C5943000DC1500 /* AppKit.framework */,
E57558A216C5943000DC1500 /* CoreData.framework */,
E57558A316C5943000DC1500 /* Foundation.framework */,
);
name = "Other Frameworks";
sourceTree = "<group>";
};
E57558A416C5943000DC1500 /* SampleApp */ = {
isa = PBXGroup;
children = (
E57558B016C5943000DC1500 /* CPAppDelegate.h */,
E57558B116C5943000DC1500 /* CPAppDelegate.m */,
E57558B316C5943100DC1500 /* MainMenu.xib */,
E57558A516C5943000DC1500 /* Supporting Files */,
);
path = SampleApp;
sourceTree = "<group>";
};
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 = "<group>";
};
/* 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 = "<group>";
};
E57558AD16C5943000DC1500 /* Credits.rtf */ = {
isa = PBXVariantGroup;
children = (
E57558AE16C5943000DC1500 /* en */,
);
name = Credits.rtf;
sourceTree = "<group>";
};
E57558B316C5943100DC1500 /* MainMenu.xib */ = {
isa = PBXVariantGroup;
children = (
E57558B416C5943100DC1500 /* en */,
);
name = MainMenu.xib;
sourceTree = "<group>";
};
/* 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 */;
}
Pod::Spec.new do |s|
s.name = "PodTest"
s.version = "1.0"
s.source = { :http => "./PodTest.zip" }
s.subspec "subspec_1" do |ss|
ss.source_files = "subspec_1.{h,m}"
end
s.subspec "subspec_2" do |ss|
ss.source_files = "subspec_2.{h,m}"
end
end
target 'iOS App' do
platform :ios
pod "PodTest/subspec_1", :hg => "PodTest-hg-source"
end
target 'OS X App' do
platform :osx
pod "PodTest/subspec_2", :podspec => "PodTest.podspec"
end
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
E56E5A9116C9703D00F39927 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E56E5A9016C9703C00F39927 /* UIKit.framework */; };
E56E5A9316C9703D00F39927 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E56E5A9216C9703D00F39927 /* Foundation.framework */; };
E56E5A9516C9703D00F39927 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E56E5A9416C9703D00F39927 /* CoreGraphics.framework */; };
E56E5A9B16C9703D00F39927 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = E56E5A9916C9703D00F39927 /* InfoPlist.strings */; };
E56E5A9D16C9703D00F39927 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E56E5A9C16C9703D00F39927 /* main.m */; };
E56E5AA116C9703D00F39927 /* CPAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E56E5AA016C9703D00F39927 /* CPAppDelegate.m */; };
E56E5AA316C9703D00F39927 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = E56E5AA216C9703D00F39927 /* Default.png */; };
E56E5AA516C9703D00F39927 /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E56E5AA416C9703D00F39927 /* Default@2x.png */; };
E56E5AA716C9703D00F39927 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E56E5AA616C9703D00F39927 /* Default-568h@2x.png */; };
E56E5AB016C9704500F39927 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E575589E16C5943000DC1500 /* Cocoa.framework */; };
E56E5AB616C9704500F39927 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = E56E5AB416C9704500F39927 /* InfoPlist.strings */; };
E56E5AB816C9704500F39927 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = E56E5AB716C9704500F39927 /* main.m */; };
E56E5ABC16C9704500F39927 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = E56E5ABA16C9704500F39927 /* Credits.rtf */; };
E56E5ABF16C9704500F39927 /* CPAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = E56E5ABE16C9704500F39927 /* CPAppDelegate.m */; };
E56E5AC216C9704500F39927 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = E56E5AC016C9704500F39927 /* MainMenu.xib */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
E56E59F116C95CAB00F39927 /* SenTestingKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SenTestingKit.framework; path = Library/Frameworks/SenTestingKit.framework; sourceTree = DEVELOPER_DIR; };
E56E5A8F16C9703C00F39927 /* iOS App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "iOS App.app"; sourceTree = BUILT_PRODUCTS_DIR; };
E56E5A9016C9703C00F39927 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; };
E56E5A9216C9703D00F39927 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
E56E5A9416C9703D00F39927 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = Library/Frameworks/CoreGraphics.framework; sourceTree = DEVELOPER_DIR; };
E56E5A9816C9703D00F39927 /* iOS App-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "iOS App-Info.plist"; sourceTree = "<group>"; };
E56E5A9A16C9703D00F39927 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
E56E5A9C16C9703D00F39927 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
E56E5A9E16C9703D00F39927 /* iOS App-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "iOS App-Prefix.pch"; sourceTree = "<group>"; };
E56E5A9F16C9703D00F39927 /* CPAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CPAppDelegate.h; sourceTree = "<group>"; };
E56E5AA016C9703D00F39927 /* CPAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CPAppDelegate.m; sourceTree = "<group>"; };
E56E5AA216C9703D00F39927 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
E56E5AA416C9703D00F39927 /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = "<group>"; };
E56E5AA616C9703D00F39927 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
E56E5AAF16C9704500F39927 /* OS X App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "OS X App.app"; sourceTree = BUILT_PRODUCTS_DIR; };
E56E5AB316C9704500F39927 /* OS X App-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "OS X App-Info.plist"; sourceTree = "<group>"; };
E56E5AB516C9704500F39927 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
E56E5AB716C9704500F39927 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
E56E5AB916C9704500F39927 /* OS X App-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "OS X App-Prefix.pch"; sourceTree = "<group>"; };
E56E5ABB16C9704500F39927 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = "<group>"; };
E56E5ABD16C9704500F39927 /* CPAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CPAppDelegate.h; sourceTree = "<group>"; };
E56E5ABE16C9704500F39927 /* CPAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CPAppDelegate.m; sourceTree = "<group>"; };
E56E5AC116C9704500F39927 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = "<group>"; };
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; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
E56E5A8C16C9703C00F39927 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
E56E5A9116C9703D00F39927 /* UIKit.framework in Frameworks */,
E56E5A9316C9703D00F39927 /* Foundation.framework in Frameworks */,
E56E5A9516C9703D00F39927 /* CoreGraphics.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E56E5AAC16C9704500F39927 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
E56E5AB016C9704500F39927 /* Cocoa.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
E56E5A9616C9703D00F39927 /* iOS App */ = {
isa = PBXGroup;
children = (
E56E5A9F16C9703D00F39927 /* CPAppDelegate.h */,
E56E5AA016C9703D00F39927 /* CPAppDelegate.m */,
E56E5A9716C9703D00F39927 /* Supporting Files */,
);
path = "iOS App";
sourceTree = "<group>";
};
E56E5A9716C9703D00F39927 /* Supporting Files */ = {
isa = PBXGroup;
children = (
E56E5A9816C9703D00F39927 /* iOS App-Info.plist */,
E56E5A9916C9703D00F39927 /* InfoPlist.strings */,
E56E5A9C16C9703D00F39927 /* main.m */,
E56E5A9E16C9703D00F39927 /* iOS App-Prefix.pch */,
E56E5AA216C9703D00F39927 /* Default.png */,
E56E5AA416C9703D00F39927 /* Default@2x.png */,
E56E5AA616C9703D00F39927 /* Default-568h@2x.png */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
E56E5AB116C9704500F39927 /* OS X App */ = {
isa = PBXGroup;
children = (
E56E5ABD16C9704500F39927 /* CPAppDelegate.h */,
E56E5ABE16C9704500F39927 /* CPAppDelegate.m */,
E56E5AC016C9704500F39927 /* MainMenu.xib */,
E56E5AB216C9704500F39927 /* Supporting Files */,
);
path = "OS X App";
sourceTree = "<group>";
};
E56E5AB216C9704500F39927 /* Supporting Files */ = {
isa = PBXGroup;
children = (
E56E5AB316C9704500F39927 /* OS X App-Info.plist */,
E56E5AB416C9704500F39927 /* InfoPlist.strings */,
E56E5AB716C9704500F39927 /* main.m */,
E56E5AB916C9704500F39927 /* OS X App-Prefix.pch */,
E56E5ABA16C9704500F39927 /* Credits.rtf */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
E575589216C5943000DC1500 = {
isa = PBXGroup;
children = (
E56E5A9616C9703D00F39927 /* iOS App */,
E56E5AB116C9704500F39927 /* OS X App */,
E575589D16C5943000DC1500 /* Frameworks */,
E575589C16C5943000DC1500 /* Products */,
);
sourceTree = "<group>";
};
E575589C16C5943000DC1500 /* Products */ = {
isa = PBXGroup;
children = (
E56E5A8F16C9703C00F39927 /* iOS App.app */,
E56E5AAF16C9704500F39927 /* OS X App.app */,
);
name = Products;
sourceTree = "<group>";
};
E575589D16C5943000DC1500 /* Frameworks */ = {
isa = PBXGroup;
children = (
E575589E16C5943000DC1500 /* Cocoa.framework */,
E56E59F116C95CAB00F39927 /* SenTestingKit.framework */,
E56E5A9016C9703C00F39927 /* UIKit.framework */,
E56E5A9216C9703D00F39927 /* Foundation.framework */,
E56E5A9416C9703D00F39927 /* CoreGraphics.framework */,
E57558A016C5943000DC1500 /* Other Frameworks */,
);
name = Frameworks;
sourceTree = "<group>";
};
E57558A016C5943000DC1500 /* Other Frameworks */ = {
isa = PBXGroup;
children = (
E57558A116C5943000DC1500 /* AppKit.framework */,
E57558A216C5943000DC1500 /* CoreData.framework */,
E57558A316C5943000DC1500 /* Foundation.framework */,
);
name = "Other Frameworks";
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
E56E5A8E16C9703C00F39927 /* iOS App */ = {
isa = PBXNativeTarget;
buildConfigurationList = E56E5AA816C9703D00F39927 /* Build configuration list for PBXNativeTarget "iOS App" */;
buildPhases = (
E56E5A8B16C9703C00F39927 /* Sources */,
E56E5A8C16C9703C00F39927 /* Frameworks */,
E56E5A8D16C9703C00F39927 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "iOS App";
productName = "iOS App";
productReference = E56E5A8F16C9703C00F39927 /* iOS App.app */;
productType = "com.apple.product-type.application";
};
E56E5AAE16C9704500F39927 /* OS X App */ = {
isa = PBXNativeTarget;
buildConfigurationList = E56E5AC316C9704500F39927 /* Build configuration list for PBXNativeTarget "OS X App" */;
buildPhases = (
E56E5AAB16C9704500F39927 /* Sources */,
E56E5AAC16C9704500F39927 /* Frameworks */,
E56E5AAD16C9704500F39927 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "OS X App";
productName = "OS X App";
productReference = E56E5AAF16C9704500F39927 /* OS X App.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 = (
E56E5A8E16C9703C00F39927 /* iOS App */,
E56E5AAE16C9704500F39927 /* OS X App */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
E56E5A8D16C9703C00F39927 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E56E5A9B16C9703D00F39927 /* InfoPlist.strings in Resources */,
E56E5AA316C9703D00F39927 /* Default.png in Resources */,
E56E5AA516C9703D00F39927 /* Default@2x.png in Resources */,
E56E5AA716C9703D00F39927 /* Default-568h@2x.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E56E5AAD16C9704500F39927 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E56E5AB616C9704500F39927 /* InfoPlist.strings in Resources */,
E56E5ABC16C9704500F39927 /* Credits.rtf in Resources */,
E56E5AC216C9704500F39927 /* MainMenu.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
E56E5A8B16C9703C00F39927 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E56E5A9D16C9703D00F39927 /* main.m in Sources */,
E56E5AA116C9703D00F39927 /* CPAppDelegate.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E56E5AAB16C9704500F39927 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E56E5AB816C9704500F39927 /* main.m in Sources */,
E56E5ABF16C9704500F39927 /* CPAppDelegate.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXVariantGroup section */
E56E5A9916C9703D00F39927 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
E56E5A9A16C9703D00F39927 /* en */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
E56E5AB416C9704500F39927 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
E56E5AB516C9704500F39927 /* en */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
E56E5ABA16C9704500F39927 /* Credits.rtf */ = {
isa = PBXVariantGroup;
children = (
E56E5ABB16C9704500F39927 /* en */,
);
name = Credits.rtf;
sourceTree = "<group>";
};
E56E5AC016C9704500F39927 /* MainMenu.xib */ = {
isa = PBXVariantGroup;
children = (
E56E5AC116C9704500F39927 /* en */,
);
name = MainMenu.xib;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
E56E5AA916C9703D00F39927 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"\"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks\"",
);
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "iOS App/iOS App-Prefix.pch";
INFOPLIST_FILE = "iOS App/iOS App-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 6.1;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
WRAPPER_EXTENSION = app;
};
name = Debug;
};
E56E5AAA16C9703D00F39927 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"\"$(SYSTEM_APPS_DIR)/Xcode.app/Contents/Developer/Library/Frameworks\"",
);
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "iOS App/iOS App-Prefix.pch";
INFOPLIST_FILE = "iOS App/iOS App-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 6.1;
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
WRAPPER_EXTENSION = app;
};
name = Release;
};
E56E5AC416C9704500F39927 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "OS X App/OS X App-Prefix.pch";
INFOPLIST_FILE = "OS X App/OS X App-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
name = Debug;
};
E56E5AC516C9704500F39927 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
COMBINE_HIDPI_IMAGES = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "OS X App/OS X App-Prefix.pch";
INFOPLIST_FILE = "OS X App/OS X App-Info.plist";
PRODUCT_NAME = "$(TARGET_NAME)";
WRAPPER_EXTENSION = app;
};
name = Release;
};
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;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
E56E5AA816C9703D00F39927 /* Build configuration list for PBXNativeTarget "iOS App" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E56E5AA916C9703D00F39927 /* Debug */,
E56E5AAA16C9703D00F39927 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
E56E5AC316C9704500F39927 /* Build configuration list for PBXNativeTarget "OS X App" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E56E5AC416C9704500F39927 /* Debug */,
E56E5AC516C9704500F39927 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
E575589616C5943000DC1500 /* Build configuration list for PBXProject "SampleApp" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E57558B616C5943100DC1500 /* Debug */,
E57558B716C5943100DC1500 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = E575589316C5943000DC1500 /* Project object */;
}
...@@ -67,10 +67,27 @@ POD_BINARY = "ruby " + ROOT.to_s + '/bin/pod' unless defined? POD_BINARY ...@@ -67,10 +67,27 @@ POD_BINARY = "ruby " + ROOT.to_s + '/bin/pod' unless defined? POD_BINARY
# @!group Description implementation # @!group Description implementation
# Performs the checks for the test with the given folder using the given
# arguments.
#
# @parma [String] arguments
# The arguments to pass to the Pod executable.
#
# @parma [String] folder
# The name of the folder which contains the `before` and `after`
# subfolders.
#
def check(arguments, folder) def check(arguments, folder)
focused_check(arguments, folder)
end
# Shortcut to focus on a test. Just comment the implmentation of #check and
# call this from the relevant test.
#
def focused_check(arguments, folder)
copy_files(folder) copy_files(folder)
launch_binary(arguments) executed = launch_binary(arguments)
check_with_folder(folder) check_with_folder(folder) if executed
end end
#--------------------------------------# #--------------------------------------#
...@@ -84,10 +101,8 @@ end ...@@ -84,10 +101,8 @@ end
# the name of the folder of the tests. # the name of the folder of the tests.
# #
def copy_files(folder) def copy_files(folder)
if TMP_DIR.exist? TMP_DIR.rmtree if TMP_DIR.exist?
TMP_DIR.rmtree
TMP_DIR.mkpath TMP_DIR.mkpath
end
source = File.expand_path("../integration/#{folder}/before", __FILE__) source = File.expand_path("../integration/#{folder}/before", __FILE__)
FileUtils.cp_r(Dir.glob("#{source}/*"), TMP_DIR) FileUtils.cp_r(Dir.glob("#{source}/*"), TMP_DIR)
...@@ -119,6 +134,7 @@ def launch_binary(arguments) ...@@ -119,6 +134,7 @@ def launch_binary(arguments)
file.write(output.gsub(ROOT.to_s, 'ROOT').gsub(%r[/Users/.*/Library/Caches/CocoaPods/],"CACHES_DIR/")) file.write(output.gsub(ROOT.to_s, 'ROOT').gsub(%r[/Users/.*/Library/Caches/CocoaPods/],"CACHES_DIR/"))
end end
end end
$?.success?
end end
# Creates a requirement which compares every file in the after folder with the # Creates a requirement which compares every file in the after folder with the
...@@ -239,9 +255,14 @@ def file_should_match(expected, produced) ...@@ -239,9 +255,14 @@ def file_should_match(expected, produced)
end end
end end
def create_caches_for_the_pods
end
#-----------------------------------------------------------------------------# #-----------------------------------------------------------------------------#
create_caches_for_the_pods
describe "Integration take 2" do describe "Integration take 2" do
describe "Pod install" do describe "Pod install" do
...@@ -258,37 +279,43 @@ describe "Integration take 2" do ...@@ -258,37 +279,43 @@ describe "Integration take 2" do
check "install --no-update --no-doc", "install_remove_pod" check "install --no-update --no-doc", "install_remove_pod"
end end
# describe "Creates an installation with multiple target definitions" do describe "Creates an installation with multiple target definitions" do
# check "install", "multiple_targets" check "install --no-update --no-doc", "install_multiple_targets"
# end end
# describe "Runs the Podfile callbacks" do # TODO This test should reflect a bug of CP 0.16: the clean phase
# check "update", "podfile_callbacks" # considers only the subspecs of only one target. However there is another
# end # issue and Pod from external sources are not cleaned.
#
describe "Installs a Pod with different subspecs activated across different targets" do
check "install --no-update --no-doc", "install_subspecs"
end
# describe "Runs the specification callbacks" do describe "Installs a Pod with a local source" do
# check "update", "specification_callbacks" check "install --no-update --no-doc", "install_local_source"
# end end
# describe "Generates the documentation of Pod during installation" do describe "Installs a Pod with an external source" do
# # TODO: requires CocoaPods 0.17 check "install --no-update --no-doc", "install_external_source"
# check "update", "installation_update" end
# end
# describe "Installs a Pod with different subspecs activated across different targets" do describe "Installs a Pod given the podspec" do
# check "update", "subspecs" check "install --no-update --no-doc", "install_podspec"
# end end
# describe "Installs a Pod with a local source" do describe "Runs the Podfile callbacks" do
# check "update", "podfile_local_pod" check "install --no-update --no-doc", "install_podfile_callbacks"
# end end
describe "Runs the specification callbacks" do
check "install --no-update --no-doc", "install_spec_callbacks"
end
# describe "Installs a Pod with an external source" do
# check "update", "podfile_external_source"
# end
# describe "Installs a Pod given the podspec" do # TODO: requires CocoaPods 0.17
# check "update", "podfile_podspec" #
# describe "Generates the documentation of Pod during installation" do
# check "install --no-update --no-doc", "install_docs"
# end # end
end end
...@@ -298,6 +325,7 @@ describe "Integration take 2" do ...@@ -298,6 +325,7 @@ describe "Integration take 2" do
describe "Pod update" do describe "Pod update" do
# TODO: --no-doc --no-update don't work properly in 0.16 # TODO: --no-doc --no-update don't work properly in 0.16
#
# describe "Updates an existing installation" do # describe "Updates an existing installation" do
# check "update --no-update --no-doc", "update" # check "update --no-update --no-doc", "update"
# end # end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment