Building to IOS

I’ve been trying for some days to build an alpha version of my game onto my phone. I have a mac with the latest versions of Xcode and unity ( not pro), both of which I updated recently to do this, I also haven’t enrolled in the Apple developer program so I’m using a ‘personal team’ and free account on Xcode.

After trying, and failing a tried building an example project supplied with Xcode and it did build to my phone. I also realised that the folders and documentations were set up differently to how my unity build, folders were set up.

I’ve been getting the errors: “Code signing is required for product type ‘Application’ in SDK ‘iOS 10.1’”,

" No profiles for’com.aCompanyName.TheNameOfMyGame’ were found: Xcode couldn’t find a provisioning profile matching ‘com.aCompanyName.TheNameOfMyGame’." - (not my actual bundle identifier I put down, I changed it for this pos, for privacy)

And “The ‘In-App Purchase’ feature is only available to users enrolled in Apple Developer Program. Please visit Apple Developer Program - Apple Developer to enroll.”

If anyone could help that would mean a lot, this has been giving me a headache.

You say I also haven’t enrolled in the Apple developer program

To build to iOS you need to Apple development licence and the Unity iOS add on …

Thats why you get Code signing is required for product type ‘Application’ in SDK 'iOS 10.1

Because you will get development certificates when enrolled in the Apple development scheme that you then download onto your Mac and iOS devices.

I don’t know what happened but when I updated unity with my previous build I didn’t update the APIs and I zipped the project to keep a version of it, today I opened it somewhere else so it kept the project name and updated the APIs then Xcode created a provisioning profile for me this time, so it works now. (I also disabled all the unity services). I guess you could say it was a (pre) Christmas miracle.

I might post a screenshot later.