Re: Converted to ARC, now get clang: error: cannot specify both '-fobjc-arc' and '-fobjc-gc-only'
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