简体   繁体   English

使用Git跟踪单独的iPhone和iPad应用

[英]Tracking Separate iPhone and iPad apps using Git

I'm hoping that someone has some workflow tips on tracking separate but very (90%) similar iphone and iPad projects using Git. 我希望有人在使用Git跟踪单独但非常(90%)相似的iphone和iPad项目方面有一些工作流程提示。

We are porting our iPad app to iPhone and are looking for a strategy that will allow us to keep most bug fixes and new features synced between the two builds, while allowing us to also keep the .nib and certain classes separate in both branches. 我们正在将iPad应用程序移植到iPhone,并正在寻找一种战略,该战略将使我们能够在两个版本之间保持大多数错误修复和新功能的同步,同时还可以使.nib和某些类在两个分支中保持独立。 I'm very comfortable with Git, but don't have any experience maintaining more than one "master" branch. 我对Git感到非常满意,但没有任何经验来维护多个“ master”分支。

My initial thought is to track 3 branches master, iphone and ipad. 我最初的想法是跟踪3个分支母版,iphone和ipad。

Any advice would be appreciated. 任何意见,将不胜感激。

Just make one project with two different targets in XCode. 只需在XCode中创建一个具有两个不同目标的项目即可。 Couldn't be easier. 再简单不过了。

Something to consider, as a business strategy it is far easier handling one universal app (the same app works on Pad and Fone, as different as you wish on each - but there is only one app for sale). 需要考虑的是,作为一种商业策略,处理一个通用应用程序要容易得多(同一应用程序在Pad和Fone上工作,并且您希望每个应用程序都不同-但只有一个应用程序在出售)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM