Skip to content

Commit

Permalink
Merge pull request #52 from rhydiant/main
Browse files Browse the repository at this point in the history
Updated readme to avoid issues with multiline base64 provisioning profiles
  • Loading branch information
yukiarrr authored Feb 24, 2021
2 parents 5559fbd + ce591ea commit a776f30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ You can add a single p12 key+cert file with `p12-base64`, or if you have key and
${{ secrets.YOUR_MOBILEPROVISION_BASE64 }}
```
Also note, when creating base64 encoded inputs, make sure they don't contain newlines, e.g.
openssl base64 -in MyAppProvisioning.mobileprovision -A
### `project-path`

**Required**: .xcodeproj path.
Expand Down
1 change: 1 addition & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ platform :ios do
1
) do |profile, index|
filename = "ios-build-#{index}.mobileprovision"
puts "creating ../#{filename}"
File.write("../#{filename}", Base64.decode64(profile))
@profiles.push(filename)
end
Expand Down

0 comments on commit a776f30

Please sign in to comment.