For your WatchKit Extension to be able to decode SFUserAccount objects, it needs to understand the SFUserAccount class. To enable this, it should be added to your WatchKit Extension.
- Click on your project name in the Project Navigator, at the top of the left column in Xcode. (Press Cmd-1 to show the Project Navigator if it is hidden.
- Click to highlight the name of your WatchKit Extension on the left of the main window, under 'Targets'. (NOTE: highlight your WatchKit Extension, not the WatchKit App.
- Select 'Build Phases' in the items across the top.
- Next to 'Compile Sources', use the disclosure triangle to view the section if it is not already visible.
- Click the '+' at the bottom of the section to add a new source.
- From the list, select the .m file for the Class you need to add (in this case, the SFUserAccount.m file).
- Click 'Add'.
- Build and run.