did not change the profile file before NPM run ios is no error. After changing the profile to introduce react and using pod install, the error report is as follows:
error Failed to build iOS project. We ran “xcodebuild” command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app
p>
solution
1. Delete the item dependent package and the yarn cache
rm -rf node_modules & & yarn cache clean
2. Repackage
yarn install
3. Clear React-Native cache
rm -rf ~/.rncache
New folder .rncache
mkdir ~/.rncache
5. Directly run the download script
node_modules/react-native/scripts/ios-install-third-party.sh
6. If the download is completed, run react-native run-ios directly to succeed
7. If the download fails, run the code in 4 repeatedly for more than 20 times before I succeed, or do the following steps
8. The four download links are key, use the tool to download these four files. download link is closely related to React-Native version, please check the file version carefully.
(1) p> https://github.com/google/glog/archive/v0.3.5.tar.gz
(2) p> https://github.com/google/double-conversion/archive/v1.1.6.tar.gz
(3) p> https://github.com/react-native-community/boost-for-react-native/releases/download/v1.63.0-0/boost_1_63_0.tar.gz
(4) p> https://github.com/facebook/folly/archive/v2018.10.22.00.tar.gz
page open the link to download
9. After downloading, enter directory
open ~ /. Rncache p>
10. Move the four downloaded files to the directory
11. Run the installation script again, because you are using the local download file, all run quickly
node_modules/react-native/scripts/ios-install-third-party.sh
12. If not successful, continue running node_modules/react-native/scripts/ ix-install – thirdparty. sh until successful
13. The project can run, the first start will be a little slow, patience will wait on the line
react-native run-ios
Read More:
- Mac ports installation software prompts “warning: xcodebuild exists but failed to execute”
- Python bug: cannot install ‘Django’. It is a distutils installed project and thus we cannot
- An error was reported on the command line of Vue when it first wrote a small project: expected indentation of 4 spaces but found 6
- failed to find Build Tools revision 23.0.2 Install Build Tools 23.0.2 and sync project
- iOS clang: error: linker command failed with exit code 1 (use -v to see invocation)
- FTP use get command 550 failed to open file, but use the put command to solve the problem
- Why do we not need to write implementation classes in mybatis to get the objects we need
- Solve the error in Ubuntu 18.04: called “net usershare info” but it failed: failed to execute child process “net”
- Flutter – iOS: Command /bin/sh failed with exit code 255
- NPM run build failed to package err! Missing script: build
- Project error – failed to find build tools revision 26.0.1
- IOS error: linker command failed with exit code 1 solution
- Integrate native IOS plug-ins into the flutter project
- Front end Vue project operation error module build failed
- Error command failed when creating vue-cli4 project: Yarn
- Command codesign failed with a nonzero exit code or revoke certificate for IOS / Xcode problems
- Create Vue cli project and report error command failed: Yarn
- Create vue-cli4 project and report error command failed: yarn
- Vs2013 error msb8031 solution today ran a MFC program, found that the error: error msb8031: building an MFC project for a non-U
- JOM error 2 problem when qtcreator uses cmake to build a project