如何修复JTAppleCalendar迦太基构建错误?

时间:2019-12-04 10:35:57

标签: ios carthage jtapplecalendar

carthage update --platform iOS

carthage build JTAppleCalendar --platform iOS

当我运行此命令时,我得到以下日志。

/usr/bin/xcrun xcodebuild -workspace /Users/FarhanJailani/Documents/mobile-client-app/Goomo/Carthage/Checkouts/JTAppleCalendar/JTAppleCalendar.xcworkspace -scheme JTAppleCalendar\ iOS -configuration Release -derivedDataPath /Users/FarhanJailani/Library/Caches/org.carthage.CarthageKit/DerivedData/11.2.1_11B500/JTAppleCalendar/7.0.6 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/8q/8066_wt93s37mncfm9brwyr00000gq/T/JTAppleCalendar SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/FarhanJailani/Documents/mobile-client-app/Goomo/Carthage/Checkouts/JTAppleCalendar)User defaults from command line:
    IDEArchivePathOverride = /var/folders/8q/8066_wt93s37mncfm9brwyr00000gq/T/JTAppleCalendar
    IDEDerivedDataPathOverride = /Users/FarhanJailani/Library/Caches/org.carthage.CarthageKit/DerivedData/11.2.1_11B500/JTAppleCalendar/7.0.6

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 = iphoneos13.2
    SKIP_INSTALL = YES
    STRIP_INSTALLED_PRODUCT = NO

note: Using new build system
note: Planning build
note: Constructing build description
error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'JTAppleCalendar iOS' from project 'JTAppleCalendar')
error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0. (in target 'JTAppleCalendar iOS' from project 'JTAppleCalendar')

** ARCHIVE FAILED **

我是iOS开发的新手。感谢您为解决此问题提供的任何帮助。

0 个答案:

没有答案