Reputation: 118
I am having trouble accessing classes from the main app in my widget extension.
I have tried selecting widget in target membership of the class I want to access, but for some reason I get a lot of Undefined errors from widget. I want to share API classes and Models. The error occurs exactly when I share API classes, and not when I share models only. I have no idea what's wrong:(
Upvotes: 0
Views: 671
Reputation: 711
The errors is telling you that some part of the class you are using are including libraries that are written in C++. To fix it:
See screen shot below:
Upvotes: 1