diff --git a/Classes/HockeySDKPrivate.h b/Classes/HockeySDKPrivate.h
index d1984cf8ea..f3f8b7a710 100644
--- a/Classes/HockeySDKPrivate.h
+++ b/Classes/HockeySDKPrivate.h
@@ -35,7 +35,7 @@
#define HockeySDK_HockeySDKPrivate_h
#define BITHOCKEY_NAME @"HockeySDK"
-#define BITHOCKEY_VERSION @"2.3.0-dev"
+#define BITHOCKEY_VERSION @"2.5.0"
#define BITHOCKEY_IDENTIFIER @"net.hockeyapp.sdk.ios"
#define BITHOCKEY_CRASH_SETTINGS @"BITCrashManager.plist"
#define BITHOCKEY_CRASH_ANALYZER @"BITCrashManager.analyzer"
diff --git a/Resources/HockeySDK-Info.plist b/Resources/HockeySDK-Info.plist
index 1063381f84..40f206fd83 100644
--- a/Resources/HockeySDK-Info.plist
+++ b/Resources/HockeySDK-Info.plist
@@ -17,11 +17,11 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 2.3.0
+ ${VERSION_STRING}
CFBundleSignature
????
CFBundleVersion
- 1
+ ${BUILD_NUMBER}
NSHumanReadableCopyright
Copyright © 2012 HockeyApp, Bit Stadium GmbH. All rights reserved.
NSPrincipalClass
diff --git a/Support/HockeySDK.xcodeproj/project.pbxproj b/Support/HockeySDK.xcodeproj/project.pbxproj
index c01eede045..68cc4015a5 100644
--- a/Support/HockeySDK.xcodeproj/project.pbxproj
+++ b/Support/HockeySDK.xcodeproj/project.pbxproj
@@ -216,6 +216,7 @@
1E5955EA15B7538B00A03429 /* NSString+BITHockeyAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+BITHockeyAdditions.h"; sourceTree = ""; };
1E5955EE15B7752200A03429 /* BITUpdateManagerDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BITUpdateManagerDelegate.h; sourceTree = ""; };
1E5955FA15B7877A00A03429 /* BITHockeyManagerDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BITHockeyManagerDelegate.h; sourceTree = ""; };
+ 1E66CA9115D4100500F35BED /* buildnumber.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = buildnumber.xcconfig; sourceTree = ""; };
1E71509A15B5C76F004E88FF /* HockeySDK.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HockeySDK.h; sourceTree = ""; };
1EDA60CF15C2C1450032D10B /* HockeySDK-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "HockeySDK-Info.plist"; sourceTree = ""; };
E400561A148D79B500EB22B9 /* libHockeySDK-iphoneos.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libHockeySDK-iphoneos.a"; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -301,12 +302,21 @@
name = Images;
sourceTree = "";
};
+ 1E66CA8F15D40FF600F35BED /* Support */ = {
+ isa = PBXGroup;
+ children = (
+ 1E66CA9115D4100500F35BED /* buildnumber.xcconfig */,
+ );
+ name = Support;
+ sourceTree = "";
+ };
E400560F148D79B500EB22B9 = {
isa = PBXGroup;
children = (
E41EB489148D7BF90015DEDC /* HockeySDK */,
E400561C148D79B500EB22B9 /* Frameworks */,
E4005648148D7A3000EB22B9 /* Resources */,
+ 1E66CA8F15D40FF600F35BED /* Support */,
E400561B148D79B500EB22B9 /* Products */,
E4E7335A148D7A5A00763A39 /* LICENSE.txt */,
E4E7335B148D7A5A00763A39 /* README.md */,
@@ -690,7 +700,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "/usr/local/bin/appledoc \\\n --output \"${SOURCE_ROOT}/../documentation\" \\\n --ignore Vendor \\\n --ignore .m \\\n --create-html \\\n --create-docset \\\n --install-docset \\\n --keep-intermediate-file \\\n -p HockeySDK-iOS -v \"2.5.0\" \\\n -c \"BitStadium GmbH\" \\\n --company-id de.bitstadium \\\n --docset-platform-family \"iphoneos\" \\\n --index-desc \"${SOURCE_ROOT}/../docs/index.md\" \\\n --include \"${SOURCE_ROOT}/../docs/\" \\\n --merge-categories \\\n --no-repeat-first-par \\\n --warn-undocumented-object \\\n --warn-undocumented-member \\\n --warn-empty-description \\\n --warn-unknown-directive \\\n --warn-invalid-crossref \\\n --warn-missing-arg \\\n --logformat xcode \\\n --exit-threshold 2 \\\n \"${SOURCE_ROOT}/../\"";
+ shellScript = "\nAPPLEDOC_DOCSET_NAME=\"HockeySDK-iOS\"\n\n/usr/local/bin/appledoc \\\n --output \"${SOURCE_ROOT}/../documentation\" \\\n --ignore Vendor \\\n --ignore .m \\\n --create-html \\\n --create-docset \\\n --install-docset \\\n --keep-intermediate-file \\\n --project-name \"$APPLEDOC_DOCSET_NAME ${VERSION_STRING}\" \\\n -v \"${VERSION_STRING}\" \\\n --project-company \"BitStadium GmbH\" \\\n --company-id \"de.bitstadium\" \\\n --docset-bundle-name \"$APPLEDOC_DOCSET_NAME ${VERSION_STRING}\" \\\n --docset-feed-name \"$APPLEDOC_DOCSET_NAME\" \\\n --docset-platform-family \"iphoneos\" \\\n --index-desc \"${SOURCE_ROOT}/../docs/index.md\" \\\n --include \"${SOURCE_ROOT}/../docs/\" \\\n --merge-categories \\\n --no-repeat-first-par \\\n --warn-undocumented-object \\\n --warn-undocumented-member \\\n --warn-empty-description \\\n --warn-unknown-directive \\\n --warn-invalid-crossref \\\n --warn-missing-arg \\\n --logformat xcode \\\n --exit-threshold 2 \\\n \"${SOURCE_ROOT}/../\" \\\n";
};
/* End PBXShellScriptBuildPhase section */
@@ -985,6 +995,7 @@
};
E400563C148D79B500EB22B9 /* Debug */ = {
isa = XCBuildConfiguration;
+ baseConfigurationReference = 1E66CA9115D4100500F35BED /* buildnumber.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = (
@@ -1019,6 +1030,7 @@
};
E400563D148D79B500EB22B9 /* Release */ = {
isa = XCBuildConfiguration;
+ baseConfigurationReference = 1E66CA9115D4100500F35BED /* buildnumber.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = (
diff --git a/Support/buildnumber.xcconfig b/Support/buildnumber.xcconfig
new file mode 100644
index 0000000000..8b607ab4ba
--- /dev/null
+++ b/Support/buildnumber.xcconfig
@@ -0,0 +1,3 @@
+// Version also needs to be set in HockeySDKPrivate.h !
+BUILD_NUMBER = 1
+VERSION_STRING = 2.5.0
\ No newline at end of file