xcode - Building for the simulator works, but fails for a device -


I've added 16,000 words in my NSArray and now when I work for the simulator But for a device - both the iPhone and the iPad - this gives me this error:

Apple LVVM compiler 3.1 error command / application / xcode.app / content / developer / toolchains / xcodedefault .xctoolchain /

Can anyone explain to me why this is and how to solve it?

There is something different between two builds - you should know what it is.

Note that this is a compilation error, not a runtime error. In other words, it is not that something is going wrong during the execution of your program; It is such that the compiler can not even make your app even in the first place.

Are you specifying the entire array in a method such as:

  foo = [NSArray arrayWithObjects: Obj1, obj2, obj3, ..., obj16000, zero ]; `  

Do not do this, you are giving a headache to the poor compiler. Rather than read your data with a file or something

Comments