How do I codesign a Swift app via the commandline?

后端 未结 5 1767
误落风尘
误落风尘 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:07

    codesign -f -s 'iPhone Distribution: My Company' Foo.app/Frameworks/*
    codesign -f -s 'iPhone Distribution: My Company' Foo.app --entitlements=$ENTITLEMENTS_PATH
    

    not the other way around, otherwise it will fail on installing

提交回复
热议问题