Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
Zip
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
YongYue
Zip
Commits
16897d32
Commit
16897d32
authored
Sep 20, 2017
by
Roy Marmelstein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Release 1.0.0
parent
b8885019
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
25 additions
and
23 deletions
+25
-23
.gitattributes
.gitattributes
+1
-1
.swift-version
.swift-version
+1
-1
.travis.yml
.travis.yml
+1
-1
README.md
README.md
+2
-2
Zip.podspec
Zip.podspec
+3
-1
Zip.xcodeproj/project.pbxproj
Zip.xcodeproj/project.pbxproj
+10
-10
Zip/Info-tvOS.plist
Zip/Info-tvOS.plist
+2
-2
Zip/Info.plist
Zip/Info.plist
+2
-2
ZipTests/Info.plist
ZipTests/Info.plist
+2
-2
build.sh
build.sh
+1
-1
No files found.
.gitattributes
View file @
16897d32
Zip/minizip/* linguist-vendored
\ No newline at end of file
Zip/minizip/* linguist-vendored
.swift-version
View file @
16897d32
3
.0
4
.0
.travis.yml
View file @
16897d32
osx_image
:
xcode
8
osx_image
:
xcode
9
language
:
objective-c
env
:
global
:
...
...
README.md
View file @
16897d32
...
...
@@ -4,7 +4,7 @@
[

](https://github.com/Carthage/Carthage)
# Zip
A Swift
3
.0 framework for zipping and unzipping files. Simple and quick to use. Built on top of
[
minizip
](
https://github.com/nmoinvaz/minizip
)
.
A Swift
4
.0 framework for zipping and unzipping files. Simple and quick to use. Built on top of
[
minizip
](
https://github.com/nmoinvaz/minizip
)
.
## Usage
...
...
@@ -60,7 +60,7 @@ Zip.addCustomFileExtension("file-extension-here")
### Setting up with [CocoaPods](http://cocoapods.org/?q=Zip)
```
ruby
source
'https://github.com/CocoaPods/Specs.git'
pod
'Zip'
,
'~>
0.8
'
pod
'Zip'
,
'~>
1.0
'
```
### Setting up with Carthage
...
...
Zip.podspec
View file @
16897d32
...
...
@@ -8,7 +8,7 @@
Pod
::
Spec
.
new
do
|
s
|
s
.
name
=
"Zip"
s
.
version
=
"
0.8
.0"
s
.
version
=
"
1.0
.0"
s
.
summary
=
"Zip and unzip files in Swift."
# This description is used to generate tags and improve search results.
...
...
@@ -33,6 +33,8 @@ Pod::Spec.new do |s|
s
.
osx
.
deployment_target
=
'10.9'
s
.
requires_arc
=
true
s
.
pod_target_xcconfig
=
{
'SWIFT_VERSION'
=>
'4.0'
}
s
.
source_files
=
'Zip/*.{swift,h}'
,
'Zip/minizip/*.{c,h}'
,
'Zip/minizip/aes/*.{c,h}'
s
.
public_header_files
=
'Zip/*.h'
s
.
pod_target_xcconfig
=
{
'SWIFT_INCLUDE_PATHS'
=>
'$(SRCROOT)/Zip/Zip/minizip/**'
,
'LIBRARY_SEARCH_PATHS'
=>
'$(SRCROOT)/Zip/Zip/'
}
...
...
Zip.xcodeproj/project.pbxproj
View file @
16897d32
...
...
@@ -510,7 +510,7 @@
"CODE_SIGN_IDENTITY[sdk=appletvos*]"
=
""
;
DEFINES_MODULE
=
YES
;
DYLIB_COMPATIBILITY_VERSION
=
1
;
DYLIB_CURRENT_VERSION
=
1
0
;
DYLIB_CURRENT_VERSION
=
1
1
;
DYLIB_INSTALL_NAME_BASE
=
"@rpath"
;
INFOPLIST_FILE
=
"Zip/Info-tvOS.plist"
;
INSTALL_PATH
=
"$(LOCAL_LIBRARY_DIR)/Frameworks"
;
...
...
@@ -536,7 +536,7 @@
"CODE_SIGN_IDENTITY[sdk=appletvos*]"
=
""
;
DEFINES_MODULE
=
YES
;
DYLIB_COMPATIBILITY_VERSION
=
1
;
DYLIB_CURRENT_VERSION
=
1
0
;
DYLIB_CURRENT_VERSION
=
1
1
;
DYLIB_INSTALL_NAME_BASE
=
"@rpath"
;
INFOPLIST_FILE
=
"Zip/Info-tvOS.plist"
;
INSTALL_PATH
=
"$(LOCAL_LIBRARY_DIR)/Frameworks"
;
...
...
@@ -559,10 +559,10 @@
buildSettings
=
{
CODE_SIGN_IDENTITY
=
"-"
;
COMBINE_HIDPI_IMAGES
=
YES
;
CURRENT_PROJECT_VERSION
=
1
0
;
CURRENT_PROJECT_VERSION
=
1
1
;
DEFINES_MODULE
=
YES
;
DYLIB_COMPATIBILITY_VERSION
=
1
;
DYLIB_CURRENT_VERSION
=
1
0
;
DYLIB_CURRENT_VERSION
=
1
1
;
DYLIB_INSTALL_NAME_BASE
=
"@rpath"
;
FRAMEWORK_VERSION
=
A
;
INFOPLIST_FILE
=
Zip/Info.plist
;
...
...
@@ -582,10 +582,10 @@
buildSettings
=
{
CODE_SIGN_IDENTITY
=
"-"
;
COMBINE_HIDPI_IMAGES
=
YES
;
CURRENT_PROJECT_VERSION
=
1
0
;
CURRENT_PROJECT_VERSION
=
1
1
;
DEFINES_MODULE
=
YES
;
DYLIB_COMPATIBILITY_VERSION
=
1
;
DYLIB_CURRENT_VERSION
=
1
0
;
DYLIB_CURRENT_VERSION
=
1
1
;
DYLIB_INSTALL_NAME_BASE
=
"@rpath"
;
FRAMEWORK_VERSION
=
A
;
INFOPLIST_FILE
=
Zip/Info.plist
;
...
...
@@ -659,7 +659,7 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH
=
YES
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
COPY_PHASE_STRIP
=
NO
;
CURRENT_PROJECT_VERSION
=
1
0
;
CURRENT_PROJECT_VERSION
=
1
1
;
DEBUG_INFORMATION_FORMAT
=
dwarf
;
ENABLE_STRICT_OBJC_MSGSEND
=
YES
;
ENABLE_TESTABILITY
=
YES
;
...
...
@@ -717,7 +717,7 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH
=
YES
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
COPY_PHASE_STRIP
=
NO
;
CURRENT_PROJECT_VERSION
=
1
0
;
CURRENT_PROJECT_VERSION
=
1
1
;
DEBUG_INFORMATION_FORMAT
=
"dwarf-with-dsym"
;
ENABLE_NS_ASSERTIONS
=
NO
;
ENABLE_STRICT_OBJC_MSGSEND
=
YES
;
...
...
@@ -749,7 +749,7 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
""
;
DEFINES_MODULE
=
YES
;
DYLIB_COMPATIBILITY_VERSION
=
1
;
DYLIB_CURRENT_VERSION
=
1
0
;
DYLIB_CURRENT_VERSION
=
1
1
;
DYLIB_INSTALL_NAME_BASE
=
"@rpath"
;
INFOPLIST_FILE
=
Zip/Info.plist
;
INSTALL_PATH
=
"$(LOCAL_LIBRARY_DIR)/Frameworks"
;
...
...
@@ -772,7 +772,7 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
""
;
DEFINES_MODULE
=
YES
;
DYLIB_COMPATIBILITY_VERSION
=
1
;
DYLIB_CURRENT_VERSION
=
1
0
;
DYLIB_CURRENT_VERSION
=
1
1
;
DYLIB_INSTALL_NAME_BASE
=
"@rpath"
;
INFOPLIST_FILE
=
Zip/Info.plist
;
INSTALL_PATH
=
"$(LOCAL_LIBRARY_DIR)/Frameworks"
;
...
...
Zip/Info-tvOS.plist
View file @
16897d32
...
...
@@ -15,11 +15,11 @@
<key>
CFBundlePackageType
</key>
<string>
FMWK
</string>
<key>
CFBundleShortVersionString
</key>
<string>
0.8
.0
</string>
<string>
1.0
.0
</string>
<key>
CFBundleSignature
</key>
<string>
????
</string>
<key>
CFBundleVersion
</key>
<string>
1
0
</string>
<string>
1
1
</string>
<key>
NSPrincipalClass
</key>
<string></string>
</dict>
...
...
Zip/Info.plist
View file @
16897d32
...
...
@@ -15,11 +15,11 @@
<key>
CFBundlePackageType
</key>
<string>
FMWK
</string>
<key>
CFBundleShortVersionString
</key>
<string>
0.8
.0
</string>
<string>
1.0
.0
</string>
<key>
CFBundleSignature
</key>
<string>
????
</string>
<key>
CFBundleVersion
</key>
<string>
1
0
</string>
<string>
1
1
</string>
<key>
NSPrincipalClass
</key>
<string></string>
</dict>
...
...
ZipTests/Info.plist
View file @
16897d32
...
...
@@ -15,10 +15,10 @@
<key>
CFBundlePackageType
</key>
<string>
BNDL
</string>
<key>
CFBundleShortVersionString
</key>
<string>
0.8
.0
</string>
<string>
1.0
.0
</string>
<key>
CFBundleSignature
</key>
<string>
????
</string>
<key>
CFBundleVersion
</key>
<string>
1
0
</string>
<string>
1
1
</string>
</dict>
</plist>
build.sh
View file @
16897d32
#!/bin/bash
# **** Update me when new Xcode versions are released! ****
PLATFORM
=
"platform=iOS Simulator,OS=1
0.0,name=iPhone 7
"
PLATFORM
=
"platform=iOS Simulator,OS=1
1.0,name=iPhone 8
"
SDK
=
"iphonesimulator10.0"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment