iOS
Bundle format unrecognized, invalid, or unsuitable
If you see an error similar to this:
Please follow the steps below:
Go to Xcode menu bar and select File > Project Settings (or Workspace Settings).
Under Per-User Workspace Settings, find the shortcut to DerivedData folder and open it via Finder.
Remove the entire content of the folder and empty the Trash.
Restart Xcode.
Select the workspace (or xcodeproj) file in Xcode project navigator.
Select your target and then Build Phases.
Under Link Binary with Libraries, select “+” and add the SENTSDK.framework file to the list.
Go to the General tab and make sure “SENTSDK.framework” is added with the Do Not Embed option.
Some Xcode projects with certain configuration combinations might require these additional steps below to successfully fix the issue:
Go to Xcode menu bar and select File > Project Settings (or Workspace Settings).
Go to Shared Workspace Settings > Build System and switch to Legacy Build System.
Go to Per-User Workspace Settings > Build System and switch to Legacy Build System.
Error: Undefined symbols for architecture arm64
If you see an error similar to this:
It means that framework is not included. Please check step 1 in the iOS Quick start or simply:
Go to your Project
Select your Target
Go to Build Phases
Open Link Binary With Libraries
Press + to Add the SENTSDK.framework (use Add Other button if needed)
Bundled model for XXX is incompatible
After updating the Sentiance SDK, if you see an error similar to this:
It means your build directory is not clean, and Xcode is merging old and new SDK bundle data. Clean your Xcode DerivedData directory to fix it.
Last updated