Giter VIP home page Giter VIP logo

Comments (8)

KrauseFx avatar KrauseFx commented on September 25, 2024

There is a high chance this is caused by เทดเทด, yes. Can you try running it on a different account?

from spaceship.

vytis avatar vytis commented on September 25, 2024

I've narrowed it down somewhat, I believe it is coming from my computer name - "๐Ÿ—ฟ" (http://www.fileformat.info/info/unicode/char/1f5ff/index.htm). In UTF-16 it translates to 0xD83D 0xDDFF which in decimal is 55357 56831. Not completely sure why this XML contains characters in UTF16 instead of regular UTF8.

This is happening because I have setup an Xcode Server from my own machine and it created a development certificate with computer name in it. This certificate was then added to all the automatic provisioning profiles ("iOSTeam Provisionig Profile") ones. However certificate is not listed in the developer portal. It seems that the ones created by Xcode Server are somehow hidden.

I have encountered a few bugs with having an emoji as a computer name and now changed it to something more sensible. Unfortunately the certificate stays and I don't see a way to revoke it - do you have an idea how to do that? I tried listing them with spaceship, but it fails with the same error:

require 'spaceship'

Spaceship.login("<apple_id>", "<password>")
Spaceship.select_team
profiles = Spaceship.provisioning_profile.development.all

Outputs:

/usr/local/var/rbenv/versions/2.1.2/lib/ruby/2.1.0/cgi/util.rb:73:in `chr': invalid codepoint 0xD83D in UTF-8 (Faraday::ParsingError)
    from /usr/local/var/rbenv/versions/2.1.2/lib/ruby/2.1.0/cgi/util.rb:73:in `block in unescapeHTML'
    from /usr/local/var/rbenv/versions/2.1.2/lib/ruby/2.1.0/cgi/util.rb:60:in `gsub'
    from /usr/local/var/rbenv/versions/2.1.2/lib/ruby/2.1.0/cgi/util.rb:60:in `unescapeHTML'
    from /usr/local/var/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/plist-3.1.0/lib/plist/parser.rb:167:in `to_ruby'
<...>
    from /usr/local/var/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/spaceship-0.0.15/lib/spaceship/client.rb:479:in `send_request'
    from /usr/local/var/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/spaceship-0.0.15/lib/spaceship/client.rb:454:in `request'
    from /usr/local/var/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/spaceship-0.0.15/lib/spaceship/client.rb:368:in `provisioning_profiles'
    from /usr/local/var/rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/spaceship-0.0.15/lib/spaceship/provisioning_profile.rb:231:in `all'
    from space.rb:9:in `<main>'

I believe it is encoding issue on Apple side. Is it worth to fill out a radar about this sort of thing, knowing that it's undocumented and probably not for general use? Have you had any luck with such bugs?

from spaceship.

KrauseFx avatar KrauseFx commented on September 25, 2024

@vytis Please do keep me up to date. I personally think people should be able to use emojis everywhere, including device names and computer host names! ๐Ÿ˜ƒ I myself didn't run into this issue yet.

from spaceship.

vytis avatar vytis commented on September 25, 2024

Yeah I also feel I have a right to emoji wherever I want! Will keep you posted on this.

from spaceship.

KrauseFx avatar KrauseFx commented on September 25, 2024

Thank you @vytis ๐Ÿ‘

from spaceship.

vytis avatar vytis commented on September 25, 2024

I've submitted a radar, but no reply as of now. It seems there is a place where all Server-related certificates are listed - https://developer.apple.com/membercenter/index.action#server
I managed to revoke the certificate from there and the response now doesn't have any invalid chars. I think we can close the issue, because it's definitely not Spaceship fault...

from spaceship.

KrauseFx avatar KrauseFx commented on September 25, 2024

Okay, thanks for the update ๐Ÿ‘

from spaceship.

fastlanebot avatar fastlanebot commented on September 25, 2024

This issue was migrated to fastlane/fastlane#3545. Please post all further comments there.

fastlane is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo ๐Ÿš€

from spaceship.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.