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

What should I do when the Integrated Intelligent Life SDK logs a nil argument error?

Last Updated on2025-02-27 10:22:45
The specific Xcode print error logs are as follows:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException',
reason: '*** -[__NSCFString stringByReplacingCharactersInRange:withString:]: nil argument'
*** First throw call stack:
(0x181cdfc800x199505ee40x1833871bc0x10511a5100x1051027400x1051010680x18199f0940x1819a00940x1819428580x18194fb940x18195039c0x1dd0f0dd40x1dd0f093c)
libc++abi: terminating with uncaught exception of type NSException
terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSCFString stringByReplacingCharactersInRange:withString:]: nil argument'
(lldb)
If your project is a Widget project, you need to refer to [Configure Widget Project] ,
and configure your project as: [ThingSmartSDK sharedInstance].appGroupId = APP_GROUP_NAME;

Click for services and help

Help Center