Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

243
Views
Error in Xcode for Swift 5 "dyld: Library not loaded: @rpath/libswiftCore.dylib"

I just made the update for Swift 5 on my macbook and for now I can't run any code with Xcode, it gives me the following output during runtime (the building is ok).

I already tried to:

  • Clean the solution. and build again

  • Make the RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks".

  • Make the ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES.

  • Make the EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = YES

Here the code I try to run:

import Foundation

print("Hello World")

Output:

dyld: Library not loaded: @rpath/libswiftCore.dylib
  Referenced from: /Users/***/Documents/MyProject/Build/Products/Debug/MyProject
Reason: image not found

Expected output:

Hello World
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

I'm sorry, I just found the solution to the problem.

If that occurs to someone you only have to download the swift 5 runtime support.
It seems to be that the runtime virtual machine for swift5 is not the same than for swift4

the swift 5 runtime support.cannot install to Mac OS 10.14.4,how to solve it?

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!