Search code examples
xcodeios8ios-app-extensionios8-today-widget

iOS Today View Not Running on Device


I have created my first Today View extension that just displaying some texted it retrieves from a shared NSUserDefaults. It works perfectly and is ready to be shipped based off of how it displays and works through simulator, but when I try to run it on my device nothing happens.

The widget shows up in notification center but it has no height. I run my main app from Xcode and it wont let me attach the debugger to it and none of my breakpoints, nslogs get hit.

I tried running the Today View target on device and I can't get the provisioning profiles to be accepted. I also tried attaching the process of the today view to the debugger with the full bundle ID and it never attaches no matter wether I open notification center or not.

Im very new with extensions and have searched a ton around for an answer to this but cant find anything that worked.

Any help would be greatly appreciated, thanks.


Solution

  • For anyone that may stumble upon this all I had was add arm64 to the list of acceptable architectures and it worked