Is it the empty array that's causing the crash? Does it still crash if the array has at least one object? -- Gary L. Wade http://www.garywade.com/
On 2/20/2013 8:33 AM, "Andy Lee" <ag...@mac.com> wrote: >If you upgraded to Xcode 4.6 and suddenly you've been seeing crashes when >deploying to Snow Leopard, you might want to go back to Xcode 4.5.2. > >In a nutshell, the following crashes on 10.6.8 when compiled with Apple >LLVM 4.2 with a deployment target of 10.6. > > NSArray *array = [[NSArray alloc] init]; > for (NSString *string in array) > { > return; > } > >I just filed rdar://13253340 and copied it to Open Radar: > ><http://openradar.appspot.com/radar?id=2749401> > >--Andy _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com