Skip to content

Bitrise

bootstraponline edited this page May 24, 2018 · 16 revisions

iOS code signing

  • Delete local provisioning profiles ~/Library/MobileDevice/Provisioning\ Profiles
  • Remove expired/invalid provisioning profiles https://developer.apple.com/account/ios/profile/
  • Generate IPA locally for app store/ad hoc/development. Copy ExportOptions.plist into Custom export options plist content. Remove method / signingStyle / teamID in ExportOptions.plist. It should look like:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>iCloudContainerEnvironment</key>
	<string>Production</string>
	<key>stripSwiftSymbols</key>
	<true/>
	<key>uploadBitcode</key>
	<false/>
	<key>uploadSymbols</key>
	<true/>
</dict>
</plist>

Debug Linux build issues

Install bitrise CLI

  • brew update; brew install bitrise; brew upgrade bitrise
  • bitrise setup --full --clean

Run the workflow editor

  • bitrise :workflow-editor

Create a new step

  • bitrise :step create

Go deps management

  • go get github.com/tools/godep
  • godep save

Go environment management

gows is used by bitrise to manage the go environment.

  • go get -u github.com/bitrise-tools/gows
export GOPATH="$HOME/go"
export PATH="$PATH:$GOPATH/bin"
  • gows -version
  • gows init

Run only on build failure

  - slack:
        is_always_run: true
        run_if: ".IsBuildFailed"

Clone this wiki locally