ios - Travis-CI error with: clang: error: no such file or directory: -


my .travis.yml file:

language: objective-c  osx_image: xcode7.2  before_install:    - rvm use system    - sudo gem install cocoapods -v '0.39.0'    script:     xctool -workspace projectname.xcworkspace -scheme projectname build -sdk iphonesimulator 

it looks ok. however, i've got error while travis running.

clang: error: no such file or directory: '/users/travis/build/myname/projectfolder/viewcontrollers/ccpviewcontroller.m' clang: error: no input files ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

2 errored, 0 warning (3517 ms)
failures:
0) compile /users/travis/build/myname/projectfolder/viewcontrollers/ccpviewcontroller.m
** build failed ** (20966 ms)

it looks not in project, there. supposed red because not there, black.

despite files not missing (red) inside project not there.

to solve problem git clone repo in place. open new copy of project, open folder , classes red.

enter image description here

this classes did not exist in github. added wrongly inside project. now.

i dragging folder 2 classes, reason folder name not accepted xcode. changed name (from pods pod) of folder , xcode accepted classes. classes in git add ..

enter image description here

commit , push , travis working without problem.

it looks error caused because has 2 folders named pods. 1 , 1 created cocoapods. nonsense.

i wrote post in blog travis-ci.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -