Making separate classes and use them in the InterfaceController class (WatchOS development)

I have tried to make a separate class for the location functionality (separate swift file in the Watchkit Exension folder) and I want to use the location instance of that class in the InterfaceController class to track the location of the user. But, xcode gets stuck and I also cannot deploy and test the application. I do not know what the reason is.

Here is the location code:

The whole project is here: https://filebin.net/s40xlqzeukfwc39w

I hope you can help me out since I am still a beginner in terms of Swift and WatchKit. Thank you very much.

@uniqueyung91 Do you still have issues with this?

This topic was automatically closed after 166 days. New replies are no longer allowed.