dji-sdk / Mobile-SDK-iOS

DJI Mobile SDK for iOS: http://developer.dji.com/mobile-sdk/
Other
578 stars 255 forks source link

New SDK 4.12 crashes in DJIFlightRecord #363

Closed pskow closed 4 years ago

pskow commented 4 years ago

Application crashes when trying connect to the product with DJISDKManager.startConnectionToProduct()

Drone: Mavic 2 Pro Here is the log:

WriterBuffer
File to write: /var/mobile/Containers/Data/Application/2EB661A8-DEC0-473B-B51E-6C5229CFB1E6/Documents/SDK_logs/FlightRecord/DJIFlightRecord_2020-05-12_[17-49-44].txt
Assertion failed: (false && "can't find aes cipher idx"), function AESEncryptionData, file /Users/afstand.ren/DJIDev/dji-flightrecordengine/source/Writer/encryption/flight_record_encryption_layer.cpp, line 171.
vince-zheng commented 4 years ago

How do you reproduce? Is that a must? @pskow like:

  1. What features are being used?
  2. What is the status of the plane? Flying or idle.
thanhtinh138 commented 4 years ago

Please help me fix this issue soon, I met this issue with this steps:

  1. Open app
  2. Connected drone
  3. Make drone on HOVERING
  4. Terminate app
  5. Open app again App will be crash 100% with real flight. Simulator does not occur this issue.
thanhtinh138 commented 4 years ago

@vince-zheng I mention you for this issue with above case.

vince-zheng commented 4 years ago

@thanhtinh138 We have fixed the issue. You can try it in the next version.