iOS 12 beta 9, Xcode 10.0 beta 6 Unable to build the WebdriverAgent getting error - linker command failed with exit code 1 - ios-ui-automation

Getting this error while building
Undefined symbols for architecture arm64:
"OBJC_CLASS$XCElementSnapshot", referenced from:
l_OBJC$CATEGORY_XCElementSnapshot$FBIsVisible in XCUIElement+FBIsVisible.o
l_OBJC$CATEGORY_XCElementSnapshot$FBUID in XCUIElement+FBUID.o
l_OBJC$CATEGORY_XCElementSnapshot$WebDriverAttributes in XCUIElement+FBWebDriverAttributes.o
objc-class-ref in XCUIElement+FBWebDriverAttributes.o
l_OBJC$CATEGORY_XCElementSnapshot$FBAccessibility in XCUIElement+FBAccessibility.o
l_OBJC$CATEGORY_XCElementSnapshot$FBScrolling in XCUIElement+FBScrolling.o
l_OBJC$CATEGORY_XCElementSnapshot$_FBHitPoint in XCElementSnapshot+FBHitPoint.o
...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Worked after taking latest code.

Related

Undefined symbols for architecture x86_64 while running project on M1 chip Mac

Getting issue while running trying to run the project on the Mac M1. I have no idea what I'm doing wrong here.
I have changes the Excluded Architecture to arm64 and also added the following lines in the podfile
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end
At the last moment project fails with the following error.
Undefined symbols for architecture x86_64:
"_SLNavigationTypeExit", referenced from:
___46-[RNSmartlook trackNavigationEvent:direction:]_block_invoke in libsmartlook-react-native-bridge.a(RNSmartlook.o)
"_SLNavigationTypeEnter", referenced from:
___46-[RNSmartlook trackNavigationEvent:direction:]_block_invoke in libsmartlook-react-native-bridge.a(RNSmartlook.o)
"_SLSetupOptionFramerateKey", referenced from:
___31-[RNSmartlook setup:framerate:]_block_invoke in libsmartlook-react-native-bridge.a(RNSmartlook.o)
___48-[RNSmartlook setupAndStartRecording:framerate:]_block_invoke in libsmartlook-react-native-bridge.a(RNSmartlook.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Build target log
Link PROJECTNAME(x84_64) 1.1 second

Unable to build WebRTC on iOS for arm64

I am trying to make a WebRTC.xcframework build for on an iOS device.
Here is what I am running to build it.
gn gen out/ios_arm64device --args='target_os="ios" target_cpu="arm64" ios_code_signing_identity="********" ios_code_signing_identity_description=""'
ninja -C out/ios_arm64device sdk:framework_objc
xcodebuild -create-xcframework -framework out/is_arm64device/WebRTC.framework -output out/arm64/WebRTC.xcframework
However after I add the WebRTC.xcframework to my project I get the following error when I try to run it:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_RTCPeerConnectionFactory", referenced from:
objc-class-ref in RTIWebRTCClient.o
"_OBJC_CLASS_$_RTCDefaultVideoDecoderFactory", referenced from:
objc-class-ref in RTIWebRTCClient.o
"_OBJC_CLASS_$_RTCDefaultVideoEncoderFactory", referenced from:
objc-class-ref in RTIWebRTCClient.o
"_RTCInitializeSSL", referenced from:
-[RTIWebRTCClient configure] in RTIWebRTCClient.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Are you able to tell what I am missing?
Add the argument rtc_enable_symbol_export=true in your gn gen and generate your framework again, it should work.
gn gen out/ios_arm64device --args='target_os="ios" target_cpu="arm64" ios_code_signing_identity="********" ios_code_signing_identity_description=""'

"_TWTRScribeEventImpressionElement" and TwitterKit Objective C

I'm using Xcode 7.
After updating Fabric framework and TwitterCore I can't build my project. I Have problem with _TWTRScribeEventImpressionElement and other files in TwitterKit.
I'm tryied to update TwitterKit but it did not help.
Error is:
Undefined symbols for architecture armv7:
"_TWTRScribeEventImpressionElement", referenced from:
-[TWTRScribeSink didShareTweetWithID:shareType:] in TwitterKit(TWTRScribeSink.o)
+[TWTRScribeSink tweetLoadNamespace] in TwitterKit(TWTRScribeSink.o)
+[TWTRScribeSink tweetViewImpressionNamespaceWithStyle:] in TwitterKit(TWTRScribeSink.o)
+[TWTRScribeSink tweetViewShareNamespace] in TwitterKit(TWTRScribeSink.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Has somebody seen such problem?

linker command failed while running mbalertview demo

I downloaded mbalertview from the git and try to compile and run but i got this error
_vImageBoxConvolve_ARGB8888", referenced from:
-[MBFlatAlertView boxblurImage:boxSize:] in MBFlatAlertView.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
please help me.
Apparently vImageBoxConvolve_ARGB8888() is not defined. See if the Accelerate framework is properly included in the project.

Libmms and iOS 5, Xcode 4.2

Every time I try complier my that is using the libmms. I recieved follow linker error:
Undefined symbols for architecture i386:
"_Status_GetNewStatusByKey", referenced from:
_report_progress in mms.o "_Status_SetNewStatusByKey", referenced from:
_report_progress in mms.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1
(use -v to see invocation)
Any help would be helpfully