Add workaround for "Use of unresolved identifier"
This commit is contained in:
@@ -518,6 +518,14 @@ Running the app,
|
||||
|
||||

|
||||
|
||||
If the build fails with `Use of unresolved identifier 'square'`,
|
||||
perform a full clean with the *Product » Clean Build Folder...*
|
||||
⌥⇧⌘K menu command and then rebuild. (Hold ⌥ option to reveal
|
||||
the menu item.) This appears to be a bug with Xcode (version
|
||||
8.2 as of writing) caching some intermediate state from before
|
||||
the `SwiftHaskell` module was fully configured, and should not
|
||||
occur in future builds.
|
||||
|
||||
## Passing Complex Data Types
|
||||
|
||||
### Bytes
|
||||
@@ -891,3 +899,11 @@ to **Yes** on the app target, as described in *App Bundle
|
||||
Configuration*.
|
||||
|
||||

|
||||
|
||||
### Building in Xcode fails with `Use of unresolved identifier 'square'`
|
||||
|
||||
If the module is certainly imported, this is probably from Xcode
|
||||
incorrectly retaining an expired cache for the `SwiftHaskell`
|
||||
module. Perform a full clean with the *Product » Clean Build
|
||||
Folder...* ⌥⇧⌘K menu command and then rebuild. (Hold ⌥ option to
|
||||
reveal the menu item.)
|
||||
|
||||
Reference in New Issue
Block a user