Undefined symbols for architecture x86_64 in Xcode 14.1 M1 Chip of New Build System - Archive the Project successfully, While debugging the below Undefined symbols for architecture occurs.
Ld /Users/athangamani/Library/Developer/Xcode/DerivedData/BbStudent-focroldhsipukrfaflivygeqrhka/Build/Products/Debug-iphonesimulator/BbLogout/BbLogout.framework/BbLogout normal (in target 'BbLogout' from project 'Pods') cd /Users/athangamani/Documents/BB-PROJECTS/ios-bbstudent/Pods /Applications/XCode_13/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-ios9.0-simulator -dynamiclib -isysroot /Applications/XCode_13/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk -L/Users/athangamani/Library/Developer/Xcode/DerivedData/BbStudent-focroldhsipukrfaflivygeqrhka/Build/Products/Debug-iphonesimulator/BbLogout -F/Users/athangamani/Library/Developer/Xcode/DerivedData/BbStudent-focroldhsipukrfaflivygeqrhka/Build/Products/Debug-iphonesimulator/BbLogout -F/Users/athangamani/Library/Developer/Xcode/DerivedData/BbStudent-focroldhsipukrfaflivygeqrhka/Build/Products/Debug-iphonesimulator/BbAppKit -F/Users/athangamani/Library/Developer/Xcode/DerivedData/BbStudent-focroldhsipukrfaflivygeqrhka/Build/Products/Debug-iphonesimulator/BbFoundation -F/Users/athangamani/Library/Developer/Xcode/DerivedData/BbStudent-focroldhsipukrfaflivygeqrhka/Build/Products/Debug-iphonesimulator/BbKit -F/Users/athangamani/Library/Developer/Xcode/DerivedData/BbStudent-focroldhsipukrfaflivygeqrhka/Build/Products/Debug-iphonesimulator/SDWebImage -filelist /Users/athangamani/Library/Developer/Xcode/DerivedData/BbStudent-focroldhsipukrfaflivygeqrhka/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/BbLogout.build/Objects-normal/x86_64/BbLogout.LinkFileList -install_name @rpath/BbLogout.framework/BbLogout -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/athangamani/Library/Developer/Xcode/DerivedData/BbStudent-focroldhsipukrfaflivygeqrhka/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/BbLogout.build/Objects-normal/x86_64/BbLogout_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -framework AVFoundation -framework BbAppKit -framework CoreGraphics -framework CoreTelephony -framework GLKit -framework OpenGLES -framework QuartzCore -framework QuickLook -framework UIKit -framework Foundation -Xlinker -no_adhoc_codesign -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/athangamani/Library/Developer/Xcode/DerivedData/BbStudent-focroldhsipukrfaflivygeqrhka/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/BbLogout.build/Objects-normal/x86_64/BbLogout_dependency_info.dat -o /Users/athangamani/Library/Developer/Xcode/DerivedData/BbStudent-focroldhsipukrfaflivygeqrhka/Build/Products/Debug-iphonesimulator/BbLogout/BbLogout.framework/BbLogout
Undefined symbols for architecture x86_64: "OBJC_CLASS$_BBKAlertDialog", referenced from: objc-class-ref in BBLOViewController.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)