Crashlytics doesn't work with Xcode 10 beta - swift

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.

Related

ld: framework not found FirebaseFirestore

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!

How do I make use of SSLSetALPNProtocols?

I'm working on a TLS library for the vapor project and am supporting both Apple's (Transport-)Security and OpenSSL for use in an HTTP/2 client and server.
On this line of code I'm trying to call SSLSetALPNProtocols. Regardless of my approach, I'm met with an ld linker error on that line of code.
Undefined symbols for architecture x86_64:
"_SSLSetALPNProtocols", referenced from:
__T08AppleSSL9SSLOptionV4alpnACSaySSG9protocols_tFZySo10SSLContextCKcfU_ in Options.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
There's no documentation available to highlight a possible obvious mistake since the page is empty.
So, how do I get this code to compile with ALPN support?
Currently that's impossible. Apple forgot to export the SSLSetALPNProtocols and SSLCopyALPNProtocols function.
I already filed rdar://34790589 (duplicate of rdar://33907676)
As of the latest macOS and Xcode beta with Swift 4.1 I've got this up and running.

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

Google Admob working on simulator but build failed in real device

I have added adMob in a phonegap iOS project. It works fine in simulator But when I tried to build it in real device it shows me error and build failed.
errors message:
duplicate symbol _GAD_MD5 in:
/Users/prium/Documents/phonegap/projects/Diamond-mixer-iOS/GoogleAdmobiOS/llibGoogleAdMobAds.a(md5.o)
/Users/prium/Documents/phonegap/projects/Diamond-mixer-iOS/GoogleAdmobiOS/llibGoogleAdMobAds.a(gad_md5.o)
ld: 1 duplicate symbol for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please help.
check out for Build settings-->architectures-->armv7 and armv7s. JUST put armv7
adding armv7 and armv7s to architecture should work