├── func.list
├── symbols
├── README.md
├── Demo.xcodeproj
├── project.xcworkspace
│ └── contents.xcworkspacedata
├── xcuserdata
│ └── yinxianwei.xcuserdatad
│ │ ├── xcschemes
│ │ ├── xcschememanagement.plist
│ │ └── Demo.xcscheme
│ │ └── xcdebugger
│ │ └── Breakpoints_v2.xcbkptlist
└── project.pbxproj
├── Demo
├── codeObfuscation.h
├── PrefixHeader.pch
├── AppDelegate.h
├── ViewController.h
├── main.m
├── Images.xcassets
│ ├── LaunchImage.launchimage
│ │ └── Contents.json
│ └── AppIcon.appiconset
│ │ └── Contents.json
├── ViewController.m
├── Info.plist
├── Base.lproj
│ ├── Main.storyboard
│ └── LaunchScreen.xib
└── AppDelegate.m
├── DemoTests
├── Info.plist
└── DemoTests.m
├── LICENSE
└── confuse.sh
/func.list:
--------------------------------------------------------------------------------
1 | sample
2 | seg1
3 | seg2
4 |
--------------------------------------------------------------------------------
/symbols:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/yinxianwei/CodeObfuscation/HEAD/symbols
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # CodeObfuscation
2 | iOS代码混淆Demo
3 | 按照:http://blog.csdn.net/yiyaaixuexi/article/details/29201699
4 | 写的demo
5 |
--------------------------------------------------------------------------------
/Demo.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo/codeObfuscation.h:
--------------------------------------------------------------------------------
1 | #ifndef Demo_codeObfuscation_h
2 | #define Demo_codeObfuscation_h
3 | //confuse string at Thu Jan 15 18:14:40 CST 2015
4 | #define sample GqJbCSnEzKuAAxSX
5 | #define seg1 yLaZxJNbLPWelokF
6 | #define seg2 bXHKcAPdTvXjcord
7 | #endif
8 |
--------------------------------------------------------------------------------
/Demo/PrefixHeader.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Header.pch
3 | // 代码混淆
4 | //
5 | // Created by 尹现伟 on 15-1-15.
6 | // Copyright (c) 2015年 DNE Technology Co.,Ltd. All rights reserved.
7 | //
8 |
9 | #ifdef __OBJC__
10 |
11 | #import
12 | #import
13 |
14 | #import "codeObfuscation.h"
15 |
16 | #endif
--------------------------------------------------------------------------------
/Demo/AppDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.h
3 | // Demo
4 | //
5 | // Created by 尹现伟 on 15-1-15.
6 | // Copyright (c) 2015年 DNE Technology Co.,Ltd. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface AppDelegate : UIResponder
12 |
13 | @property (strong, nonatomic) UIWindow *window;
14 |
15 |
16 | @end
17 |
18 |
--------------------------------------------------------------------------------
/Demo/ViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.h
3 | // Demo
4 | //
5 | // Created by 尹现伟 on 15-1-15.
6 | // Copyright (c) 2015年 DNE Technology Co.,Ltd. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ViewController : UIViewController
12 |
13 | -(void)sample;
14 | -(void)seg1:(NSString *)string seg2:(NSUInteger)num;
15 |
16 |
17 | - (void)xxxxxx;
18 | @end
19 |
20 |
--------------------------------------------------------------------------------
/Demo/main.m:
--------------------------------------------------------------------------------
1 | //
2 | // main.m
3 | // Demo
4 | //
5 | // Created by 尹现伟 on 15-1-15.
6 | // Copyright (c) 2015年 DNE Technology Co.,Ltd. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "AppDelegate.h"
11 |
12 | int main(int argc, char * argv[]) {
13 | @autoreleasepool {
14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Demo/Images.xcassets/LaunchImage.launchimage/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "orientation" : "portrait",
5 | "idiom" : "iphone",
6 | "minimum-system-version" : "7.0",
7 | "scale" : "2x"
8 | },
9 | {
10 | "orientation" : "portrait",
11 | "idiom" : "iphone",
12 | "minimum-system-version" : "7.0",
13 | "subtype" : "retina4",
14 | "scale" : "2x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/Demo.xcodeproj/xcuserdata/yinxianwei.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | Demo.xcscheme
8 |
9 | orderHint
10 | 0
11 |
12 |
13 | SuppressBuildableAutocreation
14 |
15 | D079E7D71A67C53D00AEFD6A
16 |
17 | primary
18 |
19 |
20 | D079E7F01A67C53D00AEFD6A
21 |
22 | primary
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Demo/Images.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "29x29",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "29x29",
11 | "scale" : "3x"
12 | },
13 | {
14 | "idiom" : "iphone",
15 | "size" : "40x40",
16 | "scale" : "2x"
17 | },
18 | {
19 | "idiom" : "iphone",
20 | "size" : "40x40",
21 | "scale" : "3x"
22 | },
23 | {
24 | "idiom" : "iphone",
25 | "size" : "60x60",
26 | "scale" : "2x"
27 | },
28 | {
29 | "idiom" : "iphone",
30 | "size" : "60x60",
31 | "scale" : "3x"
32 | }
33 | ],
34 | "info" : {
35 | "version" : 1,
36 | "author" : "xcode"
37 | }
38 | }
--------------------------------------------------------------------------------
/Demo/ViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.m
3 | // Demo
4 | //
5 | // Created by 尹现伟 on 15-1-15.
6 | // Copyright (c) 2015年 DNE Technology Co.,Ltd. All rights reserved.
7 | //
8 |
9 | #import "ViewController.h"
10 | @interface ViewController ()
11 |
12 | @end
13 |
14 | @implementation ViewController
15 |
16 | -(void)sample{
17 |
18 | }
19 |
20 | -(void)seg1:(NSString *)string seg2:(NSUInteger)num{
21 |
22 |
23 |
24 | }
25 |
26 | - (void)xxxxxx{
27 |
28 | }
29 | - (void)viewDidLoad {
30 | [super viewDidLoad];
31 | // Do any additional setup after loading the view, typically from a nib.
32 | }
33 |
34 | - (void)didReceiveMemoryWarning {
35 | [super didReceiveMemoryWarning];
36 | // Dispose of any resources that can be recreated.
37 | }
38 |
39 | @end
40 |
--------------------------------------------------------------------------------
/Demo.xcodeproj/xcuserdata/yinxianwei.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
8 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/DemoTests/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | com.dne.$(PRODUCT_NAME:rfc1034identifier)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/DemoTests/DemoTests.m:
--------------------------------------------------------------------------------
1 | //
2 | // DemoTests.m
3 | // DemoTests
4 | //
5 | // Created by 尹现伟 on 15-1-15.
6 | // Copyright (c) 2015年 DNE Technology Co.,Ltd. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 |
12 | @interface DemoTests : XCTestCase
13 |
14 | @end
15 |
16 | @implementation DemoTests
17 |
18 | - (void)setUp {
19 | [super setUp];
20 | // Put setup code here. This method is called before the invocation of each test method in the class.
21 | }
22 |
23 | - (void)tearDown {
24 | // Put teardown code here. This method is called after the invocation of each test method in the class.
25 | [super tearDown];
26 | }
27 |
28 | - (void)testExample {
29 | // This is an example of a functional test case.
30 | XCTAssert(YES, @"Pass");
31 | }
32 |
33 | - (void)testPerformanceExample {
34 | // This is an example of a performance test case.
35 | [self measureBlock:^{
36 | // Put the code you want to measure the time of here.
37 | }];
38 | }
39 |
40 | @end
41 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2018 yinxianwei
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/confuse.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | TABLENAME=symbols
4 | SYMBOL_DB_FILE="symbols"
5 | STRING_SYMBOL_FILE="func.list"
6 | HEAD_FILE="$PROJECT_DIR/$PROJECT_NAME/codeObfuscation.h"
7 | export LC_CTYPE=C
8 |
9 | #维护数据库方便日后作排重
10 | createTable()
11 | {
12 | echo "create table $TABLENAME(src text, des text);" | sqlite3 $SYMBOL_DB_FILE
13 | }
14 |
15 | insertValue()
16 | {
17 | echo "insert into $TABLENAME values('$1' ,'$2');" | sqlite3 $SYMBOL_DB_FILE
18 | }
19 |
20 | query()
21 | {
22 | echo "select * from $TABLENAME where src='$1';" | sqlite3 $SYMBOL_DB_FILE
23 | }
24 |
25 | ramdomString()
26 | {
27 | openssl rand -base64 64 | tr -cd 'a-zA-Z' |head -c 16
28 | }
29 |
30 | rm -f $SYMBOL_DB_FILE
31 | rm -f $HEAD_FILE
32 | createTable
33 |
34 | touch $HEAD_FILE
35 | echo '#ifndef Demo_codeObfuscation_h
36 | #define Demo_codeObfuscation_h' >> $HEAD_FILE
37 | echo "//confuse string at `date`" >> $HEAD_FILE
38 | cat "$STRING_SYMBOL_FILE" | while read -ra line; do
39 | if [[ ! -z "$line" ]]; then
40 | ramdom=`ramdomString`
41 | echo $line $ramdom
42 | insertValue $line $ramdom
43 | echo "#define $line $ramdom" >> $HEAD_FILE
44 | fi
45 | done
46 | echo "#endif" >> $HEAD_FILE
47 |
48 |
49 | sqlite3 $SYMBOL_DB_FILE .dump
50 |
--------------------------------------------------------------------------------
/Demo/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | com.dne.weecho
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/Demo/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/Demo/AppDelegate.m:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.m
3 | // Demo
4 | //
5 | // Created by 尹现伟 on 15-1-15.
6 | // Copyright (c) 2015年 DNE Technology Co.,Ltd. All rights reserved.
7 | //
8 |
9 | #import "AppDelegate.h"
10 |
11 | @interface AppDelegate ()
12 |
13 | @end
14 |
15 | @implementation AppDelegate
16 |
17 |
18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
19 | // Override point for customization after application launch.
20 | return YES;
21 | }
22 |
23 | - (void)applicationWillResignActive:(UIApplication *)application {
24 | // 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.
25 | // 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.
26 | }
27 |
28 | - (void)applicationDidEnterBackground:(UIApplication *)application {
29 | // 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.
30 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
31 | }
32 |
33 | - (void)applicationWillEnterForeground:(UIApplication *)application {
34 | // 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.
35 | }
36 |
37 | - (void)applicationDidBecomeActive:(UIApplication *)application {
38 | // 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.
39 | }
40 |
41 | - (void)applicationWillTerminate:(UIApplication *)application {
42 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
43 | }
44 |
45 | @end
46 |
--------------------------------------------------------------------------------
/Demo/Base.lproj/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
20 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/Demo.xcodeproj/xcuserdata/yinxianwei.xcuserdatad/xcschemes/Demo.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
38 |
39 |
44 |
45 |
47 |
53 |
54 |
55 |
56 |
57 |
63 |
64 |
65 |
66 |
75 |
76 |
82 |
83 |
84 |
85 |
86 |
87 |
93 |
94 |
100 |
101 |
102 |
103 |
105 |
106 |
109 |
110 |
111 |
--------------------------------------------------------------------------------
/Demo.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | D079E7DE1A67C53D00AEFD6A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = D079E7DD1A67C53D00AEFD6A /* main.m */; };
11 | D079E7E11A67C53D00AEFD6A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D079E7E01A67C53D00AEFD6A /* AppDelegate.m */; };
12 | D079E7E41A67C53D00AEFD6A /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D079E7E31A67C53D00AEFD6A /* ViewController.m */; };
13 | D079E7E71A67C53D00AEFD6A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D079E7E51A67C53D00AEFD6A /* Main.storyboard */; };
14 | D079E7E91A67C53D00AEFD6A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D079E7E81A67C53D00AEFD6A /* Images.xcassets */; };
15 | D079E7EC1A67C53D00AEFD6A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = D079E7EA1A67C53D00AEFD6A /* LaunchScreen.xib */; };
16 | D079E7F81A67C53D00AEFD6A /* DemoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = D079E7F71A67C53D00AEFD6A /* DemoTests.m */; };
17 | D079E80C1A67C79700AEFD6A /* confuse.sh in Resources */ = {isa = PBXBuildFile; fileRef = D079E80A1A67C79700AEFD6A /* confuse.sh */; };
18 | D079E80D1A67C79700AEFD6A /* func.list in Resources */ = {isa = PBXBuildFile; fileRef = D079E80B1A67C79700AEFD6A /* func.list */; };
19 | /* End PBXBuildFile section */
20 |
21 | /* Begin PBXContainerItemProxy section */
22 | D079E7F21A67C53D00AEFD6A /* PBXContainerItemProxy */ = {
23 | isa = PBXContainerItemProxy;
24 | containerPortal = D079E7D01A67C53D00AEFD6A /* Project object */;
25 | proxyType = 1;
26 | remoteGlobalIDString = D079E7D71A67C53D00AEFD6A;
27 | remoteInfo = Demo;
28 | };
29 | /* End PBXContainerItemProxy section */
30 |
31 | /* Begin PBXFileReference section */
32 | D079E7D81A67C53D00AEFD6A /* Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Demo.app; sourceTree = BUILT_PRODUCTS_DIR; };
33 | D079E7DC1A67C53D00AEFD6A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
34 | D079E7DD1A67C53D00AEFD6A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; };
35 | D079E7DF1A67C53D00AEFD6A /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; };
36 | D079E7E01A67C53D00AEFD6A /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; };
37 | D079E7E21A67C53D00AEFD6A /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; };
38 | D079E7E31A67C53D00AEFD6A /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; };
39 | D079E7E61A67C53D00AEFD6A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
40 | D079E7E81A67C53D00AEFD6A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
41 | D079E7EB1A67C53D00AEFD6A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
42 | D079E7F11A67C53D00AEFD6A /* DemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
43 | D079E7F61A67C53D00AEFD6A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
44 | D079E7F71A67C53D00AEFD6A /* DemoTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DemoTests.m; sourceTree = ""; };
45 | D079E8011A67C57500AEFD6A /* codeObfuscation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = codeObfuscation.h; sourceTree = ""; };
46 | D079E8041A67C5A400AEFD6A /* PrefixHeader.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PrefixHeader.pch; sourceTree = ""; };
47 | D079E80A1A67C79700AEFD6A /* confuse.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = confuse.sh; sourceTree = SOURCE_ROOT; };
48 | D079E80B1A67C79700AEFD6A /* func.list */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = func.list; sourceTree = SOURCE_ROOT; };
49 | /* End PBXFileReference section */
50 |
51 | /* Begin PBXFrameworksBuildPhase section */
52 | D079E7D51A67C53D00AEFD6A /* Frameworks */ = {
53 | isa = PBXFrameworksBuildPhase;
54 | buildActionMask = 2147483647;
55 | files = (
56 | );
57 | runOnlyForDeploymentPostprocessing = 0;
58 | };
59 | D079E7EE1A67C53D00AEFD6A /* Frameworks */ = {
60 | isa = PBXFrameworksBuildPhase;
61 | buildActionMask = 2147483647;
62 | files = (
63 | );
64 | runOnlyForDeploymentPostprocessing = 0;
65 | };
66 | /* End PBXFrameworksBuildPhase section */
67 |
68 | /* Begin PBXGroup section */
69 | D079E7CF1A67C53D00AEFD6A = {
70 | isa = PBXGroup;
71 | children = (
72 | D079E7DA1A67C53D00AEFD6A /* Demo */,
73 | D079E7F41A67C53D00AEFD6A /* DemoTests */,
74 | D079E7D91A67C53D00AEFD6A /* Products */,
75 | );
76 | sourceTree = "";
77 | };
78 | D079E7D91A67C53D00AEFD6A /* Products */ = {
79 | isa = PBXGroup;
80 | children = (
81 | D079E7D81A67C53D00AEFD6A /* Demo.app */,
82 | D079E7F11A67C53D00AEFD6A /* DemoTests.xctest */,
83 | );
84 | name = Products;
85 | sourceTree = "";
86 | };
87 | D079E7DA1A67C53D00AEFD6A /* Demo */ = {
88 | isa = PBXGroup;
89 | children = (
90 | D079E80A1A67C79700AEFD6A /* confuse.sh */,
91 | D079E80B1A67C79700AEFD6A /* func.list */,
92 | D079E7DF1A67C53D00AEFD6A /* AppDelegate.h */,
93 | D079E7E01A67C53D00AEFD6A /* AppDelegate.m */,
94 | D079E7E21A67C53D00AEFD6A /* ViewController.h */,
95 | D079E7E31A67C53D00AEFD6A /* ViewController.m */,
96 | D079E8011A67C57500AEFD6A /* codeObfuscation.h */,
97 | D079E7E51A67C53D00AEFD6A /* Main.storyboard */,
98 | D079E7E81A67C53D00AEFD6A /* Images.xcassets */,
99 | D079E7EA1A67C53D00AEFD6A /* LaunchScreen.xib */,
100 | D079E7DB1A67C53D00AEFD6A /* Supporting Files */,
101 | );
102 | path = Demo;
103 | sourceTree = "";
104 | };
105 | D079E7DB1A67C53D00AEFD6A /* Supporting Files */ = {
106 | isa = PBXGroup;
107 | children = (
108 | D079E7DC1A67C53D00AEFD6A /* Info.plist */,
109 | D079E7DD1A67C53D00AEFD6A /* main.m */,
110 | D079E8041A67C5A400AEFD6A /* PrefixHeader.pch */,
111 | );
112 | name = "Supporting Files";
113 | sourceTree = "";
114 | };
115 | D079E7F41A67C53D00AEFD6A /* DemoTests */ = {
116 | isa = PBXGroup;
117 | children = (
118 | D079E7F71A67C53D00AEFD6A /* DemoTests.m */,
119 | D079E7F51A67C53D00AEFD6A /* Supporting Files */,
120 | );
121 | path = DemoTests;
122 | sourceTree = "";
123 | };
124 | D079E7F51A67C53D00AEFD6A /* Supporting Files */ = {
125 | isa = PBXGroup;
126 | children = (
127 | D079E7F61A67C53D00AEFD6A /* Info.plist */,
128 | );
129 | name = "Supporting Files";
130 | sourceTree = "";
131 | };
132 | /* End PBXGroup section */
133 |
134 | /* Begin PBXNativeTarget section */
135 | D079E7D71A67C53D00AEFD6A /* Demo */ = {
136 | isa = PBXNativeTarget;
137 | buildConfigurationList = D079E7FB1A67C53D00AEFD6A /* Build configuration list for PBXNativeTarget "Demo" */;
138 | buildPhases = (
139 | D079E7D41A67C53D00AEFD6A /* Sources */,
140 | D079E7D51A67C53D00AEFD6A /* Frameworks */,
141 | D079E7D61A67C53D00AEFD6A /* Resources */,
142 | D079E8051A67C63D00AEFD6A /* ShellScript */,
143 | );
144 | buildRules = (
145 | );
146 | dependencies = (
147 | );
148 | name = Demo;
149 | productName = Demo;
150 | productReference = D079E7D81A67C53D00AEFD6A /* Demo.app */;
151 | productType = "com.apple.product-type.application";
152 | };
153 | D079E7F01A67C53D00AEFD6A /* DemoTests */ = {
154 | isa = PBXNativeTarget;
155 | buildConfigurationList = D079E7FE1A67C53D00AEFD6A /* Build configuration list for PBXNativeTarget "DemoTests" */;
156 | buildPhases = (
157 | D079E7ED1A67C53D00AEFD6A /* Sources */,
158 | D079E7EE1A67C53D00AEFD6A /* Frameworks */,
159 | D079E7EF1A67C53D00AEFD6A /* Resources */,
160 | );
161 | buildRules = (
162 | );
163 | dependencies = (
164 | D079E7F31A67C53D00AEFD6A /* PBXTargetDependency */,
165 | );
166 | name = DemoTests;
167 | productName = DemoTests;
168 | productReference = D079E7F11A67C53D00AEFD6A /* DemoTests.xctest */;
169 | productType = "com.apple.product-type.bundle.unit-test";
170 | };
171 | /* End PBXNativeTarget section */
172 |
173 | /* Begin PBXProject section */
174 | D079E7D01A67C53D00AEFD6A /* Project object */ = {
175 | isa = PBXProject;
176 | attributes = {
177 | LastUpgradeCheck = 0610;
178 | ORGANIZATIONNAME = "DNE Technology Co.,Ltd.";
179 | TargetAttributes = {
180 | D079E7D71A67C53D00AEFD6A = {
181 | CreatedOnToolsVersion = 6.1;
182 | };
183 | D079E7F01A67C53D00AEFD6A = {
184 | CreatedOnToolsVersion = 6.1;
185 | TestTargetID = D079E7D71A67C53D00AEFD6A;
186 | };
187 | };
188 | };
189 | buildConfigurationList = D079E7D31A67C53D00AEFD6A /* Build configuration list for PBXProject "Demo" */;
190 | compatibilityVersion = "Xcode 3.2";
191 | developmentRegion = English;
192 | hasScannedForEncodings = 0;
193 | knownRegions = (
194 | en,
195 | Base,
196 | );
197 | mainGroup = D079E7CF1A67C53D00AEFD6A;
198 | productRefGroup = D079E7D91A67C53D00AEFD6A /* Products */;
199 | projectDirPath = "";
200 | projectRoot = "";
201 | targets = (
202 | D079E7D71A67C53D00AEFD6A /* Demo */,
203 | D079E7F01A67C53D00AEFD6A /* DemoTests */,
204 | );
205 | };
206 | /* End PBXProject section */
207 |
208 | /* Begin PBXResourcesBuildPhase section */
209 | D079E7D61A67C53D00AEFD6A /* Resources */ = {
210 | isa = PBXResourcesBuildPhase;
211 | buildActionMask = 2147483647;
212 | files = (
213 | D079E7E71A67C53D00AEFD6A /* Main.storyboard in Resources */,
214 | D079E80D1A67C79700AEFD6A /* func.list in Resources */,
215 | D079E7EC1A67C53D00AEFD6A /* LaunchScreen.xib in Resources */,
216 | D079E80C1A67C79700AEFD6A /* confuse.sh in Resources */,
217 | D079E7E91A67C53D00AEFD6A /* Images.xcassets in Resources */,
218 | );
219 | runOnlyForDeploymentPostprocessing = 0;
220 | };
221 | D079E7EF1A67C53D00AEFD6A /* Resources */ = {
222 | isa = PBXResourcesBuildPhase;
223 | buildActionMask = 2147483647;
224 | files = (
225 | );
226 | runOnlyForDeploymentPostprocessing = 0;
227 | };
228 | /* End PBXResourcesBuildPhase section */
229 |
230 | /* Begin PBXShellScriptBuildPhase section */
231 | D079E8051A67C63D00AEFD6A /* ShellScript */ = {
232 | isa = PBXShellScriptBuildPhase;
233 | buildActionMask = 2147483647;
234 | files = (
235 | );
236 | inputPaths = (
237 | );
238 | outputPaths = (
239 | );
240 | runOnlyForDeploymentPostprocessing = 0;
241 | shellPath = /bin/sh;
242 | shellScript = $PROJECT_DIR/confuse.sh;
243 | };
244 | /* End PBXShellScriptBuildPhase section */
245 |
246 | /* Begin PBXSourcesBuildPhase section */
247 | D079E7D41A67C53D00AEFD6A /* Sources */ = {
248 | isa = PBXSourcesBuildPhase;
249 | buildActionMask = 2147483647;
250 | files = (
251 | D079E7E41A67C53D00AEFD6A /* ViewController.m in Sources */,
252 | D079E7E11A67C53D00AEFD6A /* AppDelegate.m in Sources */,
253 | D079E7DE1A67C53D00AEFD6A /* main.m in Sources */,
254 | );
255 | runOnlyForDeploymentPostprocessing = 0;
256 | };
257 | D079E7ED1A67C53D00AEFD6A /* Sources */ = {
258 | isa = PBXSourcesBuildPhase;
259 | buildActionMask = 2147483647;
260 | files = (
261 | D079E7F81A67C53D00AEFD6A /* DemoTests.m in Sources */,
262 | );
263 | runOnlyForDeploymentPostprocessing = 0;
264 | };
265 | /* End PBXSourcesBuildPhase section */
266 |
267 | /* Begin PBXTargetDependency section */
268 | D079E7F31A67C53D00AEFD6A /* PBXTargetDependency */ = {
269 | isa = PBXTargetDependency;
270 | target = D079E7D71A67C53D00AEFD6A /* Demo */;
271 | targetProxy = D079E7F21A67C53D00AEFD6A /* PBXContainerItemProxy */;
272 | };
273 | /* End PBXTargetDependency section */
274 |
275 | /* Begin PBXVariantGroup section */
276 | D079E7E51A67C53D00AEFD6A /* Main.storyboard */ = {
277 | isa = PBXVariantGroup;
278 | children = (
279 | D079E7E61A67C53D00AEFD6A /* Base */,
280 | );
281 | name = Main.storyboard;
282 | sourceTree = "";
283 | };
284 | D079E7EA1A67C53D00AEFD6A /* LaunchScreen.xib */ = {
285 | isa = PBXVariantGroup;
286 | children = (
287 | D079E7EB1A67C53D00AEFD6A /* Base */,
288 | );
289 | name = LaunchScreen.xib;
290 | sourceTree = "";
291 | };
292 | /* End PBXVariantGroup section */
293 |
294 | /* Begin XCBuildConfiguration section */
295 | D079E7F91A67C53D00AEFD6A /* Debug */ = {
296 | isa = XCBuildConfiguration;
297 | buildSettings = {
298 | ALWAYS_SEARCH_USER_PATHS = NO;
299 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
300 | CLANG_CXX_LIBRARY = "libc++";
301 | CLANG_ENABLE_MODULES = YES;
302 | CLANG_ENABLE_OBJC_ARC = YES;
303 | CLANG_WARN_BOOL_CONVERSION = YES;
304 | CLANG_WARN_CONSTANT_CONVERSION = YES;
305 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
306 | CLANG_WARN_EMPTY_BODY = YES;
307 | CLANG_WARN_ENUM_CONVERSION = YES;
308 | CLANG_WARN_INT_CONVERSION = YES;
309 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
310 | CLANG_WARN_UNREACHABLE_CODE = YES;
311 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
312 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
313 | COPY_PHASE_STRIP = NO;
314 | ENABLE_STRICT_OBJC_MSGSEND = YES;
315 | GCC_C_LANGUAGE_STANDARD = gnu99;
316 | GCC_DYNAMIC_NO_PIC = NO;
317 | GCC_OPTIMIZATION_LEVEL = 0;
318 | GCC_PREPROCESSOR_DEFINITIONS = (
319 | "DEBUG=1",
320 | "$(inherited)",
321 | );
322 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
323 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
324 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
325 | GCC_WARN_UNDECLARED_SELECTOR = YES;
326 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
327 | GCC_WARN_UNUSED_FUNCTION = YES;
328 | GCC_WARN_UNUSED_VARIABLE = YES;
329 | IPHONEOS_DEPLOYMENT_TARGET = 8.1;
330 | MTL_ENABLE_DEBUG_INFO = YES;
331 | ONLY_ACTIVE_ARCH = YES;
332 | SDKROOT = iphoneos;
333 | };
334 | name = Debug;
335 | };
336 | D079E7FA1A67C53D00AEFD6A /* Release */ = {
337 | isa = XCBuildConfiguration;
338 | buildSettings = {
339 | ALWAYS_SEARCH_USER_PATHS = NO;
340 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
341 | CLANG_CXX_LIBRARY = "libc++";
342 | CLANG_ENABLE_MODULES = YES;
343 | CLANG_ENABLE_OBJC_ARC = YES;
344 | CLANG_WARN_BOOL_CONVERSION = YES;
345 | CLANG_WARN_CONSTANT_CONVERSION = YES;
346 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
347 | CLANG_WARN_EMPTY_BODY = YES;
348 | CLANG_WARN_ENUM_CONVERSION = YES;
349 | CLANG_WARN_INT_CONVERSION = YES;
350 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
351 | CLANG_WARN_UNREACHABLE_CODE = YES;
352 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
353 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
354 | COPY_PHASE_STRIP = YES;
355 | ENABLE_NS_ASSERTIONS = NO;
356 | ENABLE_STRICT_OBJC_MSGSEND = YES;
357 | GCC_C_LANGUAGE_STANDARD = gnu99;
358 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
359 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
360 | GCC_WARN_UNDECLARED_SELECTOR = YES;
361 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
362 | GCC_WARN_UNUSED_FUNCTION = YES;
363 | GCC_WARN_UNUSED_VARIABLE = YES;
364 | IPHONEOS_DEPLOYMENT_TARGET = 8.1;
365 | MTL_ENABLE_DEBUG_INFO = NO;
366 | SDKROOT = iphoneos;
367 | VALIDATE_PRODUCT = YES;
368 | };
369 | name = Release;
370 | };
371 | D079E7FC1A67C53D00AEFD6A /* Debug */ = {
372 | isa = XCBuildConfiguration;
373 | buildSettings = {
374 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
375 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
376 | CODE_SIGN_IDENTITY = "iPhone Developer: Xianwei Yin (KMB2736RMD)";
377 | GCC_PREFIX_HEADER = $PROJECT_DIR/$PROJECT_NAME/PrefixHeader.pch;
378 | INFOPLIST_FILE = Demo/Info.plist;
379 | IPHONEOS_DEPLOYMENT_TARGET = 7.0;
380 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
381 | PRODUCT_NAME = "$(TARGET_NAME)";
382 | PROVISIONING_PROFILE = "81cfb67e-1c95-4f8e-9eb0-6d1956c38448";
383 | };
384 | name = Debug;
385 | };
386 | D079E7FD1A67C53D00AEFD6A /* Release */ = {
387 | isa = XCBuildConfiguration;
388 | buildSettings = {
389 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
390 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
391 | CODE_SIGN_IDENTITY = "iPhone Developer: Xianwei Yin (KMB2736RMD)";
392 | GCC_PREFIX_HEADER = $PROJECT_DIR/$PROJECT_NAME/PrefixHeader.pch;
393 | INFOPLIST_FILE = Demo/Info.plist;
394 | IPHONEOS_DEPLOYMENT_TARGET = 7.0;
395 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
396 | PRODUCT_NAME = "$(TARGET_NAME)";
397 | PROVISIONING_PROFILE = "81cfb67e-1c95-4f8e-9eb0-6d1956c38448";
398 | };
399 | name = Release;
400 | };
401 | D079E7FF1A67C53D00AEFD6A /* Debug */ = {
402 | isa = XCBuildConfiguration;
403 | buildSettings = {
404 | BUNDLE_LOADER = "$(TEST_HOST)";
405 | FRAMEWORK_SEARCH_PATHS = (
406 | "$(SDKROOT)/Developer/Library/Frameworks",
407 | "$(inherited)",
408 | );
409 | GCC_PREPROCESSOR_DEFINITIONS = (
410 | "DEBUG=1",
411 | "$(inherited)",
412 | );
413 | INFOPLIST_FILE = DemoTests/Info.plist;
414 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
415 | PRODUCT_NAME = "$(TARGET_NAME)";
416 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Demo.app/Demo";
417 | };
418 | name = Debug;
419 | };
420 | D079E8001A67C53D00AEFD6A /* Release */ = {
421 | isa = XCBuildConfiguration;
422 | buildSettings = {
423 | BUNDLE_LOADER = "$(TEST_HOST)";
424 | FRAMEWORK_SEARCH_PATHS = (
425 | "$(SDKROOT)/Developer/Library/Frameworks",
426 | "$(inherited)",
427 | );
428 | INFOPLIST_FILE = DemoTests/Info.plist;
429 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
430 | PRODUCT_NAME = "$(TARGET_NAME)";
431 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Demo.app/Demo";
432 | };
433 | name = Release;
434 | };
435 | /* End XCBuildConfiguration section */
436 |
437 | /* Begin XCConfigurationList section */
438 | D079E7D31A67C53D00AEFD6A /* Build configuration list for PBXProject "Demo" */ = {
439 | isa = XCConfigurationList;
440 | buildConfigurations = (
441 | D079E7F91A67C53D00AEFD6A /* Debug */,
442 | D079E7FA1A67C53D00AEFD6A /* Release */,
443 | );
444 | defaultConfigurationIsVisible = 0;
445 | defaultConfigurationName = Release;
446 | };
447 | D079E7FB1A67C53D00AEFD6A /* Build configuration list for PBXNativeTarget "Demo" */ = {
448 | isa = XCConfigurationList;
449 | buildConfigurations = (
450 | D079E7FC1A67C53D00AEFD6A /* Debug */,
451 | D079E7FD1A67C53D00AEFD6A /* Release */,
452 | );
453 | defaultConfigurationIsVisible = 0;
454 | };
455 | D079E7FE1A67C53D00AEFD6A /* Build configuration list for PBXNativeTarget "DemoTests" */ = {
456 | isa = XCConfigurationList;
457 | buildConfigurations = (
458 | D079E7FF1A67C53D00AEFD6A /* Debug */,
459 | D079E8001A67C53D00AEFD6A /* Release */,
460 | );
461 | defaultConfigurationIsVisible = 0;
462 | };
463 | /* End XCConfigurationList section */
464 | };
465 | rootObject = D079E7D01A67C53D00AEFD6A /* Project object */;
466 | }
467 |
--------------------------------------------------------------------------------