-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"No suitable decoder found." #3
Comments
Or create reader with predefined archive type: /**
@brief Initialize archive with file url and archive type.
@param fileURL File url to the archive. Can't be nil.
@param type Manualy defined type of the archive.
*/
- (nonnull id) initWithFileURL:(nonnull NSURL *) fileURL andType:(LzmaSDKObjCFileType) type Also, since release 0.0.6 was added initial error processing. |
Thanks, I'm using -initWithFileURL:andType: Also, the file does exist It looks like the function RegisterArc() is not called to register a decoder for 7z- I don't know why though. I also tried the sample project (i.e. 'pod try LzmaSDK-ObjC'), and it worked fine. But then I copied and pasted the sample code into my own project (ViewController.h/.m) and got the 'No suitable decoder error'. Same code, and as far as I can tell, same build settings? |
Hello, created cocoapod with dynamic framework, you could use it.
|
Awesome, thanks, I'll give this a try!
|
Using the sample code, with a valid .7z file, I get the message:
Open error: Error Domain=LzmaSDKObjCReader Code=-1 "No suitable decoder found."
Running on iOS 9.1, Xcode 7.1.1.
Seems to be because CreateObject is not returning S_OK, I couldn't get further than this though?
The text was updated successfully, but these errors were encountered: