I keep trying to run my Xcode project (named "ppsideloader") and it keeps giving me 2 errors. Also I Cleaned and Built many times then tried to run, but still same problem.
First Error:
/Users/myUser/Library/Developer/Xcode/DerivedData/ppsideloader-flikuhbwvklweghesxwygrfiylum/Build/Products/Debug-iphoneos/ppsideloader.app/*.dylib: No such file or directory
Second Error:
Command /bin/sh emitted errors but did not return a nonzero exit code to indicate failure
My Build Phases:
I don't know what to do, I tried almost everything. Can someone please help me ?
#Emm...I also faced Same Issue. But the issue is fixed when i re install xcode and restarted my machine.
Try the Same i hope that it will be helpfull to you
Related
]Hey im getting this error :
linker command failed with exit code 1 (use -v to see invocation)
And its very strange because its to an app that is already on the app store and has no problems By mistake I removed all the references from the project package, but then putted them again and I'm getting this error... I don't know what it is , I have already searched this site for 100 solutions none of them worked, I even created did pod init on my file all over again but it still gives me this error. I also have a datamodel , I don't know if that's it , but please help me see why I'm getting this error. I am opening the app with the xcworkspace but still getting the error.
Please help me because I'm afraid I have lost my app forever, Im only 18 and I'm no cap crying, because I have spent the last 6 months doing this app, and now because of a stupid mistake like removing all references from a project I'm getting a bunch of errors and I'm afraid I might never get my app back.
[][1
Please just don't panic :). It can be solved. Here is the proposed solution. It should fix your problem:
do the pod deintegrate
if for some reasons the deintegration was messed up, remove anything that is still left from the list below:
the folder Pods
file Podfile.lock
the file <yourApp>.xcworkspace
run pod install
open the .xcworkspace file that was created.
It should've fixed all the linker errors that you had.
Let me know if there is anything else after these steps?
Strange error encountered. I never faced this issue while building iOS project in Xcode.
Is anyone have any idea about this about how to solve this problem.
This might not be what yo want. But I ran into the same issue where xcode was complaining it can't spawn a process where it was trying to invoke a shell script. In my case, I was using react-native
The following helped for me. Hoping it will do for others who stumble upon this question as well.
change #/bin/sh to #!/bin/sh
https://github.com/luggit/react-native-config/issues/342#issuecomment-478015709
I tried many solutions from the web, but neither of them solved my problem. Few weeks ago I left the project working. Today, when I resumed the project, this error started to happen. Could you give me some tip, please?
this is the error in xcode:
Command /bin/sh failed with exit code 1
Just deleted your derived data and rebuild. and it should work fine.
You can access your derived data from the following path
/Users//Library/Developer/Xcode/DerivedData
Delete the file and rebuild.
I've got a project that I've been working on for a number of years, and everything was going really well making some changes this afternoon, until…
Xcode has stopped compiling the application. It's an ObjC application for the iPad. I get a Shell Script Invocation Error:
Source is /Users/andrew/Developer/SalesIQ/SalesIQ/SalesIQ/SalesIQ-Info.plist
Build is /Users/andrew/Library/Developer/Xcode/DerivedData/SalesIQ-cflsbctuolgqvpbqmuzvrkuopvkl/Build/Products/Debug-iphonesimulator/SalesIQ.app/Info.plist
missing file /Users/andrew/Library/Developer/Xcode/DerivedData/SalesIQ-cflsbctuolgqvpbqmuzvrkuopvkl/Build/Products/Debug-iphonesimulator/SalesIQ.app/Info.plist
Command /bin/sh failed with exit code 1
I've even tried checking out an earlier version of the application and I still get the same error, which confuses me.
Can anyone nudge me in the right direction?
Edit: I should note that I've done a clean and build. I've rebooted. I've tried Xcode 6.0 and the 6.1 beta, and no matter what I do this error is still there.
The missing file warning is misleading. For some unknown reason, a custom script that was run during the build was failing. I deleted the Run Script task, then added it back in, and it's all good.
Weird…
There are many questions about 'linker command failed with exit code 1 (use -v to see invocation)' error.
I have solved it a few times. Removing 'library search path', delete and add again libraries(Admob, Flurry).
After that it works fine.
However, the key point of my problem is the error occurs again if I restart xcode. Solve it again and do some job. On the next day, the error occurs again...
The condition is xcode 5.1.1 & OSX 10.9.3 & iOS 6.1 7.1 simulator
Problem was resolved by
'Copy items into destination group's folder (if needed)' option checking.
I have thought that framework and libraries don't need to copy option, and it worked well before. But in this time, it doesn't.