Authored by wangqianjun

添加工程

// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
E7D781861A8063F300D17F2C /* YHAnalytics.h in Headers */ = {isa = PBXBuildFile; fileRef = E7D781851A8063F300D17F2C /* YHAnalytics.h */; settings = {ATTRIBUTES = (Public, ); }; };
E7D7818C1A8063F300D17F2C /* YHAnalytics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E7D781801A8063F300D17F2C /* YHAnalytics.framework */; };
E7D781931A8063F300D17F2C /* YHAnalyticsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = E7D781921A8063F300D17F2C /* YHAnalyticsTests.swift */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
E7D7818D1A8063F300D17F2C /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = E7D781771A8063F300D17F2C /* Project object */;
proxyType = 1;
remoteGlobalIDString = E7D7817F1A8063F300D17F2C;
remoteInfo = YHAnalytics;
};
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
E7D781801A8063F300D17F2C /* YHAnalytics.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = YHAnalytics.framework; sourceTree = BUILT_PRODUCTS_DIR; };
E7D781841A8063F300D17F2C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
E7D781851A8063F300D17F2C /* YHAnalytics.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = YHAnalytics.h; sourceTree = "<group>"; };
E7D7818B1A8063F300D17F2C /* YHAnalyticsTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = YHAnalyticsTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
E7D781911A8063F300D17F2C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
E7D781921A8063F300D17F2C /* YHAnalyticsTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHAnalyticsTests.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
E7D7817C1A8063F300D17F2C /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
E7D781881A8063F300D17F2C /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
E7D7818C1A8063F300D17F2C /* YHAnalytics.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
E7D781761A8063F300D17F2C = {
isa = PBXGroup;
children = (
E7D781821A8063F300D17F2C /* YHAnalytics */,
E7D7818F1A8063F300D17F2C /* YHAnalyticsTests */,
E7D781811A8063F300D17F2C /* Products */,
);
sourceTree = "<group>";
};
E7D781811A8063F300D17F2C /* Products */ = {
isa = PBXGroup;
children = (
E7D781801A8063F300D17F2C /* YHAnalytics.framework */,
E7D7818B1A8063F300D17F2C /* YHAnalyticsTests.xctest */,
);
name = Products;
sourceTree = "<group>";
};
E7D781821A8063F300D17F2C /* YHAnalytics */ = {
isa = PBXGroup;
children = (
E7D781851A8063F300D17F2C /* YHAnalytics.h */,
E7D781831A8063F300D17F2C /* Supporting Files */,
);
path = YHAnalytics;
sourceTree = "<group>";
};
E7D781831A8063F300D17F2C /* Supporting Files */ = {
isa = PBXGroup;
children = (
E7D781841A8063F300D17F2C /* Info.plist */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
E7D7818F1A8063F300D17F2C /* YHAnalyticsTests */ = {
isa = PBXGroup;
children = (
E7D781921A8063F300D17F2C /* YHAnalyticsTests.swift */,
E7D781901A8063F300D17F2C /* Supporting Files */,
);
path = YHAnalyticsTests;
sourceTree = "<group>";
};
E7D781901A8063F300D17F2C /* Supporting Files */ = {
isa = PBXGroup;
children = (
E7D781911A8063F300D17F2C /* Info.plist */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
E7D7817D1A8063F300D17F2C /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
E7D781861A8063F300D17F2C /* YHAnalytics.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
E7D7817F1A8063F300D17F2C /* YHAnalytics */ = {
isa = PBXNativeTarget;
buildConfigurationList = E7D781961A8063F300D17F2C /* Build configuration list for PBXNativeTarget "YHAnalytics" */;
buildPhases = (
E7D7817B1A8063F300D17F2C /* Sources */,
E7D7817C1A8063F300D17F2C /* Frameworks */,
E7D7817D1A8063F300D17F2C /* Headers */,
E7D7817E1A8063F300D17F2C /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = YHAnalytics;
productName = YHAnalytics;
productReference = E7D781801A8063F300D17F2C /* YHAnalytics.framework */;
productType = "com.apple.product-type.framework";
};
E7D7818A1A8063F300D17F2C /* YHAnalyticsTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = E7D781991A8063F300D17F2C /* Build configuration list for PBXNativeTarget "YHAnalyticsTests" */;
buildPhases = (
E7D781871A8063F300D17F2C /* Sources */,
E7D781881A8063F300D17F2C /* Frameworks */,
E7D781891A8063F300D17F2C /* Resources */,
);
buildRules = (
);
dependencies = (
E7D7818E1A8063F300D17F2C /* PBXTargetDependency */,
);
name = YHAnalyticsTests;
productName = YHAnalyticsTests;
productReference = E7D7818B1A8063F300D17F2C /* YHAnalyticsTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
E7D781771A8063F300D17F2C /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0610;
ORGANIZATIONNAME = "王钱钧";
TargetAttributes = {
E7D7817F1A8063F300D17F2C = {
CreatedOnToolsVersion = 6.1.1;
};
E7D7818A1A8063F300D17F2C = {
CreatedOnToolsVersion = 6.1.1;
};
};
};
buildConfigurationList = E7D7817A1A8063F300D17F2C /* Build configuration list for PBXProject "YHAnalytics" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = E7D781761A8063F300D17F2C;
productRefGroup = E7D781811A8063F300D17F2C /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
E7D7817F1A8063F300D17F2C /* YHAnalytics */,
E7D7818A1A8063F300D17F2C /* YHAnalyticsTests */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
E7D7817E1A8063F300D17F2C /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
E7D781891A8063F300D17F2C /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
E7D7817B1A8063F300D17F2C /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
E7D781871A8063F300D17F2C /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E7D781931A8063F300D17F2C /* YHAnalyticsTests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
E7D7818E1A8063F300D17F2C /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = E7D7817F1A8063F300D17F2C /* YHAnalytics */;
targetProxy = E7D7818D1A8063F300D17F2C /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
E7D781941A8063F300D17F2C /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
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_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.1;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
E7D781951A8063F300D17F2C /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = YES;
CURRENT_PROJECT_VERSION = 1;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.1;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
E7D781971A8063F300D17F2C /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = YHAnalytics/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
};
name = Debug;
};
E7D781981A8063F300D17F2C /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = YHAnalytics/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
};
name = Release;
};
E7D7819A1A8063F300D17F2C /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
FRAMEWORK_SEARCH_PATHS = (
"$(SDKROOT)/Developer/Library/Frameworks",
"$(inherited)",
);
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
INFOPLIST_FILE = YHAnalyticsTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
E7D7819B1A8063F300D17F2C /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
FRAMEWORK_SEARCH_PATHS = (
"$(SDKROOT)/Developer/Library/Frameworks",
"$(inherited)",
);
INFOPLIST_FILE = YHAnalyticsTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
E7D7817A1A8063F300D17F2C /* Build configuration list for PBXProject "YHAnalytics" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E7D781941A8063F300D17F2C /* Debug */,
E7D781951A8063F300D17F2C /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
E7D781961A8063F300D17F2C /* Build configuration list for PBXNativeTarget "YHAnalytics" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E7D781971A8063F300D17F2C /* Debug */,
E7D781981A8063F300D17F2C /* Release */,
);
defaultConfigurationIsVisible = 0;
};
E7D781991A8063F300D17F2C /* Build configuration list for PBXNativeTarget "YHAnalyticsTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E7D7819A1A8063F300D17F2C /* Debug */,
E7D7819B1A8063F300D17F2C /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = E7D781771A8063F300D17F2C /* Project object */;
}
... ...
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:YHAnalytics.xcodeproj">
</FileRef>
</Workspace>
... ...
<?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>cn.yoho.$(PRODUCT_NAME:rfc1034identifier)</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>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
... ...
//
// YHAnalytics.h
// YHAnalytics
//
// Created by 王钱钧 on 15/2/3.
// Copyright (c) 2015年 王钱钧. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for YHAnalytics.
FOUNDATION_EXPORT double YHAnalyticsVersionNumber;
//! Project version string for YHAnalytics.
FOUNDATION_EXPORT const unsigned char YHAnalyticsVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <YHAnalytics/PublicHeader.h>
... ...
<?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>cn.yoho.$(PRODUCT_NAME:rfc1034identifier)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>
... ...
//
// YHAnalyticsTests.swift
// YHAnalyticsTests
//
// Created by 王钱钧 on 15/2/3.
// Copyright (c) 2015年 王钱钧. All rights reserved.
//
import UIKit
import XCTest
class YHAnalyticsTests: XCTestCase {
override func setUp() {
super.setUp()
// Put setup code here. This method is called before the invocation of each test method in the class.
}
override func tearDown() {
// Put teardown code here. This method is called after the invocation of each test method in the class.
super.tearDown()
}
func testExample() {
// This is an example of a functional test case.
XCTAssert(true, "Pass")
}
func testPerformanceExample() {
// This is an example of a performance test case.
self.measureBlock() {
// Put the code you want to measure the time of here.
}
}
}
... ...