I'm testing a Today widget on the Mac for a Mac OS X app and constantly seeing a 'Couldn't open Widget' error appear when the Widget Simulator launches. The today widget does not appear in the System Preferences Extension listing either when I copy my debug version of the app tp /Applications (as by debug copy is also used as n Adhoc copy for beta testing).
Please advise! I just see a "Failed to find Widget path/to/exteions.appex). I don't get it, how do I test my widgets?
Okay finally found the problem. I was codesigning my app by hand (which had never been a problem before) since I had an intricate set of frameworks the app relied upon, and needed to hand copy them using a Copy / Runscript post-build script. Any way, it seems starting Xcode 7 at least, this no longer works as expected. The app works and codesign says the app has been signed correctly, but clearly something is happening behind the scenes that's breaking the codesignature. I ended up removing all my manual codesigning stuff and simply using Xcode's 'Copy Framework' post build step and checked 'Sign on Copy'. It's now finally working as expected.