diff --git a/VoiceDiary.xcodeproj/project.pbxproj b/VoiceDiary.xcodeproj/project.pbxproj index fe8fd56..6909079 100644 --- a/VoiceDiary.xcodeproj/project.pbxproj +++ b/VoiceDiary.xcodeproj/project.pbxproj @@ -46,7 +46,6 @@ 989E1C6DD70521684A5CB77F /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; 9CD664C8607AD9DC37A6C8D1 /* TranscriptionService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TranscriptionService.swift; sourceTree = ""; }; BE004D539240AD09CEDA1897 /* SummarizationService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SummarizationService.swift; sourceTree = ""; }; - C644C7A7F19E610C2D413C28 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; D4431B77FD9EDB156C12BB19 /* DiaryViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DiaryViewModel.swift; sourceTree = ""; }; D4CCBA3B214071BEDD37CB6E /* DiaryEntryView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DiaryEntryView.swift; sourceTree = ""; }; E4B15363D4D0CAD8C0DD46D6 /* RecordingView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RecordingView.swift; sourceTree = ""; }; @@ -139,7 +138,6 @@ 142BDBF117BAFAC9CA20527E /* Services */, 88B119656D1AB183CCE625F9 /* ViewModels */, C12EA9E46E07D0BD5F8F9158 /* Views */, - C644C7A7F19E610C2D413C28 /* Info.plist */, F18ECC39AB60EF3AFF82EB90 /* VoiceDiary.entitlements */, ); path = VoiceDiary; @@ -290,7 +288,9 @@ CODE_SIGN_ENTITLEMENTS = VoiceDiary/VoiceDiary.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; ENABLE_PREVIEWS = YES; - INFOPLIST_FILE = VoiceDiary/Info.plist; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_NSMicrophoneUsageDescription = "Voice Diary needs microphone access to record your voice memos for diary entries."; + INFOPLIST_KEY_NSSpeechRecognitionUsageDescription = "Voice Diary uses on-device speech recognition to transcribe your voice memos."; INFOPLIST_KEY_UILaunchScreen_Generation = YES; INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; @@ -371,7 +371,9 @@ CODE_SIGN_ENTITLEMENTS = VoiceDiary/VoiceDiary.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; ENABLE_PREVIEWS = YES; - INFOPLIST_FILE = VoiceDiary/Info.plist; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_NSMicrophoneUsageDescription = "Voice Diary needs microphone access to record your voice memos for diary entries."; + INFOPLIST_KEY_NSSpeechRecognitionUsageDescription = "Voice Diary uses on-device speech recognition to transcribe your voice memos."; INFOPLIST_KEY_UILaunchScreen_Generation = YES; INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; diff --git a/VoiceDiary/Info.plist b/VoiceDiary/Info.plist deleted file mode 100644 index c4c0cce..0000000 --- a/VoiceDiary/Info.plist +++ /dev/null @@ -1,10 +0,0 @@ - - - - - NSMicrophoneUsageDescription - Voice Diary needs microphone access to record your voice memos for diary entries. - NSSpeechRecognitionUsageDescription - Voice Diary uses on-device speech recognition to transcribe your voice memos. - - diff --git a/project.yml b/project.yml index d034fd1..3d57b23 100644 --- a/project.yml +++ b/project.yml @@ -26,7 +26,7 @@ targets: - VoiceDiary settings: base: - INFOPLIST_FILE: VoiceDiary/Info.plist + GENERATE_INFOPLIST_FILE: true PRODUCT_BUNDLE_IDENTIFIER: com.felixfoertsch.VoiceDiary ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon ENABLE_PREVIEWS: true @@ -34,6 +34,8 @@ targets: INFOPLIST_KEY_UILaunchScreen_Generation: true INFOPLIST_KEY_UISupportedInterfaceOrientations: UIInterfaceOrientationPortrait INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad: "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight" + INFOPLIST_KEY_NSMicrophoneUsageDescription: "Voice Diary needs microphone access to record your voice memos for diary entries." + INFOPLIST_KEY_NSSpeechRecognitionUsageDescription: "Voice Diary uses on-device speech recognition to transcribe your voice memos." entitlements: path: VoiceDiary/VoiceDiary.entitlements properties: