Skip to content

Commit 9225b47

Browse files
committed
update installation instruction
1 parent d336c84 commit 9225b47

2 files changed

Lines changed: 10 additions & 62 deletions

File tree

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,18 @@ There is a Slack group that anyone can join for help / support / general questio
2323

2424
`$ react-native link react-native-arkit`
2525

26+
! Currently automatic installation does not work as PocketSVG is missing. Follow the manual installation
27+
2628
### Manual installation
2729

2830

2931
#### iOS
3032

3133
1. In XCode, in the project navigator, right click `Libraries``Add Files to [your project's name]`
32-
2. Go to `node_modules``react-native-arkit` and add `RCTARKit.xcodeproj`
33-
3. In XCode, in the project navigator, select your project. Add `libRCTARKit.a` to your project's `Build Phases``Link Binary With Libraries`
34-
4. Run your project (`Cmd+R`)<
34+
2. Go to `node_modules` ➜ add `react-native-arkit/RCTARKit.xcodeproj` and `_PocketSVG/_PocketSVG.xcodeproj`
35+
3. In XCode, in the project navigator, select your project. Add `libRCTARKit.a` `and PocketSVG.framework` to your project's `Build Phases``Link Binary With Libraries`
36+
4. In Tab `General``Embedded Binaries``+` ➜ Add `PocketSVG.framework ios`
37+
5. Run your project (`Cmd+R`)<
3538

3639

3740
## Usage

ios/RCTARKit.xcodeproj/project.pbxproj

Lines changed: 4 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,6 @@
1919
B3E7B58A1CC2AC0600A0062D /* RCTARKit.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RCTARKit.m */; };
2020
/* End PBXBuildFile section */
2121

22-
/* Begin PBXContainerItemProxy section */
23-
B14F3AF31F94F8B100B73842 /* PBXContainerItemProxy */ = {
24-
isa = PBXContainerItemProxy;
25-
containerPortal = B14F3AEE1F94F8B100B73842 /* PocketSVG.xcodeproj */;
26-
proxyType = 2;
27-
remoteGlobalIDString = C79800BB1A21CB5300380860;
28-
remoteInfo = "PocketSVG (iOS)";
29-
};
30-
B14F3AF51F94F8B100B73842 /* PBXContainerItemProxy */ = {
31-
isa = PBXContainerItemProxy;
32-
containerPortal = B14F3AEE1F94F8B100B73842 /* PocketSVG.xcodeproj */;
33-
proxyType = 2;
34-
remoteGlobalIDString = C79800F51A21CDFD00380860;
35-
remoteInfo = "PocketSVG (Mac)";
36-
};
37-
/* End PBXContainerItemProxy section */
38-
3922
/* Begin PBXCopyFilesBuildPhase section */
4023
58B511D91A9E6C8500147676 /* CopyFiles */ = {
4124
isa = PBXCopyFilesBuildPhase;
@@ -78,7 +61,8 @@
7861
10FEF6121F774C9000EC21AE /* RCTARKitNodes.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTARKitNodes.m; sourceTree = "<group>"; };
7962
10FEF6131F774C9000EC21AE /* RCTARKitDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTARKitDelegate.h; sourceTree = "<group>"; };
8063
134814201AA4EA6300B7C361 /* libRCTARKit.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRCTARKit.a; sourceTree = BUILT_PRODUCTS_DIR; };
81-
B14F3AEE1F94F8B100B73842 /* PocketSVG.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = PocketSVG.xcodeproj; path = ../../_PocketSVG/PocketSVG.xcodeproj; sourceTree = "<group>"; };
64+
B14C36631F960C500047CB67 /* PocketSVG.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = PocketSVG.framework; sourceTree = BUILT_PRODUCTS_DIR; };
65+
B14C36651F960C6E0047CB67 /* PocketSVG.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = PocketSVG.framework; sourceTree = BUILT_PRODUCTS_DIR; };
8266
B3E7B5881CC2AC0600A0062D /* RCTARKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTARKit.h; sourceTree = "<group>"; };
8367
B3E7B5891CC2AC0600A0062D /* RCTARKit.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTARKit.m; sourceTree = "<group>"; };
8468
/* End PBXFileReference section */
@@ -118,7 +102,6 @@
118102
58B511D21A9E6C8500147676 = {
119103
isa = PBXGroup;
120104
children = (
121-
B11601B61F94F34700030B9A /* Libraries */,
122105
106999E21F3EC2FB00032829 /* components */,
123106
10ED47A51F38BC00004DF043 /* DeviceMotion.h */,
124107
10ED47A61F38BC00004DF043 /* DeviceMotion.m */,
@@ -140,30 +123,15 @@
140123
);
141124
sourceTree = "<group>";
142125
};
143-
B11601B61F94F34700030B9A /* Libraries */ = {
144-
isa = PBXGroup;
145-
children = (
146-
B14F3AEE1F94F8B100B73842 /* PocketSVG.xcodeproj */,
147-
);
148-
name = Libraries;
149-
sourceTree = "<group>";
150-
};
151126
B13FF7601F94F72400A6C92B /* Frameworks */ = {
152127
isa = PBXGroup;
153128
children = (
129+
B14C36651F960C6E0047CB67 /* PocketSVG.framework */,
130+
B14C36631F960C500047CB67 /* PocketSVG.framework */,
154131
);
155132
name = Frameworks;
156133
sourceTree = "<group>";
157134
};
158-
B14F3AEF1F94F8B100B73842 /* Products */ = {
159-
isa = PBXGroup;
160-
children = (
161-
B14F3AF41F94F8B100B73842 /* PocketSVG.framework */,
162-
B14F3AF61F94F8B100B73842 /* PocketSVG.framework */,
163-
);
164-
name = Products;
165-
sourceTree = "<group>";
166-
};
167135
/* End PBXGroup section */
168136

169137
/* Begin PBXNativeTarget section */
@@ -209,36 +177,13 @@
209177
mainGroup = 58B511D21A9E6C8500147676;
210178
productRefGroup = 58B511D21A9E6C8500147676;
211179
projectDirPath = "";
212-
projectReferences = (
213-
{
214-
ProductGroup = B14F3AEF1F94F8B100B73842 /* Products */;
215-
ProjectRef = B14F3AEE1F94F8B100B73842 /* PocketSVG.xcodeproj */;
216-
},
217-
);
218180
projectRoot = "";
219181
targets = (
220182
58B511DA1A9E6C8500147676 /* RCTARKit */,
221183
);
222184
};
223185
/* End PBXProject section */
224186

225-
/* Begin PBXReferenceProxy section */
226-
B14F3AF41F94F8B100B73842 /* PocketSVG.framework */ = {
227-
isa = PBXReferenceProxy;
228-
fileType = wrapper.framework;
229-
path = PocketSVG.framework;
230-
remoteRef = B14F3AF31F94F8B100B73842 /* PBXContainerItemProxy */;
231-
sourceTree = BUILT_PRODUCTS_DIR;
232-
};
233-
B14F3AF61F94F8B100B73842 /* PocketSVG.framework */ = {
234-
isa = PBXReferenceProxy;
235-
fileType = wrapper.framework;
236-
path = PocketSVG.framework;
237-
remoteRef = B14F3AF51F94F8B100B73842 /* PBXContainerItemProxy */;
238-
sourceTree = BUILT_PRODUCTS_DIR;
239-
};
240-
/* End PBXReferenceProxy section */
241-
242187
/* Begin PBXSourcesBuildPhase section */
243188
58B511D71A9E6C8500147676 /* Sources */ = {
244189
isa = PBXSourcesBuildPhase;

0 commit comments

Comments
 (0)