Comments (10)
@wassup- Please avoid my previous comment, it was not related to your issue. I've fixed your issue, now your workflow still fails but from now your iOS Auto Provision step is working fine. I hope I could help.
from steps-ios-auto-provision.
Hi @wassup-! Is the same issue present if you set generate_profiles
to yes
instead of no
?
from steps-ios-auto-provision.
@bitce Yes the issue persists with generate_profiles
set to yes
Params:
team_id: XXXXXXXXXX
certificate_urls: ***
min_profile_days_valid: 0
passphrases:
distribution_type: app-store
project_path: XXXXXXXXXX.xcodeproj
scheme: XXXXXXXXXX-Development
configuration:
build_url: https://app.bitrise.io/build/4de9e5514aa6e9a5
build_api_token: ***
keychain_path: /Users/vagrant/Library/Keychains/login.keychain
keychain_password: ***
verbose_log: no
generate_profiles: true
Developer Portal authentication
Session loaded from environment variable is not valid. Continuing with normal login.
authenticated
Downloading Certificates
1 certificate files downloaded, 1 distinct codesign identities included
Identify Certificates on Developer Portal
Distribution certificate found: Apple Distribution: XXXXXXXXXX
Analyzing project
project codesign identity: iPhone Developer
project team id: XXXXXXXXXX
uses xcode managed signing: true
main target's platform:
target #0: XXXXXXXXXX with 3 services
Matching project codesign identity with the uploaded certificates
using: Apple Distribution: XXXXXXXXXX
Ensure Provisioning Profiles on Developer Portal
checking xcode managed app-store profile for target: XXXXXXXXXX with 3 services on developer portal
Error:
undefined method `casecmp' for nil:NilClass
Stacktrace (for debugging):
/private/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/bitrise268176616/step_src/lib/autoprovision/portal/profile_client.rb:176:in `distribution_type_matches?'
/private/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/bitrise268176616/step_src/lib/autoprovision/portal/profile_client.rb:58:in `block in ensure_xcode_managed_profile'
/private/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/bitrise268176616/step_src/lib/autoprovision/portal/profile_client.rb:57:in `select'
/private/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/bitrise268176616/step_src/lib/autoprovision/portal/profile_client.rb:57:in `ensure_xcode_managed_profile'
/private/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/bitrise268176616/step_src/lib/autoprovision/portal/profile_client.rb:81:in `rescue in ensure_xcode_managed_profile'
/private/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/bitrise268176616/step_src/lib/autoprovision/portal/profile_client.rb:56:in `ensure_xcode_managed_profile'
/private/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/bitrise268176616/step_src/lib/autoprovision/profile_helper.rb:65:in `block in ensure_xcode_managed_profiles'
/private/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/bitrise268176616/step_src/lib/autoprovision/profile_helper.rb:59:in `each'
/private/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/bitrise268176616/step_src/lib/autoprovision/profile_helper.rb:59:in `ensure_xcode_managed_profiles'
/private/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/bitrise268176616/step_src/lib/autoprovision/profile_helper.rb:40:in `block in ensure_profiles'
/private/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/bitrise268176616/step_src/lib/autoprovision/profile_helper.rb:38:in `each'
/private/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/bitrise268176616/step_src/lib/autoprovision/profile_helper.rb:38:in `ensure_profiles'
/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/bitrise268176616/step_src/step.rb:90:in `<main>'
from steps-ios-auto-provision.
Thanks for confirming this. Can you please send a link here to either of these builds and enable Support User access on the Settings of the app?
from steps-ios-auto-provision.
https://app.bitrise.io/build/3891a54876f64245
Thank you for taking a look at this.
from steps-ios-auto-provision.
Hi @wassup- !
I have checked your build log and I have noticed that you want to auto sign your development project target as an app-store one. For development target you need to have a Development certificate and provisioning profile in your Apple Developer account. Could you please create them and let me know when you are ready? Thank you for your cooperation!
from steps-ios-auto-provision.
@Robert-Bitrise Do you mean I'm using a wrong CODE_SIGN_IDENTITY
?
What do you mean by 'development target'? I'm trying to generate a build to distribute via TestFlight. When trying to generate a staging build (to also distribute via TestFlight), the same issue is present (https://app.bitrise.io/build/6000299cc965b722). This is the same flow as most of our apps (we've got development, staging and production environments).
Maybe I'm not understanding what you are saying?
from steps-ios-auto-provision.
@Robert-Bitrise Thank you for your help, I am now able to successfully finish the workflow!
Could you elaborate on what the issue was, and how you fixed it?
from steps-ios-auto-provision.
@wassup- I'm glad I could help :) The issue was in your yml file you had a wrong input value for your iOS Archive step, you have true instead of yes and this caused an issue in the step's source code.
from steps-ios-auto-provision.
@wassup- One more thing, could you please close this ticket if you think we are done? Thank you :)
from steps-ios-auto-provision.
Related Issues (20)
- Failing with error "undefined method `casecmp' for nil:NilClass" HOT 2
- step failing because bundler isn't up to date HOT 14
- Step fails due to Bundler on 11.2 stack HOT 2
- Error: Developer Portal Authentication HOT 4
- developer portal apple id not provided for this build HOT 11
- Permission denied while executing gem
- Support Mac Catalyst apps HOT 4
- Throws Error HOT 2
- Update for Xcode 11.4
- Permission error HOT 3
- security: SecKeychainItemImport: MAC verification failed during PKCS12 import (wrong password?) HOT 10
- New GUI Apple portal - developer portal apple id not provided for this build HOT 21
- Always failing with invalid parameter UDID HOT 1
- Auto provision step fails due to new Xcode object version. HOT 6
- undefined method `icloud' HOT 13
- Don't work when try to work with mac devices HOT 9
- Error in latest version 1.5.6: undefined method map' for nil:NilClass HOT 4
- Fails with private Swift Package HOT 7
- Issue with missing project_path and scheme HOT 4
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 steps-ios-auto-provision.