Skip to content

Commit 4713f58

Browse files
committed
feat: Add macOS support by renaming index.ios.ts to index.apple.ts and updating nativescript.config.ts and package.json.
1 parent ebca075 commit 4713f58

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

packages/zip/nativescript.config.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,14 @@ export default {
1111
},
1212
],
1313
},
14+
macos: {
15+
SPMPackages: [
16+
{
17+
name: 'ZipArchive',
18+
libs: ['ZipArchive'],
19+
repositoryURL: 'https://github.com/NathanWalker/ZipArchive',
20+
version: '3.0.0',
21+
},
22+
],
23+
},
1424
} as NativeScriptConfig;

packages/zip/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"nativescript": {
88
"platforms": {
99
"ios": "6.0.0",
10+
"macos": "6.0.0",
1011
"android": "6.0.0"
1112
}
1213
},
@@ -19,6 +20,7 @@
1920
"JavaScript",
2021
"TypeScript",
2122
"iOS",
23+
"macOS",
2224
"Android"
2325
],
2426
"author": {

0 commit comments

Comments
 (0)