XCODE 6 (6A313) Compile Error using Outlets

前端 未结 1 1251
轻奢々
轻奢々 2020-12-18 15:37

I am using Xcode 6(6A313) to develop an example app (use objective-c), follow the book IOS Programming 4 edition Big Nerd Ranch that is made to work with Xcode 5 however thi

相关标签:
1条回答
  • 2020-12-18 15:57

    The ability to use a nib or storyboard instead of a launch image is new in Xcode 6, but the view in your launch storyboard can't have outlets.

    It seems that you have outlets in the file that is being used for your launch screen. Xcode 6 template projects will now create two files - main.storyboard and LaunchScreen.xib.

    Either remove the outlets from LaunchScreen.xib or go to your target and remove the value from the "Launch Screen File" field -

    Launch screen setting

    0 讨论(0)
提交回复
热议问题