- Home /
iOS Project Upgrade
Is there a way to upgrade unity without having to remake the Xcode project? It seems that every time I upgrade unity, I have to completely remake my Xcode project. That is - I have to re-add my custom changes like icon, flags, custom libraries, etc.
Answer by mattssonon · Oct 30, 2013 at 10:50 AM
Nope. You're forced to replace your built project if that project was built using an older Unity version. At work we are working around this using a remote git repository containing all the custom Xcode files and configurations. When upgrading Unity and building a new Xcode project I initialize a git repository inside the new project and pull down the custom stuff from its remote repo on GitHub.
Oh that is awesome. Could you elaborate on that or point me towards the right direction with some links?
Well, git has quite a high learning curve, but this is our workflow:
Create a repo at github.com
Init a local repo in the Xcode project using
git init
Add the github remote using
git remote add origin URL_TO_GITHUB_REPO.git
Put everything but the custom files into
.gitignore
so they won't be pushed to the remote repoNow you can use
git add
to add files to tracking,git commit
to commit files andgit push
to push them to the github repo
Your answer
Follow this Question
Related Questions
Xcode error after upgrading Unity project from 2019.2.0 to 2019.3.11 0 Answers
BuildPlayer and Plugins on Ios 1 Answer
Unobtrusively extending AppController delegates. Possible? 2 Answers
Can I modify codes using Xcode after creating the app using Unity3d? 1 Answer
Unity 4.0 vs 4.1.5 iOS Build 0 Answers