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! While you're at it, check out some resources Treehouse students have shared here.

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

Xcode Won't Build

Everything has been working OK to this point, until I added more data to my arrays (for a project combining the simple iPhone app and the categorical project with multiple view controllers). The project was building and running fine, until I added new data to the arrays (not sure if it's related), and now the status bar is forever "indexing" and any attempt to build gets hung up in step 2 or 3. I opened other projects like the simple iPhone app and these are now hung up in the build process as well. Any advice?

So after shortening the arrays, it stopped the build hang up, but indexing is still going on for a long time. WTH though...Is there a rule about how many literals can be in an array? How much is too much? Seems very limiting.

Nathan Bivens
Nathan Bivens
14,460 Points

I am having the same problem. I have even tried to go back to a previous version of Xcode (6.1) to see if it was a bug in an update. Nope. Still indexing. I am throwing a lot in my arrays, but I feel as if Xcode should handle it.

Eager to see if you have had any luck fixing the problem, Brian.

1 Answer

Initially, reducing the array size cleared up the build issue...I ended up seeing an update to Xcode that resolves this type of issue and after the update it's working, and much faster.