• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Swift Command Line Programs that Need Swift Frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Swift Command Line Programs that Need Swift Frameworks


  • Subject: Re: Swift Command Line Programs that Need Swift Frameworks
  • From: Jens Alfke <email@hidden>
  • Date: Sat, 03 Oct 2015 12:32:51 -0700


On Oct 3, 2015, at 12:03 PM, Thomas Wetmore <email@hidden> wrote:

dyld: Library not loaded: @rpath/libswiftAppKit.dylib
 Referenced from: /Users/ttw4/Library/Developer/Xcode/DerivedData/LifeLines-aybxjpaancakhdbudfijgqpqpbhi/Build/Products/Debug/DeadEndsKit.framework/Versions/A/DeadEndsKit
 Reason: image not found

A little research indicates that it may not be possible (yet?) to run Swift command line programs if they require Swift frameworks in order to run.

You could run install_name_tool on your binary to change the path of libswiftAppKit.dylib to the real location; or alternatively set the Runtime Search Paths [sp?] build setting to the directory it’s in. Although if its real location is inside the Xcode bundle, that won’t be very portable.

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Swift Command Line Programs that Need Swift Frameworks
      • From: Thomas Wetmore <email@hidden>
References: 
 >Swift Command Line Programs that Need Swift Frameworks (From: Thomas Wetmore <email@hidden>)

  • Prev by Date: Swift Command Line Programs that Need Swift Frameworks
  • Next by Date: Re: Xcode suddenly refuses to build
  • Previous by thread: Swift Command Line Programs that Need Swift Frameworks
  • Next by thread: Re: Swift Command Line Programs that Need Swift Frameworks
  • Index(es):
    • Date
    • Thread