archive

When archive object in the func encode(with aCoder: NSCoder) method crashed with swift enum in real revice

旧街凉风 提交于 2019-12-31 00:59:07
问题 In my singleton class, I have a swift enum here: import UIKit enum UserType { case terant // case normalUser // case normalUserFinancialer // } @objc(UserStaticSwift) class UserStaticSwift:NSObject, NSCoding { The reported error : With the console log: libc++abi.dylib: terminating with uncaught exception of type NSException In the encode : func encode(with aCoder: NSCoder) { /* 基础 */ aCoder.encode(islogin, forKey: "islogin") aCoder.encode(type!, forKey: "type") // crash here in real device

Turn thin archive into normal one

孤街醉人 提交于 2019-12-30 04:46:26
问题 I'm building V8, and by default it builds as a "thin" archive, where the .a files essentially just contain pointers to the object files on your filesystem instead of containing the object files themselves. See man ar for details. I want to be able to put this library in a central place so that other people can link to it, and it would be obviously much easier to provide a normal archive file instead of providing a gaggle of object files as well. How do I take the thin archives produced by the

OSMdroid : How to load offline map from zip archive - MapTileFileArchiveProvider

你。 提交于 2019-12-29 06:30:33
问题 I really need some help with the OSMdroid library. It is useful to have maps stored in sdcard as zip files. Also, maps can be unzipped and the image files may be used directly for faster rendering. I managed to load tiles from my sdcard when the tiles are unziiped , have .tile extension and are stored in the folder /sdcard/osmdroid/tiles/Mapnik/... To create my map I used the Mobile Atlas Creator and OSMAND tile storage format. I read some tutorials on the web that claim storing zip files

OSMdroid : How to load offline map from zip archive - MapTileFileArchiveProvider

空扰寡人 提交于 2019-12-29 06:30:08
问题 I really need some help with the OSMdroid library. It is useful to have maps stored in sdcard as zip files. Also, maps can be unzipped and the image files may be used directly for faster rendering. I managed to load tiles from my sdcard when the tiles are unziiped , have .tile extension and are stored in the folder /sdcard/osmdroid/tiles/Mapnik/... To create my map I used the Mobile Atlas Creator and OSMAND tile storage format. I read some tutorials on the web that claim storing zip files

Creating a ZIP archive from a Cocoa application

泪湿孤枕 提交于 2019-12-28 13:39:32
问题 Are there Objective-C classes that are equivalent to the ones contained in the Java package java.util.zip ? Is to execute a CLI command the only alternative? 回答1: As of iOS8/OSX10.10 there is a built-in way to create zip archives using NSFileCoordinatorReadingOptions.ForUploading . A simple example of create zip archives without any non-Cocoa dependencies: public extension NSURL { /// Creates a zip archive of the file/folder represented by this URL and returns a references to the zipped file

Creating a ZIP archive from a Cocoa application

倾然丶 夕夏残阳落幕 提交于 2019-12-28 13:39:12
问题 Are there Objective-C classes that are equivalent to the ones contained in the Java package java.util.zip ? Is to execute a CLI command the only alternative? 回答1: As of iOS8/OSX10.10 there is a built-in way to create zip archives using NSFileCoordinatorReadingOptions.ForUploading . A simple example of create zip archives without any non-Cocoa dependencies: public extension NSURL { /// Creates a zip archive of the file/folder represented by this URL and returns a references to the zipped file

Xcode 8: Preparing Archive takes forever

半腔热情 提交于 2019-12-28 08:37:44
问题 Today I tried to archive and upload a App to iTunes Connect Beta Testing. Xcode stays at the point "Copying Swift standard libraries" for about 10 minutes.. Two days ago it just were some seconds.. The CPU runs at 100% an the Fan is really really loud. it never did that before.. Then I try to upload it to the AppStore using the Organizer. But it stays ridiculously long at "Preparing Archive - Codesigning libswiftAVFoundation.dylib..." I left it over night and it still was at the same spot.. I

Xcode 8: Preparing Archive takes forever

五迷三道 提交于 2019-12-28 08:37:09
问题 Today I tried to archive and upload a App to iTunes Connect Beta Testing. Xcode stays at the point "Copying Swift standard libraries" for about 10 minutes.. Two days ago it just were some seconds.. The CPU runs at 100% an the Fan is really really loud. it never did that before.. Then I try to upload it to the AppStore using the Organizer. But it stays ridiculously long at "Preparing Archive - Codesigning libswiftAVFoundation.dylib..." I left it over night and it still was at the same spot.. I

RAR archives with java [closed]

泄露秘密 提交于 2019-12-27 22:15:59
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Is there a good java API for manipulating RAR archive files someone could recommend? Googling did not turn up anything overwhelmingly

RAR archives with java [closed]

余生颓废 提交于 2019-12-27 22:14:41
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Is there a good java API for manipulating RAR archive files someone could recommend? Googling did not turn up anything overwhelmingly