qcloudhive 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. checksums.yaml +7 -0
  2. data/.idea/.rakeTasks +7 -0
  3. data/.idea/Hive.iml +54 -0
  4. data/.idea/dictionaries/dongzhao.xml +7 -0
  5. data/.idea/misc.xml +4 -0
  6. data/.idea/modules.xml +8 -0
  7. data/.idea/vcs.xml +6 -0
  8. data/.idea/workspace.xml +699 -0
  9. data/CODE_OF_CONDUCT.md +74 -0
  10. data/Documents/Images/93A5AC58-17D5-4D3F-B5A8-E509CF429BD0.png +0 -0
  11. data/Documents/Images/C702C824-11B1-47A8-BB15-9F6F14F2B649.png +0 -0
  12. data/Gem/qcloudhive/.idea/misc.xml +4 -0
  13. data/Gem/qcloudhive/.idea/modules.xml +8 -0
  14. data/Gem/qcloudhive/.idea/qcloudhive.iml +8 -0
  15. data/Gem/qcloudhive/.idea/workspace.xml +383 -0
  16. data/Gemfile +4 -0
  17. data/Gemfile.lock +122 -0
  18. data/LICENSE.txt +21 -0
  19. data/README.md +273 -0
  20. data/Rakefile +5 -0
  21. data/bin/console +14 -0
  22. data/bin/setup +8 -0
  23. data/exe/Hive +302 -0
  24. data/lib/qcloudhive.rb +16 -0
  25. data/lib/qcloudhive/config.rb +176 -0
  26. data/lib/qcloudhive/feature.rb +92 -0
  27. data/lib/qcloudhive/framework.rb +192 -0
  28. data/lib/qcloudhive/git_helper.rb +75 -0
  29. data/lib/qcloudhive/gitlab.rb +69 -0
  30. data/lib/qcloudhive/manifest.rb +346 -0
  31. data/lib/qcloudhive/module.rb +228 -0
  32. data/lib/qcloudhive/pod_helper.rb +119 -0
  33. data/lib/qcloudhive/product.rb +32 -0
  34. data/lib/qcloudhive/project.rb +108 -0
  35. data/lib/qcloudhive/repo.rb +177 -0
  36. data/lib/qcloudhive/spec_helper.rb +45 -0
  37. data/lib/qcloudhive/utils.rb +46 -0
  38. data/lib/qcloudhive/version.rb +3 -0
  39. data/lib/qcloudhive/xcodeproj.rb +163 -0
  40. data/qcloudhive.gemspec +43 -0
  41. data/resources/shellscriptes/HiveApp.sh +156 -0
  42. data/resources/shellscriptes/HiveFramework +158 -0
  43. data/resources/shellscriptes/build_framework.sh +76 -0
  44. data/resources/templates/AppDefaultTemplate/.gitignore +41 -0
  45. data/resources/templates/AppDefaultTemplate/AppDefaultTemplate.xcodeproj/project.pbxproj +290 -0
  46. data/resources/templates/AppDefaultTemplate/AppDefaultTemplate.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  47. data/resources/templates/AppDefaultTemplate/AppDefaultTemplate/Info.plist +24 -0
  48. data/resources/templates/AppDefaultTemplate/Podfile +9 -0
  49. data/resources/templates/HiveAppTemplate/.gitignore +41 -0
  50. data/resources/templates/HiveAppTemplate/HiveAppTemplate.xcodeproj/project.pbxproj +539 -0
  51. data/resources/templates/HiveAppTemplate/HiveAppTemplate.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  52. data/resources/templates/HiveAppTemplate/HiveAppTemplate/AppDelegate.h +17 -0
  53. data/resources/templates/HiveAppTemplate/HiveAppTemplate/AppDelegate.m +51 -0
  54. data/resources/templates/HiveAppTemplate/HiveAppTemplate/Assets.xcassets/AppIcon.appiconset/Contents.json +68 -0
  55. data/resources/templates/HiveAppTemplate/HiveAppTemplate/Base.lproj/LaunchScreen.storyboard +27 -0
  56. data/resources/templates/HiveAppTemplate/HiveAppTemplate/Base.lproj/Main.storyboard +26 -0
  57. data/resources/templates/HiveAppTemplate/HiveAppTemplate/Info.plist +45 -0
  58. data/resources/templates/HiveAppTemplate/HiveAppTemplate/ViewController.h +15 -0
  59. data/resources/templates/HiveAppTemplate/HiveAppTemplate/ViewController.m +29 -0
  60. data/resources/templates/HiveAppTemplate/HiveAppTemplate/main.m +16 -0
  61. data/resources/templates/HiveAppTemplate/HiveAppTemplateTests/HiveAppTemplateTests.m +39 -0
  62. data/resources/templates/HiveAppTemplate/HiveAppTemplateTests/Info.plist +22 -0
  63. data/resources/templates/HiveAppTemplate/HiveAppTemplateUITests/HiveAppTemplateUITests.m +40 -0
  64. data/resources/templates/HiveAppTemplate/HiveAppTemplateUITests/Info.plist +22 -0
  65. data/resources/templates/HiveAppTemplate/Podfile +20 -0
  66. data/resources/templates/commonConf.sh +9 -0
  67. data/resources/templates/manifests/build.rb +8 -0
  68. data/resources/templates/manifests/default.xml +12 -0
  69. data/resources/templates/template.podspec +37 -0
  70. metadata +321 -0
@@ -0,0 +1,156 @@
1
+ #!/bin/bash
2
+ export LANG=en_US.UTF-8
3
+
4
+ #############1.设置字体颜色的方法########################
5
+
6
+ R(){
7
+ echo "\033[31m"$1"\033[0m"
8
+ }
9
+ G(){
10
+ echo "\033[32m"$1"\033[0m"
11
+ }
12
+ P(){
13
+ echo "\033[35m"$1"\033[0m"
14
+ }
15
+
16
+
17
+ ####全局统一配置#####
18
+ HIVE_RESOURCES_PATH=${0%/*}
19
+ HIVE_RESOURCES_PATH=$HIVE_RESOURCES_PATH/..
20
+
21
+
22
+ [ -z $APP_TEMPLATE ] && { APP_TEMPLATE="$HIVE_RESOURCES_PATH/templates/HiveAppTemplate"; }
23
+ BASE_APPNAME=`basename $APP_TEMPLATE`
24
+
25
+ BASEDIR=$HIVE_RESOURCES_PATH/templates
26
+
27
+ if [ $# != 1 ] ; then
28
+ echo 'Invalid parameters'
29
+ exit;
30
+ fi
31
+
32
+
33
+ if [ -d $1 ]; then
34
+ echo "The directory $1 already exists, do you want to replace the it?(Y/N)"
35
+ while read var
36
+ do
37
+ if [ $var == 'Y' ]; then
38
+ rm -rf $1
39
+ break
40
+ elif [ $var == 'N' ]; then
41
+ exit
42
+ else
43
+ echo "Unknown command: $var"
44
+ fi
45
+ done
46
+ fi
47
+
48
+ ## 将appname中的'-'字符修改成'_'
49
+ appname=`echo $1 | sed "s/-/_/g"`
50
+
51
+
52
+
53
+
54
+ function proc_file_content() {
55
+ if [ -f $1 ]; then
56
+ sed "s/$BASE_APPNAME/${appname}/g" $1 > $1'.tmp'
57
+ rm -f $1
58
+ mv $1'.tmp' $1
59
+ fi
60
+ }
61
+
62
+ function make_target() {
63
+ target=`echo $1 | sed "s/$BASE_APPNAME/${appname}/g"`
64
+ target_length=${#target}
65
+ proj="$BASEDIR"
66
+ proj_length=${#proj}+1
67
+ target_length=$target_length-$proj_length
68
+ target=${target:proj_length:target_length}
69
+ echo $target
70
+ }
71
+
72
+ function replace_filename() {
73
+
74
+ source=$1
75
+ target=`make_target "$1"`
76
+ echo $target
77
+
78
+ if [ -d "$source" ] ; then
79
+ mkdir -p $target
80
+ else
81
+ if [[ ! -d `dirname $target` ]]; then
82
+ mkdir -p `dirname $target`
83
+ fi
84
+ cp -va $source $target
85
+ fi
86
+
87
+ proj='project.pbxproj'
88
+ position=${#target}-${#proj}
89
+ length=${#proj}
90
+ if [ ${target:position:length}==$proj ]; then
91
+ proc_file_content $target
92
+ fi
93
+
94
+ proj='xcscheme'
95
+ position=${#target}-${#proj}
96
+ length=${#proj}
97
+ if [ ${target:position:length} == $proj ]; then
98
+ proc_file_content $target
99
+ fi
100
+
101
+ proj='Aggregate.xcscheme'
102
+ position=${#target}-${#proj}
103
+ length=${#proj}
104
+ if [ ${target:position:length} == $proj ]; then
105
+ proc_file_content $target
106
+ fi
107
+
108
+ proj='De-Info.plist'
109
+ position=${#target}-${#proj}
110
+ length=${#proj}
111
+ if [ ${target:position:length} == $proj ]; then
112
+ proc_file_content $target
113
+ fi
114
+
115
+ proj="${appname}.podspec"
116
+ if [ `basename $target` == $proj ]; then
117
+ proc_file_content $target
118
+ fi
119
+
120
+ proj="Podfile"
121
+ if [ `basename $target` == $proj ] ; then
122
+ proc_file_content $target
123
+ fi
124
+
125
+ proj="Podfile.sample"
126
+ if [ `basename $target` == $proj ] ; then
127
+ proc_file_content $target
128
+ fi
129
+
130
+ proj="${appname}AppDelegate"
131
+ position=${#target}-2
132
+ length=2
133
+ if [ ${target:position:length} == '.h' ] ; then
134
+ proc_file_content $target
135
+ fi
136
+
137
+ if [ ${target:position:length} == '.m' ] ; then
138
+ proc_file_content $target
139
+ fi
140
+ }
141
+
142
+ function list() {
143
+ for file in `ls $1`
144
+ do
145
+
146
+ replace_filename $1/$file
147
+
148
+ if [ -d "$1/$file" ] ; then
149
+ list "$1/$file";
150
+ fi
151
+ done
152
+ }
153
+
154
+ list "$APP_TEMPLATE"
155
+ echo "COPY----gitigonre"
156
+ cp -v $HIVE_RESOURCES_PATH/templates/HiveAppTemplate/.gitignore $1/
@@ -0,0 +1,158 @@
1
+ #!/bin/bash
2
+ export LANG=en_US.UTF-8
3
+
4
+ #############1.设置字体颜色的方法########################
5
+
6
+ R(){
7
+ echo "\033[31m"$1"\033[0m"
8
+ }
9
+ G(){
10
+ echo "\033[32m"$1"\033[0m"
11
+ }
12
+ P(){
13
+ echo "\033[35m"$1"\033[0m"
14
+ }
15
+
16
+
17
+ ####全局统一配置#####
18
+ HIVE_RESOURCES_PATH=${0%/*}
19
+ HIVE_RESOURCES_PATH=$HIVE_RESOURCES_PATH/..
20
+ echo $HIVE_RESOURCES_PATH
21
+ if [ -z $HIVE_RESOURCES_PATH ]; then
22
+ R "Error:缺少全局统一配置文件,请联系管理员"
23
+ fi
24
+
25
+
26
+ [ -z $APP_TEMPLATE ] && { APP_TEMPLATE="$HIVE_RESOURCES_PATH/templates/AppDefaultTemplate"; }
27
+ BASE_APPNAME=`basename $APP_TEMPLATE`
28
+
29
+ BASEDIR=$HIVE_RESOURCES_PATH/templates
30
+
31
+ if [ $# != 1 ] ; then
32
+ echo 'Invalid parameters'
33
+ exit;
34
+ fi
35
+
36
+
37
+
38
+ if [ -d $1 ]; then
39
+ echo "The directory $1 already exists, do you want to replace the it?(Y/N)"
40
+ while read var
41
+ do
42
+ if [ $var == 'Y' ]; then
43
+ rm -rf $1
44
+ break
45
+ elif [ $var == 'N' ]; then
46
+ exit
47
+ else
48
+ echo "Unknown command: $var"
49
+ fi
50
+ done
51
+ fi
52
+
53
+ ## 将appname中的'-'字符修改成'_'
54
+ appname=`echo $1 | sed "s/-/_/g"`
55
+
56
+
57
+
58
+
59
+
60
+ function proc_file_content() {
61
+ sed "s/$BASE_APPNAME/${appname}/g" $1 > $1'.tmp'
62
+ rm -f $1
63
+ mv $1'.tmp' $1
64
+ }
65
+
66
+ function make_target() {
67
+ target=`echo $1 | sed "s/$BASE_APPNAME/${appname}/g"`
68
+ target_length=${#target}
69
+ proj="$BASEDIR"
70
+ proj_length=${#proj}+1
71
+ target_length=$target_length-$proj_length
72
+ target=${target:proj_length:target_length}
73
+ echo $target
74
+ }
75
+
76
+ function replace_filename() {
77
+
78
+ source=$1
79
+ target=`make_target "$1"`
80
+ echo $target
81
+
82
+ if [ -d "$source" ] ; then
83
+ mkdir -p $target
84
+ else
85
+ if [[ ! -d `dirname $target` ]]; then
86
+ mkdir -p `dirname $target`
87
+ fi
88
+ cp -v $source $target
89
+ fi
90
+
91
+ proj='project.pbxproj'
92
+ position=${#target}-${#proj}
93
+ length=${#proj}
94
+ if [ ${target:position:length} == $proj ] ; then
95
+ proc_file_content $target
96
+ fi
97
+
98
+ proj='xcscheme'
99
+ position=${#target}-${#proj}
100
+ length=${#proj}
101
+ if [ ${target:position:length} == $proj ] ; then
102
+ proc_file_content $target
103
+ fi
104
+
105
+ proj='Aggregate.xcscheme'
106
+ position=${#target}-${#proj}
107
+ length=${#proj}
108
+ if [ ${target:position:length} == $proj ] ; then
109
+ proc_file_content $target
110
+ fi
111
+
112
+ proj='De-Info.plist'
113
+ position=${#target}-${#proj}
114
+ length=${#proj}
115
+ if [ ${target:position:length} == $proj ] ; then
116
+ proc_file_content $target
117
+ fi
118
+
119
+ proj="${appname}.podspec"
120
+ if [ `basename $target` == $proj ] ; then
121
+ proc_file_content $target
122
+ fi
123
+
124
+ proj="Podfile"
125
+ if [ `basename $target` == $proj ] ; then
126
+ proc_file_content $target
127
+ fi
128
+
129
+ proj="Podfile.sample"
130
+ if [ `basename $target` == $proj ] ; then
131
+ proc_file_content $target
132
+ fi
133
+
134
+ proj="${appname}AppDelegate"
135
+ position=${#target}-2
136
+ length=2
137
+ if [ ${target:position:length} == '.h' ] ; then
138
+ proc_file_content $target
139
+ fi
140
+
141
+ if [ ${target:position:length} == '.m' ] ; then
142
+ proc_file_content $target
143
+ fi
144
+ }
145
+
146
+ function list() {
147
+ for file in `ls $1`
148
+ do
149
+
150
+ replace_filename $1/$file
151
+
152
+ if [ -d "$1/$file" ] ; then
153
+ list "$1/$file";
154
+ fi
155
+ done
156
+ }
157
+
158
+ list "$APP_TEMPLATE"
@@ -0,0 +1,76 @@
1
+ #!/bin/sh
2
+ export LANG=en_US.UTF-8
3
+ # capture ERR signal
4
+ trap 'exit 2' ERR
5
+
6
+ R(){
7
+ echo "\033[31m"$1"\033[0m"
8
+ }
9
+ G(){
10
+ echo "\033[32m"$1"\033[0m"
11
+ }
12
+ P(){
13
+ echo "\033[35m"$1"\033[0m"
14
+ }
15
+
16
+ if [ $# != 1 ] ; then
17
+ echo 'Invalid parameters, plase input output path'
18
+ exit;
19
+ fi
20
+ PROJECT=`ls .|grep xcodeproj|cut -d. -f1`
21
+
22
+ FRAMEWORK_NAME=${PROJECT}
23
+ FRAMEWORK_VERSION=1.0.0
24
+ FRAMEWORK_CONFIG=Release
25
+
26
+ PRODUCT_DIR=Products
27
+
28
+ if [ -d "$PRODUCT_DIR" ]; then
29
+ rm -rf $PRODUCT_DIR
30
+ else
31
+ mkdir -pv $PRODUCT_DIR
32
+ fi
33
+
34
+ # Building each architectures
35
+ echo "Begin Building Release [${FRAMEWORK_NAME}]"
36
+
37
+ buildsilulator(){
38
+ xcodebuild -configuration "${FRAMEWORK_CONFIG}" -sdk iphonesimulator -workspace ${FRAMEWORK_NAME}.xcworkspace -scheme "${FRAMEWORK_NAME}" clean
39
+ xcodebuild OTHER_CFLAGS="-fembed-bitcode" -configuration "${FRAMEWORK_CONFIG}" -sdk iphonesimulator -workspace ${FRAMEWORK_NAME}.xcworkspace -scheme "${FRAMEWORK_NAME}" -derivedDataPath "${PRODUCT_DIR}" DEPLOYMENT_POSTPROCESSING=YES STRIP_STYLE=debugging
40
+ }
41
+
42
+ buildos(){
43
+ xcodebuild -configuration "${FRAMEWORK_CONFIG}" -sdk iphoneos -workspace ${FRAMEWORK_NAME}.xcworkspace -scheme "${FRAMEWORK_NAME}" clean
44
+ xcodebuild OTHER_CFLAGS="-fembed-bitcode" -configuration "${FRAMEWORK_CONFIG}" -sdk iphoneos -workspace ${FRAMEWORK_NAME}.xcworkspace -scheme "${FRAMEWORK_NAME}" -derivedDataPath "${PRODUCT_DIR}" archive DEPLOYMENT_POSTPROCESSING=YES STRIP_STYLE=debugging
45
+ }
46
+
47
+ buildsilulator
48
+ buildos
49
+
50
+ FULL_PRODUCT_PATH=`pwd`/$PRODUCT_DIR
51
+ DEVICE_FRAMEWORK=$FULL_PRODUCT_PATH/Build/Intermediates/ArchiveIntermediates/${FRAMEWORK_NAME}/BuildProductsPath/Release-iphoneos/${FRAMEWORK_NAME}.framework
52
+ SIMLULATOR_FRAMEWORK=$FULL_PRODUCT_PATH/Build/Products/${FRAMEWORK_CONFIG}-iphonesimulator/${FRAMEWORK_NAME}.framework
53
+
54
+ echo $DEVICE_FRAMEWORK
55
+ echo $SIMLULATOR_FRAMEWORK
56
+ lipo -create "${DEVICE_FRAMEWORK}/${FRAMEWORK_NAME}" "${SIMLULATOR_FRAMEWORK}/${FRAMEWORK_NAME}" -output "${SIMLULATOR_FRAMEWORK}/${FRAMEWORK_NAME}"
57
+
58
+ OUTPUT_FRAMEWORK=${FRAMEWORK_NAME}.framework
59
+ [ -d "${OUTPUT_FRAMEWORK}" ] && {
60
+ rm -rf ${OUTPUT_FRAMEWORK}
61
+ }
62
+
63
+ echo "copy framework binary"
64
+ cp -rvf ${SIMLULATOR_FRAMEWORK} ${OUTPUT_FRAMEWORK}
65
+ echo "copy the public headers"
66
+ find Pods/Headers/Public -name "*.h" -exec cp {} ${OUTPUT_FRAMEWORK}/Headers/ \;
67
+ if [ -d "${OUTPUT_FRAMEWORK}" ]; then
68
+ [ -d "${OUTPUT_FRAMEWORK}/${OUTPUT_FRAMEWORK}" ] && {
69
+ rm -rf ${OUTPUT_FRAMEWORK}/${OUTPUT_FRAMEWORK}
70
+ }
71
+ cp -rvf ${OUTPUT_FRAMEWORK} $1
72
+ cp .hiveconfig $1
73
+ echo "Success!"
74
+ else
75
+ echo "Faild!"
76
+ fi
@@ -0,0 +1,41 @@
1
+ # OS X
2
+ .DS_Store
3
+
4
+ # Xcode
5
+ build/
6
+ *.pbxuser
7
+ !default.pbxuser
8
+ *.mode1v3
9
+ !default.mode1v3
10
+ *.mode2v3
11
+ !default.mode2v3
12
+ *.perspectivev3
13
+ !default.perspectivev3
14
+ xcuserdata
15
+ *.xccheckout
16
+ profile
17
+ *.moved-aside
18
+ DerivedData
19
+ *.hmap
20
+ *.ipa
21
+
22
+ # Bundler
23
+ .bundle
24
+
25
+ Carthage
26
+ # We recommend against adding the Pods directory to your .gitignore. However
27
+ # you should judge for yourself, the pros and cons are mentioned at:
28
+ # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
29
+ #
30
+ # Note: if you ignore the Pods directory, make sure to uncomment
31
+ # `pod install` in .travis.yml
32
+ #
33
+ Pods/
34
+ Podfile.lock
35
+ archive/
36
+ infer-out/
37
+ YaoHe.xcworkspace/xcshareddata/
38
+ .idea/workspace.xml
39
+ YaoHe/Resources/OpenSource.html
40
+ YaoHe.xcworkspace/compile_commands.json
41
+ compile_commands.json
@@ -0,0 +1,290 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 46;
7
+ objects = {
8
+
9
+ /* Begin PBXFileReference section */
10
+ 1AB143831E5E82D800830F93 /* AppDefaultTemplate.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AppDefaultTemplate.framework; sourceTree = BUILT_PRODUCTS_DIR; };
11
+ 1AB143871E5E82D800830F93 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
12
+ /* End PBXFileReference section */
13
+
14
+ /* Begin PBXFrameworksBuildPhase section */
15
+ 1AB1437F1E5E82D800830F93 /* Frameworks */ = {
16
+ isa = PBXFrameworksBuildPhase;
17
+ buildActionMask = 2147483647;
18
+ files = (
19
+ );
20
+ runOnlyForDeploymentPostprocessing = 0;
21
+ };
22
+ /* End PBXFrameworksBuildPhase section */
23
+
24
+ /* Begin PBXGroup section */
25
+ 1AB143791E5E82D800830F93 = {
26
+ isa = PBXGroup;
27
+ children = (
28
+ 1AB143851E5E82D800830F93 /* AppDefaultTemplate */,
29
+ 1AB143841E5E82D800830F93 /* Products */,
30
+ );
31
+ sourceTree = "<group>";
32
+ };
33
+ 1AB143841E5E82D800830F93 /* Products */ = {
34
+ isa = PBXGroup;
35
+ children = (
36
+ 1AB143831E5E82D800830F93 /* AppDefaultTemplate.framework */,
37
+ );
38
+ name = Products;
39
+ sourceTree = "<group>";
40
+ };
41
+ 1AB143851E5E82D800830F93 /* AppDefaultTemplate */ = {
42
+ isa = PBXGroup;
43
+ children = (
44
+ 1AB143871E5E82D800830F93 /* Info.plist */,
45
+ );
46
+ path = AppDefaultTemplate;
47
+ sourceTree = "<group>";
48
+ };
49
+ /* End PBXGroup section */
50
+
51
+ /* Begin PBXHeadersBuildPhase section */
52
+ 1AB143801E5E82D800830F93 /* Headers */ = {
53
+ isa = PBXHeadersBuildPhase;
54
+ buildActionMask = 2147483647;
55
+ files = (
56
+ );
57
+ runOnlyForDeploymentPostprocessing = 0;
58
+ };
59
+ /* End PBXHeadersBuildPhase section */
60
+
61
+ /* Begin PBXNativeTarget section */
62
+ 1AB143821E5E82D800830F93 /* AppDefaultTemplate */ = {
63
+ isa = PBXNativeTarget;
64
+ buildConfigurationList = 1AB1438B1E5E82D800830F93 /* Build configuration list for PBXNativeTarget "AppDefaultTemplate" */;
65
+ buildPhases = (
66
+ 1AB1437E1E5E82D800830F93 /* Sources */,
67
+ 1AB1437F1E5E82D800830F93 /* Frameworks */,
68
+ 1AB143801E5E82D800830F93 /* Headers */,
69
+ 1AB143811E5E82D800830F93 /* Resources */,
70
+ );
71
+ buildRules = (
72
+ );
73
+ dependencies = (
74
+ );
75
+ name = AppDefaultTemplate;
76
+ productName = AppDefaultTemplate;
77
+ productReference = 1AB143831E5E82D800830F93 /* AppDefaultTemplate.framework */;
78
+ productType = "com.apple.product-type.framework";
79
+ };
80
+ /* End PBXNativeTarget section */
81
+
82
+ /* Begin PBXProject section */
83
+ 1AB1437A1E5E82D800830F93 /* Project object */ = {
84
+ isa = PBXProject;
85
+ attributes = {
86
+ LastUpgradeCheck = 0820;
87
+ ORGANIZATIONNAME = Tencent;
88
+ TargetAttributes = {
89
+ 1AB143821E5E82D800830F93 = {
90
+ CreatedOnToolsVersion = 8.2.1;
91
+ DevelopmentTeam = 9WZQSGSX3A;
92
+ ProvisioningStyle = Automatic;
93
+ };
94
+ };
95
+ };
96
+ buildConfigurationList = 1AB1437D1E5E82D800830F93 /* Build configuration list for PBXProject "AppDefaultTemplate" */;
97
+ compatibilityVersion = "Xcode 3.2";
98
+ developmentRegion = English;
99
+ hasScannedForEncodings = 0;
100
+ knownRegions = (
101
+ en,
102
+ );
103
+ mainGroup = 1AB143791E5E82D800830F93;
104
+ productRefGroup = 1AB143841E5E82D800830F93 /* Products */;
105
+ projectDirPath = "";
106
+ projectRoot = "";
107
+ targets = (
108
+ 1AB143821E5E82D800830F93 /* AppDefaultTemplate */,
109
+ );
110
+ };
111
+ /* End PBXProject section */
112
+
113
+ /* Begin PBXResourcesBuildPhase section */
114
+ 1AB143811E5E82D800830F93 /* Resources */ = {
115
+ isa = PBXResourcesBuildPhase;
116
+ buildActionMask = 2147483647;
117
+ files = (
118
+ );
119
+ runOnlyForDeploymentPostprocessing = 0;
120
+ };
121
+ /* End PBXResourcesBuildPhase section */
122
+
123
+ /* Begin PBXSourcesBuildPhase section */
124
+ 1AB1437E1E5E82D800830F93 /* Sources */ = {
125
+ isa = PBXSourcesBuildPhase;
126
+ buildActionMask = 2147483647;
127
+ files = (
128
+ );
129
+ runOnlyForDeploymentPostprocessing = 0;
130
+ };
131
+ /* End PBXSourcesBuildPhase section */
132
+
133
+ /* Begin XCBuildConfiguration section */
134
+ 1AB143891E5E82D800830F93 /* Debug */ = {
135
+ isa = XCBuildConfiguration;
136
+ buildSettings = {
137
+ ALWAYS_SEARCH_USER_PATHS = NO;
138
+ CLANG_ANALYZER_NONNULL = YES;
139
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
140
+ CLANG_CXX_LIBRARY = "libc++";
141
+ CLANG_ENABLE_MODULES = YES;
142
+ CLANG_ENABLE_OBJC_ARC = YES;
143
+ CLANG_WARN_BOOL_CONVERSION = YES;
144
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
145
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
146
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
147
+ CLANG_WARN_EMPTY_BODY = YES;
148
+ CLANG_WARN_ENUM_CONVERSION = YES;
149
+ CLANG_WARN_INFINITE_RECURSION = YES;
150
+ CLANG_WARN_INT_CONVERSION = YES;
151
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
152
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
153
+ CLANG_WARN_UNREACHABLE_CODE = YES;
154
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
155
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
156
+ COPY_PHASE_STRIP = NO;
157
+ CURRENT_PROJECT_VERSION = 1;
158
+ DEBUG_INFORMATION_FORMAT = dwarf;
159
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
160
+ ENABLE_TESTABILITY = YES;
161
+ GCC_C_LANGUAGE_STANDARD = gnu99;
162
+ GCC_DYNAMIC_NO_PIC = NO;
163
+ GCC_NO_COMMON_BLOCKS = YES;
164
+ GCC_OPTIMIZATION_LEVEL = 0;
165
+ GCC_PREPROCESSOR_DEFINITIONS = (
166
+ "DEBUG=1",
167
+ "$(inherited)",
168
+ );
169
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
170
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
171
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
172
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
173
+ GCC_WARN_UNUSED_FUNCTION = YES;
174
+ GCC_WARN_UNUSED_VARIABLE = YES;
175
+ IPHONEOS_DEPLOYMENT_TARGET = 10.2;
176
+ MTL_ENABLE_DEBUG_INFO = YES;
177
+ ONLY_ACTIVE_ARCH = YES;
178
+ SDKROOT = iphoneos;
179
+ TARGETED_DEVICE_FAMILY = "1,2";
180
+ VERSIONING_SYSTEM = "apple-generic";
181
+ VERSION_INFO_PREFIX = "";
182
+ };
183
+ name = Debug;
184
+ };
185
+ 1AB1438A1E5E82D800830F93 /* Release */ = {
186
+ isa = XCBuildConfiguration;
187
+ buildSettings = {
188
+ ALWAYS_SEARCH_USER_PATHS = NO;
189
+ CLANG_ANALYZER_NONNULL = YES;
190
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
191
+ CLANG_CXX_LIBRARY = "libc++";
192
+ CLANG_ENABLE_MODULES = YES;
193
+ CLANG_ENABLE_OBJC_ARC = YES;
194
+ CLANG_WARN_BOOL_CONVERSION = YES;
195
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
196
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
197
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
198
+ CLANG_WARN_EMPTY_BODY = YES;
199
+ CLANG_WARN_ENUM_CONVERSION = YES;
200
+ CLANG_WARN_INFINITE_RECURSION = YES;
201
+ CLANG_WARN_INT_CONVERSION = YES;
202
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
203
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
204
+ CLANG_WARN_UNREACHABLE_CODE = YES;
205
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
206
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
207
+ COPY_PHASE_STRIP = NO;
208
+ CURRENT_PROJECT_VERSION = 1;
209
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
210
+ ENABLE_NS_ASSERTIONS = NO;
211
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
212
+ GCC_C_LANGUAGE_STANDARD = gnu99;
213
+ GCC_NO_COMMON_BLOCKS = YES;
214
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
215
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
216
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
217
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
218
+ GCC_WARN_UNUSED_FUNCTION = YES;
219
+ GCC_WARN_UNUSED_VARIABLE = YES;
220
+ IPHONEOS_DEPLOYMENT_TARGET = 10.2;
221
+ MTL_ENABLE_DEBUG_INFO = NO;
222
+ SDKROOT = iphoneos;
223
+ TARGETED_DEVICE_FAMILY = "1,2";
224
+ VALIDATE_PRODUCT = YES;
225
+ VERSIONING_SYSTEM = "apple-generic";
226
+ VERSION_INFO_PREFIX = "";
227
+ };
228
+ name = Release;
229
+ };
230
+ 1AB1438C1E5E82D800830F93 /* Debug */ = {
231
+ isa = XCBuildConfiguration;
232
+ buildSettings = {
233
+ CODE_SIGN_IDENTITY = "";
234
+ DEFINES_MODULE = YES;
235
+ DEVELOPMENT_TEAM = 9WZQSGSX3A;
236
+ DYLIB_COMPATIBILITY_VERSION = 1;
237
+ DYLIB_CURRENT_VERSION = 1;
238
+ DYLIB_INSTALL_NAME_BASE = "@rpath";
239
+ INFOPLIST_FILE = AppDefaultTemplate/Info.plist;
240
+ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
241
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
242
+ PRODUCT_BUNDLE_IDENTIFIER = com.tencent.qcloud.AppDefaultTemplate;
243
+ PRODUCT_NAME = "$(TARGET_NAME)";
244
+ SKIP_INSTALL = YES;
245
+ };
246
+ name = Debug;
247
+ };
248
+ 1AB1438D1E5E82D800830F93 /* Release */ = {
249
+ isa = XCBuildConfiguration;
250
+ buildSettings = {
251
+ CODE_SIGN_IDENTITY = "";
252
+ DEFINES_MODULE = YES;
253
+ DEVELOPMENT_TEAM = 9WZQSGSX3A;
254
+ DYLIB_COMPATIBILITY_VERSION = 1;
255
+ DYLIB_CURRENT_VERSION = 1;
256
+ DYLIB_INSTALL_NAME_BASE = "@rpath";
257
+ INFOPLIST_FILE = AppDefaultTemplate/Info.plist;
258
+ INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
259
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
260
+ PRODUCT_BUNDLE_IDENTIFIER = com.tencent.qcloud.AppDefaultTemplate;
261
+ PRODUCT_NAME = "$(TARGET_NAME)";
262
+ SKIP_INSTALL = YES;
263
+ };
264
+ name = Release;
265
+ };
266
+ /* End XCBuildConfiguration section */
267
+
268
+ /* Begin XCConfigurationList section */
269
+ 1AB1437D1E5E82D800830F93 /* Build configuration list for PBXProject "AppDefaultTemplate" */ = {
270
+ isa = XCConfigurationList;
271
+ buildConfigurations = (
272
+ 1AB143891E5E82D800830F93 /* Debug */,
273
+ 1AB1438A1E5E82D800830F93 /* Release */,
274
+ );
275
+ defaultConfigurationIsVisible = 0;
276
+ defaultConfigurationName = Release;
277
+ };
278
+ 1AB1438B1E5E82D800830F93 /* Build configuration list for PBXNativeTarget "AppDefaultTemplate" */ = {
279
+ isa = XCConfigurationList;
280
+ buildConfigurations = (
281
+ 1AB1438C1E5E82D800830F93 /* Debug */,
282
+ 1AB1438D1E5E82D800830F93 /* Release */,
283
+ );
284
+ defaultConfigurationIsVisible = 0;
285
+ defaultConfigurationName = Release;
286
+ };
287
+ /* End XCConfigurationList section */
288
+ };
289
+ rootObject = 1AB1437A1E5E82D800830F93 /* Project object */;
290
+ }