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

How can I add a seperate action listener to all 14 of my buttons at once that can determine player turn?(java) -

php - Sorting an multidimension array using usort fails -

Simple file compression in C -