title: Clang: error: linker command failed with exit code 1 (use -v to see invocation) Xcode 10, Xcode 10.1 Beta, Swift 4.2
body: <p>The project was working fine until I add these Cocoapods below:</p>
  
  <pre><code>platform :ios, '10.0'
  
  target 'XXXXAPPNAME' do
  
  use_frameworks!
  
  pod 'KVNProgress'
  pod 'OneSignal'
  pod 'IQKeyboardManager'
  pod 'AKMaskField'
  
  end
  </code></pre>
  
  <p>The result of pod installation:</p>
  
  <pre><code>Analyzing dependencies
  Downloading dependencies
  Installing AKMaskField (2.0.3)
  Installing IQKeyboardManager (6.0.4)
  Installing KVNProgress (2.3.1)
  Installing OneSignal (2.8.5)
  Generating Pods project
  Integrating client project
  
  [!] Please close any current Xcode sessions and use `APPNAME.xcworkspace` for this project from now on.
  Sending stats
  Pod installation complete! There are 4 dependencies from the Podfile and 4 total pods installed.
  </code></pre>
  
  <p>and then, of course, I run the project with <strong>APPNAME.xcworkspace</strong> file</p>
  
  <p>But it gives an error:</p>
  
  <pre><code>ld: warning: directory not found for option '-F/Users/MYNAME/Library/Developer/Xcode/DerivedData/APPNAME-foktozccazlvmoexywpkabjotonf/Build/Products/Debug-iphonesimulator/AKMaskField'
  
  ld: warning: directory not found for option '-F/Users/MYNAME/Library/Developer/Xcode/DerivedData/APPNAME-foktozccazlvmoexywpkabjotonf/Build/Products/Debug-iphonesimulator/IQKeyboardManager'
  
  ld: warning: directory not found for option '-F/Users/MYNAME/Library/Developer/Xcode/DerivedData/APPNAME-foktozccazlvmoexywpkabjotonf/Build/Products/Debug-iphonesimulator/KVNProgress'
  
  ld: framework not found AKMaskField
  
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  </code></pre>
  
  <p>I have googled it. I have read all questions/replies about the same topic in here StackOverflow. but I could not find a solution. I have removed derived Data also. It did not work. </p>