I am new to Xcode
and Swift
. There is an apparently known problem in Swift
Compilations that I am attempting to address via a recommended fix that is stated here https://forums.swift.org/t/swift-compilation-reaching-arg-max-limit-causing-xcode-build-failure/6494/14
Xcode 11 beta 3 added a flag to use an unlimited number of Swift files. You have to add USE_SWIFT_RESPONSE_FILE to YES in Build Settings - User Defined section. But this only works if you use the New Build System. Tested on a dummy project with 2000 files inside an extra long path and it's working.
I am uncertain how/where to add this USE_SWIFT_RESPONSE_FILE
= NO
setting. Here is my .xcodeproject
directory
Which file should be updated to include the new setting?
Update After applying the accepted answer from @JawadAli the Target|Build|User defined settings
are here:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.