- We Open Xcode and create a new iMessage app as shown, and name it Files Picker:
- Now, let's install Google Drive SDK in iOS using CocoaPods. Open terminal and navigate to the directory that contains your Xcode project by running this command:
cd path_to_directory
- Run the following command to create a Pod file to write your dependencies:
Pod init
- It will create a Pod file for you. Open it via TextEdit and edit it to be like this:
use_frameworks! target 'PDFPicker' do end target 'MessagesExtension' do pod 'GoogleAPIClient/Drive', '~> 1.0.2' pod 'GTMOAuth2', '~> 1.1.0' end
- Then, close the Xcode app completely and ...