Search code examples
iosxcodexcode15

When I update to Xcode15, I get lot of warnings: "Mixed ObjC ABI, xxx compiled without category class properties"


When I was using Xcode 14, I didn't encounter any warnings. However, after updating to Xcode 15, I suddenly started receiving over 200 warnings from third-party libraries. Does anyone know the reason for this or how to address these warnings without having to wait for the libraries to be updated? It appears that these warnings are related to the use of Objective-C in the libraries.

Warning like it: Mixed ObjC ABI, /Users/wanghong/Developer/alpaca/Pods/AppsFlyerFramework/iOS/AppsFlyerLib.framework/Versions/A/AppsFlyerLib[x86_64][26](AppsFlyerAES128Crypto.o) compiled with category class properties

enter image description here


Solution

  • on Build Settings -> Link -> Other Link Flags, you can add -ld64 or -ld_classic