How can I fix this error: 'implicit declaration of function 'nslog' is invalid at C99'. please tell something about this error why this is occuring.
Asked
Active
Viewed 1.2k times
2 Answers
24
Upper/lower case is important in Objective-C, so the correct use is not nslog
but NSLog
.

Joachim Isaksson
- 176,943
- 25
- 281
- 294
5
It may be because you haven’t added the foundation framework to your project.
Right click on your top level project folder, click Add -> Exisiting Frameworks and add ‘Foundation Framework’ from the list.

Abha
- 1,032
- 1
- 13
- 36