Tuist generate fails with Xcode 13 - swift

After updating Xcode to 13.0, I get an error when trying to run the command:
tuist generate
The error:
The 'swiftc' command exited with error code 1 and message:
error: link command failed with exit code 1 (use -v to see invocation)
ld: framework not found ProjectDescription
This command was working before the update.
I tried updating tuist to the latest version, 1.50, but that doesn't work

tuist update solves the problem

Related

xcode Firebase Crashlytics Command PhaseScriptExecution failed with a nonzero exit code

I have an application that I wrote with swift. I want to see crash reports of the app after the release. I want to add Firebase Crashlytics for this. I do everything in this link. but during compilation i get the following error:
/bin/sh: /Users/durak/Library/Developer/Xcode/DerivedData/Kelimeci-auysdliostxzkgcllzdsmxabridn/Build/Intermediates.noindex/Kelimeci.build/Debug-iphonesimulator/Kelimeci.build/Script-65F1AA5C273CEB5C00F5B530.sh: /bin/shr: bad interpreter: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code
I've been searching for hours and can't find a solution. I removed the pod and reinstalled it, still didn't work. What is the problem, where am I going wrong?
xcode 12.5
I have the same problem.
In my situation because I use nvm and node version 16.13.1 when I change the version to 16.6.0 it fixes the problem.
nvm alias default 16.6.0

Xcode 9.2: linker command failed with exit code 1 (use -v to see invocation)

I installed Cocoapods. I used GoogleMaps. When I build workspace on my device i get this error: Error
I also tried all this instructions: Linker command failed with exit code 1 after installing CocoaPods and firebase pod
P.S. Building on simulator works
Probably you've already check if you've open the .xcworkspace created in your project folder.(NOT .xcodeproj)
If still doesn't work try
Go to Project Settings.
Go to Build Settings.
Change BUILD ACTIVE
ARCHITECTURE ONLY to NO.

getting error clang: error: linker command failed with exit code 1 (use -v to see invocation) swift

Hi all I am getting this error while using an ocr cocoa pod. In Xcode
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
It works fine in simulator but as soon as I set it to external device i get this error.
I have tried disabling bitcode, cleaning the project, uninstalling and reinstalling the pods, and various other things listed on stack overflow.
has anybody else have any other ideas.
All the best
Tony
I was able to fix it.
Even though i had set the bitcode to NO it didn't work.
what i did was go to the pods and select the pod that doesn't work with bitcode and changed only that pod to NO on bitcode.
See picture below...

Building Cyanogenmod from source - recipe for target failed (libnativehelper.so)

I'm getting the following error about an hour into my build of Cyanogenmod 12.1 for hlte, using the latest repo checkout. I am using Debian testing, have all dependencies installed as listed in Google's build guide and am using OpenJDK 7. I also have all proprietary files under vendor/samsung. What am I missing or what direction should I look in to solve this problem?
...
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
clang: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_shared_library_internal.mk:44: recipe for target '/home/james/android/cm/out/host/linux-x86/obj32/lib/libnativehelper.so' failed
make: *** [/home/james/android/cm/out/host/linux-x86/obj32/lib/libnativehelper.so] Error 1

xcode7: hit linker command failed with exit code 1 under

I hit below error when build app on real device(ios9.0) use xcode7 beta:
ld: library not found for -lPods...... clang: error: linker command
failed with exit code 1 (use -v to see invocation)
I tried to
change the config "Enable Bitcode" to "NO".
hardcode Framework path under build setting tab
but it didn't help.
check this framework if existed in your project folder,you can right
click on this framework in Xcode.
if existed, delete this framework under Frameworks in Xcode and then copy this framework into Xcode again for re-reference.