From db86bce8cfcf15ab8808dd60ef935b155ddbbfe3 Mon Sep 17 00:00:00 2001 From: CMK Date: Sat, 8 Oct 2022 14:04:49 +0800 Subject: [PATCH] fix: Podfile target issue --- Documentation/Setup.md | 2 +- MastodonSDK/Sources/MastodonCore/AppSecret.swift | 2 +- Podfile | 5 ----- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Documentation/Setup.md b/Documentation/Setup.md index 545b7ac5a..e0e2eb3f2 100644 --- a/Documentation/Setup.md +++ b/Documentation/Setup.md @@ -67,7 +67,7 @@ open Mastodon.xcworkspace The CocoaPods-Key plugin will request the push notification endpoint. You can fufill the empty string and set it later. To setup the push notification. Please check section `Push Notification` below. -The app requires the `App Group` capability. To make sure it works for your developer membership. Please check [AppSecret.swift](../AppShared/AppSecret.swift) file and set another unique `groupID` and update `App Group` settings. +The app requires the `App Group` capability. To make sure it works for your developer membership. Please check [AppSecret.swift](../MastodonSDK/Sources/MastodonCore/AppSecret.swift) file and set another unique `groupID` and update `App Group` settings. #### Push Notification (Optional) The app is compatible with [toot-relay](https://github.com/DagAgren/toot-relay) APNs. You can set your push notification endpoint via Arkana. There are one endpoint: diff --git a/MastodonSDK/Sources/MastodonCore/AppSecret.swift b/MastodonSDK/Sources/MastodonCore/AppSecret.swift index 3d595c143..59c7a7cb5 100644 --- a/MastodonSDK/Sources/MastodonCore/AppSecret.swift +++ b/MastodonSDK/Sources/MastodonCore/AppSecret.swift @@ -1,6 +1,6 @@ // // AppSecret.swift -// AppShared +// MastodonCommon // // Created by MainasuK Cirno on 2021-4-27. // diff --git a/Podfile b/Podfile index 774148fa0..3c482446a 100644 --- a/Podfile +++ b/Podfile @@ -30,11 +30,6 @@ target 'Mastodon' do end -target 'AppShared' do - # Comment the next line if you don't want to use dynamic frameworks - use_frameworks! -end - post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config|