In Fastlane kann in Fastlane nicht ein Ziel finden
Posted: 18 Aug 2025, 23:36
Ich erhalte den folgenden Fehler, wenn ich versuche, Unit -Testfälle in meinem XCode -Projekt aus GitHub -Aktionen mit Fastlane auszuführen: < /p>
Ich habe den obigen Simulator in MacBook installiert.>
Code: Select all
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{ platform:iOS Simulator, id:983B36D8-0EF5-4C71-BA8B-64D908B7DD14 }
[08:17:33]: Exit status: 70
< /code>
Folge ist mein FastLane: < /p>
desc "Run tests"
lane :tests do
scan(scheme: "ProjName Dev")
end
< /code>
Ich habe auch versucht, das obige Projekt aus der Befehlszeile in meinem lokalen System auszuführen, aber hier erhalte ich wieder einen ähnlichen Fehler. Ich benutze es, es zu erstellen: < /p>
xcodeBuild build -project "projname.xcodeproj" -Scheme "projname dev" -Configuration "Debuggen -Dev" -Destination "Plattform = ios Simulator, Name = iPhone 15, OS = 17.5" Test < /P. /> Fehler in Terminal: < /p>
xcresult
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{ platform:iOS Simulator, OS:17.5, name:iPhone 15 }