Comments (6)
Ops, looks like that method isn't calling id
on each of the devices. It
should to be more consistent since it does get the id of the certificate.
On Wed, May 13, 2015 at 5:17 PM, Felix Krause [email protected]
wrote:
I probably do something wrong:
Spaceship.provisioning_profiles.create(
klass: Spaceship::ProvisioningProfiles::Development,
name: "Spaceship",
bundle_id: "net.sunapps.1",
certificate: Spaceship.certificates.all_of_type(Spaceship::Certificates::Development).first,
devices: [Spaceship.devices.first]
)and receive:
Spaceship::Client::UnexpectedResponse: {"responseId"=>"1786cf07-b77e-4176-a164-33029122a54b", "resultCode"=>35, "resultString"=>"There were errors in the data supplied. Please correct and re-submit.", "userString"=>"There are no current devices on this team matching the provided device IDs.", "creationTimestamp"=>"2015-05-13T21:15:47Z", "protocolVersion"=>"QH65B2", "requestId"=>nil, "userLocale"=>"en_US", "requestUrl"=>"https://developer.apple.com/services-account/QH65B2/account/ios/profile/createProvisioningProfile.action", "httpCode"=>200, "validationMessages"=>[{"validationKey"=>"deviceIds", "validationUserMessage"=>"There are no current devices on this team matching the provided device IDs."}]}
from /Users/felixkrause/Downloads/spaceship_neu/spaceship/lib/spaceship/client.rb:263:in `parse_response'—
Reply to this email directly or view it on GitHub
#6.
from spaceship.
This should be fixed in master
from spaceship.
We need to fix the code sample in the README, as the current code doesn't work:
Spaceship.provisioning_profiles.create(
klass: Spaceship::ProvisioningProfiles::Development,
name: "Spaceship",
bundle_id: "net.sunapps.1",
certificate: Spaceship.certificates.all_of_type(Spaceship::Certificates::Development).first,
devices: [Spaceship.devices.first]
)
NameError: uninitialized constant Spaceship::ProvisioningProfiles
from spaceship.
README updated in 7ba6154:
Spaceship::ProvisioningProfile::Development.create!(
name: "Spaceship",
bundle_id: "net.sunapps.1",
certificate: Spaceship.certificates.all_of_type(Spaceship::Certificates::Development).first,
devices: [Spaceship.devices.first])
No more weird/gross :klass or :type
. Type is inferred from the calling class.
from spaceship.
Yes, that makes so much sense! 🚀
from spaceship.
This issue was migrated to fastlane/fastlane#3585. 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.