Monday, June 25, 2018

Is it possible to save the filelist of the Swift compiler?

Leave a Comment

Please check the following (partial) Swift compiler call:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c -filelist /var/folders/fg/ssznc5j55yq1f9yngt82gyr40000gn/T/sources-7a8f3f

My question is about the "-filelist" option. The Swift compiler sometimes (it is unknown in what circumstances) generates some temporary file list that is used as input for the compiler call. After the call the file list is gone. Is there any way to make this file list persistent, i.e. is it possible to save it somewhere for later use?

I am asking this question because I would like to apply the compiler call myself after this, but since the file list is gone after compilation, this doesn't work.

0 Answers

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment