Xcode7.3 code completion always break with objc/swift mix project
| Originator: | kentaro.matsumae | ||
| Number: | rdar://25594073 | Date Originated: | 07-Apr-2016 01:20 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 7.3 |
| Classification: | Reproducible: |
Summary: My ios project has 400 objc file(.h/.m) and 120 swift file (.swift). If I type objc defined class/method name from swift code, code-completion function show only swift defined class/method. But objc defined code is not show not at all. I try to remove cache directiory: rm -rf ~/Library/Developer/Xcode/DerivedData/ rm -rf ~/Library/Caches/com.apple.dt.Xcode/ After remove cache directory, code-completion function works fine temporary. But I re-build code only one (Cmd + B) , it breaks again. So I can not be helped, I go back to the Xcode 7.2. it works fine. I try to create new iOS project with some objc + swift file. if code size are small, this problem is not happen. Large size of code (like my project) break code completion function in Xcode7.3. Steps to Reproduce: 1. Open objc/swift mixed iOS project using Xcode 7.3 2. Build code with cmd + b 3. Open some swift code with Xcode editor. 4. Type some character of objc-defined class/method name. 5. Xcode code-completion function don't show code candidate. Expected Results: Xcode code-completion function show objc-defined and swift-defined class/method names. Actual Results: Xcode only show swift-defined class/method names. Version: Xcode 7.3 OS X El Capitan version 10.11.4
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!