Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS 8 Today widget does not appear when running the project

I have an app with 2 targets and added a today widget. When I run it it doesn't appear on the today notifications Edit/ in the "Do not include" section, where it normally appears the first time with my other apps. Any idea what could be going wrong? I get the entitlements missing warning for the extension but i get this for the ones that work too ( have tried adding one, doesn't help).

Also if i try attach it as a process under the debug menu, it does not appear there at all/

I have tried deleting app from simulator and resetting etc, I have tried with another app that has multiple targets as i thought this may be the problem but the other one works.

Anyone else have a similar experience or can suggest anything?

Edit 6 Oct 2014: I still haven't found a solution, but my project does not use arm64. Could this be the issue ? i have tried removing arm64 from other projects but I think Xcode 6 doesn't allow it so I can't test it, does anyone know if this is a possibility?

like image 776
ildsarria Avatar asked Sep 28 '14 10:09

ildsarria


1 Answers

In my case, the reason for the widget not being shown in the list of widget was a too high deployment target number. For the widget, I had 9.0. However, I downgraded my iPhone from 9.0 to 8.4 and forgot to change it for the widget.

After changing it to 8.4, the widget immediately appeared on the iPhone.

like image 117
vomako Avatar answered Oct 25 '22 13:10

vomako