Xcode 15.4 error symbol not found found for architecture arm64

Using 2021-3-42f1 (tried with 43f1) after building in unity normally when trying to archive the product i get the msg:

Xcode 16 error symbol(s) not found found for architecture arm64

Any ideas how to fix? i’ve been looking a couple days now.
following is the full stack if it helps

    cd /Users/user1/untitled\ folderg
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -Xlinker -reproducible -target arm64-apple-ios12.0 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.5.sdk -O0 -L/Users/user1/Library/Developer/Xcode/DerivedData/Unity-iPhone-diufdicdyewtsedgtuuxghuubyul/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos -L/Users/user1/Library/Developer/Xcode/DerivedData/Unity-iPhone-diufdicdyewtsedgtuuxghuubyul/Build/Products/Debug-iphoneos -L/Users/user1/untitled\ folderg/Libraries -L/Users/user1/untitled\ folderg/Libraries/Plugins/FMOD/platforms/ios/lib -F/Users/user1/Library/Developer/Xcode/DerivedData/Unity-iPhone-diufdicdyewtsedgtuuxghuubyul/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos -F/Users/user1/Library/Developer/Xcode/DerivedData/Unity-iPhone-diufdicdyewtsedgtuuxghuubyul/Build/Products/Debug-iphoneos -filelist /Users/user1/Library/Developer/Xcode/DerivedData/Unity-iPhone-diufdicdyewtsedgtuuxghuubyul/Build/Intermediates.noindex/Unity-iPhone.build/Debug-iphoneos/UnityFramework.build/Objects-normal/arm64/UnityFramework.LinkFileList -install_name @rpath/UnityFramework.framework/UnityFramework -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -Xlinker -map -Xlinker /Users/user1/Library/Developer/Xcode/DerivedData/Unity-iPhone-diufdicdyewtsedgtuuxghuubyul/Build/Intermediates.noindex/Unity-iPhone.build/Debug-iphoneos/UnityFramework.build/UnityFramework-LinkMap-normal-arm64.txt -dead_strip -Xlinker -object_path_lto -Xlinker /Users/user1/Library/Developer/Xcode/DerivedData/Unity-iPhone-diufdicdyewtsedgtuuxghuubyul/Build/Intermediates.noindex/Unity-iPhone.build/Debug-iphoneos/UnityFramework.build/Objects-normal/arm64/UnityFramework_lto.o -Xlinker -no_deduplicate -stdlib\=libc++ -fobjc-arc -fobjc-link-runtime -weak_framework CoreMotion -weak-lSystem -liPhone-lib -framework Metal -framework Security -framework MediaToolbox -framework CoreText -framework AudioToolbox -weak_framework AVFoundation -framework AVKit -framework CFNetwork -framework CoreGraphics -framework CoreMedia -weak_framework CoreMotion -framework CoreVideo -framework Foundation -framework OpenAL -framework QuartzCore -framework SystemConfiguration -framework UIKit -liconv.2 -lil2cpp /Users/user1/untitled\ folderg/Libraries/baselib.a -lresonanceaudio -lfmodstudiounitypluginL -weak_framework GameController -l_burst_generated -Xlinker -dependency_info -Xlinker /Users/user1/Library/Developer/Xcode/DerivedData/Unity-iPhone-diufdicdyewtsedgtuuxghuubyul/Build/Intermediates.noindex/Unity-iPhone.build/Debug-iphoneos/UnityFramework.build/Objects-normal/arm64/UnityFramework_dependency_info.dat -o /Users/user1/Library/Developer/Xcode/DerivedData/Unity-iPhone-diufdicdyewtsedgtuuxghuubyul/Build/Products/Debug-iphoneos/UnityFramework.framework/UnityFramework

Undefined symbols for architecture arm64:
  "_egcalculateEncryptedSize", referenced from:
      _EncryptorNative_egcalculateEncryptedSize_mBB9396B3395CD2AFECB7BCDF8262B3BF22D0C274 in Assembly-CSharp__6.o
  "_egconnect", referenced from:
      _SocketNativeSource_egconnect_m01DA11B3B5EFB2E4B37293DC3EA365FD9E017CF9 in Assembly-CSharp__6.o
  "_egconnectWithProtocol", referenced from:
      _SocketNativeSource_egconnectWithProtocol_mB2D7892AD6B6BA723FB14D5D4F213EDE572685C8 in Assembly-CSharp__6.o
  "_egconnectWithProtocols", referenced from:
      _SocketNativeSource_egconnectWithProtocols_m3071162DF30E0143E5588A37C4EF63736367CB6D in Assembly-CSharp__6.o
  "_egconnectWithProtocols2", referenced from:
      _SocketNativeSource_egconnectWithProtocols2_mCE623E92673A7C2956583E94A52BDAB54E89877B in Assembly-CSharp__6.o
  "_egconstructEncryptor2", referenced from:
      _EncryptorNative_egconstructEncryptor2_mB46B49A5DE5110DB7BF068423730CE4E7B9F8A3D in Assembly-CSharp__6.o
  "_egdecrypt2", referenced from:
      _EncryptorNative_egdecrypt2_m8E48593F285F2ADE1EF807A531605120B3D460AF in Assembly-CSharp__6.o
  "_egdestructEncryptor2", referenced from:
      _EncryptorNative_egdestructEncryptor2_m9A2B999A19DE8B8871BD4A6958976725E21050A6 in Assembly-CSharp__6.o
  "_egdisconnect", referenced from:
      _SocketNativeSource_egdisconnect_mA85E1C68049F32913CBBCD1E940085F33E7ACC0F in Assembly-CSharp__6.o
  "_egencrypt2", referenced from:
      _EncryptorNative_egencrypt2_m64A0730D94CF981AB057804F2395FB5F0E3AF6A5 in Assembly-CSharp__6.o
  "_eggetEncryptorPluginVersion", referenced from:
      _EncryptorNative_eggetEncryptorPluginVersion_mD5A50E753698EE18F33C9363E2F3224E61FD5484 in Assembly-CSharp__6.o
  "_eggetFragmentLength", referenced from:
      _EncryptorNative_eggetFragmentLength_m82E555DDB221722A13D53E40BAF015ACB34606C8 in Assembly-CSharp__6.o
  "_eggetState", referenced from:
      _SocketNativeSource_eggetState_m1A36FDB88C6E9294596785C8C261A347D4169A3B in Assembly-CSharp__6.o
  "_eggetUsingIPv6", referenced from:
      _SocketNativeSource_eggetUsingIPv6_m96F4D895051B0E92D22F82861BDA466489CFAF23 in Assembly-CSharp__6.o
  "_egread", referenced from:
      _SocketNativeSource_egread_mACC4AFEBFE31EC1CD83008D95CE4229C38F26A0C in Assembly-CSharp__6.o
  "_egsend", referenced from:
      _SocketNativeSource_egsend_m19D06EE64BA10C696F51D908540BD56A7692575A in Assembly-CSharp__6.o
  "_egservice", referenced from:
      _SocketNativeSource_egservice_mEB8244C9ED0A65616C7B772CC922BAF202AD2988 in Assembly-CSharp__6.o
  "_egsetEncryptorLoggingCallback", referenced from:
      _EncryptorNative_egsetEncryptorLoggingCallback_mCE30C49F9CA7E25487AE1602374E223214547570 in Assembly-CSharp__6.o
  "_egsetEncryptorLoggingLevel", referenced from:
      _EncryptorNative_egsetEncryptorLoggingLevel_m0E477FE8F2190C9640BEA4035F26750AA7D3C8D6 in Assembly-CSharp__6.o
  "_egsetSocketDeallocatedCallback", referenced from:
      _SocketNativeSource_egsetSocketDeallocatedCallback_m4213FC1D6970E1069EC157D0590A580319618A2D in Assembly-CSharp__6.o
  "_egsetSocketLoggingCallback", referenced from:
      _SocketNativeSource_egsetSocketLoggingCallback_mA76A4ABBF4B8EDED84C6058153D571466639E2A4 in Assembly-CSharp__6.o
  "_egsetSocketLoggingLevel", referenced from:
      _SocketNativeSource_egsetSocketLoggingLevel_m51E7F7407905BE2E5B991A6F7CE440CA225111F2 in Assembly-CSharp__6.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)