Comments (8)
There is a high chance this is caused by เทดเทด
, yes. Can you try running it on a different account?
from spaceship.
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.
@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!
from spaceship.
Yeah I also feel I have a right to emoji wherever I want! Will keep you posted on this.
from spaceship.
Thank you @vytis
from spaceship.
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.
Okay, thanks for the update
from spaceship.
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)
- Consistently getting timeout when trying to get provisioning profile. HOT 9
- iTC response fail HOT 5
- Wrong message in spaceship playground message HOT 1
- Accessing BUNDLE type of application fails in client.app_version HOT 1
- retry on EPIPE HOT 1
- Ability to "Release This Version" from "Pending Developer Release" HOT 2
- undefined method `can_download' after installing spaceship v. 0.21 HOT 4
- Two-Step Authentication HOT 2
- spaceship goes into infinite loop when user doesn't have proper access rights. HOT 2
- Keep getting this error 'UnexpectedResponse' HOT 6
- Try to provide more contextual information when errors are in the response HOT 2
- Has apple's JSON's schema changed again? HOT 2
- Proper detection of invalid ITC/Portal user rights HOT 2
- [!] Couldn't download certificate, got this instead: HTTP 405 Method Not Allowed HOT 4
- Can spaceship download iTC-generated dSYMs for apps submitted as Bitcode? HOT 3
- Help I am confused on something profile.devices = Spaceship.device.all HOT 3
- Unable to download profiles HOT 3
- Couldn't download certificate HOT 4
- Problem downloading the profile HOT 4
- Running spaceship from a server side script HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spaceship.