Closed billpatterson closed 5 years ago
can you point to master branch?
assuming resolved.
I'm also experiencing this error:
SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'JTAppleCalendar tvOS'
Is there a fix for this?
Podfile
?github "patchthecode/JTAppleCalendar"
Checkouts/JTAppleCalendar)User defaults from command line: IDEArchivePathOverride = /var/folders/8_/v_0m48tj4lbc4_jrmhz4r4r00000gn/T/JTAppleCalendar IDEDerivedDataPathOverride = /Users/xxxxxx/Library/Caches/org.carthage.CarthageKit/DerivedData/10.2.1_10E1001/JTAppleCalendar/7.1.7
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 = appletvos12.2 SKIP_INSTALL = YES STRIP_INSTALLED_PRODUCT = NO
note: Using new build system note: Planning build note: Constructing build description Build system information error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'JTAppleCalendar tvOS')
ARCHIVE FAILED
I cannot find a work around for this. I think this issue should be re-opened. I'm happy to raise a new issue if you prefer.
@patchthecode my apologies for wasting your time, after changing my carthage file to this:
github "patchthecode/JTAppleCalendar" "master"
The problem went away - I'm new to swift and xcode and assumed leaving out the version as i had before would:
github "patchthecode/JTAppleCalendar"
that it would default to master - but it doesn't.
Problem solved for me.
Thanks
cool.
@patchthecode I am seeing the same error message when using "master" using either the swift 5.0.1 or 5.1 compiler
can you set you carthage to this commit Hash -> 1d9e3d0b4d8fbd0649da8cb6c9f1de2374c51cde
That hash is version 7.1.7 From version 8.0 and upwards i am removing support for Carthage and Cocoapods, because SwiftPackageManager comes built directly into XCode. All you gotta do is paste in this repository's link and thats it.
let me know your thoughts.
@patchthecode that worked great! I would love to use SPM, but I am updating a legacy project, and we are not at that point yet. Thanks for the quick response.
Understood. Well 7.1.7 should do good for you then version 8 is mainly minor bug fixes (some rare ones) and support for a yearView calendar.
github "patchthecode/JTAppleCalendar" "7.1.7"
Xcode 10.2.1
error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'JTAppleCalendar tvOS')
Detail: