ld: framework not found FirebaseFirestore - swift

When building my application using the .xcworkspace with a Generic iOS Device, I get the error message:
ld: framework not found FirebaseFirestore
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The application is compiling without this error when I build & run on my iPhone and on the iOS Simulator.
Does anyone have advice on debugging this? I've tried pod de-integration, installation, using specific targets specified from Github, removing targets, etc.
Thank you!

Related

Crashlytics doesn't work with Xcode 10 beta

I use Firestore and some of sub-services Google offers. Crashlytics is one of them. I recently started to use Xcode 10 beta and I've started to receive this error:
/Users/<user>/<some folders>/Pods/Fabric/iOS/Fabric.framework/Fabric(FABCompoundOperation.o)
ld: 154 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
And Build Phase stuff:
Here is Embed Pods Frameworks:
How to fix this?
P.S. I already cleaned and tried to build the project without any success.

App failing to build on iPhone 4s and iPhone 5 (Swift)

I am working on an iPhone app that includes a library for custom alert views. You can find the library here. Everything has been implemented properly and the app runs flawlessly on iPhone 6, 6+, and s models as well. However, whenever I try and run the app on the iPhone 4/4s and iPhone 5/5s there are errors related to the alert view library. The current deployment target is 9.3
Here are the error codes that I get:
Undefined symbols for architecture i386:
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
After many days of searching I have found a fix for this issue. Hold down option while cleaning your build. (located product > clean) in Xcode. This cleaned the build folder and now everything is working just fine!

building for watchOS simulator, but linking in object file built for OSX, for architecture i386

we have xcode 7.1.1, MobileFirst 7.1 and followed below link but for our hybrid application with apple watch (swift)
[https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/foundation/hello-world/configuring-a-native-ios-application-with-the-mfp-sdk/#localMethod][1]
Below is complete error received while we added WorklightAPI
"WorklightAPI/Frameworks/IBMMobileFirstPlatformFoundation.framework/IBMMobileFirstPlatformFoundation(WLProcedureInvocationData.o), building for watchOS simulator, but linking in object file built for iOS, for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)"
any idea how to resolve this ?
Do you build for watchOS1 or watchOS2? Currently watchOS2 is not supported

ld: framework not found -Accelerate clang: error: linker command failed with exit code 1

i am trying to implement Apptentive SDK in my iPhone application as per the guide document.
everything was gone good. but at last point of implementing SDK found error.that is Accelerate framework directory path not fount like that a error occurs
ld: framework not found -Accelerate
clang: error: linker command failed with exit code 1 (use -v to see invocation)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
it may be Xcode version in-compatability issues, if we change directory path it may works

Library Not found error for iOS Device in Xcode

I am trying to run my app on device but it is giving error for device working fine for iPhone simulator.
ld: warning: directory not found for option '-L/Users/Documents/TEST/../CorePlotDemo/CorePlotDemo'
ld: warning: directory not found for option '-L/Users/TEST/../CorePlotDemo/CorePlotDemo'
ld: library not found for -lsqlite3.0
clang: error: linker command failed with exit code 1 (use -v to see invocation)
How To solve this error, I also tried with Library Search Path but not working .
Add library libCorePlot-CocoaTouch.a
And set path in build Setting -> Search Path -> Library Search Path -> $(inherited) "$(SRCROOT)/Libs/CorePlot"
This is the path of libCorePlot-CocoaTouch.a.