question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS Version, Display Name, Build Not Set

See original GitHub issue

Bug 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.

Screenshot 2022-11-01 at 11 37 31 AM

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:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
teranpetersoncommented, Nov 10, 2022

Everything appears to be working correctly. It’s just not a good user experience. Will wait for a fix from Apple.

0reactions
erisucommented, Nov 8, 2022

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 the Info.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 of Info.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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found