Mike's Log: Week 13
- Mike Toronto
- Jun 4, 2017
- 2 min read
So far everything is cleaned up and ready to go. We decided that we needed to get the IOS build going, I did the build from my PC and ported it over to xcode to build to my phone, when I did that I kept on getting these build errors and I couldn’t build it at all. I don’t know much about xcode and there aren’t many that do know about it. The biggest issue with deploying to IOS is the time it takes to do a build, I have to switch platforms in Unity from android or web to IOS that takes a while, then to do they build that also takes long time. Then I have to put it onto a flash drive that also takes a long time because these computers we get don’t have USB 3.0. once I get it over to the computer with xcode I have to make the project compatible with the xcode and the specific phone then I have to do the build, then I have to push it onto the phone. So doing a test build for the iphone takes about a half a day.
The issue that I had was that the project wouldn’t do a build at all and I couldn’t figure out why, googled the error, however I kept on getting generic xcode issues, that could range from a million problems, after searching through a million forums I found that my project was having linker errors, I couldn’t figure out why since my project was built in Unity. After going through a million more forums I found out that the issue was in me. Normally I would need to open the .xcodeproj and it would be fine, however that is not the case anymore, because we are using google cardboard the project also includes another .xcodeproj for that support. Xcode cant recognize it right away. The file I needed to open was Unity-iPhone.xcworkspace, that contains all the files combined. Because I am not familiar with xcode I didn’t know how it worked.
I eventually got the project to build, and I was able to push it to the iphone. The problem I am having now is that the game crashes when I switch scenes. Im not sure exactly what is causing this problem however I am continuously working to fix this issue, so far from what I believe is causing the crash might be something with memory leaks, however I don’t really know why IOS is getting this problem and not for android. This does require a lot more research.
I was able to talk to Joe Del Rocco one of the instructors about IOS stuff, and he mentioned that we could get Unity on the apple computer in the studio so I could do some work on there so I could save a bunch on time trying to fix a problem and then pushing to the iphone to see if I get any new results.
Michael Toronto
Comments