Search code examples
objective-cuitableviewios8xcode6ios-app-extension

Failed to load today extension on device


iOS8. Today's extension. Trying to create simple table view with few rows (2-5). Runs fine in Simulator. Memory usage after tableView is loaded and shown ~30M according to Xcode profiler.

When running same extension on iPhone 5S with the latest beta drop (5) - tableView would appear and immediately disappear from the screen. Console log in Xcode shows lots of "memory warning" messages. After couple attempts to load extension panel would just display "Failed to load".

Any ideas what's going on here?


Solution

  • The memory pressure I was experiencing on the device was due to using custom fonts. I had one otf font that I was embedding inside the widget binary (file size 136k btw), and that along was adding ~10M to the memory footprint. After removing custom font - everything is fine.