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

Building for archive to upload to app store fails #127

Closed
bartlomein opened this issue Mar 7, 2024 · 3 comments
Closed

Building for archive to upload to app store fails #127

bartlomein opened this issue Mar 7, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@bartlomein
Copy link

Description

Product -> Archive produces several bugs and the build fails. One is in hermes-engine and another one says it is being built forvisionOS-simulator even though "Any VisionOS Device" is selected in the top build menu

Steps to reproduce

Open Xcode and follow steps to build for App store deployment.
Build app.

React Native Version

0.73.4-1

Affected Platforms

Other (please specify)

Output of npx react-native info

none

Stacktrace or Logs

none

Reproducer

none

Screenshots and Videos

Screenshot 2024-03-07 at 11 32 10 AM
Screenshot 2024-03-07 at 11 31 13 AM

@bartlomein bartlomein changed the title Building for archive to upload to app bugs Building for archive to upload to app store fails Mar 7, 2024
@bartlomein
Copy link
Author

I commented out the use of vsnprintf inside of Logging.cpp and it worked. However I'm guessing thats not a long term solution

@okwasniewski
Copy link
Member

I think at the current state of the project (building Hermes from source) you might need to clean the build folder before archiving so inside of visionOS folder:

  1. rm -rf Pods build
  2. Install pods again
  3. Build the app for release

I'm waiting for CMake 3.28.4 to be released with important fixes which will unblock us for moving forward with shipping a precompiled version of Hermes engine

@okwasniewski okwasniewski added the bug Something isn't working label Mar 27, 2024
@okwasniewski
Copy link
Member

Looks like this is a duplicate of #128 as the same issues are described by other people there - let's keep one of them open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants