philippmayrth opened a new issue #1087:
URL: https://github.com/apache/cordova-ios/issues/1087


   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   Cordova only touches *.sotrybook files in the build target for iOS which is 
used by cordova itself
   
   
   ### What does actually happen?
   Cordova appears to map all *.storybook files somehow and throw them out of 
the XCode config file.
   
   
   ## Information
   We have build an Apple Watch app with SwiftUI but want it to work on watchOS 
6 as well so we need to include a storybook file as entry point for the UI. 
During the Cordova build process (after the `run` and `build` hooks) something 
throws out the storybook file of the XCode config file.
   
   
   
   ### Command or Code
   
   This can be reproduced in a fresh Cordova setup.
   
   1. `cordova create .`
   2. `cordova add ios`
   3. `cordova run`
   4. Store the generated XCode config as a reference
   5. Manually add a watchOS target in XCode _(make sure it uses a storybook 
file it will if its set to support watchOS 6)_
   6. Compare the changes to the config file
   7. Delete the files generated by Cordova
   8. Now add the changes (from 6.) programatically with the hook
   9. `cordova run`
   10. Open XCode try to run the watchOS target (it will fail because there is 
no `Interface.storyboard` anymore it got removed by Cordova)
   
   
   ### Environment, Platform, Device
   macOS, iOS, not aplicable
   
   
   ### Version information
   cordova-ios: 6.2.0
   XCode: 12.4 (12D4e)
   macOS: 11.1 (20C69)
   
   
   
   ## Checklist
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to