NativeScript / NativeScript/nativescript-cli
iOS issue with auto app signing while using plugin with custom framework
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- JavaScript
- Estrellas
- 1.1k
- Forks
- 204
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 8
Descripción
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>.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Empieza reproduciendo la compilación con tns run ios usando un plugin con un Framework nativo personalizado y, después, compárala con la solución alternativa documentada --provision. Inspecciona el \u003capp_name\u003e/app/App_Resources/iOS/build.xcconfig generado y el comportamiento de firma del Framework externo. Se considera terminado cuando la firma automática de la aplicación se realiza correctamente sin eliminar manualmente DEVELOPMENT_TEAM ni seleccionar un perfil de aprovisionamiento.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- ios, javascript
- Área
- build-system, cli, mobile
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100