Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#151] CloudKit 프로젝트 세팅 #152

Merged
merged 2 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ final class PlakePlaylistViewModel: Hashable {

var exportingState: ExportingState = .none
var presentationState: PlaylistPresentationState = .init()


let exportAppleMusicURLString: String = "itms-apps://itunes.apple.com/app/apple-music/id1108187390"

var selectedItem: PhotosPickerItem? {
didSet { Task { await handleAndUploadPhotoFromAlbum() } }
}
Expand Down
2 changes: 1 addition & 1 deletion AGAMI/Sources/Service/Export/SpotifyService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ final class SpotifyService {
dump("Authorization failed: isAuthorized is false.")
}

dump("Spotify.authorizationManagerDidChange: isAuthorized:", self.isAuthorized)
dump("Spotify.authorizationManagerDidChange: isAuthorized: \(self.isAuthorized)")
self.retrieveCurrentUser()

do {
Expand Down
11 changes: 11 additions & 0 deletions Entitlements/AGAMI.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,20 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- Apple Sign-In 설정 -->
<key>com.apple.developer.applesignin</key>
<array>
<string>Default</string>
</array>

<!-- CloudKit 설정 -->
<key>com.apple.developer.icloud-container-identifiers</key>
<array>
<string>iCloud.io.tuist.AGAMI</string>
</array>
<key>com.apple.developer.icloud-services</key>
<array>
<string>CloudKit</string>
</array>
</dict>
</plist>
6 changes: 6 additions & 0 deletions Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ let project = Project(
])
]),
"UIUserInterfaceStyle": "Light",
"NSUbiquitousContainerIdentifier": "iCloud.io.tuist.AGAMI",
"NSUbiquitousContainers": .dictionary([
"iCloud.io.tuist.AGAMI": .dictionary([
"NSUbiquitousContainerIsDocumentScopePublic": .boolean(true)
])
]),
"CLIENT_ID": .string("$(CLIENT_ID)"),
"CLIENT_SECRET": .string("$(CLIENT_SECRET)"),
"REDIRECT_URL": .string("$(REDIRECT_URL)"),
Expand Down