Closed ease-space closed 2 years ago
I'm having the same issue. Is there anything that can be done from my part to fix it?
I'm having the same issue. Is there anything that can be done from my part to fix it?
@JZambo9
Update to React Native 0.65
I'm having the same issue. Is there anything that can be done from my part to fix it?
@JZambo9
Update to React Native 0.65
is it the only solution?
As a temporary solution, adding empty swift file in XCode worked for me. Take a look here: https://github.com/zalando/SwiftMonkey/issues/80#issuecomment-604994492 No need for autogenerating the bridge.h file, just the .swift is enough
As a temporary solution, adding empty swift file in XCode worked for me. Take a look here: zalando/SwiftMonkey#80 (comment) No need for autogenerating the bridge.h file, just the .swift is enough
This is the actual solution for this error, This can and sometimes will happen on a fresh react native build (Even happened earlier today when debugging issues unrelated to this project).
I'm having the same issue. Is there anything that can be done from my part to fix it?
@JZambo9
Update to React Native 0.65
I've upgraded to 0.65.1 and that was the point at what this bug happened for me
@temaput s solution worked for me. Does this file need to be present to create a working production build?
Faced with the same problem. I tried different solutions:
Nothing happened.
And I found the problem...
_If you upgrade your application from react-native versions <= 0.65.* you don't have a main swift patch in "LIBRARY_SEARCHPATHS" setting.
After I added : "$(SDKROOT)/usr/lib/swift" route in LIBRARY_SEARCH_PATHS array. - compiling was successful finished.
PS. My package.json.
"react": "^17.0.2",
"react-native": "0.66.0",
the same error here -_- with xcode 13. React-native : 0.65.1
Sorry for the late reply, I'll upgrade to xcode 13 and try to reproduce the issue.
Unable to reproduce this in xcode 13 with RN 0.65, build working fine for me. Not sure if it's M1 specific as I'm using intel mac.
As a temporary solution, adding empty swift file in XCode worked for me. Take a look here: zalando/SwiftMonkey#80 (comment) No need for autogenerating the bridge.h file, just the .swift is enough
This is already described in the setup docs. If you don't do this, build will fail.
Closing this as this is not reproducible, and the solution presented here is already described in the setup section
i disabled flipper https://github.com/facebook/react-native/issues/31733 but app error build with xcode 13