Is it possible to have both an iOS app and Mac app in the same project?

后端 未结 2 2164
一生所求
一生所求 2021-02-20 05:54

As the title says, I\'m wondering if it\'s possible and reasonable to have both an iOS app and Mac app in the same project. That is, an Xcode project that has a Mac app target,

2条回答
  •  伪装坚强ぢ
    2021-02-20 06:12

    Yes, it is possible to have an iOS App and a Mac App under the same Xcode project.

    Managing builds and settings will be easier if both Apps are in a different project.

    But at the same time, it will be a lot easier to maintain and debug code, if both them are under the same project. For eg. when making changes to common API, it is faster if both apps compile under the same project to ensure that both Apps accept the common changes.

提交回复
热议问题