Hello:
I am seeing the following error under Xcode 10.0. The error is noted with line 2 of the enclosed code segment. It has me stumped.
- It was previously working under XCode 9.4, meaning I was able to create the archive.
- I can build it without issue, but when I try to "Archive", it does not build, and results in the "Swift Compile Error": "Argument passed to call that takes no arguments"
- I can "Build" and run in the iOS 12 Simulator and on an actual iOS 12 device.
- It fails when I attempt "Archive" in Xcode. I cannot create the archive via Fastlane either. Fastlane results in the same error.
- This code is Swift 4, not Swift 4.2.
let textFieldRect = CGRect(x: 10.0, y: 10.0, width: 100.0, height: 100.0)
let textField1 = UITextField(frame: textFieldRect)
Thanks.