Dyld: library not loaded: @executable_path /../ Frameworks /

Error:

dyld: library not loaded: @executable_path /../ Frameworks / n.framework / n Links: /Users/hunterp/Library/Developer/CoreSimulator/Devices//data/Containers/Bundle/Application//Demo.app/Demo Reason : image not found

I followed each answer in this stackoverflow question: iOS app by device, dyld: library not loaded, Xcode 6 Beta

And all my build settings: enter image description here

+4
source share
4 answers
  1. Try to select the path to the executable file and click "Delete" enter image description here.

  2. Also try the same with library search paths and header search paths

  3. 2 , pod:

    target :MainTarget, :exclusive => true do
    link_with ['Target1']
    
      pod 'SomePod'
    
    end
    
    target :SecondTarget, :exclusive => true do
    link_with ['Target2']
    
      pod 'SomePod'
    
    end
    

: pod

  1. Pods None enter image description here
+1

, - ,

/Users/hunterp/Library/Developer/CoreSimulator/Devices//data/Containers/Bundle/Application//Demo.app/Demo Reason: image not found
                                                      ^^                                  ^^

( , ;))

, (..) // , .

, , , , $(BUILDDIR)/ 1


1.

+4

,

dyld: : @executable_path/../Frameworks/n.framework/n...

, "@executable_path/../Frameworks".
" " → " ", "@executable_path/../Frameworks", , "@executable_path/Frameworks".

+1

, dylib dylib . Xcode 9 iPhone X. . : ++ iOS

0

All Articles