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

Can't build to phone #37

Open
talyh opened this issue May 2, 2019 · 2 comments
Open

Can't build to phone #37

talyh opened this issue May 2, 2019 · 2 comments

Comments

@talyh
Copy link

talyh commented May 2, 2019

Using XCode Version 10.2.1, branch master, Unity 2018.2.11f1.

RN 0.57 used in the demo has an issue with this version of XCode, as indicated here: facebook/react-native#21071.

Patched RCTLinking using https://www.npmjs.com/package/patch-package, but still can't build to phone.

Order of operations:
a. npm install
b. installed patch-package
c. updated RCTLinking
d. ran patch-package
e. built from Unity ("Build => ExportiOS")
f. attempted build to iPhone XR

XCode throws error:

CpResource /Users/xzper/workspace/web/npm-package/react-native-unity-demo/ios/UnityExport/Data /Users/Taly/Library/Developer/Xcode/DerivedData/rnunitydemo-gqhpfkldifizajayqsdorbkqxfdb/Build/Products/Debug-iphoneos/rnunitydemo.app/Data (in target: rnunitydemo)
    cd /Users/Taly/Sites/react-native-unity-demo/ios
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/xzper/workspace/web/npm-package/react-native-unity-demo/ios/UnityExport/Data /Users/Taly/Library/Developer/Xcode/DerivedData/rnunitydemo-gqhpfkldifizajayqsdorbkqxfdb/Build/Products/Debug-iphoneos/rnunitydemo.app

error: /Users/xzper/workspace/web/npm-package/react-native-unity-demo/ios/UnityExport/Data: No such file or directory

Any suggested workarounds?

@ham118
Copy link

ham118 commented Sep 27, 2019

@talyh Have you run demo successfully in iOS simulator?

@talyh
Copy link
Author

talyh commented Sep 27, 2019

@ham118 - I haven't, no. The company I work for decided not to invest more time in trying to get this to work, so I haven't looked at it in a while now.

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

2 participants