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

DoubleConversion and glog including bitcode #48342

Open
rafaelpadovanirain opened this issue Dec 19, 2024 · 4 comments
Open

DoubleConversion and glog including bitcode #48342

rafaelpadovanirain opened this issue Dec 19, 2024 · 4 comments
Labels
Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Type: Unsupported Version Issues reported to a version of React Native that is no longer supported

Comments

@rafaelpadovanirain
Copy link

rafaelpadovanirain commented Dec 19, 2024

Description

Bundle upload is failing because DoubleConversion and glog contain bitcode after upgrading to Xcode 16.

Steps to reproduce

  1. Run yarn install on root directory
  2. Run cd ios && pod install
  3. Open ios/app.xcworkspace file
  4. Select the target and select Product -> Archive
  5. Once Archive is done select Distribute App and select App Store Connect

React Native Version

0.73.10

Affected Platforms

Runtime - iOS

Output of npx react-native info

System:
  OS: macOS 14.7
  CPU: (8) arm64 Apple M1 Pro
  Memory: 237.45 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.12.0
    path: ~/.nvm/versions/node/v18.12.0/bin/node
  Yarn:
    version: 1.22.19
    path: ~/.yarn/bin/yarn
  npm:
    version: 8.19.2
    path: ~/.nvm/versions/node/v18.12.0/bin/npm
  Watchman: Not Found
Managers:
  CocoaPods:
    version: 1.15.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.2
      - iOS 18.2
      - macOS 15.2
      - tvOS 18.2
      - visionOS 2.2
      - watchOS 11.2
  Android SDK: Not Found
IDEs:
  Android Studio: 2022.3 AI-223.8836.35.2231.10406996
  Xcode:
    version: 16.2/16C5032a
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.12
    path: /usr/bin/javac
  Ruby:
    version: 3.2.2
    path: .rvm/rubies/ruby-3.2.2/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.73.10
    wanted: 0.73.10
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Stacktrace or Logs

Uploading - rainUSStaging.ipa ...
$ xcrun "altool" "--upload-app" "-f" "/Users/vagrant/deploy/rainUSStaging.ipa" "--type" "ios" "--apiKey" "69BDKDYV2W" "--apiIssuer" "628ad7b2-a6b7-4cf1-b9da-2eaa1ed1a9f8"
Running altool at path '/Applications/Xcode-16.1.0.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Frameworks/AppStoreService.framework/Support/altool'...
2024-12-19 11:43:10.116 *** Error: [ContentDelivery.Uploader.600002A401C0] Asset validation failed (90482) Invalid Executable. The executable 'rainUSStaging.app/Frameworks/double-conversion.framework/double-conversion' contains bitcode. (ID: 2c998b48-147c-43bd-b864-2799aef53992)
2024-12-19 11:43:10.116 *** Error: [ContentDelivery.Uploader.600002A401C0] Asset validation failed (90482) Invalid Executable. The executable 'rainUSStaging.app/Frameworks/glog.framework/glog' contains bitcode. (ID: 5796d835-f3a3-4988-b87d-58500b027fa8)
2024-12-19 11:43:10.191 [ContentDelivery.Uploader.600002A401C0] 
=============
UPLOAD FAILED with 2 errors.
=============
2024-12-19 11:43:10.192 *** Error: Error uploading '/Users/vagrant/deploy/rainUSStaging.ipa'.
2024-12-19 11:43:10.192 *** Error: Asset validation failed Invalid Executable. The executable 'rainUSStaging.app/Frameworks/double-conversion.framework/double-conversion' contains bitcode. (ID: 2c998b48-147c-43bd-b864-2799aef53992) (90482)
 {
    NSLocalizedDescription = "Asset validation failed";
    NSLocalizedFailureReason = "Invalid Executable. The executable 'rainUSStaging.app/Frameworks/double-conversion.framework/double-conversion' contains bitcode. (ID: 2c998b48-147c-43bd-b864-2799aef53992)";
    NSUnderlyingError = "Error Domain=IrisAPI Code=-19241 \"Asset validation failed\" UserInfo={status=409, detail=Invalid Executable. The executable 'rainUSStaging.app/Frameworks/double-conversion.framework/double-conversion' contains bitcode., id=2c998b48-147c-43bd-b864-2799aef53992, code=STATE_ERROR.VALIDATION_ERROR.90482, title=Asset validation failed, NSLocalizedFailureReason=Invalid Executable. The executable 'rainUSStaging.app/Frameworks/double-conversion.framework/double-conversion' contains bitcode., NSLocalizedDescription=Asset validation failed}";
    "iris-code" = "STATE_ERROR.VALIDATION_ERROR.90482";
}
2024-12-19 11:43:10.192 *** Error: Asset validation failed Invalid Executable. The executable 'rainUSStaging.app/Frameworks/glog.framework/glog' contains bitcode. (ID: 5796d835-f3a3-4988-b87d-58500b027fa8) (90482)
 {
    NSLocalizedDescription = "Asset validation failed";
    NSLocalizedFailureReason = "Invalid Executable. The executable 'rainUSStaging.app/Frameworks/glog.framework/glog' contains bitcode. (ID: 5796d835-f3a3-4988-b87d-58500b027fa8)";
    NSUnderlyingError = "Error Domain=IrisAPI Code=-19241 \"Asset validation failed\" UserInfo={status=409, detail=Invalid Executable. The executable 'rainUSStaging.app/Frameworks/glog.framework/glog' contains bitcode., id=5796d835-f3a3-4988-b87d-58500b027fa8, code=STATE_ERROR.VALIDATION_ERROR.90482, title=Asset validation failed, NSLocalizedFailureReason=Invalid Executable. The executable 'rainUSStaging.app/Frameworks/glog.framework/glog' contains bitcode., NSLocalizedDescription=Asset validation failed}";
    "iris-code" = "STATE_ERROR.VALIDATION_ERROR.90482";
}
Uploading IPA failed: exit status 1

Reproducer

https://github.com/react-native-community/reproducer-react-native/tree/main/ReproducerApp

Screenshots and Videos

ipa-upload-failed.mp4
Screenshot 2024-12-19 at 18 30 21
@react-native-bot react-native-bot added Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. labels Dec 19, 2024
@react-native-bot
Copy link
Collaborator

Warning

Unsupported version: It looks like your issue or the example you provided uses an unsupported version of React Native.

Due to the number of issues we receive, we're currently only accepting new issues against one of the supported versions. Please upgrade to latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If you cannot upgrade, please open your issue on StackOverflow to get further community support.

@react-native-bot react-native-bot added Type: Unsupported Version Issues reported to a version of React Native that is no longer supported and removed Needs: Triage 🔍 labels Dec 19, 2024
@react-native-bot
Copy link
Collaborator

Warning

Missing reproducer: We could not detect a reproducible example in your issue report. Please provide either:

@react-native-bot
Copy link
Collaborator

Warning

Unsupported version: It looks like your issue or the example you provided uses an unsupported version of React Native.

Due to the number of issues we receive, we're currently only accepting new issues against one of the supported versions. Please upgrade to latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If you cannot upgrade, please open your issue on StackOverflow to get further community support.

@shubhamguptadream11
Copy link
Collaborator

@rafaelpadovanirain Can you please try these on latest react-native version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Type: Unsupported Version Issues reported to a version of React Native that is no longer supported
Projects
None yet
Development

No branches or pull requests

3 participants