Xcode 5.1.1 error with Unity iPhone App

I built an iPhone application in Unity and got the Xcode project file on my Windows PC.

I moved my files to my friend’s Mac which has the Mavericks OS and Xcode 5.1.1.
I cannot use Xcode 6.

I’m using the latest IOSNative asset from the Asset Store, but I doubt that’s causing the problem
I keep getting a "use of undeclared identifier ‘UIUserNotificationSettings’ error
and other undeclared identifier errors

Is this some error about iOS 8? How do I bypass that if I’m using Xcode 5.1.1?

How do I fix this error. I looked everywhere and could not find a solution.
Please help.

Hello, I am the developer of the IOSNative plugin. Point is that you need to use XCode 6, since the plugin contains API that can be compiled only with XCode 6
However you can always contact the support team via stans.assest@gmail.com, we always trying to assist our customers with the solving any issues connected with our products.

Cheers!