diff --git a/NetNewsWire.xcodeproj/project.pbxproj b/NetNewsWire.xcodeproj/project.pbxproj index 7324d8578..4cdb13a9d 100644 --- a/NetNewsWire.xcodeproj/project.pbxproj +++ b/NetNewsWire.xcodeproj/project.pbxproj @@ -1417,6 +1417,8 @@ 51EF0F8D2279C9260050506E /* AccountsAdd.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = AccountsAdd.xib; sourceTree = ""; }; 51EF0F8F2279C9500050506E /* AccountsAddViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AccountsAddViewController.swift; sourceTree = ""; }; 51EF0F912279CA620050506E /* AccountsAddTableCellView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AccountsAddTableCellView.swift; sourceTree = ""; }; + 51F805D32428499E0022C792 /* NetNewsWire-dev.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "NetNewsWire-dev.entitlements"; sourceTree = ""; }; + 51F805ED24284C1C0022C792 /* NetNewsWire-dev.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "NetNewsWire-dev.entitlements"; sourceTree = ""; }; 51F85BEA22724CB600C787DC /* About.rtf */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; path = About.rtf; sourceTree = ""; }; 51F85BEE2272520B00C787DC /* Thanks.rtf */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; path = Thanks.rtf; sourceTree = ""; }; 51F85BF02272524100C787DC /* Credits.rtf */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; path = Credits.rtf; sourceTree = ""; }; @@ -2645,6 +2647,7 @@ 84C9FC8922629E8F00D921D6 /* Credits.rtf */, 84C9FC8A22629E8F00D921D6 /* NetNewsWire.sdef */, 84C9FC9022629ECB00D921D6 /* NetNewsWire.entitlements */, + 51F805D32428499E0022C792 /* NetNewsWire-dev.entitlements */, 84C9FC9122629F2200D921D6 /* Info.plist */, 65ED409F235DEFF00081F399 /* container-migration.plist */, 84C9FC8622629E8F00D921D6 /* KeyboardShortcuts */, @@ -2708,6 +2711,7 @@ 84C9FC9B2262A1A900D921D6 /* Assets.xcassets */, 84C9FC9C2262A1A900D921D6 /* Info.plist */, 84BB0F812333426400DED65E /* NetNewsWire.entitlements */, + 51F805ED24284C1C0022C792 /* NetNewsWire-dev.entitlements */, ); path = Resources; sourceTree = ""; diff --git a/README.md b/README.md index 82971b36a..62c290283 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ See the [Contributing](CONTRIBUTING.md) page for our process. It’s pretty stra #### Building +You can build and test NetNewsWire without a paid developer account. + ```bash git clone https://github.com/Ranchero-Software/NetNewsWire.git cd NetNewsWire @@ -57,6 +59,7 @@ CODE_SIGN_IDENTITY = Mac Developer DEVELOPMENT_TEAM = CODE_SIGN_STYLE = Automatic ORGANIZATION_IDENTIFIER = +DEVELOPER_ENTITLEMENTS = -dev PROVISIONING_PROFILE_SPECIFIER = ``` diff --git a/xcconfig/NetNewsWire_iOSapp_target.xcconfig b/xcconfig/NetNewsWire_iOSapp_target.xcconfig index 1b099b259..7d301558f 100644 --- a/xcconfig/NetNewsWire_iOSapp_target.xcconfig +++ b/xcconfig/NetNewsWire_iOSapp_target.xcconfig @@ -2,6 +2,7 @@ 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 @@ -17,8 +18,9 @@ PROVISIONING_PROFILE_SPECIFIER = // CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer // CODE_SIGN_IDENTITY[sdk=iphonesimulator*] = iPhone Developer // DEVELOPMENT_TEAM = -// BUNDLE_ROOT = +// 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 @@ -36,6 +38,6 @@ PROVISIONING_PROFILE_SPECIFIER = LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks INFOPLIST_FILE = iOS/Resources/Info.plist -CODE_SIGN_ENTITLEMENTS = iOS/Resources/NetNewsWire.entitlements +CODE_SIGN_ENTITLEMENTS = iOS/Resources/NetNewsWire$(DEVELOPER_ENTITLEMENTS).entitlements PRODUCT_BUNDLE_IDENTIFIER = $(ORGANIZATION_IDENTIFIER).NetNewsWire.iOS PRODUCT_NAME = NetNewsWire diff --git a/xcconfig/NetNewsWire_macapp_target.xcconfig b/xcconfig/NetNewsWire_macapp_target.xcconfig index b53dbe79b..95bf74635 100644 --- a/xcconfig/NetNewsWire_macapp_target.xcconfig +++ b/xcconfig/NetNewsWire_macapp_target.xcconfig @@ -3,6 +3,7 @@ DEVELOPMENT_TEAM = M8L2WTLA8W CODE_SIGN_STYLE = Manual ORGANIZATION_IDENTIFIER = com.ranchero PROVISIONING_PROFILE_SPECIFIER = NetNewsWire +DEVELOPER_ENTITLEMENTS = // developers can locally override the Xcode settings for code signing // by creating a DeveloperSettings.xcconfig file locally at the appropriate path @@ -19,6 +20,7 @@ PROVISIONING_PROFILE_SPECIFIER = NetNewsWire // 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 @@ -33,6 +35,6 @@ PROVISIONING_PROFILE_SPECIFIER = NetNewsWire #include? "../../SharedXcodeSettings/DeveloperSettings.xcconfig" #include "./common/NetNewsWire_macapp_target_common.xcconfig" -CODE_SIGN_ENTITLEMENTS = Mac/Resources/NetNewsWire.entitlements +CODE_SIGN_ENTITLEMENTS = Mac/Resources/NetNewsWire$(DEVELOPER_ENTITLEMENTS).entitlements PRODUCT_BUNDLE_IDENTIFIER = $(ORGANIZATION_IDENTIFIER).NetNewsWire-Evergreen