diff --git a/ChatGPTExample.xcodeproj/project.pbxproj b/ChatGPTExample.xcodeproj/project.pbxproj index 3d02fdc..87b1652 100644 --- a/ChatGPTExample.xcodeproj/project.pbxproj +++ b/ChatGPTExample.xcodeproj/project.pbxproj @@ -353,14 +353,15 @@ INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; INFOPLIST_KEY_UIMainStoryboardFile = Main; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.sendbird.uikit.examples.chatgpt.ChatGPTExample; + PRODUCT_BUNDLE_IDENTIFIER = com.sendbird.uikit.examples.chatgpt; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; @@ -381,14 +382,15 @@ INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; INFOPLIST_KEY_UIMainStoryboardFile = Main; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.sendbird.uikit.examples.chatgpt.ChatGPTExample; + PRODUCT_BUNDLE_IDENTIFIER = com.sendbird.uikit.examples.chatgpt; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; diff --git a/README.md b/README.md index d7fd398..8d61c6c 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,13 @@ Sendbird ChatGPT: Sendbird ChatGPT is a Sendbird Chat integration into your exis />

+## Requirements +The minimum requirements for this sample are: + +- iOS 14.0 + +- Xcode 14.1 + (Swift 5.7.1 +) +- Sendbird UIKit 3.5.6 + ## Getting Started 1. Create your Sendbird application on [the dashboard](https://dashboard.sendbird.com/auth/signup). 2. [Register the ChatGPT bot](https://sendbird.com/developer/tutorials/chatbot-google-dialogflow) in your Sendbird application. @@ -69,7 +76,7 @@ Currently, Only 1:1 chat with ChatGPT bot is supoorted.When you create a channel createChannelViewModel?.createChannel(userIds: [ChatBot.chatGPT.botID]) ``` -For more information, see [our documentation](https://sendbird.com/docs/chat/v3/platform-api/bot/bot-overview#1-overview). +For more information, see [our documentation](https://sendbird.com/docs/chat/v3/platform-api/bot/bot-overview#1-overview) and [our tutorial](https://sendbird.com/developer/tutorials/chatgpt-integration-build-a-chatgpt-powered-chatbot-part-1). ## Implementation