Created
February 7, 2018 11:54
-
-
Save m4rr/bbb674e8182c8860d8b9a6cbb5a380e0 to your computer and use it in GitHub Desktop.
CircleCI Config YAML
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jobs: | |
# ... | |
make_build: | |
macos: | |
xcode: "9.2.0" | |
steps: | |
- checkout | |
# ... | |
- run: | |
name: decode Certificates | |
context: org-global | |
command: base64 -D -o Certificates.p12 <<< $Certificates | |
- run: | |
name: make Provisioning Profiles directory | |
command: mkdir -pv ~/Library/MobileDevice/Provisioning\ Profiles/ | |
- run: | |
name: decode Provisioning Profiles | |
context: org-global | |
command: base64 -D -o ~/Library/MobileDevice/Provisioning\ Profiles/App_Store.mobileprovision <<< $App_Store_Profile | |
# ... |
It seems the prov. profile doesn't match to the build step. It should match by bundle id, but also by the purpose of the build. Thus, prov. profile for the App Store distribution cannot be used for testing builds. But only for the App Store distribution.
I have the same issue as you @bunchito did you manage to solve this? I've tried mentioned solutions but had no luck
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for your quick answer, Marat! And for taking the time of writing the post.
I did that.
base64 -i MyAPP_App_Store_Provisioning.mobileprovision | pbcopy
Then I create a environment variable with the name
App_Store_Profile
and the value of the previous output.This is the content of my
Fastfile
And when I run the lane test, here starts the error
I also tried passing this to
build_app
I also tried passing
-allowProvisioningUpdates
Any hint? Thanks a lot
But it is not working.