Re: Xcode 4.6 breaks ARC on Snow Leopard
Re: Xcode 4.6 breaks ARC on Snow Leopard
- Subject: Re: Xcode 4.6 breaks ARC on Snow Leopard
- From: Thomas Clement <email@hidden>
- Date: Tue, 29 Jan 2013 17:38:03 +0100
Exactly. Build this for archiving (so that you get compiler optimizations) and the app will crash at launch.
Thomas
On 29 janv. 2013, at 17:29, Michael Tsai <email@hidden> wrote:
> It crashes using the standard Cocoa app stationary with ARC and deployment target set to 10.6:
>
> @implementation AppDelegate
>
> - (void)applicationDidFinishLaunching:(NSNotification *)aNotification
> {
> NSMutableArray *a = [NSMutableArray array];
> [a addObject:@"a"];
> NSLog(@"%@", a);
> }
>
> @end
>
> --Michael
>
>
> On Jan 29, 2013, at 11:13 AM, Dave Zarzycki <email@hidden> wrote:
>
>> Thomas — Have you reduced this to a test case? Can you please share the backtrace/crash-report? It would help a lot. Thanks! — DaveZ
>>
>>
>> On Jan 29, 2013, at 8:02 AM, Thomas Clement <email@hidden> wrote:
>>
>>> Just so you know, Xcode 4.6 breaks ARC compatibility with Snow Leopard.
>>> Built apps crash at launch unless compiler optimizations are turned off (-O0).
>>>
>>> :-(
>>>
>>> Thomas
>>> _______________________________________________
>>> 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
>
>
> _______________________________________________
> 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