ios - Error : Define -DNS_BLOCK_ASSERTIONS=1 in Project settings? -
I am trying to create a svg file rendering demo. I am getting the following error that I can not understand.
I have read the following answers.
but Look at the code. Lines: Checks to see if the Once you define
#if! NS_BLOCK_ASSERTIONS #Terror & lt; Error message & gt; #endif
NS_BLOCK_ASSERTIONS macro is defined or not You are getting the error because
NS_BLOCK_ASSERTIONS has not been set. The message after
#error is telling you how to fix the problem.
NS_BLOCK_ASSERTIONS in the "Other C Flag" building settings, the problems will go away.
Comments
Post a Comment