I have tried to compile the gstreamer ios tutorial #3. I have built the iOS SDK from sources that I have checked out from git, the master tree, and then when I have tried to compile for iOS 9.2. I got the below link error which I have no explanation for. All help is much appreciated.
Undefined symbols for architecture arm64:
"_gst_plugin_liveadder_register", referenced from:
_gst_ios_init in gst_ios_init.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Related
I'm using xcode 13,
React-native version 0.64.2
Its working fine in Android but iOS I getting error
It builds with the following error:
Undefined symbols for architecture x86_64:
"_RCTRegisterModule", referenced from:
+[RNMixpanel load] in RNMixpanel.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbol: _RCTRegisterModule
Not sure if it's the same thing but for me my solution was an issue with the packages, they had s.dependancy as React when it should be React-Core. See here: https://github.com/facebook/react-native/issues/29633#issuecomment-694187116
You can manually change them to see if it works for you and then use the patcher as suggested to fix the libraries.
I try to integration with zooz sdk in ios but it give some error, so please provide me a right solution.
Ignoring File
/Users/xyz/Desktop/Zooz.com/ZooZSDK.embeddedframework/ZooZSDK.framework/ZooZSDK,
missing required architecture x86_64 in file
/Users/xyz/Desktop/Zooz.com/ZooZSDK.embeddedframework/ZooZSDK.framework/ZooZSDK
(3 slices) Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_ZooZ", referenced from:
objc-class-ref in DemoZooZSDKViewController.o "_OBJC_CLASS_$_ZooZInvoiceItem", referenced from:
objc-class-ref in DemoZooZSDKViewController.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with
exit code 1 (use -v to see invocation)
Experienced the same issue when following the installation instruction on their Github. Finally, I've downloaded the source code and built using Carthage for all architectures. This allowed me to run on simulator and physical device.
I build project that have unity classes inside. And i got this error:
Undefined symbols for architecture armv7:
RegisterAllClassesIPhone(), referenced fro
RegisterAllClasses() in RegisterMonoModules.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Anyone knows how to handle with this?
Thanks
You may forget to add this flag:
Other C Flag:
-DINIT_SCRIPTING_BACKEND=1
Other C++ Flag:
-DINIT_SCRIPTING_BACKEND=1
I met the same issue, and fixed by added the above flags.
I just add library and framework of PJSIP to my XCODE project such as Simulator, Device and Third Party but when I build my project it show error:
Undefined symbols for architecture armv7:
"_pjmedia_get_video_format_info", referenced from:
_ios_factory_create_stream in libpjmedia-videodev-arm-apple-darwin9.a(ios_dev.o)
"_pjmedia_format_get_video_format_detail", referenced from:
_ios_factory_create_stream in libpjmedia-videodev-arm-apple-darwin9.a(ios_dev.o)
"_pjmedia_format_init_video", referenced from:
_ios_factory_init in libpjmedia-videodev-arm-apple-darwin9.a(ios_dev.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I try to Google the solution but it seem not help. Please share your idea, I think i miss some configuration or library. Thanks in advance.
You should take a look in to this question asked on SO earlier
Trouble of compilation on xcode4.2 for pjsip
As the apple map adk is not well detailed on street details, and the google has provided the new sdk, I am trying to get this as a work around for the current ios 6, the problem that I am facing is that it is throwing error no matter what architecture you have placed in the settings,
Following is the error, though it works with no problem when running there sdkmapdemo :(
Undefined symbols for architecture armv7:
"___gxx_personality_sj0", referenced from:
+[GMSServices provideAPIKey:] in GoogleMaps(GMSServices.o)
+[GMSServices openSourceLicenseInfo] in GoogleMaps(GMSServices.o)
+[GMSServices services] in GoogleMaps(GMSServices.o)
_GMS_NSClassFromString in GoogleMaps(GMSRenames.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Did you add libstdc++.dylib to the project's frameworks?