-[Not A Type retain]: message sent to deallocated instance
I have converted my app to use ARC. Before I had the following line of code: NSArray *colors = [NSArray arrayWithObjects:startColor, endColor, nil]; Since the implicit conversion of a non-Objective-C pointer type to 'id' is disallowed with ARC, I rewrote the line like this: NSArray *colors = [NSArray arrayWithObjects:(__bridge id)startColor, (__bridge id)endColor, nil]; Everything works fine on the simulator, however on the device the app crashes on the mentioned line with the error message: -[Not A Type retain]: message sent to deallocated instance Any ideas how to solve it? Brad Larson This