添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

I'm trying to resign ios app with watch app. As usual, I delete _CodeSignature folder, run codesign with provisioning, certificate, and entitlements. It completes without error which is expected. Bud during installation from Xcode I receive the following errors:

Executable stub at ... watch.app/_WatchKitStub/WK not signed by Apple
The WatchKit 2.0 app being installed contains an invalid application executable.

Near the _CodeSignature folder there is _WatchKitStub with the only file WK there. What is the purpose of this file? Should I also resign it?

Hey @Alexei are you able to run the watchOS app after resigned? How did you connect to the watchOS device through the command line? – Nik Oct 20, 2020 at 5:20 Hi @Nik. You just need to install the app on your iPhone with a connected watch. This could be done via xcode. That should work – Alexei Malashkevich Oct 20, 2020 at 14:40 Is there a way if we could launch the app on the watch device through the terminal or through the ios host app? – Nik Oct 23, 2020 at 9:47

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.