can't clone repoSee original GitHub issue
$ git clone https://github.com/Doha26/InstagramClone.git
$ cd InstagramClone
$ npm install
$ react-native run-ios
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, by opening InstagramClone.xcworkspace. Run CLI with --verbose flag for more details. Prepare build note: Using legacy build system === BUILD TARGET InstagramClone OF PROJECT InstagramClone WITH CONFIGURATION Debug === Check dependencies The file “Pods-InstagramClone.debug.xcconfig” couldn’t be opened because there is no such file. (/Users/cliffkyanne/InstagramClone/ios/Pods/Target Support Files/Pods-InstagramClone/Pods-InstagramClone.debug.xcconfig) PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock /Users/cliffkyanne/Library/Developer/Xcode/DerivedData/InstagramClone-buttocxmfsowvqbpqjbrojrozidb/Build/Intermediates.noindex/InstagramClone.build/Debug-iphonesimulator/InstagramClone.build/Script-43DE2BB8B1110D5D511C086C.sh cd /Users/cliffkyanne/InstagramClone/ios /bin/sh -c /Users/cliffkyanne/Library/Developer/Xcode/DerivedData/InstagramClone-buttocxmfsowvqbpqjbrojrozidb/Build/Intermediates.noindex/InstagramClone.build/Debug-iphonesimulator/InstagramClone.build/Script-43DE2BB8B1110D5D511C086C.sh diff: /Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. ** BUILD FAILED ** The following build commands failed: PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock /Users/cliffkyanne/Library/Developer/Xcode/DerivedData/InstagramClone-buttocxmfsowvqbpqjbrojrozidb/Build/Intermediates.noindex/InstagramClone.build/Debug-iphonesimulator/InstagramClone.build/Script-43DE2BB8B1110D5D511C086C.sh (1 failure)
- Created 4 years ago
- Comments:10 (6 by maintainers)
Top GitHub Comments
Hi , it seems to be a problem with pods. project use Pods as you can see a Podfile in the “ios” folder. at the root of the project, run this.
- cd ios && pod install && cd…
- react-native run-ios
thanks. for your return. i will update the readme to add the “pod install” command. Let me know if everything okay
Alright. I had been able to follow the same steps on my local machine and run the app without any issue.
You also need to be familiar with xcode to well understand errors and fix them quickly otherwise you will spend weeks trying to fix something may be simple.