Search code examples
xcoderpath

Where are the "Search Paths" options in Xcode?


I reference Xcode Issue: Library not loaded: @rpath/libswiftAppKit.dylib to fix my problem. However I do not know where "Runpath Search Paths" and "Library Search Paths" are. I am using Xcode 10.1 (which is not relevant).

For reference, this is the error I am getting.

dyld: Library not loaded: @rpath/SwizzleSrc.framework/Versions/A/SwizzleSrc
  Referenced from: /Users/name/Library/Developer/Xcode/DerivedData/swizzler-cocjohzjocaharaexffmnddnjecc/Build/Products/Debug/swizzler
  Reason: image not found
Abort trap: 6
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

Solution

  • Open Xcode,

    1. Select Project
    2. Select Target
    3. Select Build Setting
    4. Type 'Search Path' in Search Box (or both 'Library Search Paths' and 'Runpath Search Paths')