FAQ
Q: What should I do if SDK initialization fails?
A: Check the following:
- Verify the appKey is correct
- Check network connectivity
- Confirm the target language code is valid
- Review the error message in the initialization callback
- Ensure
-ObjCis added toOther Linker Flags
Q: getStringWithCode returns an empty string?
A: Possible causes:
- The string ID does not exist or is misspelled
- Translation files for the target language have not been published
- SDK initialization has not completed yet
- Use the method with a default value to avoid displaying empty content
Q: Language switch doesn't take effect?
A: Language switching is asynchronous. Make sure:
- Wait for the initialization callback to succeed before using the new language
- Verify the language code is correct
- Confirm translation files for the target language have been published
Q: Getting unrecognized selector sent to instance exception at runtime?
A: This is because Other Linker Flags is not properly configured. Make sure:
- Add
-ObjCtoBuild Settings→Other Linker Flags - Rebuild the project
Q: Which iOS versions does the SDK support?
A: The SDK supports iOS 9.0 and above.
Q: Build fails after integrating the Framework?
A: Check the following:
- Verify the Framework architecture matches your target (device/simulator)
- Confirm the
Embedded Contentsetting is correct (static libraries should be set toDo Not Embed) - Check for missing dependency libraries (e.g.,
libsqlite3.tbd)