add config for Swift