Kyle Bing
Kyle Bing

Reputation: 179

StoryBoard failed - from xcode 8.3.3 to xcode9 beta2

After move my project from 8.3.3 to 9.0 beta2, the storyboard counld not work, it just show the outline of the orignal, and i cant complie it, shows the error below.
Anyone knows why?

Storyborad only show the outline

Error info

Upvotes: 3

Views: 325

Answers (1)

Krunal
Krunal

Reputation: 79776

Follow these steps to solve your problem:

  1. Open your project in Xcode (any 9.0 or 8.3.3)
  2. Right 'Click' on story board.
  3. Select 'Open As' >> 'Source Code'
  4. find keyword 'minToolsVersion' (it may be more than one time) under 'dependencies'. (Look at below images)
  5. Update value for minToolsVersion to 8.3 or 9.0 (if you don't want to work anymore with Xode 8.x, then set 9.0 here)
  6. Save
  7. Again, Right 'Click' on story board.
  8. Select 'Open As' >> 'Interface Builder - Storyboard'
  9. Now, Xcode Menus >> 'Editor' >> 'Canvas'
  10. Remove tickmarks for 'Show Layout Rectanges', 'Show Bounds Rectangles', 'Show Placeholder Rectangles'.

Now you can open your storyboard in Xcode 8.x also.

enter image description here

enter image description here

enter image description here

enter image description here

Upvotes: 4

Related Questions