Thank you so much for your response.
I tried including with no luck. I noticed that in Cocos2d project in xCode arc4random is part of stdlib.h. I tried including that as well, since I did not see it in the file. neither of them did not work. I am hoping to use rand() to resolve this. if there is further solution, I can look into it as well.
Thank you again!