xcode release状态下自动屏蔽assert

Xcode does not add NS_BLOCK_ASSERTIONS for release mode automatically.

To add it, go to Project | Edit Project Settings. You need to be on the Build tab and choose Configuration Release. Add a new Preprocessing Macro of NS_BLOCK_ASSERTIONS.

posted on 2010-11-11 16:02  fairycao  阅读(825)  评论(0编辑  收藏  举报