English
English
简体中文
Register
Log In
English
English
简体中文
Register
Log In
Language
English
English
简体中文
Register
Log In

How to handle the log prompt "t_cdc.tcfg not exist" in the Integrated Intelligent Life 5.0+ SDK?

Last Updated on2025-02-27 10:22:45
The specific Xcode output log is as follows:
*** Terminating app due to uncaught exception 'ThingSmartSDKException', reason: 'Domain config file not found!'
terminating with uncaught exception of type NSException
t_cdc.tcfg does not exist.
Your project does not include a domain configuration file. To use a custom domain name, please go to the Thing IoT Development Platform and download a domain configuration file.
read local domain config : (null)
*** Terminating app due to uncaught exception 'ThingSmartSDKException', reason: 'Domain config file not found!’
Reason: The Smart Life 5.0+ SDK was not correctly integrated.
Solution:
1. If you have already integrated an earlier version of the SDK, after updating to the 5.0 SDK, please delete the t_s.bmp safety image file in the project, and obtain the new 5.0 version AppKey, secretKey from the Tuya IoT Development Platform.
2. Refer to Integrating SDK in step 5 and step 6: Unzip ios_core_sdk.tar.gz to obtain the following two important file information:
  1. Build: Holds your app-specific security SDK, it's as important as the app key information, please keep it safe, prevent resource leaks or public exposure.
  2. ThingSmartCryption.podspec: Used for reference and integration with the 5.0 SDK.
(Recommended) Keep these two files at the same level as the podfile for easy referencing in subsequent operations.

Click for services and help

Help Center