自从升级到Xcode 6 beta 5,我的playground代码不再能编译/运行,并记录如下日志:
Playground execution failed: error: Couldn't lookup symbols: _CGRectMake
这应该是足够简单的,且在之前的版本上运行良好。到目前为止,我运行的唯一代码如下:
import Foundation
import UIKit
import XCPlayground
import QuartzCore
let frameRect: CGRect = CGRectMake(0, 0, 500, 500)
var customView = UIView(frame: frameRect)
想知道是否有其他人在使用 Playground 时遇到问题并找到解决方案。我猜测这只是一个测试版的错误。