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

c# - passing input text from view to contoller with FacebookContext using Facebook app -

ios - Does Core Data autoupdate a many to many relationship on saving -

Calling a C++ function from C# by passing a string with variable size to it -