TVMLKitchen icon indicating copy to clipboard operation
TVMLKitchen copied to clipboard

dyld: Library not loaded: @rpath/libswiftSwiftOnoneSupport.dylib

Open toshi0383 opened this issue 8 years ago • 0 comments

Environment

macOS Sierra 10.12.4 (16E195) Xcode 8.3 (8E162) (Confirmed repro on Xcode8.2.1 too) Carthage 0.20.1

Reproduce Step

  • carthage update --platform tvOS
  • Add carthage copy-frameworks build phase
  • Open App.xcodeproj and Cmd + R, this runs with no problems.
  • Close xcodeproj and Create a new xcworkspace including the App and TVMLKitchen xcodeprojs.
  • Open the xcworkspace and Cmd + R, the error occurs.
tvmlkitchen-142

Log

dyld: Library not loaded: @rpath/libswiftSwiftOnoneSupport.dylib
  Referenced from: /Users/toshi0383/Library/Developer/Xcode/DerivedData/HelloKitchen-ejgwzgjuarttagdecndevauvhuqx/Build/Products/Debug-appletvsimulator/Himotoki.framework/TVMLKitchen
  Reason: image not found

Solution

Add ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES to buildSettings which is currently NO.

toshi0383 avatar Apr 09 '17 23:04 toshi0383