Showing Recent Messages Undefined symbol: _OBJC_CLASS_$_SFAuthenticationSession - swift

I've just updated to macOS Catalina and on xCode to test an app I was building for iOS on how it'll look like on mac I checked Mac under Development Info.
When I run it on an iOS device it runs successfully. But when I run it using My Mac as target it gives an error:
Undefined symbol: _OBJC_CLASS_$_SFAuthenticationSession
Here is a full picture of the error:

Related

Xcode: "Message from debugger: unable to attach"

Every time I run my project (macOS Cocoa App) I get this message in the Xcode console:
Message from debugger: unable to attach
I have already tried creating a new project (error still occurs), changing some „Signing settings“ (as mentioned in "Message from debugger: unable to attach" when running Tests on OSX app) and reinstalling Xcode.
Xcode Version: Version 10.1 (10B61)
OS: 10.13.6 (High Sierra)
Model identifier: iMac12,2

Xcode error: building for iOS Simulator, but linking in object file built for iOS

Never had a lot of problems until the time to buy Macbook Air M1. Just yesterday my app was build without any error in Xcode 12.4. I did not make any special changes and today build failed:
/Users/userName/Projects/MyApp/ios/Pods/OpenSSL-Universal/ios/lib/libcrypto.a(cryptlib.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/userName/Projects/MyApp/ios/Pods/OpenSSL-Universal/ios/lib/libcrypto.a' for architecture arm64clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please can you help me, how to solve it?
Looks like a missing Arm64 simulator slice in the OpenSSL-Universal CocoaPods distribution.
Make sure that you're using the latest version with pod update and contact the OpenSSL-Universal if there's still an issue.

kobold2d ios device build failed

i am trying to run my kobold2d project on my iphone 4 but it gives me build failed ,
Apple Mach-O linker error.
Cocos2d projects run fine so i don't have any problem with my provisioning profile.I am opening kobold2-0-4.xworkspace. By the way the same project runs perfecty on ios Simulator
Error is:File not found: /Users/bigayvaz/Library/Developer/Xcode/DerivedData/Kobold2D-canokjowlgyrikflbvkipwwnizsr/Build/Products/Debug-iphoneos/libkobold2d-ios.a
Linker command failed with exit code 1
By the way i use xcode 4.5.2

object file format invalid or unsuitable

I have two Xcode installed on my iMac (OSX 10.6.8), Xcode 3.1.4 and Xcode 3.2.6.
I created a new „empty view” project, it builds and runs in simulator fine with both Xcode.
BUT when I want to build to DEVICE then I got this error in Xcode 3.2.6:
.../build/Debug-iphoneos/JustaTest.app: object file format invalid or unsuitable
Command /usr/bin/codesign failed with exit code 1
It still works fine in Xcode 3.1.4 but it seems that the JustaTest.app file generated by Xcode 3.2.6 is not compatible with codesign.
Does anyone know how to tell Xcode 3.2.6 to generate codesign compatible app file?
Or how to get a new codesign which can sign app files generated by Xcode 3.2.6?
Thanks a lot.

Printing in 4.2 SDK - would like to support 4.0 without app crashing

I'm trying to have printing in my application.
While this works, and I can indeed print from my application, I would like to be able to run my application on devices that aren't running iOS 4.2.
Even if I check the version before I run the code.
The method that prints the document has all of the classes that are being used to print.
Whenever I switch the simulator back to 4.1, I get a Symbol not found exception that displays the error:
dyld: Symbol not found: _OBJC_CLASS_$_UIMarkupTextPrintFormatter
Referenced from: /Users/Jack/Library/Application Support/iPhone Simulator/4.1/Applications/794534DB-DB53-42E7-A294-7E78FDD3899B/Documentation.app/Documentation
Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk/System/Library/Frameworks/UIKit.framework/UIKit
in /Users/Jack/Library/Application Support/iPhone Simulator/4.1/Applications/794534DB-DB53-42E7-A294-7E78FDD3899B/Documentation.app/Documentation
I don't want to discard the users who haven't upgraded to 4.2.
Any help appreciated.
Which compiler are you using? If you haven't, you should switch to LLVM GCC or LLVM to support automatic weak linking as described by Marco Arment in Supporting older versions of iOS while using new APIs.