1

Recently added first swift file to large obj-c project. Compile and run in simulator is fine. Attempt to compile and run for a device and I get a file not found error on the obj-c compiler generated swift header file (aka Objective-C Generated Interface Header Name ending with -swift.h)

I have confirmed (at least to my knowledge) that project settings are correct and can see the file in the (derived data) file system for debug / simulator builds but nothing else.

Have looked at this and this but have not helped. Using xCode8 GM

Community
  • 1
  • 1
300baud
  • 540
  • 4
  • 17

1 Answers1

0

The problem corrected itself when I

  • Did a clean (have done many times before)
  • Built for "Generic" iOS device (success)
  • Closed and restarted Xcode
  • Built for Device

go figure..

[Edit] and if this doesn't help .. try this post I just found for more ideas

Community
  • 1
  • 1
300baud
  • 540
  • 4
  • 17