Skip to content
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

Can't create archive object file type: 1 #9

Closed
devjiangzhou opened this issue Mar 28, 2016 · 2 comments
Closed

Can't create archive object file type: 1 #9

devjiangzhou opened this issue Mar 28, 2016 · 2 comments

Comments

@devjiangzhou
Copy link

ERROR: code = -1, file = '/Users/xxx/Desktop/LzmaSDKObjC-0.0.8/src/LzmaSDKObjCFileDecoder.cpp', line = 185, description = Can't create archive object file type: 12016-03-28 17:53:04:357 TaeExam[3465:668038] Open error: Error Domain=LzmaSDKObjCReader Code=-1 "Can't create archive object file type: 1" UserInfo={code=-1, line=185, file=/Users/xxx/Desktop/LzmaSDKObjC-0.0.8/src/LzmaSDKObjCFileDecoder.cpp, NSLocalizedDescription=Can't create archive object file type: 1}

I‘m use static Libray,LzmaSDKObjC-0.0.8,

@OlehKulykov
Copy link
Owner

Hi,

this problem cause of using static library. Commonly say - don't use static. Why? Cause of compiller ignores code of the LZMA SDK initialization and in a result LZMA initializer can get available plugins.

Plz use latests pod 'LzmaSDK-ObjC' instead of LzmaSDKObjC-0.0.8 , which is deprecated due to iOS 8.- dynamic fremeworks functionality.

@OlehKulykov
Copy link
Owner

If it's possible for you & not strict - you could provide some test archive with any content and/or mocup password to check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants