Share via

XCode test stage fail, ld: file not found:

Melaniia Hulianovych 1 Reputation point
2022-12-15T10:49:05.967+00:00

For several days I am trying to pass stage Xcode test, but everytime it fails, and I cant understand why, here how it looks like in yaml file:

  • task: Xcode@5
    displayName: 'Xcode test'
    inputs:
    actions: test
    configuration: $(TestConfiguration)
    xcWorkspacePath: iOS/iOS.xcworkspace
    scheme: App_Dev
    destinationPlatformOption: iOS
    destinationSimulators: iPad Pro (12.9-inch) (5th generation)
    workingDirectory: iOS/
    publishJUnitResults: true
    enabled: true

Error is:
❌ ld: file not found: /Users/runner/Library/Developer/Xcode/DerivedData/iOS-ftwmwciwvfckxtelqhkvibusydod/Build/Products/Release-iphonesimulator/App_Dev.app/App_Dev

From what I understand - it cant find build for this project or smth that I cant get.
Project was written with XCode - Objective C.
Could anyone help with step in Azure pipeline?

Community Center | Not monitored
0 comments No comments

1 answer

Sort by: Most helpful
  1. Monalla-MSFT 13,166 Reputation points Moderator
    2022-12-15T15:46:07.017+00:00

    @Melaniia Hulianovych - Welcome to Microsoft Q&A and thanks for reaching out.

    Devops is not currently supported here on Microsoft QnA.
    The Community Members and Engineers are actively answering questions in dedicated forums here. Please post your question in that forum:
    https://developercommunity.visualstudio.com/spaces/21/index.html
    https://azure.microsoft.com/en-in/support/devops/

    Hope this helps. and please feel free to reach out if you have any further questions.

    ------------------------------------------------------------------

    If the above response was helpful, please feel free to "Accept as Answer" and "Upvote" the same so it can be beneficial to the community.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.