iOS Version, Display Name, Build Not Set
See original GitHub issueBug Report
Problem
What is expected to happen?
The ios version, display name, and build number are no longer being set when app is opened in Xcode. Verified that this happens with template cordova create
+ platform add ios@6.2.0
.
<name>HelloCordova</name> - should set Display Name
<widget ... version="1.0.0" ... > - should set Version
<widget ... ios-CFBundleVersion="1" ... > - should set Build
What does actually happen?
All of these fields are left blank.
Information
Command or Code
cordova create <name>
cd <name>
cordova platform add ios@6.2.0
open -a xcode platforms/ios
Environment, Platform, Device
macOS Ventura 13.0 2019 MacBook Pro 16" Intel chip
Version information
NodeJS 18.12.0 Xcode 14.1 cordova 11.0.0 cordova-ios 6.2.0
Checklist
- I searched for existing GitHub issues
- I updated all Cordova tooling to most recent version
- I included all the necessary information above
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How can I change app name? | Apple Developer Forums
Here's how I tried: Build Settings> Change "Product Name". TARGETS> Select app> Change "Display Name". Project Navigator> Select project name> Double-click> ...
Read more >How to change the name of an iOS app? - xcode
Go to Targets in Xcode . Build Settings on your project's target (your current development name). Search for Product Name under Packaging ....
Read more >[macOS][Desktop]: App name does not change · Issue #105157
According to that fix and comment, set the display name in General > Identity > Display Name which seem to be available only...
Read more >Empty Display Name on Xcode - Unity Forum
Is it normal that "Display Name" is empty after adding the "iOS App Info" on Localization Settings? It works when the app is...
Read more >Application name field in info.plist doesn't change display ...
Not sure if this is introduced by iOS 13 update or some new VS for Mac version. Currently using : Visual Studio Community...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Everything appears to be working correctly. It’s just not a good user experience. Will wait for a fix from Apple.
From investigation, I think this is just just a visual bug within Xcode and does not cause any build failures.
Cordova sets the values of this information in the
Info.plist
. The values are still set properly. And I believe the builds are continuing to pull the values from theInfo.plist
as expected.It feels like Apple has updated Xcode and might have accidentally introduced a bug that causes Xcode to no longer display the values from the
Info.plist
file.This probably should be reported to Apple for them to confirm this.
I think I heard that Apple is trying to move more settings to be set from the Xcode project. For example, if you set those values, it is set within the
pbxproj
file. But based on the Xcode 14.x release notes, there is nothing that sticks out as a change that would suggest this move.It makes me feel like this is an unexpected change.
If we tried to modify the
pbxproj
file instead ofInfo.plist
, this might require a lot of resources and maybe heavy modifications because our pbxproj parser does not understand the targets. The parser would apply to all targets and could lead to building issues…At this moment, I am thinking its just a visual issue and a ticket to Apple is recommended. Is there anything suggesting that the build output looks wrong to you?