Having trouble with our SDKs? This guide covers common issues and solutions. Go through each topic and see if it matches your issue. If you went through this guide and you're still having problems, reach out to us in any of the following channels:
Using the Intercom Messenger on the Unflow dashboard
Make sure that you're using the latest version of the Unflow SDK, and have installed the SDK according to our guides. We update our SDKs very often. If you run into an issue with our SDK, it might already have been fixed in an update.
Clean derived data: in Xcode, go to Product -> Clean Build Data.
Make sure Swift support is enabled in the project: Check that Swift Language Version is defined as at least "Swift 5" in Build Settings for your target.
Make sure that the deployment target is set correctly: it should be set to 11.0 or newer.
If you're using CocoaPods:
Make sure you're using the latest version of CocoaPods. You can see your version by running pod --version, and find the latest version here.
Re-install pods: run pod deintegrate and then pod install, then try running / archiving the project again.
Make sure that the deployment target is set correctly: it should be set to 11.0 or newer. The requirements might be higher if you're using other frameworks, such as React Native. You should check this value both in the Podfile, and by going into the Project settings, then select the target, and look for the value in the general tab.
Check the Swift version: Check that the value for SWIFT_VERSION isn't overridden by the Podfile.
Enable Swift support: If you're getting errors when compiling Swift files after this, try adding a single, empty Swift file to the project.
Android
Make sure your app meets the Minimum Requirements for the minimumSdkVersion and compileSdkVersion
Ensure the activity in your manifest file has the android:exported flag set to true
React Native
Upgrade to the latest version of unflow-react-native
Upgrade to the latest version of React Native
Follow the troubleshooting steps for iOS
If you receive an error when trying to run pod install that says `The Swift pod unflow-react-native depends upon React-Core, which does not define modules` it means that your version of React Native did not natively support Swift. There are two resolutions:
You can upgrade to a version of React Native >=0.63.4
Add pod 'React-Core', :path => '../node_modules/react-native/', :modular_headers => true to your Podfile