File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -518,6 +518,14 @@ Running the app,
518
518
519
519
![ 5 squared] ( tutorial/squared.png )
520
520
521
+ If the build fails with ` Use of unresolved identifier 'square' ` ,
522
+ perform a full clean with the * Product » Clean Build Folder...*
523
+ ⌥⇧⌘K menu command and then rebuild. (Hold ⌥ option to reveal
524
+ the menu item.) This appears to be a bug with Xcode (version
525
+ 8.2 as of writing) caching some intermediate state from before
526
+ the ` SwiftHaskell ` module was fully configured, and should not
527
+ occur in future builds.
528
+
521
529
## Passing Complex Data Types
522
530
523
531
### Bytes
@@ -891,3 +899,11 @@ to **Yes** on the app target, as described in *App Bundle
891
899
Configuration* .
892
900
893
901
![ Always Embed Swift Standard Libraries: Yes] ( tutorial/xcode-embed-swift-standard-libs.png )
902
+
903
+ ### Building in Xcode fails with ` Use of unresolved identifier 'square' `
904
+
905
+ If the module is certainly imported, this is probably from Xcode
906
+ incorrectly retaining an expired cache for the ` SwiftHaskell `
907
+ module. Perform a full clean with the * Product » Clean Build
908
+ Folder...* ⌥⇧⌘K menu command and then rebuild. (Hold ⌥ option to
909
+ reveal the menu item.)
You can’t perform that action at this time.
0 commit comments