Getting error while archiving - ios

I have included libz.dylib in my project.When running on simulator it doesnt gives error.But when archiving its giving me error.
I'm getting below mentioned error
ld: library not found for -lz clang: error: linker command failed
with exit code 1 (use -v to see invocation)
I searched a lot but could not found the solution.
thanks in advance

Related

ld: library not found for -lBoringSSL-GRPC clang: error: linker command failed with exit code 1 (use -v to see invocation)

I am currently having issues archiving my react native project in Xcode. Building and running my project works fine in Debug but archiving is a problem. The following error appears when attempting to archive:
ld: library not found for lBoringSSL-GRPC
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have tried removing 'Firebase/Firestore' from my Podfile, running pod install and then trying to archive but that doesn't seem to help. I would get the error:
ld: library not found for lDoubleConversion
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have tried removing the quotes from the library search paths in the build settings as suggested from someone who had a similar issue. This didn't help unfortunately.
I am opening the workspace. Although, when opening .workspace it does direct me to my project .xcodeproj. Not sure if this is the problem.
Can someone please assist? I would really appreciate it. I'm clueless here. I'm fairly new to Xcode and React Native.
Thank you.

Build failed: "ld: library not found for -lPods-ChatSecure"

I'm getting following error when building the app.
ld: library not found for -lPods-ChatSecure
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please help me.
I'm stuck here.

Xcode clang: error: linker command failed with exit code 1 (UNITY used for creation)

There are many other people with a VERY similar problem to this, but I have not seen Unity itself mentioned in anything related to this issue. My Error is:
Summary of Error:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Full Error:
ld: could not open bitcode temp file: /Users/Ryan/Library/Developer/Xcode/DerivedData/Unity-iPhone-
eovqdsbeqkeftcdnyutjuztsgocg/Build/Intermediates/ArchiveIntermediates/Unity
-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-
iphoneos/Unity-iPhone.build/Objects-
normal/armv7/ProductName.bundle.t3Mkr7/1293.bc for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am using Unity3D for this project and all of the files etc. are made by them, so I do not know really anything about Xcode and how to fix this through Xcode. All help is very appreciated! thank you.
Try setting bitcode to false in project settings

ld: library not found for -lJGProgressHUD

I cloned the project and tried to build it but got stuck due to the following error, can you tell me how to deal with it?
ld: library not found for -lJGProgressHUD
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have done pods install, but the error exists.
Need some help in solving this issue.
Well, That's what worked for me :
Open Build settings
Search for Other Linker flags
remove -l"Pods-XXXLibrary"
Thats it !

xcode 6: Apple mach-o linker error; linker command failed with exit code 1

i am trying to create a archive of my ios project which created using xcode 6. it is working fine in my stimulater but when i try to create an archive of this it gives me this error.
ld: library not found for -lobjc clang: error: linker command failed
with exit code 1 (use -v to see invocation)
when i googled the error it given me the below post. but it didn't had any effective solution given. and they done a better work in explain this problem.. so please look into this post if you can't understand what i am saying. please help.
thanks in advance.
iOS archive with error linker command failed with exit code 1
Linker command failed with exit code 1; undefined symbols for architecture armv7s.

Resources