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.
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?
I am using react native to develop my first cross-platform app. On my attempts to archive it, I encounter, the following error. I think it only happens in yoga library(?) or something. The error lies under yoga in the left pane...
Showing Recent Errors Only
SetOwnerAndGroup username:domänen-benutzer /Users/username/Library/Developer/Xcode/DerivedData/ReactHandHeld-asokbujgobowgaaaypozpydvtdur/Build/Intermediates.noindex/ArchiveIntermediates/ReactHandHeld/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libyoga.a
cd /Users/username/ReactHandHeld/node_modules/react-native/React
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/usr/sbin/chown -RH username:domänen-benutzer /Users/username/Library/Developer/Xcode/DerivedData/ReactHandHeld-asokbujgobowgaaaypozpydvtdur/Build/Intermediates.noindex/ArchiveIntermediates/ReactHandHeld/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libyoga.a
chown: domänen-benutzer: illegal group name
Command /usr/sbin/chown failed with exit code 1
I had exactly the same issue, I never created any group with german special characters (umlauts), I spent some time trying to figure out where the folder is located on disk or in the project but in vain, then I deleted derived data, cleaned the project, restarted Xcode and everything was working again.
When i am run project in Xcode then showing some error that means my add pod file is unknown error
and
error screen short
Screen Short Link
and showing error text is
"/Users/Appsfactor/Library/Developer/Xcode/DerivedData/You_Task-hfbipjtwskuqvfgdnnjienomkrbm/Build/Intermediates.noindex/ArchiveIntermediates/You Task/InstallationBuildProductsLocation/Applications//You Task.app/Frameworks/ALCameraViewController.framework: unknown error -1=ffffffffffffffff
Command /bin/sh failed with exit code 1"
Try deleting your Keychain certificates pertaining your current project and rebuild using new certificates from developer.apple.com and try. Worked for me.
Clear Derived Data
Empty your Trash
Clean your Xcode Project and Run again.
Worked for me.
Just update your Pods or re - install the same.
Clear Derived Data
It'll work
Clear Derived Data
restart system
after open Xcode and run, it will work
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
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…