You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Action Taken : Upgraded from RN version 0.41.0 to version 0.42.0.
Expected : RN iOS project should compile and run properly (using Xcode 7.3).
Actual : The RN iOS project fails to compile the file "react-native/React/Profiler/RCTProfile.m" (#line 386)
Steps to reproduce : Upgrade the RN project from version 0.41.0 to 0.42.0
Solution
After commenting out the code mentioned above, the project compiles and runs successfully, however this by no means should be considered a solution. The developer who did those changes would be in a better position to address this (refer the point 1 in more information below)
@akashdmahali thanks for the detailed information. I ran into this recently as well, and while it didn't get to the bottom of the issue, updating Xcode from 7.3.1 to 8.2.1 allowed me to build successfully.
You'll need Xcode 8. Our tests are done using Xcode 8, therefore we cannot guarantee older versions are fully supported. You can still target older iOS versions than iOS 10 using Xcode 8.
Thanks for bringing this to our attention, the docs will be updated.
Summary:
It's sometimes helpful to provide the Xcode version being used, as in the case of #12795.
Closes#12811
Differential Revision: D4677123
Pulled By: hramos
fbshipit-source-id: 28890d1ac65400d4e98ae2eb77e2d7a1a02b9d05
facebook
locked as resolved and limited conversation to collaborators
May 24, 2018
Description
Action Taken : Upgraded from RN version 0.41.0 to version 0.42.0.
Expected : RN iOS project should compile and run properly (using Xcode 7.3).
Actual : The RN iOS project fails to compile the file "react-native/React/Profiler/RCTProfile.m" (#line 386)
Here is the code that fails :
Reproduction
Steps to reproduce : Upgrade the RN project from version 0.41.0 to 0.42.0
Solution
After commenting out the code mentioned above, the project compiles and runs successfully, however this by no means should be considered a solution. The developer who did those changes would be in a better position to address this (refer the point 1 in more information below)
More Information
Additional Information
The text was updated successfully, but these errors were encountered: