Sunday 15 March 2015

xcode - Building OSX gcc code in Travis -



xcode - Building OSX gcc code in Travis -

i'm sure has ran before, i'm having hard time finding it. have travis build script compiling xcode project , part of needs utilize sqlcipher compiles using scripts. when gets portion in travis see:

checking build scheme type... i386-apple-darwin13.4.0 checking host scheme type... i386-apple-darwin13.4.0 checking gcc... gcc checking whether c compiler works... no configure: error: in `/users/travis/build/project-imas/encrypted-core-data/vendor/sqlcipher': configure: error: c compiler cannot create executables

i've found multiple threads saying gcc-4.8 should installed, although trying "export cc=gcc-4.8" fails , using compgen has not helped find version should be.

my current .travis.yml file looks like:

language: objective-c compiler: - gcc script: - cd "exampleprojects/incrementalstore" # 32-bit tests - xctool -sdk iphonesimulator -scheme "incremental store demo" clean test -destination "name=iphone retina (4-inch)" # 64-bit tests - xctool -sdk iphonesimulator -scheme "incremental store demo" clean test -destination "name=iphone retina (4-inch 64-bit)" before_install: - brew update - brew unlink xctool - brew install xctool

and trying brew install of gcc times-out, , seems there should simpler fix.

xcode osx travis-ci sqlcipher

No comments:

Post a Comment