RxBluetoothKit
RxBluetoothKit copied to clipboard
Autogenerated file gets regenerated at every build causing submodule to become dirty
Describe the bug
Everytime RxBluetoothKit is built from scratch, the file Tests/Autogenerated/_Peripheral.generated.swift
seems to be regenerated and looks different causing the git submodule to become dirty.
To Reproduce Steps to reproduce the behavior:
- Add RxBluetoothKit as submodule
- Build RxBluetoothKit
- Notice
Tests/Autogenerated/_Peripheral.generated.swift
changes
Expected behavior
Tests/Autogenerated/_Peripheral.generated.swift
shouldn't change or be git ignored.
Environment:
- Library version [5.1.3]
- Swift version [4.1]
A fix is to remove gsed from environment but is not very nice.
Can we use an environment variable and execute code generation using a script instead of a build phase?