diff --git a/xcconfig/NetNewsWireTests_target.xcconfig b/xcconfig/NetNewsWireTests_target.xcconfig index 1e7b70cb0..5189b5279 100644 --- a/xcconfig/NetNewsWireTests_target.xcconfig +++ b/xcconfig/NetNewsWireTests_target.xcconfig @@ -1,12 +1,9 @@ +#include "./common/NetNewsWire_codesigning_common.xcconfig" + CODE_SIGN_IDENTITY = Developer ID Application DEVELOPMENT_TEAM = M8L2WTLA8W CODE_SIGN_STYLE = Manual -// See the notes in NetNewsWire_target.xcconfig on why the -// DeveloperSettings.xcconfig is #included here - -#include? "../../SharedXcodeSettings/DeveloperSettings.xcconfig" - BUNDLE_LOADER = $(TEST_HOST) COMBINE_HIDPI_IMAGES = YES INFOPLIST_FILE = Tests/NetNewsWireTests/Info.plist diff --git a/xcconfig/NetNewsWire_iOSTests_target.xcconfig b/xcconfig/NetNewsWire_iOSTests_target.xcconfig index f8b0abfe4..7c60ce504 100644 --- a/xcconfig/NetNewsWire_iOSTests_target.xcconfig +++ b/xcconfig/NetNewsWire_iOSTests_target.xcconfig @@ -1,13 +1,7 @@ +#include "./common/NetNewsWire_codesigning_common.xcconfig" + CODE_SIGN_IDENTITY = iPhone Developer DEVELOPMENT_TEAM = M8L2WTLA8W -CODE_SIGN_STYLE = Automatic -ORGANIZATION_IDENTIFIER = com.ranchero -PROVISIONING_PROFILE_SPECIFIER = - -// See the notes in NetNewsWire_target.xcconfig on why the -// DeveloperSettings.xcconfig is #included here - -#include? "../../SharedXcodeSettings/DeveloperSettings.xcconfig" BUNDLE_LOADER = $(TEST_HOST) COMBINE_HIDPI_IMAGES = YES diff --git a/xcconfig/NetNewsWire_iOSapp_target.xcconfig b/xcconfig/NetNewsWire_iOSapp_target.xcconfig index 10400c2ad..df82e9a3b 100644 --- a/xcconfig/NetNewsWire_iOSapp_target.xcconfig +++ b/xcconfig/NetNewsWire_iOSapp_target.xcconfig @@ -1,41 +1,10 @@ -CODE_SIGN_IDENTITY= iPhone Developer -DEVELOPMENT_TEAM = M8L2WTLA8W -CODE_SIGN_STYLE = Automatic -ORGANIZATION_IDENTIFIER = com.ranchero -DEVELOPER_ENTITLEMENTS = -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 = -// ORGANIZATION_IDENTIFIER = -// CODE_SIGN_STYLE = Automatic -// DEVELOPER_ENTITLEMENTS = -dev -// 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_codesigning_common.xcconfig" #include "./common/NetNewsWire_ios_target_common.xcconfig" +CODE_SIGN_IDENTITY = iPhone Developer +DEVELOPMENT_TEAM = M8L2WTLA8W + LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks INFOPLIST_FILE = iOS/Resources/Info.plist CODE_SIGN_ENTITLEMENTS = iOS/Resources/NetNewsWire$(DEVELOPER_ENTITLEMENTS).entitlements @@ -43,7 +12,6 @@ PRODUCT_BUNDLE_IDENTIFIER = $(ORGANIZATION_IDENTIFIER).NetNewsWire.iOS PRODUCT_NAME = NetNewsWire CLANG_ENABLE_MODULES = YES SWIFT_OBJC_BRIDGING_HEADER = iOS/Resources/NetNewsWire-iOS-Bridging-Header.h -SWIFT_VERSION = 5.7 SUPPORTED_PLATFORMS = iphoneos iphonesimulator SUPPORTS_MACCATALYST = NO SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO diff --git a/xcconfig/NetNewsWire_iOSintentextension_target.xcconfig b/xcconfig/NetNewsWire_iOSintentextension_target.xcconfig index a7e24f050..149e92ddf 100644 --- a/xcconfig/NetNewsWire_iOSintentextension_target.xcconfig +++ b/xcconfig/NetNewsWire_iOSintentextension_target.xcconfig @@ -1,42 +1,4 @@ -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 = -// BUNDLE_ROOT = -// 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" - -ENABLE_HARDENED_RUNTIME = YES -LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/../../Frameworks -CODE_SIGN_ENTITLEMENTS = iOS/ShareExtension/NetNewsWire_iOS_ShareExtension.entitlements +#include "./common/NetNewsWire_iOSextension_common.xcconfig" +CODE_SIGN_ENTITLEMENTS = iOS/IntentsExtension/NetNewsWire_iOS_IntentsExtension.entitlements INFOPLIST_FILE = iOS/IntentsExtension/Info.plist PRODUCT_BUNDLE_IDENTIFIER = $(ORGANIZATION_IDENTIFIER).NetNewsWire.iOS.IntentsExtension -PRODUCT_NAME = $(TARGET_NAME) diff --git a/xcconfig/NetNewsWire_iOSshareextension_target.xcconfig b/xcconfig/NetNewsWire_iOSshareextension_target.xcconfig index e635e3a0e..bac5cf276 100644 --- a/xcconfig/NetNewsWire_iOSshareextension_target.xcconfig +++ b/xcconfig/NetNewsWire_iOSshareextension_target.xcconfig @@ -1,42 +1,4 @@ -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 = -// BUNDLE_ROOT = -// 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" - -ENABLE_HARDENED_RUNTIME = YES -LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/../../Frameworks +#include "./common/NetNewsWire_iOSextension_common.xcconfig" CODE_SIGN_ENTITLEMENTS = iOS/ShareExtension/NetNewsWire_iOS_ShareExtension.entitlements INFOPLIST_FILE = iOS/ShareExtension/Info.plist PRODUCT_BUNDLE_IDENTIFIER = $(ORGANIZATION_IDENTIFIER).NetNewsWire.iOS.Share-Extension -PRODUCT_NAME = $(TARGET_NAME) diff --git a/xcconfig/NetNewsWire_iOSwidgetextension_target.xcconfig b/xcconfig/NetNewsWire_iOSwidgetextension_target.xcconfig index 7a41e86c6..7ef000d8d 100644 --- a/xcconfig/NetNewsWire_iOSwidgetextension_target.xcconfig +++ b/xcconfig/NetNewsWire_iOSwidgetextension_target.xcconfig @@ -1,44 +1,6 @@ -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 = -// BUNDLE_ROOT = -// 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" - -ENABLE_HARDENED_RUNTIME = YES -LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/../../Frameworks +#include "./common/NetNewsWire_iOSextension_common.xcconfig" CODE_SIGN_ENTITLEMENTS = Widget/NetNewsWire_iOS_WidgetExtension.entitlements INFOPLIST_FILE = Widget/Info.plist PRODUCT_BUNDLE_IDENTIFIER = $(ORGANIZATION_IDENTIFIER).NetNewsWire.iOS.SpringboardWidgets -PRODUCT_NAME = $(TARGET_NAME) IPHONEOS_DEPLOYMENT_TARGET = 26.0 diff --git a/xcconfig/NetNewsWire_macapp_target.xcconfig b/xcconfig/NetNewsWire_macapp_target.xcconfig index 13d4b1a36..daa610972 100644 --- a/xcconfig/NetNewsWire_macapp_target.xcconfig +++ b/xcconfig/NetNewsWire_macapp_target.xcconfig @@ -1,40 +1,8 @@ +#include "./common/NetNewsWire_codesigning_common.xcconfig" +#include "./common/NetNewsWire_macapp_target_common.xcconfig" + CODE_SIGN_IDENTITY = Mac Developer DEVELOPMENT_TEAM = M8L2WTLA8W -CODE_SIGN_STYLE = Automatic -ORGANIZATION_IDENTIFIER = com.ranchero -PROVISIONING_PROFILE_SPECIFIER = -DEVELOPER_ENTITLEMENTS = - -// 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 = -// ORGANIZATION_IDENTIFIER = -// CODE_SIGN_STYLE = Automatic -// DEVELOPER_ENTITLEMENTS = -dev -// 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/DeveloperSettings.xcconfig" -#include "./common/NetNewsWire_macapp_target_common.xcconfig" CODE_SIGN_ENTITLEMENTS = Mac/Resources/NetNewsWire$(DEVELOPER_ENTITLEMENTS).entitlements PRODUCT_BUNDLE_IDENTIFIER = $(ORGANIZATION_IDENTIFIER).NetNewsWire-Evergreen -MACOSX_DEPLOYMENT_TARGET = 26.0 diff --git a/xcconfig/NetNewsWire_project.xcconfig b/xcconfig/NetNewsWire_project.xcconfig index 0866018b9..e7dd5f6d2 100644 --- a/xcconfig/NetNewsWire_project.xcconfig +++ b/xcconfig/NetNewsWire_project.xcconfig @@ -3,7 +3,7 @@ ALWAYS_SEARCH_USER_PATHS = NO CLANG_ANALYZER_NONNULL = YES CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; -CLANG_CXX_LANGUAGE_STANDARD = gnu++0x +CLANG_CXX_LANGUAGE_STANDARD = gnu++14 CLANG_CXX_LIBRARY = libc++ CLANG_ENABLE_MODULES = YES CLANG_ENABLE_OBJC_ARC = YES @@ -31,7 +31,7 @@ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CLANG_WARN_UNREACHABLE_CODE = YES COPY_PHASE_STRIP = NO ENABLE_STRICT_OBJC_MSGSEND = YES -GCC_C_LANGUAGE_STANDARD = gnu99 +GCC_C_LANGUAGE_STANDARD = gnu11 GCC_NO_COMMON_BLOCKS = YES GCC_WARN_64_TO_32_BIT_CONVERSION = YES GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR diff --git a/xcconfig/NetNewsWire_safariextension_target.xcconfig b/xcconfig/NetNewsWire_safariextension_target.xcconfig index ffc988440..f19b4906b 100644 --- a/xcconfig/NetNewsWire_safariextension_target.xcconfig +++ b/xcconfig/NetNewsWire_safariextension_target.xcconfig @@ -1,44 +1,5 @@ - -CODE_SIGN_IDENTITY = Mac 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 = -// ORGANIZATION_IDENTIFIER = -// 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/DeveloperSettings.xcconfig" -#include "./common/NetNewsWire_mac_target_common.xcconfig" - -ENABLE_HARDENED_RUNTIME = YES +#include "./common/NetNewsWire_macextension_common.xcconfig" CODE_SIGN_ENTITLEMENTS = Mac/SafariExtension/Subscribe_to_Feed.entitlements INFOPLIST_FILE = Mac/SafariExtension/Info.plist LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/../Frameworks @executable_path/../../../../Frameworks PRODUCT_BUNDLE_IDENTIFIER = $(ORGANIZATION_IDENTIFIER).NetNewsWire-Evergreen.SubscribeToFeed -PRODUCT_NAME = $(TARGET_NAME) - -SDKROOT = macosx diff --git a/xcconfig/NetNewsWire_shareextension_target.xcconfig b/xcconfig/NetNewsWire_shareextension_target.xcconfig index c95899e6f..3e7ea7514 100644 --- a/xcconfig/NetNewsWire_shareextension_target.xcconfig +++ b/xcconfig/NetNewsWire_shareextension_target.xcconfig @@ -1,45 +1,6 @@ -CODE_SIGN_IDENTITY = Mac Developer -DEVELOPMENT_TEAM = M8L2WTLA8W -CODE_SIGN_STYLE = Automatic -ORGANIZATION_IDENTIFIER = com.ranchero -PROVISIONING_PROFILE_SPECIFIER = -DEVELOPER_ENTITLEMENTS = - -// 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 = -// ORGANIZATION_IDENTIFIER = -// 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/DeveloperSettings.xcconfig" -#include "./common/NetNewsWire_mac_target_common.xcconfig" - -ENABLE_HARDENED_RUNTIME = YES +#include "./common/NetNewsWire_macextension_common.xcconfig" CODE_SIGN_ENTITLEMENTS = Mac/ShareExtension/ShareExtension.entitlements INFOPLIST_FILE = Mac/ShareExtension/Info.plist LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/../Frameworks @executable_path/../../../../Frameworks PRODUCT_BUNDLE_IDENTIFIER = $(ORGANIZATION_IDENTIFIER).NetNewsWire-Evergreen.Mac.ShareExtension -PRODUCT_NAME = $(TARGET_NAME) ASSETCATALOG_COMPILER_APPICON_NAME = - -SDKROOT = macosx diff --git a/xcconfig/common/NetNewsWire_codesigning_common.xcconfig b/xcconfig/common/NetNewsWire_codesigning_common.xcconfig new file mode 100644 index 000000000..c93c39fb7 --- /dev/null +++ b/xcconfig/common/NetNewsWire_codesigning_common.xcconfig @@ -0,0 +1,35 @@ +// Common code signing configuration for all NetNewsWire targets + +CODE_SIGN_STYLE = Automatic +ORGANIZATION_IDENTIFIER = com.ranchero +PROVISIONING_PROFILE_SPECIFIER = +DEVELOPER_ENTITLEMENTS = + +// 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 = +// ORGANIZATION_IDENTIFIER = +// CODE_SIGN_STYLE = Automatic +// DEVELOPER_ENTITLEMENTS = -dev +// 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/DeveloperSettings.xcconfig" diff --git a/xcconfig/common/NetNewsWire_iOSextension_common.xcconfig b/xcconfig/common/NetNewsWire_iOSextension_common.xcconfig new file mode 100644 index 000000000..79b3f9752 --- /dev/null +++ b/xcconfig/common/NetNewsWire_iOSextension_common.xcconfig @@ -0,0 +1,11 @@ +// Common settings for all iOS extensions + +#include? "../../../SharedXcodeSettings/ProjectSettings.xcconfig" +#include "./NetNewsWire_codesigning_common.xcconfig" +#include "./NetNewsWire_ios_target_common.xcconfig" + +CODE_SIGN_IDENTITY = iPhone Developer +DEVELOPMENT_TEAM = M8L2WTLA8W +ENABLE_HARDENED_RUNTIME = YES +LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/../../Frameworks +PRODUCT_NAME = $(TARGET_NAME) diff --git a/xcconfig/common/NetNewsWire_ios_target_common.xcconfig b/xcconfig/common/NetNewsWire_ios_target_common.xcconfig index 4da8ad9d6..59a9f61e2 100644 --- a/xcconfig/common/NetNewsWire_ios_target_common.xcconfig +++ b/xcconfig/common/NetNewsWire_ios_target_common.xcconfig @@ -1,11 +1,7 @@ - // High Level Settings common to both the iOS application and any extensions we bundle with it MARKETING_VERSION = 7.0 CURRENT_PROJECT_VERSION = 7000 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon -CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; -COMBINE_HIDPI_IMAGES = YES -GCC_C_LANGUAGE_STANDARD = gnu11; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = 1,2 diff --git a/xcconfig/common/NetNewsWire_mac_target_common.xcconfig b/xcconfig/common/NetNewsWire_mac_target_common.xcconfig index fe6dfde95..7dfaa0459 100644 --- a/xcconfig/common/NetNewsWire_mac_target_common.xcconfig +++ b/xcconfig/common/NetNewsWire_mac_target_common.xcconfig @@ -5,5 +5,4 @@ CURRENT_PROJECT_VERSION = 7000 ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon COMBINE_HIDPI_IMAGES = YES -MACOSX_DEPLOYMENT_TARGET = 26.0 SDKROOT = macosx; diff --git a/xcconfig/common/NetNewsWire_macapp_target_common.xcconfig b/xcconfig/common/NetNewsWire_macapp_target_common.xcconfig index e69c9182f..7ffc8c666 100644 --- a/xcconfig/common/NetNewsWire_macapp_target_common.xcconfig +++ b/xcconfig/common/NetNewsWire_macapp_target_common.xcconfig @@ -1,7 +1,6 @@ #include "./NetNewsWire_mac_target_common.xcconfig" // Settings common to both the Mac Direct and Mac App Store targets -ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon INFOPLIST_FILE = Mac/Resources/Info.plist PRODUCT_NAME = NetNewsWire SWIFT_OBJC_BRIDGING_HEADER = Mac/NetNewsWire-Bridging-Header.h diff --git a/xcconfig/common/NetNewsWire_macextension_common.xcconfig b/xcconfig/common/NetNewsWire_macextension_common.xcconfig new file mode 100644 index 000000000..8cd92690e --- /dev/null +++ b/xcconfig/common/NetNewsWire_macextension_common.xcconfig @@ -0,0 +1,10 @@ +// Common settings for all Mac extensions + +#include "./NetNewsWire_codesigning_common.xcconfig" +#include "./NetNewsWire_mac_target_common.xcconfig" + +CODE_SIGN_IDENTITY = Mac Developer +DEVELOPMENT_TEAM = M8L2WTLA8W +ENABLE_HARDENED_RUNTIME = YES +SDKROOT = macosx +PRODUCT_NAME = $(TARGET_NAME)