Skip to content

Commit 84b2e16

Browse files
committed
feat: init commit
1 parent 0a4de51 commit 84b2e16

File tree

15 files changed

+13541
-1
lines changed

15 files changed

+13541
-1
lines changed

example/ios/.xcode.env.local

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export NODE_BINARY=/usr/local/bin/node
2+

ios/XCObjc.xcframework/Info.plist

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>AvailableLibraries</key>
6+
<array>
7+
<dict>
8+
<key>BinaryPath</key>
9+
<string>XCObjc.framework/XCObjc</string>
10+
<key>LibraryIdentifier</key>
11+
<string>ios-arm64-simulator</string>
12+
<key>LibraryPath</key>
13+
<string>XCObjc.framework</string>
14+
<key>SupportedArchitectures</key>
15+
<array>
16+
<string>arm64</string>
17+
</array>
18+
<key>SupportedPlatform</key>
19+
<string>ios</string>
20+
<key>SupportedPlatformVariant</key>
21+
<string>simulator</string>
22+
</dict>
23+
<dict>
24+
<key>BinaryPath</key>
25+
<string>XCObjc.framework/XCObjc</string>
26+
<key>LibraryIdentifier</key>
27+
<string>ios-arm64</string>
28+
<key>LibraryPath</key>
29+
<string>XCObjc.framework</string>
30+
<key>SupportedArchitectures</key>
31+
<array>
32+
<string>arm64</string>
33+
</array>
34+
<key>SupportedPlatform</key>
35+
<string>ios</string>
36+
</dict>
37+
</array>
38+
<key>CFBundlePackageType</key>
39+
<string>XFWK</string>
40+
<key>XCFrameworkFormatVersion</key>
41+
<string>1.0</string>
42+
</dict>
43+
</plist>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
//
2+
// Addition.h
3+
// XCObjc
4+
//
5+
// Created by Designer326 on 27/02/24.
6+
//
7+
8+
#import <Foundation/Foundation.h>
9+
10+
NS_ASSUME_NONNULL_BEGIN
11+
12+
@interface Addition : NSObject
13+
- (int)add;
14+
- (int)sub;
15+
@end
16+
17+
NS_ASSUME_NONNULL_END
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
//
2+
// XCObjc.h
3+
// XCObjc
4+
//
5+
// Created by Designer326 on 27/02/24.
6+
//
7+
8+
#import <Foundation/Foundation.h>
9+
10+
//! Project version number for XCObjc.
11+
FOUNDATION_EXPORT double XCObjcVersionNumber;
12+
13+
//! Project version string for XCObjc.
14+
FOUNDATION_EXPORT const unsigned char XCObjcVersionString[];
15+
16+
// In this header, you should import all the public headers of your framework using statements like #import <XCObjc/PublicHeader.h>
17+
18+
#import <XCObjc/Addition.h>
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
framework module XCObjc {
2+
umbrella header "XCObjc.h"
3+
export *
4+
5+
module * { export * }
6+
}
Binary file not shown.
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>files</key>
6+
<dict>
7+
<key>Headers/Addition.h</key>
8+
<data>
9+
vgpRwqnlxMRUIVKLChF8O5Cgn/Y=
10+
</data>
11+
<key>Headers/XCObjc.h</key>
12+
<data>
13+
aQgBxl1ZZ9Z/kY8jy4G1zSqJ2Ks=
14+
</data>
15+
<key>Info.plist</key>
16+
<data>
17+
KUkvNt2EJlpbFeOmqi5/ApVjxjA=
18+
</data>
19+
<key>Modules/module.modulemap</key>
20+
<data>
21+
11vGT45xkjtMaeoRRC1k2X5tEkg=
22+
</data>
23+
</dict>
24+
<key>files2</key>
25+
<dict>
26+
<key>Headers/Addition.h</key>
27+
<dict>
28+
<key>hash2</key>
29+
<data>
30+
jA+YtbQKL219lauSGphloHoknKLE6dLs3sn1SV0aEnU=
31+
</data>
32+
</dict>
33+
<key>Headers/XCObjc.h</key>
34+
<dict>
35+
<key>hash2</key>
36+
<data>
37+
gvJFBJXEsgZ2Rmv4etzfyN/r/nfMVwpx3HzFtIaJClc=
38+
</data>
39+
</dict>
40+
<key>Modules/module.modulemap</key>
41+
<dict>
42+
<key>hash2</key>
43+
<data>
44+
jkIFeZ/7W+eBid1aJMwTcjT81ANY1EKf53uB8bDdI/0=
45+
</data>
46+
</dict>
47+
</dict>
48+
<key>rules</key>
49+
<dict>
50+
<key>^.*</key>
51+
<true/>
52+
<key>^.*\.lproj/</key>
53+
<dict>
54+
<key>optional</key>
55+
<true/>
56+
<key>weight</key>
57+
<real>1000</real>
58+
</dict>
59+
<key>^.*\.lproj/locversion.plist$</key>
60+
<dict>
61+
<key>omit</key>
62+
<true/>
63+
<key>weight</key>
64+
<real>1100</real>
65+
</dict>
66+
<key>^Base\.lproj/</key>
67+
<dict>
68+
<key>weight</key>
69+
<real>1010</real>
70+
</dict>
71+
<key>^version.plist$</key>
72+
<true/>
73+
</dict>
74+
<key>rules2</key>
75+
<dict>
76+
<key>.*\.dSYM($|/)</key>
77+
<dict>
78+
<key>weight</key>
79+
<real>11</real>
80+
</dict>
81+
<key>^(.*/)?\.DS_Store$</key>
82+
<dict>
83+
<key>omit</key>
84+
<true/>
85+
<key>weight</key>
86+
<real>2000</real>
87+
</dict>
88+
<key>^.*</key>
89+
<true/>
90+
<key>^.*\.lproj/</key>
91+
<dict>
92+
<key>optional</key>
93+
<true/>
94+
<key>weight</key>
95+
<real>1000</real>
96+
</dict>
97+
<key>^.*\.lproj/locversion.plist$</key>
98+
<dict>
99+
<key>omit</key>
100+
<true/>
101+
<key>weight</key>
102+
<real>1100</real>
103+
</dict>
104+
<key>^Base\.lproj/</key>
105+
<dict>
106+
<key>weight</key>
107+
<real>1010</real>
108+
</dict>
109+
<key>^Info\.plist$</key>
110+
<dict>
111+
<key>omit</key>
112+
<true/>
113+
<key>weight</key>
114+
<real>20</real>
115+
</dict>
116+
<key>^PkgInfo$</key>
117+
<dict>
118+
<key>omit</key>
119+
<true/>
120+
<key>weight</key>
121+
<real>20</real>
122+
</dict>
123+
<key>^embedded\.provisionprofile$</key>
124+
<dict>
125+
<key>weight</key>
126+
<real>20</real>
127+
</dict>
128+
<key>^version\.plist$</key>
129+
<dict>
130+
<key>weight</key>
131+
<real>20</real>
132+
</dict>
133+
</dict>
134+
</dict>
135+
</plist>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
//
2+
// Addition.h
3+
// XCObjc
4+
//
5+
// Created by Designer326 on 27/02/24.
6+
//
7+
8+
#import <Foundation/Foundation.h>
9+
10+
NS_ASSUME_NONNULL_BEGIN
11+
12+
@interface Addition : NSObject
13+
- (int)add;
14+
- (int)sub;
15+
@end
16+
17+
NS_ASSUME_NONNULL_END
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
//
2+
// XCObjc.h
3+
// XCObjc
4+
//
5+
// Created by Designer326 on 27/02/24.
6+
//
7+
8+
#import <Foundation/Foundation.h>
9+
10+
//! Project version number for XCObjc.
11+
FOUNDATION_EXPORT double XCObjcVersionNumber;
12+
13+
//! Project version string for XCObjc.
14+
FOUNDATION_EXPORT const unsigned char XCObjcVersionString[];
15+
16+
// In this header, you should import all the public headers of your framework using statements like #import <XCObjc/PublicHeader.h>
17+
18+
#import <XCObjc/Addition.h>

0 commit comments

Comments
 (0)