Xcode26.2构建的.a库,在Xcode16上运行正常。但是在Xcode13运行报错,报错内容如下:

Link EaseChat (arm64)34.1 seconds Undefined symbol:_objc_msgSend$appld Undefined symbo: objc msgSendssetisExitprocess Undefined symbol_objc_msgSendssetisWaitingLoginRoom: Undefined symbol_objc-misgSend$sleepForTimeinterval: Undefined symbol: objc_msgSendsisunsetting Undefined symbol: _objc_msgSend$subpathsAtPath:Untdetme vmbol!-sbie-miesentetoue yarp orse urityap icationtrou dent Undefined symbol: _obic-_msgSendsURLByAppendingPathComponent:isDirectory:Unerined symhol.-sbie- masindtereas pretory atlgtryohininronetate brectort Undefined symbol: -obic-msgSendScreatezegoReplayKitshareLogDirtNeedUntef nes ymhteo!-otbie-mesentdera otieton baevetr Undefined symbol: Undefined symbol: obic msssendsbolForkey: Undefined symbol:_obic_msgSendsintegerForkey: Undefined symbol:_objc_msgSendsnumberwithinteger: undefined symbol:_objc_msgSendsisWaitingLoginRoom Undefined ymbal!. sbic.-massendsgrevareteplay yecodayr_objc-_msgSendsprepareReplayLiveCapture Undefined symbol:_objc_msgSendssetConfig: Undefined symbol: -objc-ImsgSend SvidedEncodeResolutioUndefined symbol:_objc_msgSendssetRoomConfig: Undefined symbol:_objc_msgSend$roomapi undefined symbol: objc_msgSendssetUseriD: Underfined symbolt obic-massendssetLogintoken Undefined symbol_objc-_msgSendsmyUserDefaults2 Undefined symbol: -objc- msgSendstringForkey:SUundefined symteal -sbie-nasentesarcstrinatmoctenath entcadings ant

Thanks for the post.

If I understand your question correctly, a library built in Xcode 26.2 should not run in any Xcode below 26.2. Libraries are not backwards compatible should be only forward compatible.

Hope that's what you were asking.

Albert Pascual
  Worldwide Developer Relations.

Xcode26.2构建的.a库,在Xcode16上运行正常。但是在Xcode13运行报错,报错内容如下:
 
 
Q