Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library not loaded: @rpath/PocketSVG.framework/PocketSVG #196

Open
eddiehale3 opened this issue Dec 19, 2018 · 5 comments
Open

Library not loaded: @rpath/PocketSVG.framework/PocketSVG #196

eddiehale3 opened this issue Dec 19, 2018 · 5 comments

Comments

@eddiehale3
Copy link

I can build my demo app but unable to run on a device. I get the following:

dyld: Library not loaded: @rpath/PocketSVG.framework/PocketSVG Referenced from: /var/containers/Bundle/Application/D9192E4B-C3DA-4520-AF0C-C9B10545F85C/RNArkitApp.app/RNArkitApp Reason: image not found

image

image

I have the PocketSVG.xcodeproj added per the manual instructions. Is there an extra step that I'm missing?

react-native-cli: 2.0.1
react-native: 0.57.8
react-native-arkit: ^0.9.0
react: 16.6.3
Xcode version: 10.1 (10B61)
iOS version: 12
Device: iPhone X

@oricoh
Copy link

oricoh commented Feb 9, 2019

I have the same issue

@kvasko2
Copy link

kvasko2 commented Mar 8, 2019

I also have this issue in only slightly updated framework versions from what the original poster had.

I was able to hackily get around it by removing PocketSVG and any references to it in the RCTARKit project. It means you cannot use the ARKit.Shape component but, I do not currently need to use it, even though it would be nice to have it working.

I am sure there is some way to ensure the dependency is properly filled, but I did not feel like spending my time figuring that out yet.

@kvasko2
Copy link

kvasko2 commented Mar 14, 2019

I am an idiot. The "iOS > Manual Installation" section of the readme covers all that is needed. I figured most of it out without seeing that, except for the last step where PocketSVG ios is added as an embedded binary.

@macrozone
Copy link
Collaborator

sorry for the pocketsvg integration. I know its not super clean and only really needed for one small feature: It enables you to create easy 3d objects by using a 2d svg shape and extrude it.

@kvasko2
Copy link

kvasko2 commented Mar 14, 2019

No worries macrozone. It is a pretty nice addition. Worth the few seconds it takes to setup the dependencies manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants