CodeScope 0.1.7

CodeScope 0.1.7

Maintained by Fernando Mayo.



 
Depends on:
Aspects>= 0
KSCrash>= 0
opentracing>= 0
 

CodeScope 0.1.7

  • By
  • Fernando Mayo

ios-agent

CodeScope agent for iOS (Objective-C and Swift)

Usage

  1. Install via CocoaPods, adding the Codescope pod to the test target in your Podfile. For example:
target 'MyAppTests' do
  pod 'Codescope'
  pod 'Codescope/CocoaLumberjack'  # (optional) for CocoaLumberjack support
end
  1. Configure your test target and CI build environment variables, depending on your provider:

Jenkins

Add the following environment variables to your test target (instructions):

Key Value
CODESCOPE_APIKEY $(CODESCOPE_APIKEY)
CODESCOPE_API_ENDPOINT $(CODESCOPE_API_ENDPOINT)
CODESCOPE_COMMIT_SHA $(GIT_COMMIT)
CODESCOPE_REPOSITORY $(GIT_URL)
CODESCOPE_SOURCE_ROOT $(WORKSPACE)

After this, configure your Jenkins build to add the following environment variables:

Key Value
CODESCOPE_APIKEY The API key generated from the CodeScope UI
CODESCOPE_API_ENDPOINT The API endpoint of your CodeScope installation

CircleCI

Add the following environment variables to your test target (instructions):

Key Value
CODESCOPE_APIKEY $(CODESCOPE_APIKEY)
CODESCOPE_API_ENDPOINT $(CODESCOPE_API_ENDPOINT)
CODESCOPE_COMMIT_SHA $(CIRCLE_SHA1)
CODESCOPE_REPOSITORY $(CIRCLE_REPOSITORY_URL)
CODESCOPE_SOURCE_ROOT $(CIRCLE_WORKING_DIRECTORY)

After this, configure your CircleCI project to add the following environment variables (instructions):

Key Value
CODESCOPE_APIKEY The API key generated from the CodeScope UI
CODESCOPE_API_ENDPOINT The API endpoint of your CodeScope installation