skip to Main Content

I am currently trying to archive my Xcode project but whenever I try to, it gives me a popup error saying : "Invalid Run Destination: The current scheme doesn’t have a run destination that can produce an archive." I am using the IPhone 15 pro rosetta simulator.

Running the project works as expected. It opens the iphone simulator and it opens my app. Please help me figure out what’s going on.

2

Answers


  1. There is a simple solution to this one.

    First, select ‘Any iOS device(arm64)’ from the run destination,

    select 'Any iOS device(arm64)'

    Then try archiving the project,

    Archive

    Login or Signup to reply.
  2. Check your target build settings. It should contain iOS (phones) as supported platform:

    iphoneios platform settings

    Then you should be able to select "Any iOS Device (arm64)" as a target device

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search