How to build a release version of an iOS framework in Xcode?

后端 未结 4 1749
离开以前
离开以前 2021-01-31 09:05

Let\'s say I do the following:

  1. Open Xcode 7
  2. File | New | Project | Cocoa Touch Framework
  3. Create \"TestFramework\" with the Swift language
4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-31 09:37

    This works for me:

    Select your framework target then click Product -> Archive. If organizer window does not pop up after successful build of your framework then go to "Build Settings" of your framework target, look for the option "Skip Install" and change it to "No" (and after that Archive again).

提交回复
热议问题