mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-02 10:22:35 +00:00
Merge pull request #4870 from evan-a-a/codesign_fixes
Fix codesign setup and inheritence
This commit is contained in:
8 files changed
+7
-45
No files matched your search
@@ -29,7 +29,9 @@ mkdir -p ../SharedXcodeSettings
|
||||
echo Creating DeveloperSettings.xcconfig
|
||||
|
||||
cat <<file >> ../SharedXcodeSettings/DeveloperSettings.xcconfig
|
||||
CODE_SIGN_IDENTITY = Mac Developer
|
||||
CODE_SIGN_IDENTITY[sdk=macosx*] = Mac Developer
|
||||
CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer
|
||||
CODE_SIGN_IDENTITY[sdk=iphonesimulator*] = iPhone Developer
|
||||
DEVELOPMENT_TEAM = $devTeamID
|
||||
CODE_SIGN_STYLE = Automatic
|
||||
ORGANIZATION_IDENTIFIER = $devOrgName
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
#include "./common/NetNewsWire_codesigning_common.xcconfig"
|
||||
|
||||
CODE_SIGN_IDENTITY = Apple Development
|
||||
DEVELOPMENT_TEAM = M8L2WTLA8W
|
||||
CODE_SIGN_STYLE = Automatic
|
||||
|
||||
BUNDLE_LOADER = $(TEST_HOST)
|
||||
COMBINE_HIDPI_IMAGES = YES
|
||||
INFOPLIST_FILE = Tests/NetNewsWireTests/Info.plist
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#include "./common/NetNewsWire_codesigning_common.xcconfig"
|
||||
|
||||
CODE_SIGN_IDENTITY = Apple Development
|
||||
DEVELOPMENT_TEAM = M8L2WTLA8W
|
||||
|
||||
BUNDLE_LOADER = $(TEST_HOST)
|
||||
COMBINE_HIDPI_IMAGES = YES
|
||||
INFOPLIST_FILE = Tests/NetNewsWire-iOSTests/Info.plist
|
||||
|
||||
@@ -1,33 +1,3 @@
|
||||
CODE_SIGN_IDENTITY = iPhone Developer
|
||||
DEVELOPMENT_TEAM = M8L2WTLA8W
|
||||
|
||||
// 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>
|
||||
// ORGANIZATION_IDENTIFIER = <Your Domain Name Reversed>
|
||||
// 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 "./common/NetNewsWire_codesigning_common.xcconfig"
|
||||
#include "./common/NetNewsWire_ios_target_common.xcconfig"
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#include "./common/NetNewsWire_codesigning_common.xcconfig"
|
||||
#include "./common/NetNewsWire_macapp_target_common.xcconfig"
|
||||
|
||||
CODE_SIGN_IDENTITY = Mac Developer
|
||||
DEVELOPMENT_TEAM = M8L2WTLA8W
|
||||
|
||||
CODE_SIGN_ENTITLEMENTS = Mac/Resources/NetNewsWire$(DEVELOPER_ENTITLEMENTS).entitlements
|
||||
PRODUCT_BUNDLE_IDENTIFIER = $(ORGANIZATION_IDENTIFIER).NetNewsWire-Evergreen
|
||||
@@ -1,7 +1,11 @@
|
||||
// Common code signing configuration for all NetNewsWire targets
|
||||
|
||||
CODE_SIGN_IDENTITY[sdk=macosx*] = Mac Developer
|
||||
CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer
|
||||
CODE_SIGN_IDENTITY[sdk=iphonesimulator*] = iPhone Developer
|
||||
CODE_SIGN_STYLE = Automatic
|
||||
ORGANIZATION_IDENTIFIER = com.ranchero
|
||||
DEVELOPMENT_TEAM = M8L2WTLA8W
|
||||
PROVISIONING_PROFILE_SPECIFIER =
|
||||
DEVELOPER_ENTITLEMENTS =
|
||||
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
#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)
|
||||
@@ -3,8 +3,6 @@
|
||||
#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)
|
||||
Reference in new issue
Block a user