Search code examples
iosswiftxcodeframeworkscocoapods

my pod framework are missing after updating xcode to 14.3.1


my project worked perfectly before i update xcode to 14.3.1 now it looks like xcode can't find my frameworks i drop images of parts of my project below.

after build my project this is console error console error image and this is navigation error nav error image

this is my podfile podfile image

and xcode show my framework file names red color it looks like it can't find them nav image

i have tried these solutions but they didn't worked for me

  1. https://stackoverflow.com/a/43799712/20693520

  2. https://stackoverflow.com/a/71573086/20693520


Solution

  • after trying different things this works for me

    i've added this code to 2 places

    1. Target > Build Setting > Linking > Other Linker Flags

      $(inherited)

    2. Target > Build Setting > Linking > Runpath Search Path

      $(inherited)