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

build failed on iOS when use ART #25523

Closed
Symous opened this issue Jul 6, 2019 · 3 comments
Closed

build failed on iOS when use ART #25523

Symous opened this issue Jul 6, 2019 · 3 comments
Labels
Bug Platform: iOS iOS applications. Resolution: Locked This issue was locked by the bot.

Comments

@Symous
Copy link

Symous commented Jul 6, 2019

If we use ART in our code, we need to drag ART.xcodeproj to the Libraries and add libART.a , but after that the app build failed due to a yoga error:
The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage,
React Native version: 0.59.8

Steps To Reproduce

  1. use ART in code
  2. add ART.xcodeproj and libART.a to iOS native project.
  3. build the app

Describe what you expected to happen:
build success

@Symous Symous added the Bug label Jul 6, 2019
@react-native-bot react-native-bot added the Platform: iOS iOS applications. label Jul 6, 2019
@Symous
Copy link
Author

Symous commented Jul 6, 2019

sorry, just found that I have use the wrong ART.xcodeproj. close this.

@Symous Symous closed this as completed Jul 6, 2019
@supwjm
Copy link

supwjm commented Oct 19, 2019

excuse me, how did you solve this problem , add ART.xcodeproj and libART.a to iOS native project too and come across the same problem with you

@Symous
Copy link
Author

Symous commented Oct 21, 2019

@supwjm make sure you have add the correct ART.xcodeproj(in node_modules) and libART.a to the project, and launch .xcworkspace if you use pods.

@facebook facebook locked as resolved and limited conversation to collaborators Jul 6, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Platform: iOS iOS applications. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants