How can I sign a release iphone binary provided by a 3rd party?

折月煮酒 提交于 2019-12-04 16:09:17

After you have a distribution certificate created and installed, you can codesign from the Terminal like so:

cd <path to folder containing YourApp.app>

/usr/bin/codesign -f -s "iPhone Distribution: Your Company Name" --resource-rules=<full_path_to>/YourApp.app/ResourceRules.plist <full_path_to>/YourApp.app

This is what Xcode does when it signs an app.

You've paid for an application to be developed, but you didn't get the source code in the deal?

I'd conservatively assume that the application is malware and abandon it. I'd certainly not sign it with my credentials without at least auditing the binary.

How do you expect to handle bug fixes/updates?

Create a distribution certificate from your developer program and install it in your system. Now make an app store provision profile and use that to code sign the project.

You can make the app store binary same as how you make the adhoc binary. You don't need the entitlements.plist though.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!