Relevant Shortcut (INRelevantShortcut) on watch face, crashes watchos

Hi,


Developed custom intent which logs data into the app. When launch iphone app, it creates relevant shortcut and force syncing from developer settings in iPhone, it also shows on watch face gallery.


Custom intent works fine in iPhone, but facing some problem on watch. When tap on that shortcut on watch face, it shows confirmation window and tapping on add button, it also logs data but the problem is it keeps spinning and application crashes.


Tried all the ways, but still no luck. If uncheck background execution for intent, it properly opens watch app, but it does not execute intent in background properly.


Let us know if you are facing any such issue and if any solution for same.


Thanks

Hiren

If you have any WKInterfaceTable on the main interface of your watch app, we had a similar problem.

It seemed that inserting rows to WKInterfaceTable was cause of the crash.

The issue has been fixed in current watchOS 5 beta 6.

Relevant Shortcut (INRelevantShortcut) on watch face, crashes watchos
 
 
Q