Your friendly iOS Code Signing Doctor
To install this version, run the following commands (in a bash shell):
curl -fL https://github.com/bitrise-io/codesigndoc/releases/download/3.0.0/codesigndoc-"$(uname -s)"-"$(uname -m)" > /usr/local/bin/codesigndoc
ℹ️ M1 machine: Please note by default /usr/local/bin
does not exist on M1 machines and isn't encouraged by the community over /opt/bin
. Use a custom folder path or use your own bin
folder path. i.e /opt/bin
Then:
chmod +x /usr/local/bin/codesigndoc
That's all, you're ready to call codesigndoc
!
destination
flag (#147)To install this version, run the following commands (in a bash shell):
curl -fL https://github.com/bitrise-io/codesigndoc/releases/download/2.4.4/codesigndoc-"$(uname -s)"-"$(uname -m)" > /usr/local/bin/codesigndoc
Then:
chmod +x /usr/local/bin/codesigndoc
M1 machine: Please note by default /usr/local/bin
does not exist for M1 machines. Use a custom folder or save it to your own bin folder. i.e /opt/
That's all, you're ready to call codesigndoc
!
To install this version, run the following commands (in a bash shell):
curl -fL https://github.com/bitrise-io/codesigndoc/releases/download/2.4.3/codesigndoc-$(uname -s)-$(uname -m) > /usr/local/bin/codesigndoc
Then:
chmod +x /usr/local/bin/codesigndoc
That's all, you're ready to call codesigndoc
!
To install this version, run the following commands (in a bash shell):
curl -fL https://github.com/bitrise-io/codesigndoc/releases/download/2.4.2/codesigndoc-$(uname -s)-$(uname -m) > /usr/local/bin/codesigndoc
Then:
chmod +x /usr/local/bin/codesigndoc
That's all, you're ready to call codesigndoc
!
Maintenance release.
To install this version, run the following commands (in a bash shell):
curl -fL https://github.com/bitrise-io/codesigndoc/releases/download/2.4.1/codesigndoc-$(uname -s)-$(uname -m) > /usr/local/bin/codesigndoc
Then:
chmod +x /usr/local/bin/codesigndoc
That's all, you're ready to call codesigndoc
!
To install this version, run the following commands (in a bash shell):
curl -fL https://github.com/bitrise-io/codesigndoc/releases/download/2.4.0/codesigndoc-$(uname -s)-$(uname -m) > /usr/local/bin/codesigndoc
Then:
chmod +x /usr/local/bin/codesigndoc
That's all, you're ready to call codesigndoc
!
To install this version, run the following commands (in a bash shell):
curl -fL https://github.com/bitrise-io/codesigndoc/releases/download/2.3.1/codesigndoc-$(uname -s)-$(uname -m) > /usr/local/bin/codesigndoc
Then:
chmod +x /usr/local/bin/codesigndoc
That's all, you're ready to call codesigndoc
!
To install this version, run the following commands (in a bash shell):
curl -fL https://github.com/bitrise-io/codesigndoc/releases/download/2.3.0/codesigndoc-$(uname -s)-$(uname -m) > /usr/local/bin/codesigndoc
Then:
chmod +x /usr/local/bin/codesigndoc
That's all, you're ready to call codesigndoc
!
Fix the error which occurs when the Xcode project scheme contains [
and ]
characters.
They are control characters in a regexp pattern.
Example error:
failed to analyze archive, error: failed to find main app, using pattern:
/var/folders/5k/s091mx790jj0j2g9w3rxsdgm0000gn/T/__codesigndoc__464040371/[Copy] xcode 10
.xcarchive/Products/Applications/*.app
Auto scan for project files Add the automatic scan feature to the codesigndoc. The tool will check the root directory for the project files (e.g: .xcodeproj or .xcworkspace). If it could not find any, then it should rollback to the current 'drag-and-drop' solution.
UI Target support For iOS Real Device Testing we need to generate an .xcterstrun file which was generated for generic/real device. For this we need a development provisioning profile for the UITest target too.
Add a new scan option: xcodeuitests ./codesigndoc scan xcodeuitests
NOTE The scanner search for valid schemes for the provided iOS project / workspace. The scheme is valid if:
It has not skipped test target for test run:
There is a UITest target in the not skipped ones :
Troubleshoot
If you run the ./codesigndoc scan xcodeuitests
and you can't find your desired scheme in the list
Make sure your scheme is valid for UITest run (the NOTE above)
Refresh your project settings:
Generic iOS Device
target for the scheme in Xcode.⌘ Cmd + ↑ Shift + K
⌘ Cmd + ↑ Shift + U
And try the codesigndoc
again.