diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 9e18821c..03f42e73 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -2233,6 +2233,10 @@ isa = XCBuildConfiguration; buildSettings = { GCC_PREFIX_HEADER = Sparkle/DevMateSparkle.pch; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + "BUILDING_SPARKLE=1", + ); PRODUCT_NAME = DevMateSparkle; SPARKLE_BUNDLE_IDENTIFIER = com.devmate.DevMateKit; }; @@ -2242,6 +2246,10 @@ isa = XCBuildConfiguration; buildSettings = { GCC_PREFIX_HEADER = Sparkle/DevMateSparkle.pch; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + "BUILDING_SPARKLE=1", + ); PRODUCT_NAME = DevMateSparkle; SPARKLE_BUNDLE_IDENTIFIER = com.devmate.DevMateKit; }; diff --git a/Sparkle/SUUpdater.m b/Sparkle/SUUpdater.m index fee94e50..a02db473 100644 --- a/Sparkle/SUUpdater.m +++ b/Sparkle/SUUpdater.m @@ -471,7 +471,7 @@ static NSString *const SUUpdaterDefaultsObservationContext = @"SUUpdaterDefaults } if (0 == appcastString.length) { - appcastString = @"https://updates.devmate.com/"; + appcastString = [NSString stringWithFormat:@"http://updates.devmate.com/%@.xml", self.hostBundle.bundleIdentifier]; } if (!appcastString) // Can't find an appcast string!