iOS version bump

This commit is contained in:
Maksim Gamarnik 2017-05-03 16:57:19 +03:00
parent fbd7c8fa40
commit 4f61b1fdba
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.0.10</string> <string>1.0.10</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>15</string> <string>16</string>
<key>LSRequiresIPhoneOS</key> <key>LSRequiresIPhoneOS</key>
<true/> <true/>
<key>NSAppTransportSecurity</key> <key>NSAppTransportSecurity</key>

View File

@ -12,7 +12,7 @@ static uint32_t parse_version()
NSString *fullver = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"]; NSString *fullver = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];
NSString *revstr = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"]; NSString *revstr = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"];
if([fullver length] != 3 + 2) if([fullver length] != 3 + 2 + 1)
goto err; goto err;
version.major = [fullver characterAtIndex:0] - '0'; version.major = [fullver characterAtIndex:0] - '0';
if([fullver characterAtIndex:1] != '.') if([fullver characterAtIndex:1] != '.')