Can't build/clean for device

Hey guys,

  • Whenever I do a build for device (with or without a device plugged in) I get the "Messages" window showing up with "Error: Build failed in 6 sec". This works on the simulator.
  • Whenever I do a clean (same as above) I get this "Error: Clean failed in 5 sec".


I can't seem to get any more information from these two errors.

I tried deleting AppCode and downloading the latest version from the website but this made no difference. Ive confirmed Im running 3.1.2. I've also restarted my computer ;D

Any idea what the hell is up or what I can do to get more info?

Thanks

Jamie
4 comments
Comment actions Permalink

Please attach the build log. You can find it by clicking on a "Show Build Log" button in the "Messages" tool window:

AppCodeDemo] - AppCode OC-139.660 2014-12-04 13-47-10.png

0
Comment actions Permalink

Ah I didnt know this existed. Here's the log:

/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace /Users/myuser/Documents/projects/iOS-Fantasy-Football/FantasyRealFootball.xcworkspace -scheme FantasyRealFootball -configuration Debug -destination id=4a34868106b28e62daf46c917dc4640269c3431f -destination-timeout 15 -derivedDataPath /Users/myuser/Library/Caches/appCode31/DerivedData/FantasyRealFootball-6ad6495f TEST_AFTER_BUILD=NO SYMROOT=/Users/myuser/Library/Caches/appCode31/DerivedData/FantasyRealFootball-6ad6495f/Build/Products OBJROOT=/Users/myuser/Library/Caches/appCode31/DerivedData/FantasyRealFootball-6ad6495f/Build/Intermediates build
User defaults from command line:
    IDEDerivedDataPathOverride = /Users/myuser/Library/Caches/appCode31/DerivedData/FantasyRealFootball-6ad6495f

Build settings from command line:
    OBJROOT = /Users/myuser/Library/Caches/appCode31/DerivedData/FantasyRealFootball-6ad6495f/Build/Intermediates
    SYMROOT = /Users/myuser/Library/Caches/appCode31/DerivedData/FantasyRealFootball-6ad6495f/Build/Products
    TEST_AFTER_BUILD = NO

2015-01-30 14:53:31.562 xcodebuild[23811:313176] error: InputFile    /Users/myuser/Documents/projects/iOS-Fantasy-Football/Pods/Target Support Files/Pods-AFNetworking/Pods-AFNetworking-prefix.pch 0 1422269826 77 33188... malformed line 10; 'InputFile' should have exactly five arguments
2015-01-30 14:53:31.565 xcodebuild[23811:313176] error: InputFile    /Users/myuser/Documents/projects/iOS-Fantasy-Football/Pods/Target Support Files/Pods-AFNetworking/Pods-AFNetworking-prefix.pch 0 1422269826 77 33188... malformed line 10; 'InputFile' should have exactly five arguments

I also forgot to mention that this builds fine in XCode.

0
Comment actions Permalink

Looks like this is a bug in xcodebuild: it incorrectly reports an error which AppCode treats as a real error. Please create an issue on our tracker, along with a full build log, Xcode version and, if possible, a sample project that can be used to reproduce the issue.

0
Comment actions Permalink

Cool. I'll try and get this logged.

0

Please sign in to leave a comment.