RxSwiftCommunity/RxRealm

Carthage error 65 when compiling for tvOS

awfulcode opened this issue · 3 comments

I'm a bit puzzled by this one. Can you confirm I'm trying to build using
carthage update --platform tvOS.

Cartfile only has this in it:
github "RxSwiftCommunity/RxRealm".

Here's the error at the end of the log:

/usr/bin/xcrun xcodebuild -project /Users/(user)/Downloads/carthageTest/Carthage/Checkouts/RxRealm/RxRealm.xcodeproj -scheme RxRealm-tvOS -configuration Release -derivedDataPath /Users/(user)/Library/Caches/org.carthage.CarthageKit/DerivedData/11.4.1_11E503a/RxRealm/2.0.0 -sdk appletvos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/h8/w4xwlm9s56zd9tfdzf997spc0000gn/T/RxRealm SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/(user)/Downloads/carthageTest/Carthage/Checkouts/RxRealm)Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project /Users/(user)/Downloads/carthageTest/Carthage/Checkouts/RxRealm/RxRealm.xcodeproj -scheme RxRealm-tvOS -configuration Release -derivedDataPath /Users/(user)/Library/Caches/org.carthage.CarthageKit/DerivedData/11.4.1_11E503a/RxRealm/2.0.0 -sdk appletvos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/h8/w4xwlm9s56zd9tfdzf997spc0000gn/T/RxRealm SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO

User defaults from command line:
    IDEArchivePathOverride = /var/folders/h8/w4xwlm9s56zd9tfdzf997spc0000gn/T/RxRealm
    IDEDerivedDataPathOverride = /Users/(user)/Library/Caches/org.carthage.CarthageKit/DerivedData/11.4.1_11E503a/RxRealm/2.0.0

Build settings from command line:
    CARTHAGE = YES
    CLANG_ENABLE_CODE_COVERAGE = NO
    CODE_SIGN_IDENTITY = 
    CODE_SIGNING_REQUIRED = NO
    GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = NO
    ONLY_ACTIVE_ARCH = NO
    SDKROOT = appletvos13.4
    SKIP_INSTALL = YES
    STRIP_INSTALLED_PRODUCT = NO

note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
error: Building for tvOS, but the linked framework 'RealmSwift.framework' was built for iOS + iOS Simulator. (in target 'RxRealm-tvOS' from project 'RxRealm')
error: Building for tvOS, but the linked framework 'Realm.framework' was built for iOS + iOS Simulator. (in target 'RxRealm-tvOS' from project 'RxRealm')

** ARCHIVE FAILED **

I tried clearing out the cache and DerivedData, but still hit the same error. Do you have the same issue or am I doing something wrong?

This is with Xcode 11.4.1
Build version 11E503a

Thanks!

The same happens when building for watchOS

Ditto for me building a tvOS/iOS project. Worked with previous versions. XCode 11.5

@MortyMerr Any chance you can look here if you have a moment?