That's not the way you would usually activate whole module optimization (neither in Xcode6 or Xcode 7).In Xcode 7 it's in the Build Settings section: Swift Compiler - Code Generation -> Optimization Level.In Xcode 6 there was a check box in the Swift Compiler section, if i remember correctly.From the command line it's eg swiftc -O -whole-module-optimization main.swift
Topic:
Programming Languages
SubTopic:
Swift
Tags: