search

Home  >  Q&A  >  body text

objective-c - 用xcode写的ios项目在换电脑时要如何迁移

以前用一台旧的mac开发过一个ios的app,在那台mac的xcode上配置好证书等环境,并已经在appstore上架了这个app。
最近新买了个mac,现在想在新mac上继续开发升级之前那个app,现在要如何把之前的项目迁移到新mac的xcode上?有没有做过这个的同学指点一下。

黄舟黄舟2772 days ago1204

reply all(5)I'll reply

  • 阿神

    阿神2017-04-17 17:43:22

    As long as the code is easy to understand, if there is no remote backup, just copy it. It is recommended to host the code on git.
    Other problem is the certificate issue, mainly the development certificate. You can export the certificate from the original drug key string and install it to the new one. Machine.
    You can also create a new development certificate directly.

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 17:43:22

    TimeMachine recovery.
    Or import the certificate again, if there is a backup of the certificate.

    reply
    0
  • 黄舟

    黄舟2017-04-17 17:43:22

    In fact, your new computer can be imported from the old computer. You can look at Time Machine, back up the computer, and choose to import from TimeMachine when initializing the new computer. If it is just a certificate or the like, you can use the account export function of Xcode. Or use the artifact: https://github.com/fastlane/fastlane/tree/master/match

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 17:43:22

    The developed app has nothing to do with the development tools (Xcode, Mac). They are just tools. You can just re-import the certificates needed for development. I hope it can help you.

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 17:43:22

    Get a new computer and reapply for the certificate, it’s more convenient

    reply
    0
  • Cancelreply