Thanks a lot.
I have been doing quite a bit of investigative work on the project settingsm and comparing with a fresh new project settings, but didn't figure it out yet. I noticed also that it actually compiles if I choose an iOS device, but only fails against the simulator.
I recreated the whole project from scratch in xcode 8.3.2, reimporting the source code manually and using fresh default settings. Interestingly the new project compile now against the simulator but fails against iOS (with the same redefinition error).
I also tried to study the command line that fails (and my environment variables) for any hints to ios reference but to no avail. Here is the full command line
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c -primary-file /Users/brice/Development/xcode/RZUtils/src/universal/swift/RZSLog.swift -target x86_64-apple-ios9.0 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk -I /Users/brice/Library/Developer/Xcode/DerivedData/GarminConnect-dxmvrwpwzpqxffggolvmfzhyupdx/Build/Products/Debug-iphonesimulator -F /Users/brice/Library/Developer/Xcode/DerivedData/GarminConnect-dxmvrwpwzpqxffggolvmfzhyupdx/Build/Products/Debug-iphonesimulator -enable-testing -g -import-underlying-module -module-cache-path /Users/brice/Library/Developer/Xcode/DerivedData/ModuleCache -serialize-debugging-options -Xcc -I/Users/brice/Library/Developer/Xcode/DerivedData/GarminConnect-dxmvrwpwzpqxffggolvmfzhyupdx/Build/Intermediates/RZUtils.build/Debug-iphonesimulator/RZUtils.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/brice/Library/Developer/Xcode/DerivedData/GarminConnect-dxmvrwpwzpqxffggolvmfzhyupdx/Build/Intermediates/RZUtils.build/Debug-iphonesimulator/RZUtils.build/RZUtils-generated-files.hmap -Xcc -I/Users/brice/Library/Developer/Xcode/DerivedData/GarminConnect-dxmvrwpwzpqxffggolvmfzhyupdx/Build/Intermediates/RZUtils.build/Debug-iphonesimulator/RZUtils.build/RZUtils-own-target-headers.hmap -Xcc -I/Users/brice/Library/Developer/Xcode/DerivedData/GarminConnect-dxmvrwpwzpqxffggolvmfzhyupdx/Build/Intermediates/RZUtils.build/Debug-iphonesimulator/RZUtils.build/RZUtils-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/brice/Library/Developer/Xcode/DerivedData/GarminConnect-dxmvrwpwzpqxffggolvmfzhyupdx/Build/Intermediates/RZUtils.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/brice/Library/Developer/Xcode/DerivedData/GarminConnect-dxmvrwpwzpqxffggolvmfzhyupdx/Build/Intermediates/RZUtils.build/Debug-iphonesimulator/RZUtils.build/RZUtils-project-headers.hmap -Xcc -I/Users/brice/Library/Developer/Xcode/DerivedData/GarminConnect-dxmvrwpwzpqxffggolvmfzhyupdx/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/brice/Library/Developer/Xcode/DerivedData/GarminConnect-dxmvrwpwzpqxffggolvmfzhyupdx/Build/Intermediates/RZUtils.build/Debug-iphonesimulator/RZUtils.build/DerivedSources/x86_64 -Xcc -I/Users/brice/Library/Developer/Xcode/DerivedData/GarminConnect-dxmvrwpwzpqxffggolvmfzhyupdx/Build/Intermediates/RZUtils.build/Debug-iphonesimulator/RZUtils.build/DerivedSources -Xcc -DDEBUG=1 -Xcc -DGC_IOS=1 -Xcc -ivfsoverlay -Xcc /Users/brice/Library/Developer/Xcode/DerivedData/GarminConnect-dxmvrwpwzpqxffggolvmfzhyupdx/Build/Intermediates/RZUtils.build/Debug-iphonesimulator/RZUtils.build/unextended-module-overlay.yaml -Xcc -working-directory/Users/brice/Development/xcode/RZUtils -emit-module-doc-path /Users/brice/Library/Developer/Xcode/DerivedData/GarminConnect-dxmvrwpwzpqxffggolvmfzhyupdx/Build/Intermediates/RZUtils.build/Debug-iphonesimulator/RZUtils.build/Objects-normal/x86_64/RZSLog~partial.swiftdoc -serialize-diagnostics-path /Users/brice/Library/Developer/Xcode/DerivedData/GarminConnect-dxmvrwpwzpqxffggolvmfzhyupdx/Build/Intermediates/RZUtils.build/Debug-iphonesimulator/RZUtils.build/Objects-normal/x86_64/RZSLog.dia -Onone -parse-as-library -module-name RZUtils -emit-module-path /Users/brice/Library/Developer/Xcode/DerivedData/GarminConnect-dxmvrwpwzpqxffggolvmfzhyupdx/Build/Intermediates/RZUtils.build/Debug-iphonesimulator/RZUtils.build/Objects-normal/x86_64/RZSLog~partial.swiftmodule -emit-dependencies-path /Users/brice/Library/Developer/Xcode/DerivedData/GarminConnect-dxmvrwpwzpqxffggolvmfzhyupdx/Build/Intermediates/RZUtils.build/Debug-iphonesimulator/RZUtils.build/Objects-normal/x86_64/RZSLog.d -emit-reference-dependencies-path /Users/brice/Library/Developer/Xcode/DerivedData/GarminConnect-dxmvrwpwzpqxffggolvmfzhyupdx/Build/Intermediates/RZUtils.build/Debug-iphonesimulator/RZUtils.build/Objects-normal/x86_64/RZSLog.swiftdeps -o /Users/brice/Library/Developer/Xcode/DerivedData/GarminConnect-dxmvrwpwzpqxffggolvmfzhyupdx/Build/Intermediates/RZUtils.build/Debug-iphonesimulator/RZUtils.build/Objects-normal/x86_64/RZSLog.o
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/module.modulemap:1:8: error: redefinition of module 'AppleTextureEncoder'
module AppleTextureEncoder [system] [extern_c] {
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk/usr/include/module.modulemap:1:8: note: previously defined here
module AppleTextureEncoder [system] [extern_c] {
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/module.modulemap:7:8: error: redefinition of module 'Compression'
module Compression [system] [extern_c] {
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk/usr/include/module.modulemap:7:8: note: previously defined here
module Compression [system] [extern_c] {