new SpriteKit game doesn't work if product/project name contains hyphen

Originator:arya.irani
Number:rdar://28609601 Date Originated:Oct 4, 2016
Status:open Resolved:
Product:Developer Tools Product Version:8.0 8A218a
Classification:Serious Bug Reproducible:Always
 
Summary:
Xcode 8 includes a New Project -> iOS -> Game -> SpriteKit starter project.  If the project name includes a hyphen, then when the executable is run, it doesn't appear to respond to touches; doesn't add child nodes to the graph.

Steps to Reproduce:
File -> New Project -> iOS -> Game
language: Swift
game technology: SpriteKit
devices: iPhone
Product Name:  one of:
  what
  solitare-sk
  solitaire-sk
  solitaire-sk2
  shortname
  short-name
  long-name
  nohyphen
  has-hyphen
  asdf-asdf

Build and Run on iOS 5 Simulator, or set Signing Team and run on physical iPhone 6s.



Expected Results:
Running application displays rotating rectangles in response to touchDown, touchMoved, touchUp events; scene helloLabel undergoes the Pulse animation in response to touches.

Actual Results:
If the Project Name included a hyphen, then none of the animations occur.

Version:
Xcode 8A218a
OS X 15G1004

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!