UE4 error deploying to iOS
Howdy, MGSA!
I was hoping someone here could maybe help me with an issue I'm having. I know UE4 isn't particularly popular around these parts, but I thought I'd give it a shot anyway. I'm trying to deploy my game to iOS (just for testing), but when I do, I get this error:
LogPlayLevel: ERROR: System.FormatException: Input string was not in a correct format.
My mobile provision is green and valid and my certificate is valid too. I'm currently on 4.18.3 and It's a Blueprint-only project. Of course, I've profusely googled the issue, but alas, no answers (or, so many answers, non of which helped solve the issue).
If anybody has any experience with this issue, I would really appreciate some help. I'm super desperate as I can't continue development without knowing if my game would run on iPhone.
Thanks in advance! ♥
I was hoping someone here could maybe help me with an issue I'm having. I know UE4 isn't particularly popular around these parts, but I thought I'd give it a shot anyway. I'm trying to deploy my game to iOS (just for testing), but when I do, I get this error:
LogPlayLevel: ERROR: System.FormatException: Input string was not in a correct format.
My mobile provision is green and valid and my certificate is valid too. I'm currently on 4.18.3 and It's a Blueprint-only project. Of course, I've profusely googled the issue, but alas, no answers (or, so many answers, non of which helped solve the issue).
If anybody has any experience with this issue, I would really appreciate some help. I'm super desperate as I can't continue development without knowing if my game would run on iPhone.
Thanks in advance! ♥
Comments
https://pastebin.com/embed_js/pS4mZQBM
Going out on a limb here, but from my iOS work I know that Single.Parse uses the current culture of the build device to parse the strings.
In your project, do you specify the build version / app version anywhere?
If so, try changing full stops ('.') to comma's (',') in your version numbers.
For example, using the culture variant call (which I assume UE4 is using)
On iOS we generally use
https://pastebin.com/embed_js/S9Q7acG2 (Only the last 20 or so lines, as the full log was too big for Pastebin non-Pro)
I'm sorry if this is super nooby, but I'm an utter super noob. So as always, any help is very much appreciated!
So I'm not that experienced with UE4, but I know iOS pretty well.
So from this:
I see you are building on a Windows machine. To build anything for iOS, the code signing requires that the build actually happens on a Mac.
It looks like all that is wrong now is that you don't have a specified server (which would be the mac on which it will build the iOS bits)
Do you have a Mac on which you can build? Or at least know of a Mac server that you can specify for the build? I'm a little fuzzy on this part from the UE4 side of things.
Check out this for setting up iOS remote builds on Windows
https://docs.unrealengine.com/en-us/Platforms/iOS/Windows
But in my reading on the subject, I came across multiple people (including Epic staffers) mentioning that you can build to iOS from PC (without a remote Mac) under these very specific circumstances:
- The project is Blueprint ONLY (which mine is)
- You don't use any plugins (which I don't, sort of*)
* So I don't have any plugins installed that didn't come with UE4. But yesterday, I tried a build of an empty, example project, as supplied by Epic. That also failed. So I went through the list of plugins that are installed and disabled literally all of them. Tried to build again and I at least got a different error (yay?) , but the build still failed. So next thing I'm going to try is to remove plugins one-by-one to see if there's a sweet spot where it'll still build, but not need a Mac to do it.
Failing that, can anyone suggest a remote-Mac service I should use? Of course, I'd prefer some sort of free service, but I know that's a long shot. I've already dumped the R1300 into the stupid Apple developer program, I'd hate to possibly waste more money.
Getting a mac server as a service tends to be very expensive.
These guys ( https://www.macstadium.com/ ) offer a free trial, but I've never heard of them before.
While I've used these guys before ( https://portal.macincloud.com/select/#/plans ) and they have a $1 / hour pay as you go option.
What I could do is build it for you (I have access to a Mac) but I would understand if you're skittish to throw your projects around.
Let me know and we can set something up
So after trying many, many other things (including downloading lower versions of the engine), I've had no success. I do believe it is an Unreal Engine issue, as I've seen people say they were still able to deploy their games until quite recently (like, 2 or 3 months ago). So I'm just totally pooped there.
Thank you for the offer, @TheCorinthian. I would actually really like to take you up on that. This is my first game (at least, the first that I've gotten this far), so I don't expect it revolutionize the gaming industry :P Hence, not that precious about it. If I could just have one build to see if it works on iPhone AT ALL, I can then justify getting one of these services or try to find a second-hand Mac Mini or something like that for further development.
How would I go about 'packaging' the project to hand over to you? Just a zip of the folder? I'm also assuming I'd have to include my mobile provision and certificate thingy.
Thanks again for the help ♥
I've sent you a PM with my email address.
Drop me a mail and we can make arrangements