Hi.
I submitted a ticket explaining that only 50% of my iOS UITests are passing when running a pipeline on your platform.
So you guys suggested I step through this article
Attempting to build and test locally using bitrise CLI is failing.
robertnash@Roberts-MBP quick-repo-test % bitrise run primary
βββββββ βββββββββββββββββββ βββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββ βββ βββββββββββββββββββββββββ
βββββββββββ βββ βββββββββββββββββββββββββ
βββββββββββ βββ βββ ββββββββββββββββββββββ
βββββββ βββ βββ βββ ββββββββββββββββββββββ
version: 1.48.0
INFO[04:05:43] bitrise runs in Secret Filtering mode
INFO[04:05:43] bitrise runs in Secret Envs Filtering mode
INFO[04:05:43] Running workflow: primary
Switching to workflow: primary
INFO[04:05:43] Step uses latest version β Updating StepLib β¦
Β±-----------------------------------------------------------------------------+
| (0) activate-ssh-key@4 |
Β±-----------------------------------------------------------------------------+
| id: activate-ssh-key |
| version: 4.1.0 |
| collection: GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib |
| toolkit: go |
| time: 2022-01-27T04:05:45Z |
Β±-----------------------------------------------------------------------------+
| |
WARN[04:05:45] The stepβs (activate-ssh-key@4) Run-If expression evaluated to false - skipping
INFO[04:05:45] The Run-If expression was: {{getenv βSSH_RSA_PRIVATE_KEYβ | ne ββ}}
| |
Β±βΒ±--------------------------------------------------------------Β±---------+
| - | activate-ssh-key@4 | 1.93 sec |
Β±βΒ±--------------------------------------------------------------Β±---------+
βΌ
Β±-----------------------------------------------------------------------------+
| (1) git-clone@6 |
Β±-----------------------------------------------------------------------------+
| id: git-clone |
| version: 6.1.2 |
| collection: GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib |
| toolkit: go |
| time: 2022-01-27T04:05:45Z |
Β±-----------------------------------------------------------------------------+
| |
WARN[04:05:45] The stepβs (git-clone@6) Run-If expression evaluated to false - skipping
INFO[04:05:45] The Run-If expression was: .IsCI
| |
Β±βΒ±--------------------------------------------------------------Β±---------+
| - | git-clone@6 | 0.47 sec |
Β±βΒ±--------------------------------------------------------------Β±---------+
βΌ
Β±-----------------------------------------------------------------------------+
| (2) cache-pull@2 |
Β±-----------------------------------------------------------------------------+
| id: cache-pull |
| version: 2.5.0 |
| collection: GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib |
| toolkit: go |
| time: 2022-01-27T04:05:45Z |
Β±-----------------------------------------------------------------------------+
| |
WARN[04:05:45] The stepβs (cache-pull@2) Run-If expression evaluated to false - skipping
INFO[04:05:45] The Run-If expression was: .IsCI
| |
Β±βΒ±--------------------------------------------------------------Β±---------+
| - | cache-pull@2 | 0.39 sec |
Β±βΒ±--------------------------------------------------------------Β±---------+
βΌ
Β±-----------------------------------------------------------------------------+
| (3) Do anything with Script step |
Β±-----------------------------------------------------------------------------+
| id: script |
| version: 1.1.6 |
| collection: GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib |
| toolkit: bash |
| time: 2022-01-27T04:05:46Z |
Β±-----------------------------------------------------------------------------+
| |
| |
Β±βΒ±--------------------------------------------------------------Β±---------+
| β | Do anything with Script step | 0.43 sec |
Β±βΒ±--------------------------------------------------------------Β±---------+
βΌ
Β±-----------------------------------------------------------------------------+
| (4) certificate-and-profile-installer@1 |
Β±-----------------------------------------------------------------------------+
| id: certificate-and-profile-installer |
| version: 1.10.3 |
| collection: GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib |
| toolkit: go |
| time: 2022-01-27T04:05:46Z |
Β±-----------------------------------------------------------------------------+
| |
WARN[04:05:46] The stepβs (certificate-and-profile-installer@1) Run-If expression evaluated to false - skipping
INFO[04:05:46] The Run-If expression was: .IsCI
| |
Β±βΒ±--------------------------------------------------------------Β±---------+
| - | certificate-and-profile-installer@1 | 0.44 sec |
Β±βΒ±--------------------------------------------------------------Β±---------+
βΌ
Β±-----------------------------------------------------------------------------+
| (5) xcode-test@4 |
Β±-----------------------------------------------------------------------------+
| id: xcode-test |
| version: 4.0.1 |
| collection: GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib |
| toolkit: go |
| time: 2022-01-27T04:05:47Z |
Β±-----------------------------------------------------------------------------+
| |
INFO[04:05:47] * [OK] Step dependency (xcode) installed, available.
INFO[04:05:47] * [OK] Step dependency (go) installed, available.
Input:
- ProjectPath: AccordionTable.xcodeproj
- Scheme: AccordionTable
- Destination: platform=iOS Simulator,name=iPhone 8 Plus,OS=latest
- TestPlan:
- TestRepetitionMode: none
- MaximumTestRepetitions: 3
- RelaunchTestsForEachRepetition: false
- RetryTestsOnFailure: false
- XCConfigContent: COMPILER_INDEX_STORE_ENABLE = NO
- PerformCleanAction: false
- XcodebuildOptions:
- LogFormatter: xcpretty
- XcprettyOptions: --color --report html --output β/var/folders/n0/yy5pk5ns3pb6v2hdqf_pwsv00000gn/T/deploy842080567/xcode-test-results-AccordionTable.htmlβ
- CacheLevel: swift_packages
- VerboseLog: false
- CollectSimulatorDiagnostics: never
- HeadlessMode: true
- DeployDir: /var/folders/n0/yy5pk5ns3pb6v2hdqf_pwsv00000gn/T/deploy842080567
failed to determine Xcode version, error: failed to parse xcodebuild version output (objc[20049]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x1f799f130) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1061ac2c8). One of the two will be used. Which one is undefined.
objc[20049]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x1f799f180) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1061ac318). One of the two will be used. Which one is undefined.
Xcode 13.2.1
Build version 13C100)
| |
Β±βΒ±--------------------------------------------------------------Β±---------+
| x | xcode-test@4 (exit code: 1) | 0.84 sec |
Β±βΒ±--------------------------------------------------------------Β±---------+
| Issue tracker: Issues Β· bitrise-steplib/steps-xcode-test Β· GitHub |
| Source: GitHub - bitrise-steplib/steps-xcode-test: Xcode Test step |
Β±βΒ±--------------------------------------------------------------Β±---------+
βΌ
Β±-----------------------------------------------------------------------------+
| (6) deploy-to-bitrise-io@2 |
Β±-----------------------------------------------------------------------------+
| id: deploy-to-bitrise-io |
| version: 2.0.3 |
| collection: GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib |
| toolkit: go |
| time: 2022-01-27T04:05:48Z |
Β±-----------------------------------------------------------------------------+
| |
WARN[04:05:48] The stepβs (deploy-to-bitrise-io@2) Run-If expression evaluated to false - skipping
INFO[04:05:48] The Run-If expression was: .IsCI
| |
Β±βΒ±--------------------------------------------------------------Β±---------+
| - | deploy-to-bitrise-io@2 | 0.53 sec |
Β±βΒ±--------------------------------------------------------------Β±---------+
βΌ
Β±-----------------------------------------------------------------------------+
| (7) cache-push@2 |
Β±-----------------------------------------------------------------------------+
| id: cache-push |
| version: 2.6.0 |
| collection: GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib |
| toolkit: go |
| time: 2022-01-27T04:05:48Z |
Β±-----------------------------------------------------------------------------+
| |
WARN[04:05:48] The stepβs (cache-push@2) Run-If expression evaluated to false - skipping
INFO[04:05:48] The Run-If expression was: .IsCI | and (not .IsPR)
| |
Β±βΒ±--------------------------------------------------------------Β±---------+
| - | cache-push@2 | 0.44 sec |
Β±βΒ±--------------------------------------------------------------Β±---------+
Β±-----------------------------------------------------------------------------+
| bitrise summary |
Β±βΒ±--------------------------------------------------------------Β±---------+
| | title | time (s) |
Β±βΒ±--------------------------------------------------------------Β±---------+
| - | activate-ssh-key@4 | 1.93 sec |
Β±βΒ±--------------------------------------------------------------Β±---------+
| - | git-clone@6 | 0.47 sec |
Β±βΒ±--------------------------------------------------------------Β±---------+
| - | cache-pull@2 | 0.39 sec |
Β±βΒ±--------------------------------------------------------------Β±---------+
| β | Do anything with Script step | 0.43 sec |
Β±βΒ±--------------------------------------------------------------Β±---------+
| - | certificate-and-profile-installer@1 | 0.44 sec |
Β±βΒ±--------------------------------------------------------------Β±---------+
| x | xcode-test@4 (exit code: 1) | 0.84 sec |
Β±βΒ±--------------------------------------------------------------Β±---------+
| Issue tracker: Issues Β· bitrise-steplib/steps-xcode-test Β· GitHub |
| Source: GitHub - bitrise-steplib/steps-xcode-test: Xcode Test step |
Β±βΒ±--------------------------------------------------------------Β±---------+
| - | deploy-to-bitrise-io@2 | 0.53 sec |
Β±βΒ±--------------------------------------------------------------Β±---------+
| - | cache-push@2 | 0.44 sec |
Β±βΒ±--------------------------------------------------------------Β±---------+
| Total runtime: 5.46 sec |
Β±-----------------------------------------------------------------------------+
Submitting anonymized usage informationβ¦
For more information visit:
Bitrise build failed (exit code: 1)
Description of the issue
Itβs not clear why the build is failing. The log mentions an issue that I donβt see when building in xcode. Someone here also mentions the same issue ios - xcodebuild gives an error for multiple implementation of AMSupportURLConnectionDelegate and AMSupportURLSession : "Which one is undefined." - Stack Overflow
Environment:
MacOS 12.0.1
M1