-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building iOS app invalidates provisioning profile when using document picker #1069
Comments
I've been having basically the exact same issue, but do not use iCloud in our app |
This sth we are aware of, We don't have any plans to fix it in the near future, as far as I understand the only problem here is that profile is regenerated every time which is not a problem (you do not need to login to apple for every build) |
You don't need to login when building for appstore(for ad-hoc builds you do) if your have credentials already configured. For submitting you need to login only if you don't have ascAppId specified in eas.json. |
This issue is stale because it has been open for 30 days with no activity. If there is no activity in the next 7 days, the issue will be closed. |
This issue was closed because it has been inactive for 7 days since being marked as stale. Please open a new issue if you believe you are encountering a related problem. |
Can we reopen this? This problem still happens to me with latest CLI versions. |
@wkozyra95 Could you reopen this please? It's still an issue |
Can you please reopen this issue. It does not appear to be solved yet. |
👍 same issue here. Any news on that? |
Thank you for filing this issue! |
thanks, we'll investigate. you can work around this with |
This same thing started happening to us after following OneSignal's instructions for enabling Push Notifications when doing our next TestFlight build. Note: I built for the simulator and for the dev-client without running into this issue and both builds correctly include the OneSignal packages - and the dev-client receives notifications from OneS correctly. Now it's a bit unclear whether the workaround (EXPO_NOCAPABILITY_SYNC=1) should be used immediately or after the first capability sync. E.g. will I have our new push capability in a new build without doing the sync. And if I get asked again, is Y or n the correct answer for the workaround? |
No workaround is strictly necessary, the only problem with the current state is that it regenerates a new profile even if it's not necessary. You should set EXPO_NO_CAPABILITY_SYNC when you know that there is nothing new to sync, so you need to run without that env only when changing entitlements in app.json or if are changing/adding/removing config-plugin that might modify entitlements.
Answering no to login to apple prompt will also stop syncing profile, but e.g. internal distribution build requires login to apple, so it will not work in every case. |
Every time I run |
Will this work properly if we update |
This issue is stale because it has been open for 30 days with no activity. If there is no activity in the next 7 days, the issue will be closed. |
Still an issue, not stale |
This issue is stale because it has been open for 30 days with no activity. If there is no activity in the next 7 days, the issue will be closed. |
Not stale |
This issue is stale because it has been open for 30 days with no activity. If there is no activity in the next 7 days, the issue will be closed. |
Still not stale |
Just started realizing that this is happening — why is invalidating the provisioning profile with every build? Seems egregious |
Yep @chrysb It should not happen and they are not responding in any manner that why this is happening or when they are planning any fix. |
I'm having this problem too! |
I started having this problem after enabling signin with apple in firebase console (not sure if even related). |
hey folks, here's where we're at on this:
|
This issue is stale because it has been open for 30 days with no activity. If there is no activity in the next 7 days, the issue will be closed. |
Not stale |
Having the same issue after adding document-picker |
Having the same after setting up expo-widgets |
Yet another team experiencing this for the first time. It ate a few days of my time, and the fix is elusive. I've spent two whole days adding debug statements to eas-cli, checking GraphQL requests with ProxyMan, the Capability syncing seems like a red herring at first because, why would I touch our app's capabilities if they haven't changed in years? I ignored that part of the docs for a while. How about a breadcrumb for people in the same situation as me? Possibly change the error message after "no longer valid" to say something like, "If this seems like an error, please refer to [URL to this issue]" <3 |
This is widespread issue, why expo team is not replying or helping us to guide in direction that can fix this issue. |
@kuldip-simform et. al,
|
This issue is stale because it has been open for 30 days with no activity. If there is no activity in the next 7 days, the issue will be closed. |
Not stale |
I'm guessing this is about to be stale'd again: not stale. |
Hello and thanks for commenting, Let me also reiterate that if someone were to investigate and suggest a solution or pinpoint where the problem is happening, it'd be much appreciated! If anyone's interested, the code is open source and has a contributor guide. Thank you! 🙂 |
Build/Submit details page URL
No response
Summary
I've migrated to EAS build and in the same time I've used iCloud service with expo DocumentPicker.
So I'm no sur which is causing this issue...
But each time I launch a new build I'm facing
Provisioning profile (id: *******979) is no longer valid
If I answer Yes to
Generate a new Provisionning Profile
it generate a new one correctly and it works ... But if I run the command again (like 10 sc later) the previous (freshly generated) provisionning profil is now invalid ...It may be linked to iCloud.
I've added
"usesicloudstorage": true
in my app.jsonI also have this configured in my app identifier :
With an container named
iCloud.<your_bundle_identifier>
as mentionned in the documentPicker docsManaged or bare?
Managed
Environment
npx expo-env-info
Error output
No response
Reproducible demo or steps to reproduce from a blank project
I think it happens with any blank project
The text was updated successfully, but these errors were encountered: