skip to Main Content

I am working on a project which shows two pods directory. I don’t know if it has some kind of cons and how did it happen. Can Anyone please tell me how to remove one pod directory. These two directories are identical.

Pod Screenshot

Another Screenshot

Project’s POD file

# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'

target 'MyProject' do

    use_frameworks!

    # Pods for MyProject
    #For Keyboard Resigning
    pod 'IQKeyboardManagerSwift'

    #For Activity Controller
    pod 'EZLoadingActivity'

    #For API manager
    pod 'Alamofire', '~> 4.4'
    pod 'SwiftyJSON'

    #for chat
    pod 'Firebase/Database'
    pod 'Firebase/Auth'
    pod 'Firebase/Storage'
    pod 'Firebase/Core'
    pod 'Firebase/Messaging'
    pod 'Firebase/RemoteConfig'
    pod 'Firebase/Analytics'
    pod 'JSQMessagesViewController'

    pod 'Instructions', '~> 1.0.0'

    #For Video calling
    pod 'SinchRTC'
    #for photos
    pod 'SKPhotoBrowser'
    pod 'SDWebImage', '~> 4.0'

    #For Permissions
    pod 'Permission'
    #For Rating with stars
    pod 'FloatRatingView', '~> 2.0.0'

   #For Photo Editor
   pod 'CLImageEditor/AllTools'

   #For Facebook Login
   pod 'FacebookCore'
   pod 'FacebookLogin'
   pod 'FacebookShare'

   #For Google TranslationMethods
   pod "ROGoogleTranslate"

end

2

Answers


  1. put the use_frameworks! above target

     use_frameworks!
    
     target 'MyProject' do
    
       pod 'Firebase/RemoteConfig'
       pod 'Firebase/Analytics'
       pod 'JSQMessagesViewController'
    
     end
    
    Login or Signup to reply.
  2. Check in your Project folder if Pods folder exist once or twice. If it exists twice then remove one, if not remove one Pods from project by choosing “remove reference’. Good luck.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search