简体   繁体   中英

Xcode 9 error After installing Realm in react native for local storage

Xcode 9 error after installing Realm in React-Native for local storage.

can't exec 'myPath/Source/node_modules/realm/src/../scripts/ccache-clang.sh' (Permission denied), failed with exit code 71 .

Help me to resolve this error.

Thanks

  1. I think you can upgrade your version of realm to the latest version .
  2. Or I have a work around solution for you: Open the Xcode project, find... and remove this line: "$(SRCROOT)/../../../../ios/Pods/Headers/Public/"

Here is the picture after removed:

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM