Commit 753cf924441814aa09da8f11e57603009c340cc1

Authored by xiaoyu
1 parent 2bcacf87

change version

ios/Runner.xcodeproj/project.pbxproj
... ... @@ -2310,6 +2310,7 @@
2310 2310 CLANG_ENABLE_MODULES = YES;
2311 2311 CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
2312 2312 CODE_SIGN_STYLE = Manual;
  2313 + CURRENT_PROJECT_VERSION = 5;
2313 2314 DEVELOPMENT_TEAM = "";
2314 2315 "DEVELOPMENT_TEAM[sdk=iphoneos*]" = T8P9KW8GWH;
2315 2316 ENABLE_BITCODE = NO;
... ... @@ -2318,6 +2319,7 @@
2318 2319 "$(inherited)",
2319 2320 "@executable_path/Frameworks",
2320 2321 );
  2322 + MARKETING_VERSION = 1.0.3;
2321 2323 OTHER_CFLAGS = (
2322 2324 "-DNDEBUG",
2323 2325 "'-std=gnu99'",
... ... @@ -2655,6 +2657,7 @@
2655 2657 CLANG_ENABLE_MODULES = YES;
2656 2658 CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
2657 2659 CODE_SIGN_STYLE = Manual;
  2660 + CURRENT_PROJECT_VERSION = 5;
2658 2661 DEVELOPMENT_TEAM = "";
2659 2662 "DEVELOPMENT_TEAM[sdk=iphoneos*]" = T8P9KW8GWH;
2660 2663 ENABLE_BITCODE = NO;
... ... @@ -2685,6 +2688,7 @@
2685 2688 "$(inherited)",
2686 2689 "@executable_path/Frameworks",
2687 2690 );
  2691 + MARKETING_VERSION = 1.0.3;
2688 2692 ONLY_ACTIVE_ARCH = NO;
2689 2693 OTHER_CFLAGS = "'-std=gnu99'";
2690 2694 OTHER_CPLUSPLUSFLAGS = "'-std=c++11'";
... ... @@ -2861,6 +2865,7 @@
2861 2865 CLANG_ENABLE_MODULES = YES;
2862 2866 CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
2863 2867 CODE_SIGN_STYLE = Manual;
  2868 + CURRENT_PROJECT_VERSION = 5;
2864 2869 DEVELOPMENT_TEAM = "";
2865 2870 "DEVELOPMENT_TEAM[sdk=iphoneos*]" = T8P9KW8GWH;
2866 2871 ENABLE_BITCODE = NO;
... ... @@ -2869,6 +2874,7 @@
2869 2874 "$(inherited)",
2870 2875 "@executable_path/Frameworks",
2871 2876 );
  2877 + MARKETING_VERSION = 1.0.3;
2872 2878 OTHER_CFLAGS = (
2873 2879 "-DNDEBUG",
2874 2880 "'-std=gnu99'",
... ...
ios/Runner/Info.plist
... ... @@ -2,15 +2,6 @@
2 2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 3 <plist version="1.0">
4 4 <dict>
5   - <key>LSApplicationQueriesSchemes</key>
6   - <array>
7   - <string>wechat</string>
8   - <string>weixin</string>
9   - <string>weixinULAPI</string>
10   - <string>weixinURLParamsAPI</string>
11   - <string>alipay</string>
12   - <string>alipayshare</string>
13   - </array>
14 5 <key>CADisableMinimumFrameDurationOnPhone</key>
15 6 <true/>
16 7 <key>CFBundleDevelopmentRegion</key>
... ... @@ -28,9 +19,18 @@
28 19 <key>CFBundlePackageType</key>
29 20 <string>APPL</string>
30 21 <key>CFBundleShortVersionString</key>
31   - <string>1.0.3</string>
  22 + <string>$(MARKETING_VERSION)</string>
32 23 <key>CFBundleSignature</key>
33 24 <string>????</string>
  25 + <key>LSApplicationQueriesSchemes</key>
  26 + <array>
  27 + <string>wechat</string>
  28 + <string>weixin</string>
  29 + <string>weixinULAPI</string>
  30 + <string>weixinURLParamsAPI</string>
  31 + <string>alipay</string>
  32 + <string>alipayshare</string>
  33 + </array>
34 34 <key>CFBundleURLTypes</key>
35 35 <array>
36 36 <dict>
... ... @@ -65,7 +65,7 @@
65 65 </dict>
66 66 </array>
67 67 <key>CFBundleVersion</key>
68   - <string>5</string>
  68 + <string>$(CURRENT_PROJECT_VERSION)</string>
69 69 <key>LSApplicationCategoryType</key>
70 70 <string></string>
71 71 <key>LSRequiresIPhoneOS</key>
... ...