Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Simple iPhone App (iOS7) Creating a Data Collection Randomization

Compiler can't find CFBundle

"Cannot find executable for CFBundle 0x8e63b50 </Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/System/Library/AccessibilityBundles/CertUIFramework.axbundle> (not loaded)"

The app crashes when the "predict" button is pressed. Ideas?

1 Answer

Hmmm, it looks like I resolved the problem by hardcoding the array length. My current code now looks like this:

self.predictionLabel.text = [self.predictions objectAtIndex:(arc4random_uniform(3))];