question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

when runnning

$ 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)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Doha26commented, Mar 11, 2020

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

0reactions
Doha26commented, Mar 14, 2020

Hi,

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.

Regards.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting cloning errors - GitHub Docs
Typos happen, and repository names are case-sensitive. If you try to clone git@github.com:user/repo.git , but the repository is really named User/Repo ...
Read more >
Can't clone repo using git clone git://... - ok with git clone http
I'm setting up git on a new Ubuntu VM and trying to clone some repos. The clone works for the following command:
Read more >
Can't clone a Git Repository - Visual Studio Feedback
Hello everyone, I currently have a problem to clone a repository Git (source is Visual Studio Online). When i try to connect to...
Read more >
can't clone a repo in git bash - Atlassian Community
I am trying to clone my repo from bitbucket to my pc but when I pasted the URL using git bash it displays...
Read more >
Why can't I clone a Git repo from my GitLab account?
By default, port 22 is closed for outgoing connections on all SiteGround servers. Thus you may encounter an error when trying to clone...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found