For some reason, iOS 11 public beta 3 cannot load AVURLAssets.
This is for an audiobook downloader / player app.
Here is an example of what I'm trying to do.
_asset = [AVURLAsset assetWithURL:location];
CMTime length = _asset.duration; /
NSArray *test = [_asset availableMetadataFormats]; //used for testing
This is the value of the "location" variable.
file:///var/mobile/Containers/Data/Application/C7018FA3-5E15-410C-88FA-570A0A4B902B/Library/Application%20Support/Content/1224/Doctor%20Who%20-%20Doom%20Coalition%204/1-01%20Ship%20in%20a%20Bottle.m4b
When I try to debug the values of length or test they are empty.
This same code works fine in iOS 10.
Is there something else I should try?