[Bug] An app's own ExtensionKit extension stops working after signing with a new bundle id
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
Start in SigningHandler.swift at _modifyPluginIdentifiers, where CFBundleIdentifier is already rewritten, and check how the extension's Info.plist and the Extensions/*.appexpt keys are handled alongside it. Confirm the old app bundle id appears in EXAppExtensionAttributes and the appexpt keys before changing anything. Done means both values follow the new bundle id, which needs a signed build to verify on device.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Report
I make Empo, which ships an ExtensionKit extension in Empo.app/Extensions/ that attaches to an extension point the app declares itself (sh.mateo.empo.game-process, declared in Extensions/Empo.appexpt).
When I sign it with Feather and change the bundle id, the install works, but the app can't find its own extension. AppExtensionPoint.Monitor fails with "Host is not entitled observe" (com.apple.extensionKit.errorDomain, code 16), but an Xcode install of the same app works though.
The problem issthat Feather renames the bundle id of the extension, but the extension point name keeps the old bundle id in 2 places:
EXAppExtensionAttributespassed toEXExtensionPointIdentifierin the extension's Info.plist- the keys of
Extensions/*.appexptin the main app
iOS only lets an app watch extension points named after its own bundle id, so the old name doesn't match anymore
Proposed fix: in _modifyPluginIdentifiers in SigningHandler.swift, rename those 2 values the same way as CFBundleIdentifier, by swapping the old app bundle id for the new one.
zsign has the same gap: https://github.com/zhlynn/zsign/pull/415.
Request Agreement
- I have read the requirements for opening an issue above
Contributor Checks
- I am willing to attempt to make a pull request to fix this bug
- Lenguaje dominante
- Swift
- Estrellas
- 4.8k
- Forks
- 430
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la 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.
Más de claration/feather
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 18/100
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
Todos los issues de claration/feather
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
macos-27 menubar punkto regression
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
thaw-app/Thaw#1791 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 Medio día Aptitud para principiantes 78/100
Los mantenedores suelen responder en 4 días
-
bug help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Agent-Clubhouse/Clubhouse-Go#902 ·
Los mantenedores suelen responder en 1 día
-
CI failed on qaAbiertoci-failure
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
CrisH2307/stephen#601 · 1 comentario ·
Los mantenedores suelen responder en 1 día