Asked 7 years ago
21 Sep 2017
Views 698
iPhone-coder

iPhone-coder posted

how to run pod install in current project directory


target 'project_name' 
do 
 pod 'AFNetworking', '~> 3.0' 
 pod 'FBSDKCoreKit'
 pod 'JSONKit'
 pod 'MBProgressHUD'
end


its says pod installed after 'pod install' but its really not installing anything at so how can make sure it install by pod file in current directory

hanuman

hanuman
answered Apr 24 '23 00:00

To run pod install in the current project directory, you'll need to follow these steps:

1.Open Terminal on your Mac.

2.Navigate to the directory where your project is located. You can use the cd command to change directories. For example, if your project is located in the "Documents" folder, you can type:



cd ~/Documents/MyProject

3.Once you're in the correct directory, type the following command to install the pods:


pod install

4.Press Enter to run the command.

5.Wait for the process to complete. This may take a few minutes, depending on the size of your project and the number of dependencies.

6.After the pods have been installed, open the . xcworkspace file in Xcode instead of the . xcodeproj file. This is important, as the .
xcworkspace file contains references to the pods that were just installed.

6.You're now ready to use the pods in your project
Post Answer