Everything worked fine until I formatted my Mac. After formatting (moving from El Capitanto Sierra) I cloned the repository, installed Cocoapods, did pod update. And everything got messed up with pods. I can not create an application. Error with Cocoapods(I think so). The error is as follows:
ld: framework not found GTMOAuth2
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I use Xcode 8.0and Swift 2.3, with Cocoapods 1.1.1.
My Podfile:
target 'ProjectName' do
use_frameworks!
pod 'Firebase'
pod 'Firebase/Messaging'
pod 'Firebase/Auth'
pod 'Firebase/Crash'
pod 'Google/SignIn'
pod 'Google/Analytics'
pod 'Fabric'
pod 'Crashlytics'
target 'ProjectName Tests' do
inherit! :search_paths
end
target 'ProjectName UITests' do
inherit! :search_paths
end
end
Also receives a warning about wireframe paths. It looks like this:
ld: warning: directory not found for option '-F/Users/<user>/Library/Developer/Xcode/DerivedData/<project-name>-ftvbhpamiyfzmwdfpxknyvpcypde/Build/Products/Debug-iphonesimulator/GTMOAuth2'
ld: warning: directory not found for option '-F/Users/<user>/Library/Developer/Xcode/DerivedData/<project-name>-ftvbhpamiyfzmwdfpxknyvpcypde/Build/Products/Debug-iphonesimulator/GTMSessionFetcher'
ld: warning: directory not found for option '-F/Users/<user>/Library/Developer/Xcode/DerivedData/<project-name>-ftvbhpamiyfzmwdfpxknyvpcypde/Build/Products/Debug-iphonesimulator/GoogleToolboxForMac'
source
share