mirror of
https://github.com/samsonjs/samhuri.net-ios.git
synced 2026-04-27 15:07:44 +00:00
add a precompiled header and import DDLog
This commit is contained in:
parent
fb835b77d1
commit
1df16cc94b
2 changed files with 21 additions and 0 deletions
|
|
@ -120,6 +120,7 @@
|
||||||
7B08B3EE1AF9CAD300435579 /* MainInterface.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = MainInterface.storyboard; sourceTree = "<group>"; };
|
7B08B3EE1AF9CAD300435579 /* MainInterface.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = MainInterface.storyboard; sourceTree = "<group>"; };
|
||||||
7B08B3FF1AF9D3E300435579 /* SamhuriNet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SamhuriNet.h; sourceTree = "<group>"; };
|
7B08B3FF1AF9D3E300435579 /* SamhuriNet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SamhuriNet.h; sourceTree = "<group>"; };
|
||||||
7B08B4001AF9D3E300435579 /* SamhuriNet.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SamhuriNet.m; sourceTree = "<group>"; };
|
7B08B4001AF9D3E300435579 /* SamhuriNet.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SamhuriNet.m; sourceTree = "<group>"; };
|
||||||
|
7B08B4031AF9D99C00435579 /* Blog-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Blog-Prefix.pch"; sourceTree = "<group>"; };
|
||||||
7B2B434F1AED5BA500BAC4E2 /* Functions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Functions.h; sourceTree = "<group>"; };
|
7B2B434F1AED5BA500BAC4E2 /* Functions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Functions.h; sourceTree = "<group>"; };
|
||||||
7B2B43501AED5BA500BAC4E2 /* Functions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Functions.m; sourceTree = "<group>"; };
|
7B2B43501AED5BA500BAC4E2 /* Functions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Functions.m; sourceTree = "<group>"; };
|
||||||
7B4070521AE46BC9000C2E43 /* auth.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = auth.json; sourceTree = "<group>"; };
|
7B4070521AE46BC9000C2E43 /* auth.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = auth.json; sourceTree = "<group>"; };
|
||||||
|
|
@ -306,6 +307,7 @@
|
||||||
7B4070521AE46BC9000C2E43 /* auth.json */,
|
7B4070521AE46BC9000C2E43 /* auth.json */,
|
||||||
7B5C4BDD19F2606900667D48 /* Info.plist */,
|
7B5C4BDD19F2606900667D48 /* Info.plist */,
|
||||||
7B5C4BDE19F2606900667D48 /* main.m */,
|
7B5C4BDE19F2606900667D48 /* main.m */,
|
||||||
|
7B08B4031AF9D99C00435579 /* Blog-Prefix.pch */,
|
||||||
);
|
);
|
||||||
name = "Supporting Files";
|
name = "Supporting Files";
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
|
@ -763,6 +765,7 @@
|
||||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||||
GCC_DYNAMIC_NO_PIC = NO;
|
GCC_DYNAMIC_NO_PIC = NO;
|
||||||
GCC_OPTIMIZATION_LEVEL = 0;
|
GCC_OPTIMIZATION_LEVEL = 0;
|
||||||
|
GCC_PREFIX_HEADER = "Blog/Blog-Prefix.pch";
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||||
"DEBUG=1",
|
"DEBUG=1",
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
|
|
@ -804,6 +807,7 @@
|
||||||
ENABLE_NS_ASSERTIONS = NO;
|
ENABLE_NS_ASSERTIONS = NO;
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||||
|
GCC_PREFIX_HEADER = "Blog/Blog-Prefix.pch";
|
||||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
||||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||||
|
|
@ -825,6 +829,7 @@
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CODE_SIGN_IDENTITY = "iPhone Developer";
|
CODE_SIGN_IDENTITY = "iPhone Developer";
|
||||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||||
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||||
INFOPLIST_FILE = Blog/Info.plist;
|
INFOPLIST_FILE = Blog/Info.plist;
|
||||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
|
|
@ -837,6 +842,7 @@
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CODE_SIGN_IDENTITY = "iPhone Developer";
|
CODE_SIGN_IDENTITY = "iPhone Developer";
|
||||||
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||||
INFOPLIST_FILE = Blog/Info.plist;
|
INFOPLIST_FILE = Blog/Info.plist;
|
||||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
|
|
|
||||||
15
Blog/Blog-Prefix.pch
Normal file
15
Blog/Blog-Prefix.pch
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
//
|
||||||
|
// Blog-Prefix.pch
|
||||||
|
// Blog
|
||||||
|
//
|
||||||
|
// Created by Sami Samhuri on 2015-05-05.
|
||||||
|
// Copyright (c) 2015 Guru Logic Inc. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <CocoaLumberjack/DDLog.h>
|
||||||
|
|
||||||
|
#ifdef DEBUG
|
||||||
|
static const int ddLogLevel = LOG_LEVEL_VERBOSE;
|
||||||
|
#else
|
||||||
|
static const int ddLogLevel = LOG_LEVEL_WARN;
|
||||||
|
#endif
|
||||||
Loading…
Reference in a new issue