SDWebImage / SDWebImageSwiftUI

SwiftUI Image loading and Animation framework powered by SDWebImage
https://sdwebimage.github.io/SDWebImageSwiftUI
MIT License
2.16k stars 223 forks source link

Carthage build issue - exit code 65 #179

Open Melonking906 opened 3 years ago

Melonking906 commented 3 years ago

SDWebImageSwiftUI does not seem to build in Carthage for me at the moment. Tested it with the Swift Package Manager and it works just fine.

Terminal Error:

*** Building scheme "SDWebImageSwiftUI tvOS" in SDWebImageSwiftUI.xcodeproj
Build Failed
    Task failed with exit code 65:
    /usr/bin/xcrun xcodebuild -project /Users/daniel/Git/MiniMood/Carthage/Checkouts/SDWebImageSwiftUI/SDWebImageSwiftUI.xcodeproj -scheme SDWebImageSwiftUI\ tvOS -configuration Release -derivedDataPath /Users/daniel/Library/Caches/org.carthage.CarthageKit/DerivedData/12.4_12D4e/SDWebImageSwiftUI/2.0.2 -sdk appletvos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive VALIDATE_WORKSPACE=NO -archivePath /var/folders/hv/cyjlf_wx1cd1mfbgxwsndc140000gn/T/SDWebImageSwiftUI SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/daniel/Git/MiniMood/Carthage/Checkouts/SDWebImageSwiftUI)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/hv/cyjlf_wx1cd1mfbgxwsndc140000gn/T/carthage-xcodebuild.xI0SvR.log

carthage-xcodebuild.xI0SvR.log error:

ImagePlayer.swift:10:8: error: no such module 'SDWebImage'
import SDWebImage
       ^

** ARCHIVE FAILED **

The following build commands failed:
    CompileSwift normal arm64_32
    CompileSwiftSources normal arm64_32 com.apple.xcode.tools.swift.compiler
    CompileSwift normal armv7k
    CompileSwiftSources normal armv7k com.apple.xcode.tools.swift.compiler
(4 failures)

Not totally sure what the issue might be here, Im new to the platform so it could be my error. I tried manually building SDWebImage separately and adding it to the xcode project library, but that had no effect.