简体   繁体   中英

NSLog shows the error “expression result unused” and not working. iphone?

i am simply trying to NSLog something on xcode and it gives the error "Expression result unused" , i cant print anything using NSLog. actually i changed the Build configuration in edit scheme to Debug. i dont know what is actually the error?

need some help

I had similar status. My reason was next code.
#define NSLog
Please check there is any redefinition of NSLog.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM