1、使用cocoapods集成PingUtil
2、在导入、新增、修改的时候刷新ping值
This commit is contained in:
26
Pods/Target Support Files/XYPingUtil/Info.plist
generated
Normal file
26
Pods/Target Support Files/XYPingUtil/Info.plist
generated
Normal file
@ -0,0 +1,26 @@
|
||||
<?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>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>${PRODUCT_NAME}</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.0.1</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>${CURRENT_PROJECT_VERSION}</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</plist>
|
5
Pods/Target Support Files/XYPingUtil/XYPingUtil-dummy.m
generated
Normal file
5
Pods/Target Support Files/XYPingUtil/XYPingUtil-dummy.m
generated
Normal file
@ -0,0 +1,5 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
@interface PodsDummy_XYPingUtil : NSObject
|
||||
@end
|
||||
@implementation PodsDummy_XYPingUtil
|
||||
@end
|
12
Pods/Target Support Files/XYPingUtil/XYPingUtil-prefix.pch
generated
Normal file
12
Pods/Target Support Files/XYPingUtil/XYPingUtil-prefix.pch
generated
Normal file
@ -0,0 +1,12 @@
|
||||
#ifdef __OBJC__
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#else
|
||||
#ifndef FOUNDATION_EXPORT
|
||||
#if defined(__cplusplus)
|
||||
#define FOUNDATION_EXPORT extern "C"
|
||||
#else
|
||||
#define FOUNDATION_EXPORT extern
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
19
Pods/Target Support Files/XYPingUtil/XYPingUtil-umbrella.h
generated
Normal file
19
Pods/Target Support Files/XYPingUtil/XYPingUtil-umbrella.h
generated
Normal file
@ -0,0 +1,19 @@
|
||||
#ifdef __OBJC__
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#else
|
||||
#ifndef FOUNDATION_EXPORT
|
||||
#if defined(__cplusplus)
|
||||
#define FOUNDATION_EXPORT extern "C"
|
||||
#else
|
||||
#define FOUNDATION_EXPORT extern
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#import "PingManager.h"
|
||||
#import "PingUtil.h"
|
||||
#import "SimplePing.h"
|
||||
|
||||
FOUNDATION_EXPORT double XYPingUtilVersionNumber;
|
||||
FOUNDATION_EXPORT const unsigned char XYPingUtilVersionString[];
|
||||
|
6
Pods/Target Support Files/XYPingUtil/XYPingUtil.modulemap
generated
Normal file
6
Pods/Target Support Files/XYPingUtil/XYPingUtil.modulemap
generated
Normal file
@ -0,0 +1,6 @@
|
||||
framework module XYPingUtil {
|
||||
umbrella header "XYPingUtil-umbrella.h"
|
||||
|
||||
export *
|
||||
module * { export * }
|
||||
}
|
11
Pods/Target Support Files/XYPingUtil/XYPingUtil.xcconfig
generated
Normal file
11
Pods/Target Support Files/XYPingUtil/XYPingUtil.xcconfig
generated
Normal file
@ -0,0 +1,11 @@
|
||||
CODE_SIGN_IDENTITY =
|
||||
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/XYPingUtil
|
||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/BRLOptionParser"
|
||||
OTHER_LDFLAGS = -l"z" -framework "Foundation"
|
||||
PODS_BUILD_DIR = ${BUILD_DIR}
|
||||
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
|
||||
PODS_ROOT = ${SRCROOT}
|
||||
PODS_TARGET_SRCROOT = ${PODS_ROOT}/XYPingUtil
|
||||
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
|
||||
SKIP_INSTALL = YES
|
Reference in New Issue
Block a user