Error:
dyld: Library not loaded: @executable_path/../Frameworks/n.framework/n Referenced from: /Users/hunterp/Library/Developer/CoreSimulator/Devices//data/Containers/Bundle/Application//Demo.app/Demo Reason: image not found
I followed every answer in this stackoverflow question: iOS app with framework crashed on device, dyld: Library not loaded, Xcode 6 Beta
AND heres my build settings:
I suspect that there is something else wrong in your build settings as your error message contains extraneous slashes between directories
/Users/hunterp/Library/Developer/CoreSimulator/Devices//data/Containers/Bundle/Application//Demo.app/Demo Reason: image not found
^^ ^^
(which the syntax highlighting nicely points out when I format as code ;))
When searching for the framework, it's possible that when it goes up a directory (with ..) it's parsing one of those //
s not as you expect.
I'd check your header, framework and library search paths for entries that contain slashes where they are not needed, especially if they reference $(BUILDDIR)/
1 or similar
1. I can't remember the actual environment variables
Try to select executable_path and press Delete
Also try the same with Library Search Paths and Header Search Paths
If you have 2 targets try to edit your pod file:
target :MainTarget, :exclusive => true do
link_with ['Target1']
pod 'SomePod'
end
target :SecondTarget, :exclusive => true do
link_with ['Target2']
pod 'SomePod'
end
and run in the terminal : pod update
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With