Post

Replies

Boosts

Views

Activity

XCode 15.2.0 - Linking error and duplicate symbols
I am building an app with cordova-ios (v7.1.0) through XCode. At the end of the build, i have the following errors : [... Lot of duplicate symbol errors...] duplicate symbol '_kCULMainXmlTag' in: /Users/antoineabbou/Library/Developer/Xcode/DerivedData/Appname-***-dvetpwtvzosuihaisuqrtdqvndri/Build/Intermediates.noindex/Appname-***.build/Debug-iphonesimulator/Appname-***.build/Objects-normal/x86_64/CULConfigXmlParser-84817d24615b6eea8da61f9b08150c6b.o ld: 34 duplicate symbols clang: error: linker command failed with exit code 1 (use -v to see invocation) /Users/antoineabbou/Projects/briefme-pwa/brief-eco/cordova/platforms/ios/Appname-***.xcodeproj: warning: The Copy Bundle Resources build phase contains this target's entitlements file '/Users/antoineabbou/Projects/briefme-pwa/brief-eco/cordova/platforms/ios/Appname-***/Resources/Appname-***.entitlements'. (in target 'Appname-***' from project 'Appname-***') ** BUILD FAILED ** The following build commands failed: Ld /Users/antoineabbou/Projects/briefme-pwa/brief-eco/cordova/platforms/ios/build/Debug-iphonesimulator/Appname-***.app/Appname-*** normal (in target 'Appname-***' from project 'Appname-***') I already tried to add -ld_classic, -ld64 or -Wl in other linker flags but it doesn't work. I tried to remove all my DerivedData but it still have the same issue. I tried to reinstall XCode, to clone my repo from zero to have a fresh clean install but nothing does the job. Any help would be great. Thanks !
3
0
129
2w