Xcode is complaining that a var is immutable
| Originator: | SaagarJha28 | ||
| Number: | rdar://27384685 | Date Originated: | 15-Jul-2016 06:32 PM |
| Status: | Closed | Resolved: | 16-Aug-2016 05:25 PM |
| Product: | Developer Tools | Product Version: | Xcode Version 8.0 beta 2 (8S162m)/macOS Sierra 10.12 Beta (16A239j) |
| Classification: | Serious Bug | Reproducible: |
Summary: Xcode is saying that some of my `var`s are immutable, and hence I cannot modify some (only some!) of their properties. Attached is a screenshot of the issue and the project in which it happens. The offending file is ImagesViewController.swift, which is the the "Asset Catalog Tinkerer" folder. Steps to Reproduce: 1. Attempt to compile the project. Expected Results: No error. Actual Results: Error. Version: Xcode Version 8.0 beta 2 (8S162m)/macOS Sierra 10.12 Beta (16A239j) Notes: Configuration: Late 2011 MacBook Pro running macOS Sierra 10.12 Beta (16A239j)
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!