title: Travis-ci build not working for iOS swift projects
body: <p>I have the following lines of code in my .travis.yml file:</p>
  
  <pre><code>language: objective-c
  xcode_workspace: Diffusion.xcworkspace
  xcode_scheme: Diffusion
  </code></pre>
  
  <p>However my build continuously fails everytime. I have looked up other resources on the matter but for some reason it always fails. I have exhausted all these other options as well:</p>
  
  <pre><code>#option 1
  language: objective-c
  podfile: Podfile
  script: xcodebuild -workspace Diffusion.xcworkspace -scheme Diffusion -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
  </code></pre>
  
  <p>The script tag works on my local machine.</p>
  
  <pre><code>#option 2
  language: objective-c
  podfile: Podfile
  branches:
    only:
      - master
  osx_image: xcode8.2
  xcode_workspace: Diffusion.xcworkspace
  xcode_scheme: Diffusion
  xcode_sdk: iphonesimulator10.2
  </code></pre>
  
  <p>If I could get help on the matter, it would be greatly appreciated.</p>
  
  <p>EDIT:</p>
  
  <p>These are the current logs I get <a href="https://s3.amazonaws.com/archive.travis-ci.org/jobs/196229744/log.txt" rel="nofollow noreferrer">here</a></p>