Ricky
Ricky

Reputation: 3171

Clang error when compiling in CodeRunner

I've used CodeRunner (http://krillapps.com/coderunner) for a long time but recently I can't compile any Objective-C code in it. I think this started happening around the time I updated to Xcode 5.1. I can still compile and run as normal in Xcode.

When I try to run in CodeRunner, the following error is printed.

clang: error: unknown argument: '-finput-charset=UTF-8' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future

I've tried searching for what this error means but I can't find much. Has anyone got any ideas of what this might be?

Thanks in advance.

Upvotes: 4

Views: 1558

Answers (1)

Nick Weaver
Nick Weaver

Reputation: 47241

  • Open Preferences
  • Click Edit script (frist screenshot)
  • Second screenshot: Remove the param at I. line should look like II.

enter image description here enter image description here

Upvotes: 8

Related Questions