Comments (4)
On main (without this update #127), I'm getting the following:
eas.json
- default- Fresh
ios.bundleIdentifier
,android.package
, andslug
(reranexpo eject
) (basically it's a new, project)- slug -
ejbtest10
- ids -
com.bacon.test.ejbtest10
- slug -
- Added the following to
provisioningProfile.ts
at this lineconsole.log('listProvisioningProfilesAsync: ', profileType, profiles);
eas build -p ios
First run
listProvisioningProfilesAsync: IOS_APP_STORE []
Second run -- I sent you the original copy
listProvisioningProfilesAsync: IOS_APP_STORE [
Profile {
context: { providerId: 118573547, teamId: 'QQ57RJ5UTD' },
id: '8P872ZYQ95',
attributes: {
profileState: 'INVALID',
configuration: 'N/A',
uuid: 'XX-6484-40c8-b1c5-ff4645e11c96',
platform: 'IOS',
bundlePlatform: 'IOS',
createdDate: null,
profileType: 'IOS_APP_STORE',
templateName: null,
name: '*[expo] com.bacon.test.ejbtest10 AppStore 2020-12-08T20:58:33.712Z',
profileTypeLabel: 'App Store',
profileContent: 'BIGLONG=',
platformName: 'iOS',
responseId: 'XX-4474-476d-9e9c-d1de6c7bbb6b',
expirationDate: '2021-12-08T20:48:23.000+0000'
}
}
]
- change bundleIdentifier to
com.bacon.test.ejbtest11
(never used this bundle id before) and runexpo eject
eas build -p ios
First run
listProvisioningProfilesAsync: IOS_APP_STORE []
from eas-cli.
Based on this output I'm guessing that you are able to reproduce the problem
- newly created profile is invalid
profileState: 'INVALID',
- can't see that but I'm guessing that if you decode value that was in place of
BIGLONG=
it might have wrong bundle identifier
On What account did you run those builds? I see only adhoc builds here https://expo.io/accounts/bacon/builds ? Did the second run fail?
I debugged it a bit more and found that in my case BundleId.findAsync
return multiple results, but current implementation supports only one. I added filter there
diff --git a/packages/app-store/src/connect/models/BundleId.ts b/packages/app-store/src/connect/models/BundleId.ts
index 2c85b86..6ae4827 100644
--- a/packages/app-store/src/connect/models/BundleId.ts
+++ b/packages/app-store/src/connect/models/BundleId.ts
@@ -79,9 +79,13 @@ export class BundleId extends ConnectModel<BundleIdProps> {
identifier: string;
}
): Promise<BundleId | null> {
- const [bundleId] = await BundleId.getAsync(context, {
+ const r = await BundleId.getAsync(context, {
query: { filter: { identifier } },
});
+ console.log(r.filter(bundleId => bundleId.attributes.identifier === identifier));
+ const [bundleId] = r.filter(bundleId => bundleId.attributes.identifier === identifier);
return bundleId ?? null;
}
after that new profile is still marked as invalid but it contains the correct bundle identifier and builds finish successfully
from eas-cli.
If I'm wrong about the example you gave and that INVALID
status is unrelated and you are unable to reproduce that issue, then please try using an example I gave in the original post. bundleIdentifier: org.reactjs.native.example.testapp.tu
on turtle-dev
apple account. I sent you info on how to access that account on slack
from eas-cli.
It seems this is not an issue now.
from eas-cli.
Related Issues (20)
- EAS Local Android Build Fails with "expo-camera" dependency HOT 6
- Artifact not found on IOS and Android build HOT 9
- "Install dependencies" phase takes longer then expected error eas build android HOT 13
- Fingerprint inconsistencies when using EAS Secret File in app.config.ts HOT 1
- EAS build its failing HOT 4
- [expo-updates] Use `--profile` in `fingerprint:generate` and `runtimeversion:resolve` to fetch related environment variables HOT 4
- CAn't install was cli HOT 4
- Bun install fails on EAS Cloud Build HOT 3
- "Install dependencies" phase takes longer then expected error android eas build HOT 21
- Sentry: Unrecognized auth token format! HOT 2
- Authentication with Apple Developer Portal failed! Too many verification codes have been sent. HOT 5
- "eas build:resign" failed because of GitHub? HOT 2
- eas build fail Unexpected token 'E', "Environmen"... is not valid JSON HOT 5
- Development Build does not work with fingerprint as Runtime Version HOT 6
- ✔ Uploaded to EAS --> Unexpected token D in JSON at position 1 HOT 7
- I can't build the project with `packageManager` in package.json HOT 1
- eas-cli@11 breaks environment variable resolution HOT 7
- Specified artifacts not showing on artifacts directory for local build HOT 4
- Error on eas local build - yarn looks for workspace app in yarn registry HOT 1
- Few assets are not exporting with eas update
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eas-cli.