Xcode Version 15.2

Hello, while my project, which I created with the Unity game engine, runs smoothly in the editor, when I try to run it and/or archive through Xcode, I receive the following error:

Undefined symbols: Linker command failed with exit code 1 (use -v to see invocation)

When I right click on the problem and click Reveal in log it doesn't take me anywhere.

Can you help me with this? Thanks.

Accepted Reply

This is a linker error, and Xcode does a bad job of surfacing those )-: To see what’s happening you have to look at the build transcript:

  1. Choose View > Navigators > Reports.

  2. On the left, select the failed build.

  3. In the editor, select the the failed Link step.

  4. Click the ‘bunch of lines’ button at the right of that selection.

This reveals the actual link command that was run and any errors it output.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Replies

I am sharing the screenshot of the problem.

This is a linker error, and Xcode does a bad job of surfacing those )-: To see what’s happening you have to look at the build transcript:

  1. Choose View > Navigators > Reports.

  2. On the left, select the failed build.

  3. In the editor, select the the failed Link step.

  4. Click the ‘bunch of lines’ button at the right of that selection.

This reveals the actual link command that was run and any errors it output.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Thank you for your guidance. This is how we were able to solve our problem.