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.
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 .
.
commit , push , travis working without problem.
it looks error caused because has 2 folders named pods
. 1 , 1 created cocoapods. nonsense.
Comments
Post a Comment