Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B buck
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 201
    • Issues 201
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • buck
  • Issues
  • #772
Closed
Open
Issue created Jun 08, 2016 by Administrator@rootContributor

WatchOS1 storyboard not being compiled correctly

Created by: rmaz

When compiling a watchOS1 target, the app crashes at runtime with:

(Error) WatchKit: <SPApplicationDelegate.m -[SPApplicationDelegate application:didFinishLaunchingWithOptions:]:611> Error - unable to find interface description file Interface.plist for com.blah.amazingapp.watchkitapp. Exiting.

It seems that when Xcode is compiling the storyboard for the watch app, it dispenses with the .storyboardc containing folder, and just puts the generated plist files during compilation into the app bundle. ie If we have an Interface.storyboard, Xcode generates:

Base.lproj
|-> Interface.plist
|-> Interface-notification.plist

whereas buck is outputting:

Base.lproj
|-> Interface.storyboardc
      |-> Interface.plist
      |-> Interface-notification.plist

Looks like the issue is AppleBundle.java:708, the platform name is being checked to correctly compile the storyboard, but we also need to check for legacy_watch flavor.

Assignee
Assign to
Time tracking