Build fails with "cannot find interface declaration for NSManagedObject" for MoPub framework



I am using Fabric to add mopub framework to application.
In my application uses the coredata as database.
Mopub framework successfully added but when I try to build application its gives error to NSMangedObject .

Like below. MusicPlayer is my data model

> MusicPlayer.m:11:17: Class 'MusicPlayer' defined without specifying a base class
> /MusicPlayer.m:11:17: Cannot find interface declaration for 'MusicPlayer'

When i remove mopub framework it will build and run successfully.
It gives error when i add mopub framework and build.
Help me for that.
Thanks in advance.