iOS validation got Main_iPhone~iphone.storyboardc was not found

后端 未结 8 2474
遇见更好的自我
遇见更好的自我 2021-02-19 04:36

I am trying to distribute my iOS app, and I got the following error message during xCode validation. \"storyboard file \'Main_iPhone~iphone.storyboardc\' was not found please e

相关标签:
8条回答
  • 2021-02-19 05:14

    Thanks, this helped me too.

    I modified the ProgramFile-Info.plist under the Supporting Files folder. I found two columns with Main storyboard file base name. I deleted the iPad one that I was getting the error on and then I was able to submit.

    0 讨论(0)
  • 2021-02-19 05:15

    You can just write the exact name of the storyboard according to apple guidelines default name is :- Main_iPhone.storyboard but i think you can change the name of the storyboard default to 'Main_iPhone~iphone.storyboardc' but they find the default name of storyboard in the bundle.

    0 讨论(0)
  • 2021-02-19 05:25

    I solved it by going to Target -> Build Phases -> Copy bundle resources, and add the Main_iPhone.storyboard file.

    0 讨论(0)
  • 2021-02-19 05:29

    In your Build Phases -> Copy Bundle Resources make sure your main storyboard is included. For example main.storyboard. It will show up red. Some people think that because it's red it should be deleted. But without it, you will get this error when you try to submit to iTunes.

    0 讨论(0)
  • 2021-02-19 05:33

    Using xCode 6.0.1 I got this error. None of the other solutions listed here fixed it. I resolved it by deleting the storyboard in question from the project (Removing references only -- not moving to trash), then putting it back in via Add Files.

    0 讨论(0)
  • 2021-02-19 05:33

    I guess you accidentally deleted a storyboard file. In my case, I solved this like by creating a new storyboard file with a different name. Then copy paste all controllers from Main_iPhone~iphone to this and edit the plist and other places with the new file name. This will work

    0 讨论(0)
提交回复
热议问题