ld: warning: ignoring file /Users/Apple/Desktop/spechToTxt/SpeechKit.framework/SpeechKit, missing required architecture x86_64 in file /Users/Apple/Desktop/spechToTxt/SpeechKit.framework/SpeechKit (3 slices)
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_SKRecognizer", referenced from:
objc-class-ref in ViewController.o
"_OBJC_CLASS_$_SpeechKit", referenced from:
objc-class-ref in ViewController.o
"_SKSearchRecognizerType", referenced from:
-[ViewController saySomthingTap:] in ViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
To support Speech kit you need OS 10.0 and above then and then only you can able to run speechkit on iPhone.
You need the latest version of SpeechKit framework to support 64bit architecture.
Related
I am getting red folder in XCode. Folders name are Classes, plugins, Other sources and Resources. I have tried Giving path of the folders under Identity and Type section in the right side. On doing this i get
"No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=arm64 arm64e)".
For this, I tried Build active architecture only to yes and no(tried both). And added VALID_ARCHS = arm64 arm64e armv7 armv7s x86_64. And doing this further gives the below error
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_OCFMenuHandler", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$__TtC11OCFramework17GlobalMenuManager", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$__TtC11OCFramework15DeepLinkManager", referenced from:
objc-class-ref in AppDelegate.o
"_OBJC_CLASS_$_OCKMFLoginHandler", referenced from:
objc-class-ref in LoginViewController.o
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am using XCode Version 12.5.1
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_ARImageAnchor", referenced from:
objc-class-ref in libXRPlugin.a(ios-arkit-sensor.o)
"_OBJC_CLASS_$_ARReferenceImage", referenced from:
objc-class-ref in libXRPlugin.a(ios-arkit-sensor.o)
ld: symbol(s) not found for architecture arm64 clang: error: linker
command failed with exit code 1 (use -v to see invocation)
Hello! That's the error I get when trying to compile Demo app from 8thwall
I suppose that's related to a frame work error, any suggestion? Thanks!
What version of XCode are you using? As per the 8th Wall XR documentation, a version of XCode 9.3 or higher is required.
https://docs.8thwall.com/#requirements
When creating a build archive in Xcode, get these error messages. But I can run the app in my iOS device.
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_FlutterAppDelegate", referenced from:
_OBJC_CLASS_$_AppDelegate in AppDelegate.o
"_FlutterMethodNotImplemented", referenced from:
-[FLTFirebaseAdMobPlugin handleMethodCall:result:] in libfirebase_admob.a(FirebaseAdMobPlugin.o)
-[LocationPlugin handleMethodCall:result:] in liblocation.a(LocationPlugin.o)
___52+[FLTSharedPreferencesPlugin registerWithRegistrar:]_block_invoke in libshared_preferences.a(SharedPreferencesPlugin.o)
"_OBJC_CLASS_$_FlutterError", referenced from:
objc-class-ref in libfirebase_admob.a(FirebaseAdMobPlugin.o)
"_OBJC_CLASS_$_FlutterMethodChannel", referenced from:
objc-class-ref in libfirebase_admob.a(FirebaseAdMobPlugin.o)
objc-class-ref in liblocation.a(LocationPlugin.o)
objc-class-ref in libshared_preferences.a(SharedPreferencesPlugin.o)
"_OBJC_CLASS_$_FlutterEventChannel", referenced from:
objc-class-ref in liblocation.a(LocationPlugin.o)
"_OBJC_METACLASS_$_FlutterAppDelegate", referenced from:
_OBJC_METACLASS_$_AppDelegate in AppDelegate.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
It seems that you are missing armv7 support in your Flutter.framework.That's why you could run on your arm64 device but failed to archive for generic devices. Follow these instructions to produce a Flutter.framework that supports armv7. Armv7 build instructions. And take a look at this issue might help.
I am running a project in Xcode 6 ,I am facing this error can any one help to resolve the issue . I has changed valid architecture to armv7 armv7s arm64 then the issue not shown again , but i was getting other error for file while is not support for 64 bit. I am getting below errors
"_OBJC_CLASS_$_OAAsynchronousDataFetcher", referenced from:
objc-class-ref in LoginViewController.o
"_OBJC_CLASS_$_OAConsumer", referenced from:
objc-class-ref in SA_OAuthTwitterEngine.o
objc-class-ref in LoginViewController.o
"_OBJC_CLASS_$_OADataFetcher", referenced from:
objc-class-ref in SA_OAuthTwitterEngine.o
"_OBJC_CLASS_$_OAMutableURLRequest", referenced from:
objc-class-ref in SA_OAuthTwitterEngine.o
objc-class-ref in LoginViewController.o
"_OBJC_CLASS_$_OARequestParameter", referenced from:
objc-class-ref in SA_OAuthTwitterEngine.o
objc-class-ref in LoginViewController.o
"_OBJC_CLASS_$_OAToken", referenced from:
objc-class-ref in SA_OAuthTwitterEngine.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386).
Waiting for response.
I was facing same issue, I just Replace the Twitter Library with new Library that support arm64.
Please download the updated library from https://github.com/bengottlieb/Twitter-OAuth-iPhone/tree/master/Twitter%2BOAuth
and one more thing update library path on Buid Settings -> Library Search Path very carefully
Remember me in your prayers :)
Go to Build Settings --->Architectures--->Build Active Architectures only--->Release -->NO
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_TraktAPIClient", referenced from:
objc-class-ref in ViewController.o
"_kTraktAPIKey", referenced from:
-[ViewController viewDidLoad] in ViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This is the error I get when I try to compile my xcode program
You are trying to use a library "TraktAPIClient" for i386. This library does not seems to contain any compiled code for this architecture. If you are building for iOS, you should target armv7 and armv7s.