Fastlane: IPA kann nicht auf dem Gerät installiert werdenIOS

Programmierung für iOS
Anonymous
 Fastlane: IPA kann nicht auf dem Gerät installiert werden

Post by Anonymous »

Ich habe meinen Distributions-Build mit Fastlane zum Laufen gebracht. Ich verwende fastlane match zum Verwalten der Zertifikate und Bereitstellungsprofile und das Ionic-Plugin zum Erstellen der App. Ich habe meinen ersten Build auf App Store Connect hochgeladen und er wurde erfolgreich veröffentlicht.
Ich habe auch eine Spur zum Erstellen einer Debug-Version für die Installation auf einem verbundenen Gerät eingerichtet. Diese Spur funktioniert genauso gut, da sie ein Bereitstellungsprofil erstellt und eine IPA-Datei erstellt. Aber wenn ich versuche, diese IPA-Datei über install_on_device auf dem iPhone zu installieren, sehe ich viele Meldungen, dass etwas auf das Gerät kopiert wird, aber am Ende bekomme ich auch die folgende Fehlermeldung:

Code: Select all

...
[ 49%] Copying Payload/myapp.app/www/worker-basic.min.js to device
[ 52%] CreatingStagingDirectory
[ 57%] ExtractingPackage
[ 60%] InspectingPackage
[ 65%] PreflightingApplication
[ 70%] VerifyingApplication
2025-12-09 12:43:46.612 ios-deploy[38062:8904334] [ !! ] Error 0xe8008015: A valid provisioning profile for this executable was not found. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)
Wenn ich die IPA-Datei mit ProvisionQL öffne, werden das richtige Bereitstellungsprofil angezeigt, das mit Fastlane Match erstellt wurde, das Entwicklerzertifikat und das richtige Gerät.
Aber wenn ich das Projekt in Xcode öffne, wird der korrekte Name des Bereitstellungsprofils angezeigt, aber es werden auch zwei Fehler angezeigt:

Code: Select all

Provisioning profile "match Development de.myapp" doesn't include signing certificate "iPhone Developer: Created via API (3T455GJWK6)".

Provisioning profile "match Development de.myapp" doesn't include the currently selected device "My iPhone 16" (identifier 00008140-0002152401DB801C).
Wenn ich das benannte Bereitstellungsprofil im Entwicklerportal überprüfe, sind darin sowohl das Entwicklerzertifikat als auch das iPhone-Gerät enthalten.
Fastfile:

Code: Select all

desc "Build Debug"
lane :build_debug do
match(type: "development", app_identifier: "de.myapp", username: "[email protected]", team_id: "", api_key_path: "
/AppStoreKey.json",
git_url: "[email protected]:myapp/fastlane_match.git", git_private_key: "~ralf/.ssh/id_rsa",
git_branch: "myapp", output_path: "/Users/ralf/CertsProfiles/myapp", force: true)

update_code_signing_settings(use_automatic_signing: false, profile_name: "match Development de.myapp",
code_sign_identity: "iPhone Developer", path: "/Users/ralf/myAppBuild/platforms/ios/myapp.xcodeproj")

ionic(platform: 'ios', prod: true, release: false, team_id: "", type: "development")
end

desc "Install a new version on the iPhone"
lane :install do
install_on_device(ipa: "/Users/ralf/myAppBuild/platforms/ios/build/Debug-iphoneos/myapp.ipa")
end
Irgendwelche Ideen, was das Problem sein könnte?

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post