ld: framework not found Lightning - swift

I'm trying to add the lightning framework to my Xcode project, and the project is not building with an error:
ld: framework not found Lightning
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
I'm working in the .xcworkspace, and I've tried to do use the commands pod deintegrate, pod install. I've also tried deleting the framework from Linked Frameworks and Libraries and readding but nothing is working

Try basic solutions like clean Xcode (press Cmd+Shift+K ), close Xcode and reopen If doen't help remove framework , do pod install and add again your framework and pod install ...

Related

Framework not found Crashlytics in xcode 12.0.1

After i implement firebase Crashlytics on old project it has fabric.
i removed those pods :
pod 'Fabric'
pod 'Crashlytics'
and after
pod install
i see this error
ld: framework not found Fabric
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have tried many clean build folder and project. But It still stays in there. What should I do?
Solution
Goto your project target and Build Settings
search for "Other Linker Flags"
Delete :
-framework
"Crashlytics"
Crashlytics
If you want to upgrade, just follow the upgrade guide here:
https://firebase.google.com/docs/crashlytics/upgrade-sdk?platform=ios
If you want to just remove Crashlytics, use pod deintegrate

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.

`swift test` produces "symbol(s) not found for architecture x86_64" linker error

I'm currently trying to add support for the Swift Package Manager to a side-project I've been working on and am running into trouble when trying to run the unit tests I have for the project.
When running them within XCode, I have no problem building and running all of my unit tests; however, when I try to run my tests with the package manager using swift test, I get the following linker error:
ld: symbol(s) not found for architecture x86_64
<unknown>:0: error: link command failed with exit code 1 (use -v to see invocation)
I ended up figuring out a solution that I'm happy with. I've added a link to the PR here that fixed things, but the general solution was to create a new shared framework target that both my executable and test targets linked to!

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.

Linking error when building Parse in Xcode 7

I am trying to add the Parse.com SDK to my Xcode 7 project. I have followed the getting started guide and I have managed to do it before in Xcode 6.
However this time I am being shown this error message when I try to build:
ld: framework not found Bolts
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Thanks
There seems to be an issue with Xcode 7 beta where the search path for manually added frameworks is missing.
To fix the issue add the search path by doing the following:
Select Project
Click on Targets
Click Build Settings
Search for: Framework Search Path
Add the following without the quotes: "$(PROJECT_DIR)" and choose recursive option.
The project should build now.
I suggest you integrate Parse using CocoaPods.
Cocoapods manages the library dependencies in a much better way.
The following is a sample PodFile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '7.0'
inhibit_all_warnings!
target '**YourProjectName**' do
pod 'Parse', '~> 1.7.1'
pod 'AFNetworking', '2.2.3'
end