Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replacement encodes special characters #220

Open
carlvorster opened this issue Aug 6, 2024 · 2 comments
Open

Replacement encodes special characters #220

carlvorster opened this issue Aug 6, 2024 · 2 comments

Comments

@carlvorster
Copy link

I'm trying to inject the following into my Info.plist file to force the space in the name, but is seems Trapeze is converting & to & - any idea how to escape this conversion? I've tried , , quotes

.yml

ios:
    targets:
      App:
        version: $VERSION
        incrementBuild: true
        bundleId: $BUNDLE_ID
        displayName: STAGING Market

info.plist

<key>CFBundleDisplayName</key>
<string>STAGING&amp;#x2008;Market</string> 
@theproducer
Copy link

I'm trying to inject the following into my Info.plist file to force the space in the name, but is seems Trapeze is converting & to & - any idea how to escape this conversion? I've tried , , quotes

.yml

ios:
    targets:
      App:
        version: $VERSION
        incrementBuild: true
        bundleId: $BUNDLE_ID
        displayName: STAGING&#x2008;Market

info.plist

<key>CFBundleDisplayName</key>
<string>STAGING&amp;#x2008;Market</string> 

What happens if you just use a space for displayName?

@carlvorster
Copy link
Author

@theproducer the space works fine; the problem I'm trying to solve is that Apple strips whitespace if the app name is longer than 12 chars, the workaround is to use this special char, it "simulates" a space. The workaround works 100% if I update the info.plist file directly, but I need to to push this through Trapeze for CI, staging builds and white labeling....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants