All folders should be black in the Xcode interface, I drag resources to the Resources folder, upload the app and get a successful message from Apple.
What does actually happen?
The Resources folder doesn't exist, and is red in the UI. Xcode still lets us drag images there, which also come up as red. It even lets us upload the app, but we get an email from Apple including the following extract:
We identified one or more issues with a recent delivery for your app, "*redacted*". Please correct the following issues, then upload again.
ITMS-90032: Invalid Image Path - - No image found at the path referenced under key 'CFBundleAlternateIcons': '*redacted'
We assumed for a few days it was an issue in our code, then we realized that the issue happens on a newly-generated Cordova project.
Information
Here's a screenshot, note the highlights showing the red Resources on the left and the expected (non-existent) path on the right:
Proof that the path doesn't exist, and it's not in the parent:
% ls /Users/danielcohen/antony-test-cordova/antony-test-project/platforms/ios/HelloCordova/Resources
ls: /Users/danielcohen/antony-test-cordova/antony-test-project/platforms/ios/HelloCordova/Resources: No such file or directory
% ls /Users/danielcohen/antony-test-cordova/antony-test-project/platforms/ios/HelloCordova/
Bridging-Header.h Classes Entitlements-Release.plist HelloCordova-Prefix.pch Plugins config.xml
CDVLaunchScreen.storyboard Entitlements-Debug.plist HelloCordova-Info.plist Images.xcassets Scripts main.m
Bug Report
Problem
What is expected to happen?
All folders should be black in the Xcode interface, I drag resources to the Resources folder, upload the app and get a successful message from Apple.
What does actually happen?
The Resources folder doesn't exist, and is red in the UI. Xcode still lets us drag images there, which also come up as red. It even lets us upload the app, but we get an email from Apple including the following extract:
We assumed for a few days it was an issue in our code, then we realized that the issue happens on a newly-generated Cordova project.
Information
Here's a screenshot, note the highlights showing the red Resources on the left and the expected (non-existent) path on the right:![image](https://user-images.githubusercontent.com/295571/123555192-dc848e00-d78c-11eb-8081-00877304927c.png)
Proof that the path doesn't exist, and it's not in the parent:
Command or Code
Then open
HelloCordova.xcodeproj
in Xcode and you see the issue.Environment, Platform, Device
Macbook Pro, OS X 11.2.3
Version information
Xcode 12.4.
Checklist