Development team resets on every native:run ios #745
-
|
Every time Config value Expected: Team ID should persist across builds PHP: 8.5 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
NativePHP treats the nativephp/ directory as ephemeral, and it gets completely rebuilt on each run. So any manual changes you make inside it (including Xcode project signing settings) will always be wiped. The fix is to not set development_team in config/nativephp.php directly, but instead drive it from your .env file, which is the supported pattern. Make sure your config reads from the env: Then in your Your development team ID can be found in your Apple Developer account under "Membership details." If development_team is already wired to env() in your config and it's still showing "Unknown Name", a few things to check:
If none of that works and it's genuinely a bug where NativePHP isn't injecting the value into the Xcode project at all, worth filing an issue on the NativePHP mobile repo with the exact config structure you're using. |
Beta Was this translation helpful? Give feedback.
NativePHP treats the nativephp/ directory as ephemeral, and it gets completely rebuilt on each run. So any manual changes you make inside it (including Xcode project signing settings) will always be wiped. The fix is to not set development_team in config/nativephp.php directly, but instead drive it from your .env file, which is the supported pattern. Make sure your config reads from the env:
Then in your
.env:Your development team ID can be found in your Apple Developer account under "Membership details."
If development_team is already wired to env() in your…