Error: 'implicit declaration of' nslog 'function is invalid on C99'

How can I fix this error: "The implicit declaration of the function" nslog "is incorrect on C99". say something about this error, why is this happening.

+5
source share
2 answers

Upper / lower case is important in Objective-C, so proper use is not nslog, but nslog.

+16
source

Perhaps this is due to the fact that you did not add the framework to your project.

Right-click on the top-level project folder, click Add - Exisiting Framework, and add Foundation Foundation from the list.

+5
source

All Articles