Closed anshul-kai closed 7 years ago
Re-cloning the repository fixed the problem. react-native-git-upgrade
must have messed up some files that are ignored by git
.
Also have been running into this issue. _RCTParseTypeFromHeader
ld: symbol(s) not found for architecture x86_64
. It came after downgrading back down to 0.40. The git-upgrade tool seemed to have caused it.
git-upgrade tool annotates the code in such a way that the merges have to be handled manually, which to me is more difficult than just doing it the git way.
I agree @drewwells. I was able to successfully upgrade using react-native upgrade
in the past but using react-native-git-upgrade
didn't work as well. I'm sure they'll improve it with time.
@a-koka After reverting the changes in your source files, you need to bring back the old version of RN in your node_modules
directory. Maybe running npm i --save react-native@0.39.2
after the revert could have resolved your issue.
@drewwells I wrote a SO answer to explain how to resolve conflicts with "the Git way": http://stackoverflow.com/q/41143471/769006
Thanks @ncuillery! I did kill node_modules
and re-run npm i
and that didn't help much. Good to know how to resolve conflicts 'The Git Way' though. Thanks again.
I was able to fix this by emptying the contents of ios/build/Build/Products
and ios/build/Build/Intermediates
.
thx,problem is sovled.
I had to delete ios/build directory completely to get this working again.
After unsuccessfully upgrading 0.39 to 0.40 via
react-native-git-upgrade
and reverting back usinggit --reset hard
, I can no longer successfully compile using the command line. It keeps throwing the error below. I've tried all suggestions of clearingDerivedData
, adding-lc++
, creating a newscheme
and removing thetest target
with no luck. Xcode seems to build successfully and run fine.Any suggestions?