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
There is a simple solution to this one.
First, select ‘Any iOS device(arm64)’ from the run destination,
Then try archiving the project,
Check your target build settings. It should contain iOS (phones) as supported platform:
Then you should be able to select "Any iOS Device (arm64)" as a target device