Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Debug mode fix

  • Loading branch information...
commit ebfbb2fb5c799103bd1c8d062f1197c95c85295e 1 parent 42cfabc
Nick Lockwood authored
View
1  Examples/Zero Config Demo/Classes/iVersionAppDelegate.m
@@ -8,7 +8,6 @@
#import "iVersionAppDelegate.h"
#import "iVersionViewController.h"
-#import "iVersion.h"
@implementation iVersionAppDelegate
View
2  Examples/Zero Config Demo/ZeroConfig-Info.plist
@@ -21,7 +21,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>1.1</string>
+ <string>1.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSMainNibFile</key>
View
4 Examples/Zero Config Demo/ZeroConfig.xcodeproj/project.pbxproj
@@ -16,7 +16,6 @@
28AD733F0D9D9553002E5188 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 28AD733E0D9D9553002E5188 /* MainWindow.xib */; };
28D7ACF80DDB3853001CB0EB /* iVersionViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 28D7ACF70DDB3853001CB0EB /* iVersionViewController.m */; };
B205F1FE1462A6BF00B69B0D /* iVersion.m in Sources */ = {isa = PBXBuildFile; fileRef = B205F1FD1462A6BF00B69B0D /* iVersion.m */; };
- B22F022812F02A1E00C7AA1E /* versions.plist in Resources */ = {isa = PBXBuildFile; fileRef = B22F022712F02A1E00C7AA1E /* versions.plist */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
@@ -35,7 +34,6 @@
8D1107310486CEB800E47090 /* ZeroConfig-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "ZeroConfig-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = "<group>"; };
B205F1FC1462A6BF00B69B0D /* iVersion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = iVersion.h; sourceTree = "<group>"; };
B205F1FD1462A6BF00B69B0D /* iVersion.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = iVersion.m; sourceTree = "<group>"; };
- B22F022712F02A1E00C7AA1E /* versions.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = versions.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -99,7 +97,6 @@
children = (
2899E5210DE3E06400AC0155 /* iVersionViewController.xib */,
28AD733E0D9D9553002E5188 /* MainWindow.xib */,
- B22F022712F02A1E00C7AA1E /* versions.plist */,
);
name = Resources;
sourceTree = "<group>";
@@ -178,7 +175,6 @@
files = (
28AD733F0D9D9553002E5188 /* MainWindow.xib in Resources */,
2899E5220DE3E06400AC0155 /* iVersionViewController.xib in Resources */,
- B22F022812F02A1E00C7AA1E /* versions.plist in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
View
21 Examples/Zero Config Demo/versions.plist
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>1.0</key>
- <array>
- <string>First release</string>
- </array>
- <key>1.1</key>
- <array>
- <string>NEW: Added new snoodlebar feature</string>
- <string>FIX: Fixed the bugalloo glitch</string>
- </array>
- <key>1.2</key>
- <array>
- <string>NEW: Some important feature</string>
- <string>FIX: Some important bug fix</string>
- <string>CHANGE: Some significant change</string>
- </array>
-</dict>
-</plist>
View
2  iVersion/iVersion.m
@@ -723,7 +723,7 @@ - (void)checkForNewVersionInBackground
AH_RELEASE(json);
//now check plist for alternative release notes
- if (((appStoreID && newerVersionAvailable) || !appStoreID) && remoteVersionsPlistURL)
+ if (((appStoreID && newerVersionAvailable) || !appStoreID || debug) && remoteVersionsPlistURL)
{
NSData *data = [NSData dataWithContentsOfURL:[NSURL URLWithString:remoteVersionsPlistURL] options:NSDataReadingUncached error:&error];
if (data)
Please sign in to comment.
Something went wrong with that request. Please try again.