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
.