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)
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).
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
Mobile version