mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Project updates with version string
- Store version numbers in .xcconfig - Use those for .framework and documentation - minor documentation build updates
This commit is contained in:
parent
0f5f860691
commit
6cf128a71d
@ -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"
|
||||
|
@ -17,11 +17,11 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>2.3.0</string>
|
||||
<string>${VERSION_STRING}</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1</string>
|
||||
<string>${BUILD_NUMBER}</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>Copyright © 2012 HockeyApp, Bit Stadium GmbH. All rights reserved.</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
|
@ -216,6 +216,7 @@
|
||||
1E5955EA15B7538B00A03429 /* NSString+BITHockeyAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+BITHockeyAdditions.h"; sourceTree = "<group>"; };
|
||||
1E5955EE15B7752200A03429 /* BITUpdateManagerDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BITUpdateManagerDelegate.h; sourceTree = "<group>"; };
|
||||
1E5955FA15B7877A00A03429 /* BITHockeyManagerDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BITHockeyManagerDelegate.h; sourceTree = "<group>"; };
|
||||
1E66CA9115D4100500F35BED /* buildnumber.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = buildnumber.xcconfig; sourceTree = "<group>"; };
|
||||
1E71509A15B5C76F004E88FF /* HockeySDK.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HockeySDK.h; sourceTree = "<group>"; };
|
||||
1EDA60CF15C2C1450032D10B /* HockeySDK-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "HockeySDK-Info.plist"; sourceTree = "<group>"; };
|
||||
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 = "<group>";
|
||||
};
|
||||
1E66CA8F15D40FF600F35BED /* Support */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
1E66CA9115D4100500F35BED /* buildnumber.xcconfig */,
|
||||
);
|
||||
name = Support;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
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 = (
|
||||
|
3
Support/buildnumber.xcconfig
Normal file
3
Support/buildnumber.xcconfig
Normal file
@ -0,0 +1,3 @@
|
||||
// Version also needs to be set in HockeySDKPrivate.h !
|
||||
BUILD_NUMBER = 1
|
||||
VERSION_STRING = 2.5.0
|
Loading…
x
Reference in New Issue
Block a user