Xcode supports custom Build Rules
for different source files. I am particularly interested in Swift build rule.
What should be correct script to compile the sources and what to specify in Output Files
?
Please, answer the question if you did have experience with that.
Swift files are compiled with swiftc implicitly, as well as Obj-C with clang . Afaik it's not possible to substitute that call with a Build Rule, as you also would need to pass tons of arguments for the optimizer, libraries for linker etc The output of source code compilation is object files (*.o), which are then linked together to form a resulting binary.
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.