I installed Cocoapods using a terminal and everything went well, but I canβt figure out how to integrate it into my Xcode project. I change the directory to the main folder containing the Xcode project, and type $ pod init , which creates the original subfile in the Xcode project folder. Then I open the Podfile in Xcode and make it as follows:
platform :ios, '9.0' use_frameworks! target 'MyApp' do pod "ForecastIO" end
Then I go back to the terminal and type $ pod install , and everything goes well. The problem is that none of the files appear in the project directory inside Xcode, but they are in the Finder folder containing all the project files. I tried to drag new files into the project directory manually, but some of them still do not appear, and the syntax of the subfile code is not highlighted. Also does not allow me to import the cocoapod, which he allegedly just installed. I'm new to all of this, and I probably missed something simple, but I can't figure it out. Any help is appreciated.
Tl; dr How to implement ForecastIO Cocoapod in an Xcode project?
Lint to ForecastIO Pod Info: https://cocoapods.org/pods/ForecastIO
source share