开发者

Xcode Instruments: Build to Profile hangs for large source code files

I am working on a iPhone app where I need to initialize large arrays. I use NSMUtuableArrays and all works fine when compiling normally. However, it takes forever to compile to iPhone compared to simulator. There is one particular file which 开发者_Go百科has about 50-60k line.

Anyway, I also need to profile the memory and I always used Instruments in Xcode doing:

"Product" ->"build for profiling"

While I cannot get it to run on the iPhone at all, starting Instruments with this app even on the simulator in most cases it just hangs - even overnight.

Is there a better way to use Instruments or to handle such large source code files?

Many thanks

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜