1) Failed to run an app with this SDK version on a mobile device that had an app installed with a previous SDK version. I changed the SDK version in the application several times to be sure. With SDK 4.13, the application started normally, with 4.14 TRIAL gave a critical error and closed.
SDK 4.13 log:
2020-12-11 16:33:20.701494+0300 app name[606:77717] Metal API Validation Enabled 2020-12-11 16:33:21.007889+0300 app name 606:77487] [Client] {"msg":"#NullIsland Either the latitude or longitude was exactly 0! That's highly unlikely", "latIsZero":0, "lonIsZero":0} 2020-12-11 16:33:21.008940+0300 app name 606:77487] [Client] {"msg":"#NullIsland Received a latitude or longitude from getLocationForBundleID that was exactly zero", "latIsZero":0, "lonIsZero":0, "location":{"floor":2147483647,"lifespan":-1,"rawLat":0,"integrity":0,"referenceFrame":"Unknown","lon":0,"speed":-1,"type":"Unknown","altitude":0,"rawCourse":-1,"confidence":0,"suitability":{"type":"decode failure","raw value":57184104,"expected type":"CLClientLocationSuitability"},"timestamp":-1,"rawReferenceFrame":"Unknown","lat":4.9406564584124654e-324,"verticalAccuracy":-1,"rawLon":0,"horizontalAccuracy":-1,"speedAccuracy":-1,"courseAccuracy":-1,"course":-1}} 2020-12-11 16:33:21.037436+0300 app name[606:77487] IAPDHasLaunched: kIAPAvailableNotification iapdAvailableState 0 -> 0 2020-12-11 16:33:21.037655+0300 app name[606:77487] IAP2DHasLaunched: kIAP2AvailableNotification iap2dAvailableState 0 -> 0 2020-12-11 16:33:21.038085+0300 app name[606:77487] -[EAAccessoryManager _initFromSingletonCreationMethod] isRunningOnMac 2020-12-11 16:33:21.061653+0300 app name[606:77487] On: 956 RegisteredForLocalNotifications Count: 1 2020-12-11 16:33:21.111843+0300 app name[606:77487] registerAppSuccess
SDK 4.14 TRIAL log:
2020-12-11 15:52:16.849361+0300 app name [586:70379] Metal API Validation Enabled 2020-12-11 15:52:17.185868+0300 app name 586:70170] [Client] {"msg":"#NullIsland Either the latitude or longitude was exactly 0! That's highly unlikely", "latIsZero":0, "lonIsZero":0} 2020-12-11 15:52:17.186529+0300 app name[586:70170] [Client] {"msg":"#NullIsland Received a latitude or longitude from getLocationForBundleID that was exactly zero", "latIsZero":0, "lonIsZero":0, "location":{"floor":2147483647,"lifespan":-1,"rawLat":0,"integrity":0,"referenceFrame":"Unknown","lon":0,"speed":-1,"type":"Unknown","altitude":0,"rawCourse":-1,"confidence":0,"suitability":{"type":"decode failure","raw value":713756760,"expected type":"CLClientLocationSuitability"},"timestamp":-1,"rawReferenceFrame":"Unknown","lat":4.9406564584124654e-324,"verticalAccuracy":-1,"rawLon":0,"horizontalAccuracy":-1,"speedAccuracy":-1,"courseAccuracy":-1,"course":-1}} 2020-12-11 15:52:17.228076+0300 app name[586:70170] IAPDHasLaunched: kIAPAvailableNotification iapdAvailableState 0 -> 0 2020-12-11 15:52:17.228289+0300 app name[586:70170] IAP2DHasLaunched: kIAP2AvailableNotification iap2dAvailableState 0 -> 0 2020-12-11 15:52:17.228663+0300 app name[586:70170] -[EAAccessoryManager _initFromSingletonCreationMethod] isRunningOnMac 2020-12-11 15:52:17.258242+0300 app name[586:70170] On: 956 RegisteredForLocalNotifications Count: 1 2020-12-11 15:52:17.386193+0300 app name 586:70170] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[_NSPlaceholderData initWithBase64EncodedDataptions:]: nil data argument' *** First throw call stack: (0x1928e79d4 0x1a6298b54 0x193b2bef0 0x101020314 0x10079acd4 0x10079a92c 0x1009227a0 0x10079a7a4 0x1002df208 0x193bc1800 0x1928683d0 0x192867fd4 0x1928674b4 0x192861840 0x192860b90 0x1a8b83598 0x19514a638 0x19514fbb8 0x10035fba4 0x19253f588) libc++abi.dylib: terminating with uncaught exception of type NSException *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[_NSPlaceholderData initWithBase64EncodedDataptions:]: nil data argument' terminating with uncaught exception of type NSException
Only complete removal of the application with reinstallation helped. That, as you understand, is not an option, since the application stores various necessary information.
2) After connecting the Mavic Air 2 remote control and launching the application, nothing happens, that is, the method
- (void)productConnectedDJIBaseProduct *)product{
}
does not react in any way. The SDK responds normally when connecting a remote control from the Phantom 4 Pro.
3) Maybe I have forgotten how to program or I don’t know something?)
|