7

I'm developing a today extension and it works fine on simulator, but when I run my app on device it doesn't work. App works fine but extension it doesn't show so that I can add it to drop down with other extensions(like it doesn't exists). Can somebody please tell me what I'm doing wrong.

Thanks

Ankit Kapoor
  • 1,615
  • 12
  • 18
user67855
  • 101
  • 1
  • 3

1 Answers1

40

Check if extension deployment target is compatible with your device

Tuc3k
  • 1,032
  • 9
  • 12
  • 1
    Thank you, extension was 8.2 while device 8.1 – user67855 Jan 17 '15 at 18:14
  • 1
    Omh! They may at least add warning! The hosting app and extension has different deployment target and it silently skipped. Or at least make default target == hosting app current target... – Mike Keskinov Sep 22 '16 at 18:08
  • If you're using a FrameWork to share code with your app, also make sure the Framework Kit is targeting the right OS!!! Creating them at the same time will also cause the FrameWork to be the wrong target just like the extension was. – Ben987654 Mar 15 '17 at 01:52
  • EXACTLY! Extension deployment target must much Containing App deployment target in General pane in Project Settings – Michał Ziobro Mar 20 '18 at 09:14
  • 1
    In my case, the deployment target was right but it still wasn't showing up. I had to change devices from `Universal` to `iPhone` as that matches the devices supported by my main application – MikeG Mar 14 '19 at 20:54