When i type \"pod install\" in a correct directory I always get this
Analyzing dependencies
[!] Could not automatically select an Xcode project. Specify          
        I had the Same problem  , i solved it by moving the podfile to the main project folder , in your case : 
1- move the pod file to 'Posting' folder , in which there are 'Posting' subfolder  and 'Posting.xcodeproj' file
2- re run the ' pod install ' command.
3- enjoy 
Oddly I had 2 .xcodeproj files in the same directory . I think i duplicated one. It showed up in the workspace as red, When I removed one it worked fine .
I had a conflict because we were working in a team and I had a manifest.lock file under my pods directory that I had to remove and then run the pod install command and it worked :)