Skip to content

Commit

Permalink
🛠#297: Share Extension에서 앱으로 이동 시, 공유할 드랍된 아이템 ID 공유를 위해 Share Extens…
Browse files Browse the repository at this point in the history
…ion과 App간의 App Groups를 설정
  • Loading branch information
joseph704 committed Aug 22, 2024
1 parent 7f4012e commit 296d7b8
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
10 changes: 10 additions & 0 deletions StreetDrop/ShareExtension/ShareExtension.entitlements
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.application-groups</key>
<array>
<string>group.com.depromeet.StreetDrop</string>
</array>
</dict>
</plist>
4 changes: 4 additions & 0 deletions StreetDrop/StreetDrop.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,7 @@
C4D16FCB2A1B98B0008B076F /* UILabel+LineHeight.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UILabel+LineHeight.swift"; sourceTree = "<group>"; };
C4D32A192C5A1F1E00E74BE8 /* RegionFilteringModalViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RegionFilteringModalViewModel.swift; sourceTree = "<group>"; };
C4E0943A2A4DF002000B4513 /* VillageNameResponseDTO.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VillageNameResponseDTO.swift; sourceTree = "<group>"; };
C4E0E98D2C76BFC200977346 /* ShareExtension.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = ShareExtension.entitlements; sourceTree = "<group>"; };
C4E25A9A2A57F8FF00E6A236 /* StreetDropDebug.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = StreetDropDebug.entitlements; sourceTree = "<group>"; };
C4E25A9B2A580B0D00E6A236 /* StreetDropRelease.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = StreetDropRelease.entitlements; sourceTree = "<group>"; };
C4E4C6B12A5ADC2C00B1C84A /* SettingsRepository.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SettingsRepository.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1769,6 +1770,7 @@
C42182BB2C697F9700B73A99 /* ShareExtension */ = {
isa = PBXGroup;
children = (
C4E0E98D2C76BFC200977346 /* ShareExtension.entitlements */,
C42182C12C697F9700B73A99 /* Info.plist */,
C42182C92C69C3FD00B73A99 /* View */,
C42182CA2C69C40300B73A99 /* ViewModel */,
Expand Down Expand Up @@ -3296,6 +3298,7 @@
baseConfigurationReference = 13ACF3C8F07C1A2CFE303F4A /* Pods-ShareExtension.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CODE_SIGN_ENTITLEMENTS = ShareExtension/ShareExtension.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
Expand Down Expand Up @@ -3330,6 +3333,7 @@
baseConfigurationReference = B20DBB514344BC89E684862A /* Pods-ShareExtension.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
CODE_SIGN_ENTITLEMENTS = ShareExtension/ShareExtension.entitlements;
CODE_SIGN_IDENTITY = "Apple Distribution";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Distribution";
CODE_SIGN_STYLE = Automatic;
Expand Down
4 changes: 4 additions & 0 deletions StreetDrop/StreetDrop/StreetDropDebug.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@
<string>applinks:test-open.street-drop.com</string>
<string>webcredentials:test-open.street-drop.com</string>
</array>
<key>com.apple.security.application-groups</key>
<array>
<string>group.com.depromeet.StreetDrop</string>
</array>
</dict>
</plist>
4 changes: 4 additions & 0 deletions StreetDrop/StreetDrop/StreetDropRelease.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@
<string>applinks:open.street-drop.com</string>
<string>webcredentials:open.street-drop.com</string>
</array>
<key>com.apple.security.application-groups</key>
<array>
<string>group.com.depromeet.StreetDrop</string>
</array>
</dict>
</plist>

0 comments on commit 296d7b8

Please sign in to comment.