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.

error image 1

I have read the following answers.

but DNS_BLOCK_ASSERTIONS = 1

Enter image details here

Look at the code. Lines:

  #if! NS_BLOCK_ASSERTIONS #Terror & lt; Error message & gt; #endif   

Checks to see if the 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.

Once you define NS_BLOCK_ASSERTIONS in the "Other C Flag" building settings, the problems will go away.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -