Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Super slow compiling when archiving 6.0.1 Xcode 10.2 #652

Closed
ripventura opened this issue Mar 29, 2019 · 26 comments
Closed

Super slow compiling when archiving 6.0.1 Xcode 10.2 #652

ripventura opened this issue Mar 29, 2019 · 26 comments
Assignees
Labels
Milestone

Comments

@ripventura
Copy link

ripventura commented Mar 29, 2019

When using Xcode 10.2 to archive my project, all pods go super fast but SwiftDate takes a lot of time (like 30 minutes).
This didn't used to happen with Xcode 10.1 and SwiftDate 5.1.0.
Any ideas?

@Valpertui
Copy link
Contributor

Valpertui commented Mar 29, 2019

I confirm, since Xcode 10.2, SwiftDate take 300 seconds to do a release build.
It seems each language code file (lang_xx.swift) takes around 8 seconds to build.
Screenshot 2019-03-29 at 18 51 46

@roma86
Copy link

roma86 commented Mar 30, 2019

My project just stuck on archiving with Xcode 10.2 and SwiftDate (6.0.1). Clean, erase DerivedData, restart mac does not help.
Screenshot 2019-03-31 at 00 17 54

@roma86
Copy link

roma86 commented Mar 31, 2019

I just left project to archive for a night and it does not complete after 8 hours. Still in SwiftDate | Building state.

@malcommac
Copy link
Owner

Can you try to compile it by removing files inside /languages directory?
https://github.com/malcommac/SwiftDate/tree/master/Sources/SwiftDate/Formatters/RelativeFormatter/languages

@roma86
Copy link

roma86 commented Mar 31, 2019

@malcommac Daniele maybe i got you in incorrect way, but it throws an error on archive if i remove all the files from .../languages/* dir.
Build input files cannot be found: '/Users/path-to-the-project/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_el.swift', '/Users/path-to-the-project/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_br.swift'

@roma86
Copy link

roma86 commented Mar 31, 2019

Ok, my bad. I just removed all references to lang files from SwiftDate build phases, then cleaned languagesMap in RelativeFormatter.swift and archiving starts. But Build still stuck. I will check how long it takes.

@roma86
Copy link

roma86 commented Mar 31, 2019

Update note:
I just created clean project with only SwiftDate dependency and it's archived without any issues. So this project is not the general reason of my problem. The reason may be in combination with other dependencies.

@malcommac
Copy link
Owner

what a strange stuff. What kind of dependencies have you installed?

@roma86
Copy link

roma86 commented Mar 31, 2019

@malcommac so the SwiftDate is the reason and is not the reason at the same time. I tried to isolate dependencies in clean project and found combination where archiving stuck.

This Podfile will lead to archiving hangs in Xcode 10.2 for AppStore distribution:

Podfile
-----------------
  # Dates
  pod 'SwiftDate'

  # Firebase
  pod 'Firebase/Core'
  pod 'Firebase/Database'
  pod 'Firebase/Storage'
  pod 'Firebase/Auth'
  pod 'Firebase/Messaging'
  pod 'Crashlytics'

Interesting part is - SwiftDate without Firebase and Firebase without SwiftDate have no effect on archiving problem. I checked numbers of time just removing/adding dependencies and can confirm this behaviour. I can archive empty project with all Firebase frameworks, or with SwiftDate, but can not combine them in one project.

@Jeehut
Copy link

Jeehut commented Mar 31, 2019

I just added this project to the Demo tests in my new dependency manager Accio which runs the following Carthage command internally from the checked out code of this project (see here):

carthage build --no-skip-current --no-use-binaries

Each build took about 5 minutes which is imho way too long using Xcode 10.2 final release. It definitely is an issue with this project.

@malcommac
Copy link
Owner

Have you tried to compiler by removing files inside /languages directory and associated references? Is it the same?
https://github.com/malcommac/SwiftDate/tree/master/Sources/SwiftDate/Formatters/RelativeFormatter/languages

@Valpertui
Copy link
Contributor

Without the lang files, the release build (whole-module compilation mode) takes around 30 secs
Screenshot 2019-04-01 at 11 02 48

@Valpertui
Copy link
Contributor

Ok I investigated a bit.
The issue is because of the huge [String: Any] dictionaries within each language file.
With only 3 language enabled (_fr, _en, _es), Removing most of the content of each dictionary bring the compilation time from 160 seconds to 40 secs.
I believe there is Type inference issue due to the Any part of the dictionary.
Looking forward, storing this in static dictionary isn't probably the best way to do this.
Maybe we should move those towards json files: a json file per language, with __short, __long, ... keys as the first level.

@savage7
Copy link

savage7 commented Apr 3, 2019

I have the same problem, removing unused langs reduced my CI buildtime from 16 to 8 minutes.

@grifas
Copy link

grifas commented Apr 4, 2019

I just updated Xcode to 10.2 and update SwiftDate to 6.0.1 and same issue :/ Compilation time is too slow on SwiftDate.

@Valpertui
Copy link
Contributor

I currently have 2 branches on a fork to reduce build time:
https://github.com/Valpertui/SwiftDate/tree/lightweight-languages-support , which is only about deleting languages my current app is not localised for.
and a more exploratory branch : https://github.com/Valpertui/SwiftDate/tree/exploration-reduce-build-time, which is about reducing build time by using json dictionaries instead of static types. And so move the compilation time penalty toward a runtime uncertainty (loading json, parsing it, ...). I have very good results with it but I haven't tested it enough to be sure it's ready for production.

@robbiet480
Copy link

robbiet480 commented Apr 6, 2019

Just a FYI, I'm experiencing this issue in a totally different project. Researching it led me to this Swift bug which appears to be the issue both our projects are hitting @Valpertui et al.

@hustlzp
Copy link

hustlzp commented Apr 11, 2019

Same here with Xcode 10.2 and SwiftDate 6.0.1.

@kenosan
Copy link

kenosan commented Apr 12, 2019

Another data point around the language files being an issue. Intermittently build fails with the following:

CompileSwiftSources failed with a nonzero exit code

If I rebuild the project almost immeadietly, the build is fine. Build log output is below:

CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target: SwiftDate)
    cd /Users/username/Projects/myproj/ios/Pods
    export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
    export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name SwiftDate -Onone -enable-batch-mode -enforce-exclusivity=checked -DDEBUG -D COCOAPODS -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk -target arm64-apple-ios8.0 -g -module-cache-path /Users/username/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -embed-bitcode-marker -enable-testing -index-store-path /Users/username/Library/Developer/Xcode/DerivedData/myproj-hkebvneygxchglgbunicqgffmkuw/Index/DataStore -swift-version 5 -I /Users/username/Library/Developer/Xcode/DerivedData/myproj-hkebvneygxchglgbunicqgffmkuw/Build/Products/Debug-iphoneos/SwiftDate -F /Users/username/Library/Developer/Xcode/DerivedData/myproj-hkebvneygxchglgbunicqgffmkuw/Build/Products/Debug-iphoneos/SwiftDate -c -j8 /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Supports/AssociatedValues.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Supports/Calendars.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Supports/Commons.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Date/Date+Compare.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Date/Date+Components.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Date/Date+Create.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Date/Date+Math.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Date/Date.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Foundation+Extras/DateComponents+Extras.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/DateInRegion/DateInRegion+Compare.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/DateInRegion/DateInRegion+Components.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/DateInRegion/DateInRegion+Create.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/DateInRegion/DateInRegion+Math.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/DateInRegion/DateInRegion.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/DateRepresentable.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/DotNetParserFormatter.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/Formatter+Protocols.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Foundation+Extras/Int+DateComponents.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/ISOFormatter.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/ISOParser.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_af.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_am.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_ar.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_ar_AE.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_as.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_az.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_be.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_bg.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_bn.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_br.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_bs.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_bsCyrl.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_ca.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_cs.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_cy.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_da.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_de.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_dsb.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_dz.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_ee.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_el.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_en.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_es.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_es_AR.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_es_MX.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_es_PY.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_es_US.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_et.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_eu.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_fa.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_fi.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_fil.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_fo.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_fr.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_fr_CA.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_fur.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_fy.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_ga.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_gd.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_gl.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_gu.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_he.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_hi.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_hr.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_hsb.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_hu.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_hy.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_id.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_is.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_it.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_ja.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_jgo.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_ka.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_kea.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_kk.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_kl.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_km.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_kn.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_ko.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_kok.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_ksh.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_ky.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_lb.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_lkt.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_lo.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_lt.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_lv.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_mk.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_ml.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_mn.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_mr.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_ms.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_mt.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_my.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_mzn.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_nb.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_ne.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_nl.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_nn.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_or.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_pa.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_pl.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_ps.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_pt.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_ro.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_ru.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_sah.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_sd.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_se.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_se_FI.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_si.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_sk.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_sl.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_sq.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_sr.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_sr_Latn.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_sv.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_sw.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_ta.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_te.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_th.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_ti.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_tk.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_to.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_tr.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_ug.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_uk.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_ur.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_ur_IN.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_uz.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_uz_Cyrl.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_vi.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_wae.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_yi.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_yue_Hans.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_yue_Hant.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_zh.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_zh_Hans_HK.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_zh_Hans_MO.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_zh_Hans_SG.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_zh_Hant.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_zh_Hant_HK.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_zh_Hant_MO.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/languages/lang_zu.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Supports/Locales.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/DateInRegion/Region.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter+Style.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Formatters/RelativeFormatter/RelativeFormatter.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Foundation+Extras/String+Parser.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/SwiftDate.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Foundation+Extras/TimeInterval+Formatter.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/TimePeriod/TimePeriod+Support.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/TimePeriod/TimePeriod.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/TimePeriod/Groups/TimePeriodChain.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/TimePeriod/Groups/TimePeriodCollection.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/TimePeriod/Groups/TimePeriodGroup.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/TimePeriod/TimePeriodProtocol.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Supports/TimeStructures.swift /Users/username/Projects/myproj/ios/Pods/SwiftDate/Sources/SwiftDate/Supports/Zones.swift -output-file-map /Users/username/Library/Developer/Xcode/DerivedData/myproj-hkebvneygxchglgbunicqgffmkuw/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/SwiftDate.build/Objects-normal/arm64/SwiftDate-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/username/Library/Developer/Xcode/DerivedData/myproj-hkebvneygxchglgbunicqgffmkuw/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/SwiftDate.build/Objects-normal/arm64/SwiftDate.swiftmodule -Xcc -I/Users/username/Library/Developer/Xcode/DerivedData/myproj-hkebvneygxchglgbunicqgffmkuw/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/SwiftDate.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/username/Library/Developer/Xcode/DerivedData/myproj-hkebvneygxchglgbunicqgffmkuw/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/SwiftDate.build/SwiftDate-generated-files.hmap -Xcc -I/Users/username/Library/Developer/Xcode/DerivedData/myproj-hkebvneygxchglgbunicqgffmkuw/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/SwiftDate.build/SwiftDate-own-target-headers.hmap -Xcc -I/Users/username/Library/Developer/Xcode/DerivedData/myproj-hkebvneygxchglgbunicqgffmkuw/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/SwiftDate.build/SwiftDate-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/username/Library/Developer/Xcode/DerivedData/myproj-hkebvneygxchglgbunicqgffmkuw/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/SwiftDate.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/username/Library/Developer/Xcode/DerivedData/myproj-hkebvneygxchglgbunicqgffmkuw/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/SwiftDate.build/SwiftDate-project-headers.hmap -Xcc -I/Users/username/Library/Developer/Xcode/DerivedData/myproj-hkebvneygxchglgbunicqgffmkuw/Build/Products/Debug-iphoneos/SwiftDate/include -Xcc -I/Users/username/Library/Developer/Xcode/DerivedData/myproj-hkebvneygxchglgbunicqgffmkuw/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/SwiftDate.build/DerivedSources-normal/arm64 -Xcc -I/Users/username/Library/Developer/Xcode/DerivedData/myproj-hkebvneygxchglgbunicqgffmkuw/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/SwiftDate.build/DerivedSources/arm64 -Xcc -I/Users/username/Library/Developer/Xcode/DerivedData/myproj-hkebvneygxchglgbunicqgffmkuw/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/SwiftDate.build/DerivedSources -Xcc -DPOD_CONFIGURATION_DEBUG=1 -Xcc -DDEBUG=1 -Xcc -DCOCOAPODS=1 -emit-objc-header -emit-objc-header-path /Users/username/Library/Developer/Xcode/DerivedData/myproj-hkebvneygxchglgbunicqgffmkuw/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/SwiftDate.build/Objects-normal/arm64/SwiftDate-Swift.h -import-underlying-module -Xcc -ivfsoverlay -Xcc /Users/username/Library/Developer/Xcode/DerivedData/myproj-hkebvneygxchglgbunicqgffmkuw/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/SwiftDate.build/unextended-module-overlay.yaml -working-directory /Users/username/Projects/myproj/ios/Pods

<unknown>:0: error: input file 'AssociatedValues.swift' was modified during the build
<unknown>:0: error: input file 'Calendars.swift' was modified during the build
<unknown>:0: error: input file 'Commons.swift' was modified during the build
<unknown>:0: error: input file 'Date+Compare.swift' was modified during the build
<unknown>:0: error: input file 'Date+Components.swift' was modified during the build
<unknown>:0: error: input file 'Date+Create.swift' was modified during the build
<unknown>:0: error: input file 'Date+Math.swift' was modified during the build
<unknown>:0: error: input file 'Date.swift' was modified during the build
<unknown>:0: error: input file 'DateComponents+Extras.swift' was modified during the build
<unknown>:0: error: input file 'DateInRegion+Compare.swift' was modified during the build
<unknown>:0: error: input file 'DateInRegion+Components.swift' was modified during the build
<unknown>:0: error: input file 'DateInRegion+Create.swift' was modified during the build
<unknown>:0: error: input file 'DateInRegion+Math.swift' was modified during the build
<unknown>:0: error: input file 'DateInRegion.swift' was modified during the build
<unknown>:0: error: input file 'DateRepresentable.swift' was modified during the build
<unknown>:0: error: input file 'DotNetParserFormatter.swift' was modified during the build
<unknown>:0: error: input file 'Formatter+Protocols.swift' was modified during the build
<unknown>:0: error: input file 'Int+DateComponents.swift' was modified during the build
<unknown>:0: error: input file 'ISOFormatter.swift' was modified during the build
<unknown>:0: error: input file 'ISOParser.swift' was modified during the build
<unknown>:0: error: input file 'lang_af.swift' was modified during the build
<unknown>:0: error: input file 'lang_am.swift' was modified during the build
<unknown>:0: error: input file 'lang_ar.swift' was modified during the build
<unknown>:0: error: input file 'lang_ar_AE.swift' was modified during the build
<unknown>:0: error: input file 'lang_as.swift' was modified during the build
<unknown>:0: error: input file 'lang_az.swift' was modified during the build
<unknown>:0: error: input file 'lang_be.swift' was modified during the build
<unknown>:0: error: input file 'lang_bg.swift' was modified during the build
<unknown>:0: error: input file 'lang_bn.swift' was modified during the build
<unknown>:0: error: input file 'lang_br.swift' was modified during the build
<unknown>:0: error: input file 'lang_bs.swift' was modified during the build
<unknown>:0: error: input file 'lang_bsCyrl.swift' was modified during the build
<unknown>:0: error: input file 'lang_ca.swift' was modified during the build
<unknown>:0: error: input file 'lang_cs.swift' was modified during the build
<unknown>:0: error: input file 'lang_cy.swift' was modified during the build
<unknown>:0: error: input file 'lang_da.swift' was modified during the build
<unknown>:0: error: input file 'lang_de.swift' was modified during the build
<unknown>:0: error: input file 'lang_dsb.swift' was modified during the build
<unknown>:0: error: input file 'lang_dz.swift' was modified during the build
<unknown>:0: error: input file 'lang_ee.swift' was modified during the build
<unknown>:0: error: input file 'lang_el.swift' was modified during the build
<unknown>:0: error: input file 'lang_en.swift' was modified during the build
<unknown>:0: error: input file 'lang_es.swift' was modified during the build
<unknown>:0: error: input file 'lang_es_AR.swift' was modified during the build
<unknown>:0: error: input file 'lang_es_MX.swift' was modified during the build
<unknown>:0: error: input file 'lang_es_PY.swift' was modified during the build
<unknown>:0: error: input file 'lang_es_US.swift' was modified during the build
<unknown>:0: error: input file 'lang_et.swift' was modified during the build
<unknown>:0: error: input file 'lang_eu.swift' was modified during the build
<unknown>:0: error: input file 'lang_fa.swift' was modified during the build
<unknown>:0: error: input file 'lang_fi.swift' was modified during the build
<unknown>:0: error: input file 'lang_fil.swift' was modified during the build
<unknown>:0: error: input file 'lang_fo.swift' was modified during the build
<unknown>:0: error: input file 'lang_fr.swift' was modified during the build
<unknown>:0: error: input file 'lang_fr_CA.swift' was modified during the build
<unknown>:0: error: input file 'lang_fur.swift' was modified during the build
<unknown>:0: error: input file 'lang_fy.swift' was modified during the build
<unknown>:0: error: input file 'lang_ga.swift' was modified during the build
<unknown>:0: error: input file 'lang_gd.swift' was modified during the build
<unknown>:0: error: input file 'lang_gl.swift' was modified during the build
<unknown>:0: error: input file 'lang_gu.swift' was modified during the build
<unknown>:0: error: input file 'lang_he.swift' was modified during the build
<unknown>:0: error: input file 'lang_hi.swift' was modified during the build
<unknown>:0: error: input file 'lang_hr.swift' was modified during the build
<unknown>:0: error: input file 'lang_hsb.swift' was modified during the build
<unknown>:0: error: input file 'lang_hu.swift' was modified during the build
<unknown>:0: error: input file 'lang_hy.swift' was modified during the build
<unknown>:0: error: input file 'lang_id.swift' was modified during the build
<unknown>:0: error: input file 'lang_is.swift' was modified during the build
<unknown>:0: error: input file 'lang_it.swift' was modified during the build
<unknown>:0: error: input file 'lang_ja.swift' was modified during the build
<unknown>:0: error: input file 'lang_jgo.swift' was modified during the build
<unknown>:0: error: input file 'lang_ka.swift' was modified during the build
<unknown>:0: error: input file 'lang_kea.swift' was modified during the build
<unknown>:0: error: input file 'lang_kk.swift' was modified during the build
<unknown>:0: error: input file 'lang_kl.swift' was modified during the build
<unknown>:0: error: input file 'lang_km.swift' was modified during the build
<unknown>:0: error: input file 'lang_kn.swift' was modified during the build
<unknown>:0: error: input file 'lang_ko.swift' was modified during the build
<unknown>:0: error: input file 'lang_kok.swift' was modified during the build
<unknown>:0: error: input file 'lang_ksh.swift' was modified during the build
<unknown>:0: error: input file 'lang_ky.swift' was modified during the build
<unknown>:0: error: input file 'lang_lb.swift' was modified during the build
<unknown>:0: error: input file 'lang_lkt.swift' was modified during the build
<unknown>:0: error: input file 'lang_lo.swift' was modified during the build
<unknown>:0: error: input file 'lang_lt.swift' was modified during the build
<unknown>:0: error: input file 'lang_lv.swift' was modified during the build
<unknown>:0: error: input file 'lang_mk.swift' was modified during the build
<unknown>:0: error: input file 'lang_ml.swift' was modified during the build
<unknown>:0: error: input file 'lang_mn.swift' was modified during the build
<unknown>:0: error: input file 'lang_mr.swift' was modified during the build
<unknown>:0: error: input file 'lang_ms.swift' was modified during the build
<unknown>:0: error: input file 'lang_mt.swift' was modified during the build
<unknown>:0: error: input file 'lang_my.swift' was modified during the build
<unknown>:0: error: input file 'lang_mzn.swift' was modified during the build
<unknown>:0: error: input file 'lang_nb.swift' was modified during the build
<unknown>:0: error: input file 'lang_ne.swift' was modified during the build
<unknown>:0: error: input file 'lang_nl.swift' was modified during the build
<unknown>:0: error: input file 'lang_nn.swift' was modified during the build
<unknown>:0: error: input file 'lang_or.swift' was modified during the build
<unknown>:0: error: input file 'lang_pa.swift' was modified during the build
<unknown>:0: error: input file 'lang_pl.swift' was modified during the build
<unknown>:0: error: input file 'lang_ps.swift' was modified during the build
<unknown>:0: error: input file 'lang_pt.swift' was modified during the build
<unknown>:0: error: input file 'lang_ro.swift' was modified during the build
<unknown>:0: error: input file 'lang_ru.swift' was modified during the build
<unknown>:0: error: input file 'lang_sah.swift' was modified during the build
<unknown>:0: error: input file 'lang_sd.swift' was modified during the build
<unknown>:0: error: input file 'lang_se.swift' was modified during the build
<unknown>:0: error: input file 'lang_se_FI.swift' was modified during the build
<unknown>:0: error: input file 'lang_si.swift' was modified during the build
<unknown>:0: error: input file 'lang_sk.swift' was modified during the build
<unknown>:0: error: input file 'lang_sl.swift' was modified during the build
<unknown>:0: error: input file 'lang_sq.swift' was modified during the build
<unknown>:0: error: input file 'lang_sr.swift' was modified during the build
<unknown>:0: error: input file 'lang_sr_Latn.swift' was modified during the build
<unknown>:0: error: input file 'lang_sv.swift' was modified during the build
<unknown>:0: error: input file 'lang_sw.swift' was modified during the build
<unknown>:0: error: input file 'lang_ta.swift' was modified during the build
<unknown>:0: error: input file 'lang_te.swift' was modified during the build
<unknown>:0: error: input file 'lang_th.swift' was modified during the build
<unknown>:0: error: input file 'lang_ti.swift' was modified during the build
<unknown>:0: error: input file 'lang_tk.swift' was modified during the build
<unknown>:0: error: input file 'lang_to.swift' was modified during the build
<unknown>:0: error: input file 'lang_tr.swift' was modified during the build
<unknown>:0: error: input file 'lang_ug.swift' was modified during the build
<unknown>:0: error: input file 'lang_uk.swift' was modified during the build
<unknown>:0: error: input file 'lang_ur.swift' was modified during the build
<unknown>:0: error: input file 'lang_ur_IN.swift' was modified during the build
<unknown>:0: error: input file 'lang_uz.swift' was modified during the build
<unknown>:0: error: input file 'lang_uz_Cyrl.swift' was modified during the build
<unknown>:0: error: input file 'lang_vi.swift' was modified during the build
<unknown>:0: error: input file 'lang_wae.swift' was modified during the build
<unknown>:0: error: input file 'lang_yi.swift' was modified during the build
<unknown>:0: error: input file 'lang_yue_Hans.swift' was modified during the build
<unknown>:0: error: input file 'lang_yue_Hant.swift' was modified during the build
<unknown>:0: error: input file 'lang_zh.swift' was modified during the build
<unknown>:0: error: input file 'lang_zh_Hans_HK.swift' was modified during the build
<unknown>:0: error: input file 'lang_zh_Hans_MO.swift' was modified during the build
<unknown>:0: error: input file 'lang_zh_Hans_SG.swift' was modified during the build
<unknown>:0: error: input file 'lang_zh_Hant.swift' was modified during the build
<unknown>:0: error: input file 'lang_zh_Hant_HK.swift' was modified during the build
<unknown>:0: error: input file 'lang_zh_Hant_MO.swift' was modified during the build
<unknown>:0: error: input file 'lang_zu.swift' was modified during the build
<unknown>:0: error: input file 'Locales.swift' was modified during the build
<unknown>:0: error: input file 'Region.swift' was modified during the build
<unknown>:0: error: input file 'RelativeFormatter+Style.swift' was modified during the build
<unknown>:0: error: input file 'RelativeFormatter.swift' was modified during the build
<unknown>:0: error: input file 'String+Parser.swift' was modified during the build
<unknown>:0: error: input file 'SwiftDate.swift' was modified during the build
<unknown>:0: error: input file 'TimeInterval+Formatter.swift' was modified during the build
<unknown>:0: error: input file 'TimePeriod+Support.swift' was modified during the build
<unknown>:0: error: input file 'TimePeriod.swift' was modified during the build
<unknown>:0: error: input file 'TimePeriodChain.swift' was modified during the build
<unknown>:0: error: input file 'TimePeriodCollection.swift' was modified during the build
<unknown>:0: error: input file 'TimePeriodGroup.swift' was modified during the build
<unknown>:0: error: input file 'TimePeriodProtocol.swift' was modified during the build
<unknown>:0: error: input file 'TimeStructures.swift' was modified during the build
<unknown>:0: error: input file 'Zones.swift' was modified during the build
Command CompileSwiftSources failed with a nonzero exit code

@kublaios
Copy link

I currently have 2 branches on a fork to reduce build time:
https://github.com/Valpertui/SwiftDate/tree/lightweight-languages-support , which is only about deleting languages my current app is not localised for.
and a more exploratory branch : https://github.com/Valpertui/SwiftDate/tree/exploration-reduce-build-time, which is about reducing build time by using json dictionaries instead of static types. And so move the compilation time penalty toward a runtime uncertainty (loading json, parsing it, ...). I have very good results with it but I haven't tested it enough to be sure it's ready for production.

Thank you @Valpertui, I can confirm that exploration-reduce-build-time branch reverted time spent during carthage update SwiftDate --no-use-binaries --platform iOS, building & archiving back to "normal".

@Valpertui
Copy link
Contributor

Valpertui commented Apr 17, 2019

Xcode 10.2.1 helps a lot with the issue in debug builds (no optimizations, I would say around -70% build time), but release builds are about the same (-10%).

@kristophM
Copy link

I have Xcode 10.2.1 and I'm still experiencing 5-10 minute build times in which it hangs on SwiftDate for most of that time. Any update on this?

@kristophM
Copy link

Hello, pinging again on this issue- compiling is taking over 10 minutes lately on each app I'm using SwiftDate

@Valpertui
Copy link
Contributor

@kristophM You can experiment with any of those 2 branches if you want (see linked message). Right now build times are acceptable during debug, and I don't mind the 10 minutes during release builds since I use fastlane to automate it.
#652 (comment)
The issue lies mostly within the swift compiler, so you can open/upvote an issue there if you want. Although I'm not sure anyone wants to rewrite a chunk of the library due to a swift compiler regression right now.

@malcommac malcommac added this to the 6.0.3 milestone May 11, 2019
malcommac added a commit that referenced this issue May 11, 2019
malcommac added a commit that referenced this issue May 11, 2019
malcommac added a commit that referenced this issue May 11, 2019
@malcommac
Copy link
Owner

malcommac commented May 11, 2019

It should be fixed in 6.0.3; I've moved languages file for RelativeFormatter class to separate json files and it greatly improve the build times.
The downside is the Linux compatibility (SPM does not support bundled resources), but at this point iOS compatibility is foundamental.
Thanks to all for the support.

@Oshitha
Copy link

Oshitha commented Sep 25, 2019

My project just stuck on archiving with Xcode 10.2 and SwiftDate (6.0.1). Clean, erase DerivedData, restart mac does not help.
Screenshot 2019-03-31 at 00 17 54

Upload using Xcode Version 10.1 instead of Xcode 10.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests