fastlane: Provided xcconfig is not used for provisioning profile selection
New Issue Checklist
- Updated fastlane to the latest version
- I read the Contribution Guidelines
- I read docs.fastlane.tools
- I searched for existing GitHub issues
Issue Description
If xcconfig is provided from the command line, itβs not being used during the provisioning profiles search.
Complete output when running fastlane, including the stack trace and command used
fastlane gym --export_method "enterprise" --xcconfig "Config.xcconfig" MyProject.xcproj
DEBUG [2017-09-27 00:27:12.27]: Parsing project file 'MyProject.xcproj' to find selected provisioning profiles
DEBUG [2017-09-27 00:27:12.27]: Finding provision profiles for 'Release'
DEBUG [2017-09-27 00:27:12.63]: Merging provisioning profile mappings
DEBUG [2017-09-27 00:27:12.63]: -------------------------------------
DEBUG [2017-09-27 00:27:12.63]: Primary provisioning profile mapping:
DEBUG [2017-09-27 00:27:12.63]: {}
DEBUG [2017-09-27 00:27:12.63]: Secondary provisioning profile mapping:
DEBUG [2017-09-27 00:27:12.63]: {:"<REDACTED_BUNDLE_ID>"=>"<REDACTED_PROFILE_NAME>"}
DEBUG [2017-09-27 00:27:12.63]: Resulting in the following mapping:
DEBUG [2017-09-27 00:27:12.63]: {:"<REDACTED_BUNDLE_ID>"=>"<REDACTED_PROFILE_NAME>"}
INFO [2017-09-27 00:27:12.63]: Detected provisioning profile mapping: {:"<REDACTED_BUNDLE_ID>"=>"<REDACTED_PROFILE_NAME>"}
Where <REDACTED_BUNDLE_ID> and <REDACTED_PROFILE_NAME> are being the ones set in the project and not in the provided xcconfig file.
The contents of the xcconfig:
PRODUCT_BUNDLE_IDENTIFIER = <MyBundleId>
PROVISIONING_PROFILE_SPECIFIER = <MyProfileName>
Environment
Please run fastlane env and copy the output below. This will help us help you π
If you used --capture_output option please remove this block - as it is already included there.
π« fastlane environment π«
Stack
| Key | Value |
|---|---|
| OS | 10.12.6 |
| Ruby | 2.0.0 |
| Bundler? | false |
| Git | git version 2.13.5 (Apple Git-94) |
| Installation Source | /usr/local/bin/fastlane |
| Host | Mac OS X 10.12.6 (16G29) |
| Ruby Lib Dir | /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib |
| OpenSSL Version | OpenSSL 0.9.8zc 19 Mar 2015 |
| Is contained | false |
| Is homebrew | false |
| Is installed via Fabric.app | false |
| Xcode Path | /Applications/Xcode.app/Contents/Developer/ |
| Xcode Version | 9.0 |
System Locale
| Error |
|---|
| No Locale with UTF8 found π« |
fastlane files:
No Fastfile found
No Appfile found
fastlane gems
| Gem | Version | Update-Status |
|---|---|---|
| fastlane | 2.59.0 | β Up-To-Date |
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
| Gem | Version |
|---|---|
| slack-notifier | 1.5.1 |
| CFPropertyList | 2.3.4 |
| claide | 1.0.2 |
| colored2 | 3.1.2 |
| nanaimo | 0.2.3 |
| xcodeproj | 1.5.2 |
| rouge | 1.11.1 |
| xcpretty | 0.2.4 |
| terminal-notifier | 1.7.1 |
| unicode-display_width | 1.1.2 |
| terminal-table | 1.7.3 |
| plist | 3.2.0 |
| public_suffix | 2.0.5 |
| addressable | 2.5.2 |
| multipart-post | 2.0.0 |
| word_wrap | 1.0.0 |
| tty-screen | 0.5.0 |
| babosa | 1.0.2 |
| colored | 1.2 |
| highline | 1.7.8 |
| commander-fastlane | 4.4.5 |
| excon | 0.54.0 |
| faraday | 0.13.1 |
| unf_ext | 0.0.7.2 |
| unf | 0.1.4 |
| domain_name | 0.5.20161129 |
| http-cookie | 1.0.3 |
| faraday-cookie_jar | 0.0.6 |
| fastimage | 2.1.0 |
| gh_inspector | 1.0.2 |
| json | 1.7.7 |
| mini_magick | 4.5.1 |
| multi_json | 1.12.1 |
| multi_xml | 0.6.0 |
| rubyzip | 1.2.0 |
| security | 0.1.3 |
| xcpretty-travis-formatter | 0.0.4 |
| dotenv | 2.1.1 |
| bundler | 1.13.7 |
| faraday_middleware | 0.10.1 |
| uber | 0.0.15 |
| declarative | 0.0.10 |
| declarative-option | 0.1.0 |
| representable | 3.0.4 |
| retriable | 2.1.0 |
| mime-types-data | 3.2016.0521 |
| mime-types | 3.1 |
| little-plugger | 1.1.4 |
| logging | 2.1.0 |
| jwt | 1.5.6 |
| memoist | 0.15.0 |
| os | 0.9.6 |
| signet | 0.7.3 |
| googleauth | 0.5.1 |
| httpclient | 2.8.3 |
| google-api-client | 0.13.6 |
generated on: 2017-09-27
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 2
- Comments: 17 (8 by maintainers)
@lkraider @chrispcampbell This is merged now so this should be fixed! Happy fastlaning π