which carthage: /usr/local/bin/carthagecarthage version: 0.33.0xcodebuild -version: Xcode 10.2.1 Build version 10E1001--no-build? : No--no-use-binaries? No--use-submodules? No--cache-builds? No--new-resolver? NoCartfile
github "ReactiveX/RxSwift" ~> 5.0
github "kean/Nuke"
github "mac-cain13/R.swift.Library"
Carthage Output
*** xcodebuild output can be found in /var/folders/zd/k918zwj14h74z6zr_lrk298w0000gn/T/carthage-xcodebuild.xuSPXu.log
*** Downloading RxSwift.framework binary at "ShaiTheBravest"
*** Building scheme "Nuke" in Nuke.xcodeproj
*** Building scheme "Rswift-iOS" in R.swift.Library.xcodeproj
*** Building scheme "Rswift-tvOS" in R.swift.Library.xcodeproj
*** Building scheme "my-lib-name" in my-lib.xcodeproj
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -project /Users/hira/Documents/weekend/my-lib/my-lib.xcodeproj -scheme my-lib-name -configuration Release -sdk iphonesimulator -destination platform=iOS\ Simulator,id=8F7A6834-AFB9-4C8E-84BA-56C0CA7BD0A1 -destination-timeout 3 ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES build (launched in /Users/hira/Documents/weekend/my-lib)
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/zd/k918zwj14h74z6zr_lrk298w0000gn/T/carthage-xcodebuild.xuSPXu.log
→ carthage-xcodebuild.xuSPXu.log suggests that some CoreVideo and Metal features are not found, which simulator does not supports.
Actual outcome
Because of some CoreVideo or Metal features, My framework cannot be build with simulator architectures.
In xcodeproj, I excluded x86 architectures as below, but carthage build --no-skip-current command does not exclude them, and build fails.
My project settings are pasted below.

Additional info: xcodebuild -scheme my-lib-name -project my-lib.xcodeproj/ build finished without any errors.
Expected outcome
carthage build --no-skip-current finishes without failure.
Removing iphonesimulator from SUPPORTED_PLATFORMS is the right thing to do.
See #2712 and #2530.
Most helpful comment
Removing
iphonesimulatorfromSUPPORTED_PLATFORMSis the right thing to do.See #2712 and #2530.