Use of undeclared identifier: ASIdentifierManager Use of undeclared identifier: ASIdentifierManager ios ios

Use of undeclared identifier: ASIdentifierManager


Have you imported headers from the framework?

#import <AdSupport/ASIdentifierManager.h>


Thanks for your answer! if it is a framework add the beginning path. The example that repaired my error was:

#import "CoreMotion/CMMotionActivityManager.h"

I was incorrect as I only added the .h file.

#import "CMMotionActivityManger.h"  ---  This was incorrect and generated an error.