Skip to content
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

EAS Build iOS - Incorrect Version Number #2270

Closed
ilgiapa opened this issue Mar 8, 2024 · 8 comments
Closed

EAS Build iOS - Incorrect Version Number #2270

ilgiapa opened this issue Mar 8, 2024 · 8 comments

Comments

@ilgiapa
Copy link

ilgiapa commented Mar 8, 2024

Build/Submit details page URL

No response

Summary

Incorrect Version Number between Info.plist and App.config.

Eas Web - Correct Version (App.Config)
Screenshot 2024-03-08 alle 08 47 03

Info Plist - Downloaded and ExtractedIPA Files - Wrong Version

Screenshot 2024-03-08 alle 08 49 51 Screenshot 2024-03-08 alle 08 49 58

Upload IPA on AppCenter

Screenshot 2024-03-08 alle 08 48 52

Managed or bare?

Managed

Environment


  expo-env-info 1.2.0 environment info:
    System:
      OS: macOS 14.3.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 18.19.0 - ~/.nvm/versions/node/v18.19.0/bin/node
      npm: 10.2.3 - ~/.nvm/versions/node/v18.19.0/bin/npm
      Watchman: 2023.09.04.00 - /usr/local/bin/watchman
    Managers:
      CocoaPods: 1.13.0 - /usr/local/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 23.4, iOS 17.4, macOS 14.4, tvOS 17.4, visionOS 1.1, watchOS 10.4
    IDEs:
      Xcode: 15.3/15E204a - /usr/bin/xcodebuild
    npmPackages:
      expo: ~50.0.6 => 50.0.7
      react: 18.2.0 => 18.2.0
      react-dom: 18.2.0 => 18.2.0
      react-native: 0.73.4 => 0.73.4
      react-native-web: ~0.19.6 => 0.19.10
    npmGlobalPackages:
      eas-cli: 7.3.0
    Expo Workflow: managed

Detailed check results:

The following packages should be updated for best compatibility with the installed expo version:
  expo@50.0.7 - expected version: ~50.0.11
  expo-camera@14.0.5 - expected version: ~14.0.6
  expo-file-system@16.0.6 - expected version: ~16.0.8
  expo-dev-client@3.3.8 - expected version: ~3.3.9
Your project may not work correctly until you install the correct versions of the packages.
Found outdated dependencies
Advice: Use 'npx expo install --check' to review and upgrade your dependencies.

One or more checks failed, indicating possible issues with the project.

Error output

No response

Reproducible demo or steps to reproduce from a blank project

Start Build with EAS Build --platform ios.
Check the Version in Info Plist
Version is always 1.0(1)

@ilgiapa ilgiapa added the needs review Issue is ready to be reviewed by a maintainer label Mar 8, 2024
@szdziedzic
Copy link
Member

I suspect it might be caused by one of your config plugins 🤔

You can run prebuild locally npx expo prebuild -p ios and inspect the Info.plist

Then you can remove all config plugins and do the same and see if the version looks good. If it's all good you can add them sequentially and check which one is causing it.

@ilgiapa
Copy link
Author

ilgiapa commented Mar 15, 2024

Hi @szdziedzic

I did the prebuild, the Info.plist inside iOS folder has the correct version, but when a run the eas build and download the IPA, Info.plist has ever 1.0.

I tried to run eas build with and without iOS Folder, but with the same result, the IPA on EAS with Version 1.0.

@ilgiapa
Copy link
Author

ilgiapa commented Mar 15, 2024

@szdziedzic

just to be more precise, Attached is the Info.plist of the PRE BUILD.
Version is 4.0.1, but the Info.plist inside downloaded IPA after eas build contains 1.0.

image

@szdziedzic
Copy link
Member

@ilgiapa so you are using a bare workflow (you have native code in ios and android directories, right?

@szdziedzic
Copy link
Member

Can you send me a URL of your build?

@szdziedzic szdziedzic added eas build needs more info and removed needs review Issue is ready to be reviewed by a maintainer labels Apr 16, 2024
@ilgiapa
Copy link
Author

ilgiapa commented Apr 18, 2024

@szdziedzic no, it's a Managed Workflow.
The only difference from my other RN Managed Workflow Apps it's that in this Project Expo Native Module.

The Apps works great, Native Module works great, everything works, the weird thing is that after downloading the IPA from Expo, inside the PLIST file the version is 1.0 instead of the version of app.config.js.

So, before distribute the app via App Center, I need to unpack the IPA, change the PLIST Version and resign the IPA with a SH Script.

The only difference is Native Module, but I don't know if that's the problem.

Thanks

Copy link

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.

@github-actions github-actions bot added the stale label May 19, 2024
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants