"ld: symbol(s) not found for architecture arm64"

I’m trying to track down an issue with a DA Briefcase, so my first port of call is the PCTradeClient sample, which is installed with DA .net or water though I’m building it with Fire. It failed (latest Fire build) with this error so I’ve created a new empty iOS project and simply added libDataAbstract to the project and get the same error when building. It’s weird as my main project does build and runs no problem (other than the issue I’m trying to track down) and the reference appears to be the same. I’ve attached the simply project hereEmptyProject6.zip (120.6 KB) even though it’s quick to replicate, and this is the relevant part of the diagnostic output:

    -> Task RemObjects.EBuild.Elements.ElementsPostCompile started for EmptyProject6, Toffee-iOS.
       -- Task RemObjects.EBuild.Elements.ElementsPostCompileEchoes skipped for EmptyProject6, Toffee-iOS, condition not met.
       -> Task RemObjects.EBuild.Elements.ElementsPostCompileToffee started for EmptyProject6, Toffee-iOS.
          -> Task RemObjects.EBuild.Elements.ElementsPostCompileDarwin started for EmptyProject6, Toffee-iOS.
          <- Task RemObjects.EBuild.Elements.ElementsPostCompileDarwin finished for EmptyProject6, Toffee-iOS, took 0.0000s (0.0002s).
       <- Task RemObjects.EBuild.Elements.ElementsPostCompileToffee finished for EmptyProject6, Toffee-iOS, took 0.0000s (0.0006s).
       -- Task RemObjects.EBuild.Elements.ElementsPostCompileCooper skipped for EmptyProject6, Toffee-iOS, condition not met.
       -- Task RemObjects.EBuild.Elements.ElementsPostCompileIsland skipped for EmptyProject6, Toffee-iOS, condition not met.
    <- Task RemObjects.EBuild.Elements.ElementsPostCompile finished for EmptyProject6, Toffee-iOS, took 0.0000s (0.0019s).
    -> Task RemObjects.EBuild.Elements.ElementsLink started for EmptyProject6.
       -> Task Link started for EmptyProject6, Toffee-iOS.
          -> Phase Linking for Simulator started.
D:                   /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -arch x86_64 -o "/Users/Jeremy/Library/Application Support/RemObjects Software/EBuild/Obj/EmptyProject6-A1B2A917D78CA18B527C4EE7BA4134CCFE6EB2FD/Debug/Toffee-iOS/Simulator/x86_64/EmptyProject6" "/Users/Jeremy/Library/Application Support/RemObjects Software/EBuild/Obj/EmptyProject6-A1B2A917D78CA18B527C4EE7BA4134CCFE6EB2FD/Debug/Toffee-iOS/Simulator/x86_64/EmptyProject6.a" "/Users/Jeremy/Library/Application Support/RemObjects Software/EBuild/Obj/EmptyProject6-A1B2A917D78CA18B527C4EE7BA4134CCFE6EB2FD/Debug/Toffee-iOS/Simulator/x86_64/EmptyProject6.o" -lSystem -lobjc -lDataAbstract -lToffee "-L/Applications/Fire.app/Contents/Resources/Reference Paths/Toffee/../../References/Toffee/iOS Simulator" "-L/Users/Jeremy/Library/Application Support/RemObjects Software/Elements/Fire/Plugins/Remoting SDK.firepluginfolder/Toffee/iOS Simulator" -framework CoreFoundation -framework CoreGraphics -framework Foundation -framework UIKit -framework UserNotifications -ios_simulator_version_min 13.2 -ObjC -dynamic -demangle -force_load /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.ios.a -dead_strip -rpath @executable_path -rpath @executable_path/Frameworks -objc_abi_version 2 -no_implicit_dylibs -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk
                 > ld: Undefined symbols for architecture x86_64:
                 > ld:   "_SecTrustGetCertificateCount", referenced from:
                 > ld:       +[ROCertificateInfo certificateInfoWithURLAuthenticationChallenge:] in libDataAbstract.a(ROCertificateInfo.o)
                 > ld:   "_SecTrustGetCertificateAtIndex", referenced from:
                 > ld:       +[ROCertificateInfo certificateInfoWithURLAuthenticationChallenge:] in libDataAbstract.a(ROCertificateInfo.o)
                 > ld:   "_SecCertificateCopySubjectSummary", referenced from:
                 > ld:       +[ROCertificateInfo certificateInfoWithURLAuthenticationChallenge:] in libDataAbstract.a(ROCertificateInfo.o)
                 > ld:   "_xmlNodeAddContent", referenced from:
                 > ld:       -[ROSoapSerializer writeIntegerParam:toNode:withName:xsdType:] in libDataAbstract.a(ROSoapHelpers.o)
                 > ld:       -[ROSoapSerializer writeRawStringParam:toNode:withName:] in libDataAbstract.a(ROSoapHelpers.o)
                 > ld:   "_xmlHasProp", referenced from:
                 > ld:       -[ROSoapMessage isNilled:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:       -[RORodlFile parseRodlData:] in libDataAbstract.a(RORodlParser.o)
                 > ld:   "_xmlGetProp", referenced from:
                 > ld:       -[ROSoapMessage doReadObject:withName:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:       -[ROSoapMessage readMutableArrayWithName:asClass:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:       -[ROSoapMessage readArrayWithName:asClass:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:       _FindReference in libDataAbstract.a(ROSoapHelpers.o)
                 > ld:       -[RORodlItem(protected) initWithRodlNode:] in libDataAbstract.a(RORodlParser.o)
                 > ld:       -[RORodlFile parseRodlData:] in libDataAbstract.a(RORodlParser.o)
                 > ld:       -[RORodlService initWithRodlNode:] in libDataAbstract.a(RORodlParser.o)
                 > ld:       ...
                 > ld:   "_xmlReadMemory", referenced from:
                 > ld:       -[ROSoapMessage doPrepareFromNSData:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:       -[RORodlFile parseRodlData:] in libDataAbstract.a(RORodlParser.o)
                 > ld:   "_xmlDocGetRootElement", referenced from:
                 > ld:       -[ROSoapMessage doPrepareFromNSData:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:       -[RORodlFile parseRodlData:] in libDataAbstract.a(RORodlParser.o)
                 > ld:   "_xmlIsBlankNode", referenced from:
                 > ld:       -[ROSoapMessage doPrepareFromNSData:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:       -[ROSoapSerializer retrContentOfParamWithName:ofNode:] in libDataAbstract.a(ROSoapHelpers.o)
                 > ld:       -[RORodlFile iterateNode:createClass:fillDictionary:] in libDataAbstract.a(RORodlParser.o)
                 > ld:       -[RORodlFile parseRodlData:] in libDataAbstract.a(RORodlParser.o)
                 > ld:   "_xmlNewDoc", referenced from:
                 > ld:       -[ROSoapMessage createXmlMessageWithLibararyName:messageName:interfaceName:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:   "_xmlFreeDoc", referenced from:
                 > ld:       -[ROSoapMessage clear] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:       -[RORodlFile parseRodlData:] in libDataAbstract.a(RORodlParser.o)
                 > ld:   "_xmlDocDumpMemory", referenced from:
                 > ld:       -[ROSoapMessage doGetNSData] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:   "_SecCertificateCopyData", referenced from:
                 > ld:       +[ROCertificateInfo certificateInfoWithURLAuthenticationChallenge:] in libDataAbstract.a(ROCertificateInfo.o)
                 > ld:   "_xmlNewNode", referenced from:
                 > ld:       -[ROSoapMessage createXmlMessageWithLibararyName:messageName:interfaceName:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:   "_xmlNewProp", referenced from:
                 > ld:       -[ROSoapMessage createXmlMessageWithLibararyName:messageName:interfaceName:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:       -[ROSoapMessage beginWriteObject:withName:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:       -[ROSoapMessage doWriteArray:withName:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:       -[ROSoapMessage createNewRef:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:       -[ROSoapSerializer writeXsdType:toNode:] in libDataAbstract.a(ROSoapHelpers.o)
                 > ld:   "_xmlNodeSetContent", referenced from:
                 > ld:       -[ROSoapSerializer writeDecimalParam:toNode:withName:] in libDataAbstract.a(ROSoapHelpers.o)
                 > ld:       -[ROSoapSerializer writeDoubleParam:toNode:withName:] in libDataAbstract.a(ROSoapHelpers.o)
                 > ld:       -[ROSoapSerializer writeDateParam:toNode:withName:] in libDataAbstract.a(ROSoapHelpers.o)
                 > ld:       -[ROSoapSerializer writeBoolParam:toNode:withName:] in libDataAbstract.a(ROSoapHelpers.o)
                 > ld:       -[ROSoapSerializer writeBinaryParam:toNode:withName:] in libDataAbstract.a(ROSoapHelpers.o)
                 > ld:       -[ROSoapSerializer writeEnumParam:toNode:withName:asEnum:] in libDataAbstract.a(ROSoapHelpers.o)
                 > ld:   "_xmlSearchNs", referenced from:
                 > ld:       -[ROSoapMessage namespaceOfStructure:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:   "_SecTrustEvaluate", referenced from:
                 > ld:       +[ROClientChannel handleAuthenticationChallenge:forHost:callback:] in libDataAbstract.a(ROClientChannel.o)
                 > ld:       +[ROCertificateInfo certificateInfoWithURLAuthenticationChallenge:] in libDataAbstract.a(ROCertificateInfo.o)
                 > ld:   "_xmlNewNs", referenced from:
                 > ld:       -[ROSoapMessage createXmlMessageWithLibararyName:messageName:interfaceName:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:       -[ROSoapMessage beginWriteObject:withName:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:       -[ROSoapMessage doWriteArray:withName:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:       -[ROSoapMessage namespaceOfStructure:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:   "_xmlCleanupParser", referenced from:
                 > ld:       -[ROSoapMessage clear] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:       -[ROSoapMessage doPrepareFromNSData:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:       -[RORodlFile parseRodlData:] in libDataAbstract.a(RORodlParser.o)
                 > ld:   "_xmlNewChild", referenced from:
                 > ld:       -[ROSoapMessage createXmlMessageWithLibararyName:messageName:interfaceName:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:       -[ROSoapMessage beginWriteObject:withName:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:       -[ROSoapMessage doWriteArray:withName:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:       -[ROSoapMessage createNewRef:] in libDataAbstract.a(ROSoapMessage.o)
                 > ld:       -[ROSoapSerializer writeIntegerParam:toNode:withName:xsdType:] in libDataAbstract.a(ROSoapHelpers.o)
                 > ld:       -[ROSoapSerializer writeDecimalParam:toNode:withName:] in libDataAbstract.a(ROSoapHelpers.o)
                 > ld:       -[ROSoapSerializer writeDoubleParam:toNode:withName:] in libDataAbstract.a(ROSoapHelpers.o)
                 > ld:       ...
                 > ld:   "_xmlDocSetRootElement", referenced from:
                 > ld:       -[ROSoapMessage createXmlMessageWithLibararyName:messageName:interfaceName:] in libDataAbstract.a(ROSoapMessage.o)
    E:                   ld: symbol(s) not found for architecture x86_64
                  <- Phase Linking for Simulator failed.

Forget it, I remember now, you have to add libxml2 and Security when you add libDataAbstract!

you need references to Security and libxml2. What version of DA are you on, iirc I fixe tis to be implicitly added, but not sure if thats in the latest public build yet…

Yep recalled it eventually as above - DA is .1463, same as in Fire.

k, thanx!