Compile Nimble in Xcode 9 9A235
It Compiles
It gives me the compilation error:
CwlPreconditionTesting/CwlPreconditionTesting/CwlCatchBadInstruction.swift:82:11: Overlapping accesses to 'self', but modification requires exclusive access; consider copying to a local variable
List the software versions you're using:
Please also mention which package manager you used and its version. Delete the
other package managers in this list:
CI builds are passing and I can't reproduce it locally. Could you try a clean build or removing ~/Library/Developer/Xcode/DerivedData?
I've already cleaned everything. The CI builds of 4 of my projects are not passing and show the same errors:

The error message overlapping accesses to 'self', but modification requires exclusive access; consider copying to a local variable is a Swift 4 warning that is enabled in Xcode 9 by default.
You can try to compile the following projects:
SHSearchBarSHDateFormatterSourceEDIT:
I found out that this happens when I build my framework target with the Thread Sanitizer enabled. When I switch it off I can build without errors locally. My CI machine still delivers me that error. Maybe it uses this thread sanitizer despite I disabled it in my scheme settings...
I only found this issue of another project with an related failure: https://github.com/algolia/algoliasearch-client-swift/issues/388
OK fixed this issue for me by disabling thread sanitizer... But it is still an issue for people with thread sanitizer enabled.
You can
to reproduce the failure.
Thanks for the investigation @Blackjacx! That's really helpful.
I like the project and use it a lot :-)
I have this issue and I don't have Thread Sanitizer enable on Xcode 9.2
/Users/jmacko/pj/iOS-app/Pods/Target Support Files/Nimble/Nimble-umbrella.h:13:9: note: in file included from /Users/jmacko/pj/iOS-app/Pods/Target Support Files/Nimble/Nimble-umbrella.h:13:
#import "Nimble.h"
^
/Users/jmacko/pj/iOS-app/Pods/Nimble/Sources/Nimble/Nimble.h:9:13: error: 'CwlPreconditionTesting.h' file not found
#import "CwlPreconditionTesting.h"
^
<unknown>:0: error: could not build Objective-C module 'Nimble'
Testing failed:
'CwlPreconditionTesting.h' file not found
Could not build Objective-C module 'Nimble'
** TEST FAILED **
pod deintegrate
pod install
Work for me just now.
Most helpful comment
pod deintegrate
pod install
Work for me just now.