Page 1 of 1
SWC problem: Version required to extract entry not supported
Posted: 01 Mar 2012, 11:52
by Cpt Pete
Anyone else getting the message "Version required to extract entry not supported" when trying to browse the SWC contents?
I'm using FlashDevelop so it might be a problem with that but from what I can gather it maybe a problem with the header file for the swc.
Because FlashDevelop can't read the file it can't provide code completion / validation for any of the SmartFoxServer classes. However, The FlexSDK seems to be happy to compile it as it works at runtime.
I'm using the SFS2X_API_AS3_v1.0.3 swc. Can anyone confirm code completion works in FlashBuilder with this swc?
Cheers
Re: SWC problem: Version required to extract entry not suppo
Posted: 02 Mar 2012, 09:14
by Bax
Yes, code completion in Flash Builder works fine.
I'm not familiar with Flash Develop, so I can't say why the SWC is not working there.
Re: SWC problem: Version required to extract entry not suppo
Posted: 06 Mar 2012, 07:20
by secret007
Yes, same problem here i was using Flash Develop before, but when i update the new patch of swc file, flash develop no longer showing code completion but its working fine in Flash Builder thats why i switched to FB for the time being lol

Re: SWC problem: Version required to extract entry not suppo
Posted: 06 Mar 2012, 09:11
by Bax
Could this depend on the fact that the latest SWC contains documentation that FB shows during the code completion?
You can try removing it: open the sec with a zip software and remove the "docs" folder.
Re: SWC problem: Version required to extract entry not suppo
Posted: 28 Mar 2012, 12:47
by udikantz
Any plans on fixing this version for flash develop, it removes the intellisense make it impossible to code.
Re: SWC problem: Version required to extract entry not suppo
Posted: 28 Mar 2012, 20:28
by rjgtav
Hi.
There's already a fix for the problem. Check
here on the FlashDevelop forums.
Basically you have to:
1. Change the file extension from swc to zip.
2. Unzip its contents
3. Zip the content again
4. Change the extension of the file back to swc.
It looks like the team used a different ZIP encoding when creating the swc.
Re: SWC problem: Version required to extract entry not suppo
Posted: 31 May 2012, 18:58
by kalani96746
I was about to say.... I use a mac and when attempting to unzip it would unzip the zip first then unzip the swc automatically and I was left with a folder rather than a swc...wtf? I run a VM Windows box so I tried it there so I could get a .swc and I got the .swc and it works for compiling but the .swc didn't work with FlashDevelop and its codehinting...FlashDevelop can't read it (i.e: Error: Version required to extract this entry not supported (788)) when expanding in Project View. After renaming (to .zip), unzipping, rezipping, renaming (back to .swc), and spinning around in a circle while tapping on my head and rubbing my belly I was able to get to work; not sure if the last step was necessary or not. Thanks!
Re: SWC problem: Version required to extract entry not suppo
Posted: 19 Feb 2013, 14:40
by xLite
rjgtav wrote:Hi.
There's already a fix for the problem. Check
here on the FlashDevelop forums.
Basically you have to:
1. Change the file extension from swc to zip.
2. Unzip its contents
3. Zip the content again
4. Change the extension of the file back to swc.
It looks like the team used a different ZIP encoding when creating the swc.
Just want to confirm that this worked perfectly using WinRAR, simply a weird zip encoding error on SFS's behalf.
Re: SWC problem: Version required to extract entry not suppo
Posted: 03 Jan 2014, 17:57
by Lapo
Update: the problem is solved now. During the deployment phase we use a zip tool to add the documentation data inside the SWC which is possibly causing the issue. Substituting the tool has resolved the issue.
Thanks