• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Converted to ARC, now get clang: error: cannot specify both '-fobjc-arc' and '-fobjc-gc-only'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converted to ARC, now get clang: error: cannot specify both '-fobjc-arc' and '-fobjc-gc-only'


  • Subject: Re: Converted to ARC, now get clang: error: cannot specify both '-fobjc-arc' and '-fobjc-gc-only'
  • From: Joar Wingfors <email@hidden>
  • Date: Wed, 16 Apr 2014 20:09:54 -0700

Check your build settings - both at the target level and the project level, and don't forget any xcconfig files. Make sure that your use of -fobjc-arc / -fobjc-gc-only is consistent.

Joar


On 16 apr 2014, at 12:18, Rick Mann <email@hidden> wrote:

> Converted to ARC, now get clang: error: cannot specify both '-fobjc-arc' and '-fobjc-gc-only' when compiling the PCH.
>
> If I close and re-open the project, Xcode offers again to convert it.
>
> If I try to convert it, it warns that it's already using ARC, then says it found errors and shows the error above.
>
> 5.1.1 OS X target.
>
>
>
> --
> Rick
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Re: XCode 5.1.1 and App Store Woes
  • Next by Date: Bison disables breakpoints?
  • Previous by thread: Browse svn repository
  • Next by thread: Bison disables breakpoints?
  • Index(es):
    • Date
    • Thread