Inspecting targets to integrate using `archs` setting to build architectures of target `pods-runner`: (“) [!] unable to find a target named `runnertests` in project `runner.xcodeproj`, did find `runner`.

Inspecting Targets to Integrate using archs Setting

When using the archs setting to build architectures for the target pods-runner, you might encounter an error stating “[!] unable to find a target named runnertests in project runner.xcodeproj, did find runner.”

This error usually occurs when you are trying to integrate a target into your project but the target cannot be found. Let’s take a closer look at how to resolve this issue.

Example

Let’s say you have a project called runner.xcodeproj and you want to integrate a target called runnertests using the archs setting. But the target runnertests cannot be found.

To resolve this issue, you need to make sure that the target runnertests is present in your project and has the correct configurations set. Here’s how:

  1. Open the runner.xcodeproj project in Xcode.
  2. In the Project Navigator on the left, make sure you can see the target runnertests. If it is missing, you need to add it to the project. To add a new target, right-click on the project, select Add Target, and follow the steps to create the runnertests target.
  3. Select the runnertests target and go to the Build Settings tab.
  4. Look for the Architectures setting and make sure it is properly configured. If it is not set correctly, update the architecture settings to match your requirements.
  5. Save your changes and try building the project again. The archs setting should now be able to find the runnertests target without any errors.

By following the above steps, you should be able to integrate the target runnertests using the archs setting successfully. Make sure to double-check all the configurations and settings to ensure everything is set up correctly.

Read more

Leave a comment