常见错误
Ta的回复 :iOS Easy版本Demo程序,创建的试用应用,并在AppDelegate.m中修改了APP ID和APP Key,Secret Key未填(试用应用无Secret Key),同时在内容平台以SLAM空模板创建了内容应用,且已上线,将AR Key填到了ViewController.m指定位置,并注释了其他未用的功能,运行程序即崩溃,错误如下: 2018-08-16 11:04:27.601607+0800 BDARClientSample[3358:862620] [DYMTLInitPlatform] platform initialization successful 2018-08-16 11:04:27.796186+0800 BDARClientSample[3358:862586] -[BARRouter voice_setApiKey:withSecretKey:withAppID:]: unrecognized selector sent to instance 0x1c400c9f0 2018-08-16 11:04:27.796374+0800 BDARClientSample[3358:862586] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[BARRouter voice_setApiKey:withSecretKey:withAppID:]: unrecognized selector sent to instance 0x1c400c9f0' *** First throw call stack: (0x184efad8c 0x1840b45ec 0x184f08098 0x184f005c8 0x184de641c 0x1032eeab8 0x1033467ac 0x102fe6c74 0x18eb09dbc 0x18eb091c4 0x18ead65e0 0x18f106b1c 0x18ead5dd0 0x18ead5c6c 0x18ead4afc 0x18f76a84c 0x18ead41ec 0x18f54fac8 0x18f69dbf8 0x18ead3c0c 0x18ead35a8 0x18ead05e0 0x18ead0330 0x1876fc470 0x187704d6c 0x10394d19c 0x1039597cc 0x187730878 0x18773051c 0x187730ab8 0x184ea3404 0x184ea2c2c 0x184ea079c 0x184dc0da8 0x186da6020 0x18ede0758 0x102fc2188 0x184851fc0) libc++abi.dylib: terminating with uncaught exception of type NSException 请问这是为什么?在项目中搜索 BARRouter voice_setApiKey:withSecretKey:withAppID 并搜不到。