Make iOS project versions configurable in a common file. Issue #1147
This commit is contained in:
parent
c732df4d83
commit
b1668d6a62
|
@ -21,9 +21,9 @@
|
|||
<key>CFBundlePackageType</key>
|
||||
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>5.0</string>
|
||||
<string>$(MARKETING_VERSION)</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>2</string>
|
||||
<string>$(CURRENT_PROJECT_VERSION)</string>
|
||||
<key>NSExtension</key>
|
||||
<dict>
|
||||
<key>NSExtensionAttributes</key>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>5.0</string>
|
||||
<string>$(MARKETING_VERSION)</string>
|
||||
<key>CFBundleURLTypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
|
@ -48,7 +48,7 @@
|
|||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>2</string>
|
||||
<string>$(CURRENT_PROJECT_VERSION)</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>NSAppTransportSecurity</key>
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
<key>CFBundlePackageType</key>
|
||||
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>5.0</string>
|
||||
<string>$(MARKETING_VERSION)</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>2</string>
|
||||
<string>$(CURRENT_PROJECT_VERSION)</string>
|
||||
<key>NSExtension</key>
|
||||
<dict>
|
||||
<key>NSExtensionAttributes</key>
|
||||
|
|
|
@ -32,19 +32,10 @@ PROVISIONING_PROFILE_SPECIFIER =
|
|||
|
||||
#include? "../../SharedXcodeSettings/ProjectSettings.xcconfig"
|
||||
#include? "../../SharedXcodeSettings/DeveloperSettings.xcconfig"
|
||||
|
||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
|
||||
|
||||
COMBINE_HIDPI_IMAGES = YES
|
||||
FRAMEWORK_SEARCH_PATHS = $(inherited) $(PROJECT_DIR)/Frameworks/Vendor
|
||||
GCC_C_LANGUAGE_STANDARD = gnu11;
|
||||
#include "./common/NetNewsWire_ios_target_common.xcconfig"
|
||||
|
||||
LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks
|
||||
INFOPLIST_FILE = iOS/Resources/Info.plist
|
||||
CODE_SIGN_ENTITLEMENTS = iOS/Resources/NetNewsWire.entitlements
|
||||
PRODUCT_BUNDLE_IDENTIFIER = $(ORGANIZATION_IDENTIFIER).NetNewsWire.iOS
|
||||
PRODUCT_NAME = NetNewsWire
|
||||
SDKROOT = iphoneos;
|
||||
TARGETED_DEVICE_FAMILY = 1,2
|
||||
|
|
|
@ -1,4 +1,38 @@
|
|||
#include "./NetNewsWire_iOSapp_target.xcconfig"
|
||||
CODE_SIGN_IDENTITY= iPhone Developer
|
||||
DEVELOPMENT_TEAM = M8L2WTLA8W
|
||||
CODE_SIGN_STYLE = Automatic
|
||||
ORGANIZATION_IDENTIFIER = com.ranchero
|
||||
PROVISIONING_PROFILE_SPECIFIER =
|
||||
|
||||
// developers can locally override the Xcode settings for code signing
|
||||
// by creating a DeveloperSettings.xcconfig file locally at the appropriate path
|
||||
// This allows a pristine project to have code signing set up with the appropriate
|
||||
// developer ID and certificates, and for dev to be able to have local settings
|
||||
// without needing to check in anything into source control
|
||||
//
|
||||
// As an example, make a ../../SharedXcodeSettings/DeveloperSettings.xcconfig file and
|
||||
// give it the contents
|
||||
//
|
||||
// CODE_SIGN_IDENTITY[sdk=macosx*] = Mac Developer
|
||||
// CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer
|
||||
// CODE_SIGN_IDENTITY[sdk=iphonesimulator*] = iPhone Developer
|
||||
// DEVELOPMENT_TEAM = <Your Team ID>
|
||||
// BUNDLE_ROOT = <Your Domain Name Reversed>
|
||||
// CODE_SIGN_STYLE = Automatic
|
||||
// PROVISIONING_PROFILE_SPECIFIER =
|
||||
//
|
||||
// And you should be able to build without code signing errors and without modifying
|
||||
// the NetNewsWire Xcode project.
|
||||
//
|
||||
// Example: if your NetNewsWire Xcode project file is at
|
||||
// /Users/Shared/git/NetNewsWire/NetNewsWire.xcodeproj
|
||||
// create your DeveloperSettings.xcconfig file at
|
||||
// /Users/Shared/git/SharedXcodeSettings/DeveloperSettings.xcconfig
|
||||
//
|
||||
|
||||
#include? "../../SharedXcodeSettings/ProjectSettings.xcconfig"
|
||||
#include? "../../SharedXcodeSettings/DeveloperSettings.xcconfig"
|
||||
#include "./common/NetNewsWire_ios_target_common.xcconfig"
|
||||
|
||||
LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/../../Frameworks
|
||||
CODE_SIGN_ENTITLEMENTS = iOS/ShareExtension/NetNewsWire_iOS_ShareExtension.entitlements
|
||||
|
|
|
@ -1,4 +1,38 @@
|
|||
#include "./NetNewsWire_iOSapp_target.xcconfig"
|
||||
CODE_SIGN_IDENTITY= iPhone Developer
|
||||
DEVELOPMENT_TEAM = M8L2WTLA8W
|
||||
CODE_SIGN_STYLE = Automatic
|
||||
ORGANIZATION_IDENTIFIER = com.ranchero
|
||||
PROVISIONING_PROFILE_SPECIFIER =
|
||||
|
||||
// developers can locally override the Xcode settings for code signing
|
||||
// by creating a DeveloperSettings.xcconfig file locally at the appropriate path
|
||||
// This allows a pristine project to have code signing set up with the appropriate
|
||||
// developer ID and certificates, and for dev to be able to have local settings
|
||||
// without needing to check in anything into source control
|
||||
//
|
||||
// As an example, make a ../../SharedXcodeSettings/DeveloperSettings.xcconfig file and
|
||||
// give it the contents
|
||||
//
|
||||
// CODE_SIGN_IDENTITY[sdk=macosx*] = Mac Developer
|
||||
// CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer
|
||||
// CODE_SIGN_IDENTITY[sdk=iphonesimulator*] = iPhone Developer
|
||||
// DEVELOPMENT_TEAM = <Your Team ID>
|
||||
// BUNDLE_ROOT = <Your Domain Name Reversed>
|
||||
// CODE_SIGN_STYLE = Automatic
|
||||
// PROVISIONING_PROFILE_SPECIFIER =
|
||||
//
|
||||
// And you should be able to build without code signing errors and without modifying
|
||||
// the NetNewsWire Xcode project.
|
||||
//
|
||||
// Example: if your NetNewsWire Xcode project file is at
|
||||
// /Users/Shared/git/NetNewsWire/NetNewsWire.xcodeproj
|
||||
// create your DeveloperSettings.xcconfig file at
|
||||
// /Users/Shared/git/SharedXcodeSettings/DeveloperSettings.xcconfig
|
||||
//
|
||||
|
||||
#include? "../../SharedXcodeSettings/ProjectSettings.xcconfig"
|
||||
#include? "../../SharedXcodeSettings/DeveloperSettings.xcconfig"
|
||||
#include "./common/NetNewsWire_ios_target_common.xcconfig"
|
||||
|
||||
LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/../../Frameworks
|
||||
CODE_SIGN_ENTITLEMENTS = iOS/ShareExtension/NetNewsWire_iOS_ShareExtension.entitlements
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
// High Level Settings common to both the iOS application and any extensions we bundle with it
|
||||
MARKETING_VERSION = 5.0
|
||||
CURRENT_PROJECT_VERSION = 2
|
||||
|
||||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
|
||||
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
|
||||
COMBINE_HIDPI_IMAGES = YES
|
||||
FRAMEWORK_SEARCH_PATHS = $(inherited) $(PROJECT_DIR)/Frameworks/Vendor
|
||||
GCC_C_LANGUAGE_STANDARD = gnu11;
|
||||
SDKROOT = iphoneos;
|
||||
TARGETED_DEVICE_FAMILY = 1,2
|
Loading…
Reference in New Issue