I used sharpie pod to try to bind MarketingCloudSDK, similar to this. It seems to work on the Emulator, although I do get an error that looks like it might be related to the SDK. So I wanted to try it on actual iPhone.
However when I try to run it on the iPhone I get this:
Objective-C exception thrown. Name: NSInvalidArgumentException Reason: Cannot create an NSPersistentStoreCoordinator with a nil model
I've seen this discussion.
With a really long stack trace. It looks like it may be related linking frameworks. The
linkwith.cs file was not created when I added the fat file to the project. But it looks like I can do this on the properties of the file.
How do I know which frameworks should be linked?