Error Message when running C++ program (with SFML) in Xcode.

Error Message: dyld[11081]: Library not loaded: @rpath/sfml-system. framework/Versions/2.5.1/sfml-system Referenced from: <FB32EA52-DA1A-3BCD-AD4F-3C4DCA5BB4FB>

/Users/………../Library/Developer/Xcode/DerivedData Computer_Simulation_Part_A_Stage_2-gflpuzzcrbxlhsgqypwfzyighzkj/Build/Products/Debug/Terminal.app/Contents/MacOS/Terminal

Reason: tried: ‘/Users/…………./ Library/Developer/Xcode/DerivedData/Computer_Simulation_Part_A_Stage_2-gflpuzzerbxIhsgqypwfzyighzkj/Build/Products/Debug/sfm1-system.framework/Versions/2.5.1/sfmI-system' (no such file),

‘/Users/…………/Library/Developer/Xcode/DerivedData/Computer_Simulation_Part_A_Stage_2-gflpuzzerbx1hsgqypwfzyighzkj/Build/Products/Debug/Terminal.app/Contents/MacOS/../Frameworks/sfmI-system. framework/Versions/2.5.1/sfmI-system' (no such file),

‘/Users/………./Library/Developer/Xcode/DerivedData/Computer_Simulation_Part_A_Stage_2-gfIpuzzcrbxIhsgaypwfzyighzkj/Build/Products/Debug/Terminal.app/Contents/MacOS/../Frameworks/sfmI-system. framework/Versions/2.5.1/sfmI-system' (no such file)

Message from debugger: Terminated due to signal 6 Logging Error: Failed to initialize logging system due to time out. Log messages may be missing. If this issue persists, try setting IDEPreferLogStreaming=YES in the active scheme actions environment variables

I think it was caused when I ‘Cleaned the Build Folder’ while trying to solve another minor problem. But now the program won’t run at all.

Answered by Jstone9 in 857047022

Update: Problem Solved. I added the missing files to "Frameworks, Libraries, and Embedded Content,".

Accepted Answer

Update: Problem Solved. I added the missing files to "Frameworks, Libraries, and Embedded Content,".

Error Message when running C&#43;&#43; program (with SFML) in Xcode.
 
 
Q