element-hq / element-hq/element-ios

Unable to execute the unit tests on v1.2.4

Open
#4,084 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

**Describe the bug**

XCode throws an error when unit tests are executed:

```
error: Build input file cannot be found: '/Info.plist' (in target 'RiotTests' from project 'Riot')
```

**To Reproduce**
Steps to reproduce the behavior:
1. Setup the project.
2. Execute the unit tests from the 'Riot' scheme.

**Expected behavior**

Unit tests should run and pass ✅.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**

- The `INFOPLIST_FILE` path in the `RiotTests/target.yml` is wrong.
- It seems that there is also a problem with `SWIFT_OBJC_BRIDGING_HEADER`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.