-ERROR ITMS-90030: Nib file 'ContentView~iphone.nib' was not found. Please ensure the specified file in included in the bundle with any required device modifiers appended to the filename.

Hello,


I am trying to distribute my iOS app to App Store Connect in xCode and I get two "App Store Connect Operation" Errors:


  • "ERROR ITMS-90030: Nib file 'ContentView~iphone.nib' was not found. Please ensure the specified file in included in the bundle with any required device modifiers appended to the filename."
  • "ERROR ITMS-90030: Nib file 'ContentView~ipad.nib' was not found. Please ensure the specified file in included in the bundle with any required device modifiers appended to the filename."


STEPS TO REPRODUCE

In XCode, at the top, click on Window > Organizer.

In the Organizer, select your iOS app and click on Distribute App. Select the distribution method App Store Connect, next select Upload, check Include Bitcode and Upload app's symbols and click Next. Select Automatically Manage Signing and click Next. Click on Upload. Error message shows up during the Uploading process. "Distribution failed with errors".


How do I fix these errors? Where does these files come from? How do I recreate them if they are missing? My app is only for iPhone so there should not be an iPad nib file..?


Any help would be appreciated.


Thank you!


EDIT : I found the issue. Someone mentionned that It looked like I was using an older version of xCode but I am using xCode 11.3 . I looked at my project Identity and Type (on the right side) and the Project Format was set to xCode 9.0-compatible. I switched it to xCode 11.0-compatible and the issue is gone!


Nevermind, issue is back after trying to push a new build even if compatibility is set to xCode 11.0...

Is it a SwiftUI App ?

I am using xCode version 11.3 (11C29)

Yes it is a SwiftUI app.

Using any 3rd party tools/SDKs/app builders? cordova?

I found the issue. Someone mentionned (comment got deleted) that It looked like I was using an older version of xCode but I am using xCode 11.3 . I looked at my project Identity and Type (on the right side) and the Project Format was set to xCode 9.0-compatible. I switched it to xCode 11.0-compatible and the issue is gone!

Nevermind, issue is back after trying to push a new build even if compatibility is set to xCode 11.0...

I tried to submit an app for the first time to the app store and see this error too. Can someone please answer?

-ERROR ITMS-90030: Nib file 'ContentView~iphone.nib' was not found. Please ensure the specified file in included in the bundle with any required device modifiers appended to the filename.
 
 
Q