From c5c7b12fa4e8b50ccecc80288c0d57c9ccbf881b Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Mon, 9 Sep 2019 12:46:38 -0500 Subject: [PATCH] Rename and move entitlements file for iOS share extension --- NetNewsWire.xcodeproj/project.pbxproj | 4 ++-- .../NetNewsWire_iOS_ShareExtension.entitlements | 0 xcconfig/NetNewsWire_iOSshareextension_target.xcconfig | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) rename NetNewsWire.entitlements => iOS/ShareExtension/NetNewsWire_iOS_ShareExtension.entitlements (100%) diff --git a/NetNewsWire.xcodeproj/project.pbxproj b/NetNewsWire.xcodeproj/project.pbxproj index c715bbecc..ba0012040 100644 --- a/NetNewsWire.xcodeproj/project.pbxproj +++ b/NetNewsWire.xcodeproj/project.pbxproj @@ -777,7 +777,7 @@ 51554BFC228B6EB50055115A /* SyncDatabase.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = SyncDatabase.xcodeproj; path = Frameworks/SyncDatabase/SyncDatabase.xcodeproj; sourceTree = SOURCE_ROOT; }; 515ADE3F22E11FAE006B2460 /* SystemMessageViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SystemMessageViewController.swift; sourceTree = ""; }; 515D4FCB2325815A00EE1167 /* SafariExt.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = SafariExt.js; sourceTree = ""; }; - 515D4FCD2325909200EE1167 /* NetNewsWire.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = NetNewsWire.entitlements; sourceTree = ""; }; + 515D4FCD2325909200EE1167 /* NetNewsWire_iOS_ShareExtension.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = NetNewsWire_iOS_ShareExtension.entitlements; sourceTree = ""; }; 515D4FCE2325B3D000EE1167 /* NetNewsWire_iOSshareextension_target.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = NetNewsWire_iOSshareextension_target.xcconfig; sourceTree = ""; }; 5183CCCF226E1E880010922C /* NonIntrinsicLabel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NonIntrinsicLabel.swift; sourceTree = ""; }; 5183CCD9226E31A50010922C /* NonIntrinsicImageView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NonIntrinsicImageView.swift; sourceTree = ""; }; @@ -1148,6 +1148,7 @@ 513C5CEA232571C2003D4054 /* MainInterface.storyboard */, 513C5CED232571C2003D4054 /* Info.plist */, 515D4FCB2325815A00EE1167 /* SafariExt.js */, + 515D4FCD2325909200EE1167 /* NetNewsWire_iOS_ShareExtension.entitlements */, ); path = ShareExtension; sourceTree = ""; @@ -1669,7 +1670,6 @@ 849C64571ED37A5D003D8FC0 = { isa = PBXGroup; children = ( - 515D4FCD2325909200EE1167 /* NetNewsWire.entitlements */, 845B14A51FC2299E0013CF92 /* README.md */, 84D2200922B0BC4B0019E085 /* CONTRIBUTING.md */, 84CBDDAE1FD3674C005A61AA /* Technotes */, diff --git a/NetNewsWire.entitlements b/iOS/ShareExtension/NetNewsWire_iOS_ShareExtension.entitlements similarity index 100% rename from NetNewsWire.entitlements rename to iOS/ShareExtension/NetNewsWire_iOS_ShareExtension.entitlements diff --git a/xcconfig/NetNewsWire_iOSshareextension_target.xcconfig b/xcconfig/NetNewsWire_iOSshareextension_target.xcconfig index f8a5753cd..c6fea8ed6 100644 --- a/xcconfig/NetNewsWire_iOSshareextension_target.xcconfig +++ b/xcconfig/NetNewsWire_iOSshareextension_target.xcconfig @@ -1,6 +1,7 @@ #include "./NetNewsWire_iOSapp_target.xcconfig" +CODE_SIGN_ENTITLEMENTS = iOS/ShareExtension/NetNewsWire_iOS_ShareExtension.entitlements INFOPLIST_FILE = iOS/ShareExtension/Info.plist PRODUCT_BUNDLE_IDENTIFIER = com.ranchero.NetNewsWire-Evergreen.iOS.NetNewsWire-iOS-Share-Extension PRODUCT_NAME = $(TARGET_NAME)