NativeScript / NativeScript/nativescript-cli
iOS issue with auto app signing while using plugin with custom framework
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1.1k
- Forks
- 204
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 8
Beschreibung
Environment
- CLI: 5.4.0
- Cross-platform modules:5.4.1
- Android Runtime:5.4.0
- iOS Runtime:5.4.0
Describe the bug
The auto application signing will fail while building a project with tns run ios command where we have a plugin with custom native Framework. The following error will be thrown:
error: Provisioning profile "iOS Team Provisioning Profile: *" is Xcode managed, but signing settings require a manually managed profile. (in target 'demo')
note: Using new build systemnote: Planning buildnote: Constructing build description
It seems that the CLI does not mark the external Frameworks for signing.
Workaround
-
open
<app_name>/app/App_Resources/iOS/build.xcconfigand remove the line where theDEVELOPMENT_TEAMis set up -
In the terminal execute
tns run ios --provisioncommand. This will print a list of the provisioning profiles, that are available on your machine. In the very first column, the id of the provisions will be printed. This id will be used in the next step. -
build the project with
tns run ios --provision <provisioning profile id here>.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, den Build mit tns run ios unter Verwendung eines Plugins mit einem benutzerdefinierten nativen Framework zu reproduzieren, und vergleiche ihn anschließend mit dem dokumentierten Workaround --provision. Untersuche das generierte \u003capp_name\u003e/app/App_Resources/iOS/build.xcconfig und das Signierverhalten des externen Frameworks. Die Aufgabe ist abgeschlossen, wenn die automatische Anwendungssignierung erfolgreich ist, ohne DEVELOPMENT_TEAM manuell zu entfernen oder ein Provisioning-Profil auszuwählen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- ios, javascript
- Bereich
- build-system, cli, mobile
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100