XCode not compiling project - code signing error

I’ve been using UE4 working on an existing project I got from a git repo. I had no problem just using the unreal compiler inside of unreal until some of the headers were changed and now I need to compile in xcode.

When I try to compile I got the error:

Code Sign error: No matching codesigning identity found: No codesigning identities (i.e. certificate and private key pairs) matching “iPhone Developer” were found. CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.1'

I searched around and found a suggestion to turn off all code signing in my build settings. This got rid of the first error but I still have the second one:

CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 7.1'

I don’t have a developer account with apple and I’m a student doing this for a uni project so I don’t really have the need/afford to pay for one.

Don’t know if its relevant but the other two people working on it were working on windows.

The way I fixed it was by setting Xcode to “Projectname - Mac” instead of “Projectname - IOS”. Don’t know if it’ll work for you but it’s worth a try.