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
.
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
.
转载于:https://www.cnblogs.com/fairycao/archive/2010/11/11/1874967.html