Authored by 曹镏

no message

// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
194EDC761A7F52D100421E6C /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 194EDC751A7F52D100421E6C /* main.m */; };
194EDC791A7F52D100421E6C /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 194EDC781A7F52D100421E6C /* AppDelegate.m */; };
194EDC7C1A7F52D100421E6C /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 194EDC7B1A7F52D100421E6C /* ViewController.m */; };
194EDC7F1A7F52D100421E6C /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 194EDC7D1A7F52D100421E6C /* Main.storyboard */; };
194EDC811A7F52D100421E6C /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 194EDC801A7F52D100421E6C /* Images.xcassets */; };
194EDC841A7F52D100421E6C /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 194EDC821A7F52D100421E6C /* LaunchScreen.xib */; };
194EDC901A7F52D100421E6C /* YH_AnalyticsTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 194EDC8F1A7F52D100421E6C /* YH_AnalyticsTests.m */; };
194EDC9C1A7F555800421E6C /* YH_Analytics.m in Sources */ = {isa = PBXBuildFile; fileRef = 194EDC9B1A7F555800421E6C /* YH_Analytics.m */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
194EDC8A1A7F52D100421E6C /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 194EDC681A7F52D100421E6C /* Project object */;
proxyType = 1;
remoteGlobalIDString = 194EDC6F1A7F52D100421E6C;
remoteInfo = YH_Analytics;
};
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
194EDC701A7F52D100421E6C /* YH_Analytics.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = YH_Analytics.app; sourceTree = BUILT_PRODUCTS_DIR; };
194EDC741A7F52D100421E6C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
194EDC751A7F52D100421E6C /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
194EDC771A7F52D100421E6C /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
194EDC781A7F52D100421E6C /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
194EDC7A1A7F52D100421E6C /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
194EDC7B1A7F52D100421E6C /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
194EDC7E1A7F52D100421E6C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
194EDC801A7F52D100421E6C /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
194EDC831A7F52D100421E6C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
194EDC891A7F52D100421E6C /* YH_AnalyticsTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = YH_AnalyticsTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
194EDC8E1A7F52D100421E6C /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
194EDC8F1A7F52D100421E6C /* YH_AnalyticsTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = YH_AnalyticsTests.m; sourceTree = "<group>"; };
194EDC9A1A7F555800421E6C /* YH_Analytics.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YH_Analytics.h; sourceTree = "<group>"; };
194EDC9B1A7F555800421E6C /* YH_Analytics.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YH_Analytics.m; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
194EDC6D1A7F52D100421E6C /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
194EDC861A7F52D100421E6C /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
194EDC671A7F52D100421E6C = {
isa = PBXGroup;
children = (
194EDC721A7F52D100421E6C /* YH_Analytics */,
194EDC8C1A7F52D100421E6C /* YH_AnalyticsTests */,
194EDC711A7F52D100421E6C /* Products */,
);
sourceTree = "<group>";
};
194EDC711A7F52D100421E6C /* Products */ = {
isa = PBXGroup;
children = (
194EDC701A7F52D100421E6C /* YH_Analytics.app */,
194EDC891A7F52D100421E6C /* YH_AnalyticsTests.xctest */,
);
name = Products;
sourceTree = "<group>";
};
194EDC721A7F52D100421E6C /* YH_Analytics */ = {
isa = PBXGroup;
children = (
194EDC991A7F553600421E6C /* YH_Analytics */,
194EDC771A7F52D100421E6C /* AppDelegate.h */,
194EDC781A7F52D100421E6C /* AppDelegate.m */,
194EDC7A1A7F52D100421E6C /* ViewController.h */,
194EDC7B1A7F52D100421E6C /* ViewController.m */,
194EDC7D1A7F52D100421E6C /* Main.storyboard */,
194EDC801A7F52D100421E6C /* Images.xcassets */,
194EDC821A7F52D100421E6C /* LaunchScreen.xib */,
194EDC731A7F52D100421E6C /* Supporting Files */,
);
path = YH_Analytics;
sourceTree = "<group>";
};
194EDC731A7F52D100421E6C /* Supporting Files */ = {
isa = PBXGroup;
children = (
194EDC741A7F52D100421E6C /* Info.plist */,
194EDC751A7F52D100421E6C /* main.m */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
194EDC8C1A7F52D100421E6C /* YH_AnalyticsTests */ = {
isa = PBXGroup;
children = (
194EDC8F1A7F52D100421E6C /* YH_AnalyticsTests.m */,
194EDC8D1A7F52D100421E6C /* Supporting Files */,
);
path = YH_AnalyticsTests;
sourceTree = "<group>";
};
194EDC8D1A7F52D100421E6C /* Supporting Files */ = {
isa = PBXGroup;
children = (
194EDC8E1A7F52D100421E6C /* Info.plist */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
194EDC991A7F553600421E6C /* YH_Analytics */ = {
isa = PBXGroup;
children = (
194EDC9A1A7F555800421E6C /* YH_Analytics.h */,
194EDC9B1A7F555800421E6C /* YH_Analytics.m */,
);
path = YH_Analytics;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
194EDC6F1A7F52D100421E6C /* YH_Analytics */ = {
isa = PBXNativeTarget;
buildConfigurationList = 194EDC931A7F52D100421E6C /* Build configuration list for PBXNativeTarget "YH_Analytics" */;
buildPhases = (
194EDC6C1A7F52D100421E6C /* Sources */,
194EDC6D1A7F52D100421E6C /* Frameworks */,
194EDC6E1A7F52D100421E6C /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = YH_Analytics;
productName = YH_Analytics;
productReference = 194EDC701A7F52D100421E6C /* YH_Analytics.app */;
productType = "com.apple.product-type.application";
};
194EDC881A7F52D100421E6C /* YH_AnalyticsTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 194EDC961A7F52D100421E6C /* Build configuration list for PBXNativeTarget "YH_AnalyticsTests" */;
buildPhases = (
194EDC851A7F52D100421E6C /* Sources */,
194EDC861A7F52D100421E6C /* Frameworks */,
194EDC871A7F52D100421E6C /* Resources */,
);
buildRules = (
);
dependencies = (
194EDC8B1A7F52D100421E6C /* PBXTargetDependency */,
);
name = YH_AnalyticsTests;
productName = YH_AnalyticsTests;
productReference = 194EDC891A7F52D100421E6C /* YH_AnalyticsTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
194EDC681A7F52D100421E6C /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0610;
ORGANIZATIONNAME = YOHO;
TargetAttributes = {
194EDC6F1A7F52D100421E6C = {
CreatedOnToolsVersion = 6.1.1;
};
194EDC881A7F52D100421E6C = {
CreatedOnToolsVersion = 6.1.1;
TestTargetID = 194EDC6F1A7F52D100421E6C;
};
};
};
buildConfigurationList = 194EDC6B1A7F52D100421E6C /* Build configuration list for PBXProject "YH_Analytics" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 194EDC671A7F52D100421E6C;
productRefGroup = 194EDC711A7F52D100421E6C /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
194EDC6F1A7F52D100421E6C /* YH_Analytics */,
194EDC881A7F52D100421E6C /* YH_AnalyticsTests */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
194EDC6E1A7F52D100421E6C /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
194EDC7F1A7F52D100421E6C /* Main.storyboard in Resources */,
194EDC841A7F52D100421E6C /* LaunchScreen.xib in Resources */,
194EDC811A7F52D100421E6C /* Images.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
194EDC871A7F52D100421E6C /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
194EDC6C1A7F52D100421E6C /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
194EDC7C1A7F52D100421E6C /* ViewController.m in Sources */,
194EDC9C1A7F555800421E6C /* YH_Analytics.m in Sources */,
194EDC791A7F52D100421E6C /* AppDelegate.m in Sources */,
194EDC761A7F52D100421E6C /* main.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
194EDC851A7F52D100421E6C /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
194EDC901A7F52D100421E6C /* YH_AnalyticsTests.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
194EDC8B1A7F52D100421E6C /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 194EDC6F1A7F52D100421E6C /* YH_Analytics */;
targetProxy = 194EDC8A1A7F52D100421E6C /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin PBXVariantGroup section */
194EDC7D1A7F52D100421E6C /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
194EDC7E1A7F52D100421E6C /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
};
194EDC821A7F52D100421E6C /* LaunchScreen.xib */ = {
isa = PBXVariantGroup;
children = (
194EDC831A7F52D100421E6C /* Base */,
);
name = LaunchScreen.xib;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
194EDC911A7F52D100421E6C /* 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;
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;
};
name = Debug;
};
194EDC921A7F52D100421E6C /* 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;
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;
VALIDATE_PRODUCT = YES;
};
name = Release;
};
194EDC941A7F52D100421E6C /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = YH_Analytics/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
194EDC951A7F52D100421E6C /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INFOPLIST_FILE = YH_Analytics/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
194EDC971A7F52D100421E6C /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
FRAMEWORK_SEARCH_PATHS = (
"$(SDKROOT)/Developer/Library/Frameworks",
"$(inherited)",
);
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
INFOPLIST_FILE = YH_AnalyticsTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/YH_Analytics.app/YH_Analytics";
};
name = Debug;
};
194EDC981A7F52D100421E6C /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
FRAMEWORK_SEARCH_PATHS = (
"$(SDKROOT)/Developer/Library/Frameworks",
"$(inherited)",
);
INFOPLIST_FILE = YH_AnalyticsTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_NAME = "$(TARGET_NAME)";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/YH_Analytics.app/YH_Analytics";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
194EDC6B1A7F52D100421E6C /* Build configuration list for PBXProject "YH_Analytics" */ = {
isa = XCConfigurationList;
buildConfigurations = (
194EDC911A7F52D100421E6C /* Debug */,
194EDC921A7F52D100421E6C /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
194EDC931A7F52D100421E6C /* Build configuration list for PBXNativeTarget "YH_Analytics" */ = {
isa = XCConfigurationList;
buildConfigurations = (
194EDC941A7F52D100421E6C /* Debug */,
194EDC951A7F52D100421E6C /* Release */,
);
defaultConfigurationIsVisible = 0;
};
194EDC961A7F52D100421E6C /* Build configuration list for PBXNativeTarget "YH_AnalyticsTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
194EDC971A7F52D100421E6C /* Debug */,
194EDC981A7F52D100421E6C /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = 194EDC681A7F52D100421E6C /* Project object */;
}
... ...
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:YH_Analytics.xcodeproj">
</FileRef>
</Workspace>
... ...
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0610"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "194EDC6F1A7F52D100421E6C"
BuildableName = "YH_Analytics.app"
BlueprintName = "YH_Analytics"
ReferencedContainer = "container:YH_Analytics.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "194EDC881A7F52D100421E6C"
BuildableName = "YH_AnalyticsTests.xctest"
BlueprintName = "YH_AnalyticsTests"
ReferencedContainer = "container:YH_Analytics.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "194EDC881A7F52D100421E6C"
BuildableName = "YH_AnalyticsTests.xctest"
BlueprintName = "YH_AnalyticsTests"
ReferencedContainer = "container:YH_Analytics.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "194EDC6F1A7F52D100421E6C"
BuildableName = "YH_Analytics.app"
BlueprintName = "YH_Analytics"
ReferencedContainer = "container:YH_Analytics.xcodeproj">
</BuildableReference>
</MacroExpansion>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
allowLocationSimulation = "YES">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "194EDC6F1A7F52D100421E6C"
BuildableName = "YH_Analytics.app"
BlueprintName = "YH_Analytics"
ReferencedContainer = "container:YH_Analytics.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "194EDC6F1A7F52D100421E6C"
BuildableName = "YH_Analytics.app"
BlueprintName = "YH_Analytics"
ReferencedContainer = "container:YH_Analytics.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
... ...
<?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>SchemeUserState</key>
<dict>
<key>YH_Analytics.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>194EDC6F1A7F52D100421E6C</key>
<dict>
<key>primary</key>
<true/>
</dict>
<key>194EDC881A7F52D100421E6C</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
... ...
//
// AppDelegate.h
// YH_Analytics
//
// Created by Cao Liu on 15/2/2.
// Copyright (c) 2015年 YOHO. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
... ...
//
// AppDelegate.m
// YH_Analytics
//
// Created by Cao Liu on 15/2/2.
// Copyright (c) 2015年 YOHO. All rights reserved.
//
#import "AppDelegate.h"
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
}
- (void)applicationDidEnterBackground:(UIApplication *)application {
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}
- (void)applicationWillEnterForeground:(UIApplication *)application {
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
}
- (void)applicationDidBecomeActive:(UIApplication *)application {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}
- (void)applicationWillTerminate:(UIApplication *)application {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
@end
... ...
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6214" systemVersion="14A314h" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6207"/>
<capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view contentMode="scaleToFill" id="iN0-l3-epB">
<rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" Copyright (c) 2015年 YOHO. All rights reserved." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="8ie-xW-0ye">
<rect key="frame" x="20" y="439" width="441" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="YH_Analytics" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
<rect key="frame" x="20" y="140" width="441" height="43"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="5cJ-9S-tgC"/>
<constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/>
<constraint firstAttribute="bottom" secondItem="8ie-xW-0ye" secondAttribute="bottom" constant="20" id="Kzo-t9-V3l"/>
<constraint firstItem="8ie-xW-0ye" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="MfP-vx-nX0"/>
<constraint firstAttribute="centerX" secondItem="8ie-xW-0ye" secondAttribute="centerX" id="ZEH-qu-HZ9"/>
<constraint firstItem="kId-c2-rCX" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="fvb-Df-36g"/>
</constraints>
<nil key="simulatedStatusBarMetrics"/>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
<point key="canvasLocation" x="548" y="455"/>
</view>
</objects>
</document>
... ...
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="vXZ-lx-hvc">
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="ufC-wZ-h7g">
<objects>
<viewController id="vXZ-lx-hvc" customClass="ViewController" customModuleProvider="" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="jyV-Pf-zRb"/>
<viewControllerLayoutGuide type="bottom" id="2fi-mo-0CV"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="kh9-bI-dsS">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="x5A-6p-PRh" sceneMemberID="firstResponder"/>
</objects>
</scene>
</scenes>
</document>
... ...
{
"images" : [
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "3x"
},
{
"idiom" : "iphone",
"size" : "40x40",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "40x40",
"scale" : "3x"
},
{
"idiom" : "iphone",
"size" : "60x60",
"scale" : "2x"
},
{
"idiom" : "iphone",
"size" : "60x60",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ 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>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>YH.$(PRODUCT_NAME:rfc1034identifier)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>
... ...
//
// ViewController.h
// YH_Analytics
//
// Created by Cao Liu on 15/2/2.
// Copyright (c) 2015年 YOHO. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
... ...
//
// ViewController.m
// YH_Analytics
//
// Created by Cao Liu on 15/2/2.
// Copyright (c) 2015年 YOHO. All rights reserved.
//
#import "ViewController.h"
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end
... ...
//
// YH_Analytics.h
// YH_Analytics
//
// Created by Cao Liu on 15/2/2.
// Copyright (c) 2015年 YOHO. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef enum _YohoMobStatLogStrategy {
LogStrategyAppLaunch = 0, //每次程序启动
LogStrategyCustom = 1, //根据时间间隔接口发送
} YHLogStrategy;
@interface YH_Analytics : NSObject
/**
* 获取统计对象的实例
*/
+ (YH_Analytics*) shareInstance;
/**
* 此处AppId即为应用的appKey
*/
-(void) startWithAppId:(NSString*) appId;
/**
*logEvent 事件ID和事件参数
*/
-(void) logEvent:(NSString*) eventId parameters:(NSDictionary * )param;
/**
* 设置或者获取渠道Id。
* 可以不设置, 此时系统会处理为AppStore渠道
*/
@property (nonatomic, strong) NSString* channelId;
/**
* 是否启用异常日志收集
*/
@property (nonatomic) BOOL enableExceptionLog;
/**
*
* 设置日志发送策略, 默认采用BaiduMobStatLogStrategyAppLaunch:启动发送
*/
@property (nonatomic) YHLogStrategy logStrategy;
/**
*
* 开发这可以调用此接口来打印SDK中的日志,用于调试
*/
@property (nonatomic) BOOL enableDebugOn;
@end
... ...
//
// YH_Analytics.m
// YH_Analytics
//
// Created by Cao Liu on 15/2/2.
// Copyright (c) 2015年 YOHO. All rights reserved.
//
#import "YH_Analytics.h"
@implementation YH_Analytics
@end
... ...
//
// main.m
// YH_Analytics
//
// Created by Tiger on 15/2/2.
// Copyright (c) 2015年 YOHO. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
int main(int argc, char * argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
... ...
<?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>YH.$(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>
... ...
//
// YH_AnalyticsTests.m
// YH_AnalyticsTests
//
// Created by Tiger on 15/2/2.
// Copyright (c) 2015年 YOHO. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <XCTest/XCTest.h>
@interface YH_AnalyticsTests : XCTestCase
@end
@implementation YH_AnalyticsTests
- (void)setUp {
[super setUp];
// Put setup code here. This method is called before the invocation of each test method in the class.
}
- (void)tearDown {
// Put teardown code here. This method is called after the invocation of each test method in the class.
[super tearDown];
}
- (void)testExample {
// This is an example of a functional test case.
XCTAssert(YES, @"Pass");
}
- (void)testPerformanceExample {
// This is an example of a performance test case.
[self measureBlock:^{
// Put the code you want to measure the time of here.
}];
}
@end
... ...