How do I codesign a Swift app via the commandline?

后端 未结 5 1777
误落风尘
误落风尘 2020-12-25 15:01

I am attempting to run an enterprise signed build of my Swift app on a real phone running iOS 7.1.

If I create the enterprise signed app via the Xcode interface, the

5条回答
  •  情深已故
    2020-12-25 15:10

    The solution is not obvious but easy. Apple changed something in the code signing process for Swift:

    • Delete your distribution certificate and provisioning profile from your developer machine
    • Log into the developer portal
    • generate a new production certificate and distribution provisioning profil
    • Install both on your mac

    The error should be gone.

提交回复
热议问题