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

support xcode 13 #313

Closed
ease-space opened this issue Sep 21, 2021 · 12 comments
Closed

support xcode 13 #313

ease-space opened this issue Sep 21, 2021 · 12 comments
Labels
bug Something isn't working

Comments

@ease-space
Copy link

ease-space commented Sep 21, 2021

i disabled flipper facebook/react-native#31733 but app error build with xcode 13
Снимок экрана 2021-09-21 в 22 31 05

@ease-space ease-space added the bug Something isn't working label Sep 21, 2021
@JZambo9
Copy link

JZambo9 commented Sep 22, 2021

I'm having the same issue. Is there anything that can be done from my part to fix it?

@nithinyell
Copy link

nithinyell commented Sep 22, 2021

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

@hanifmhd
Copy link

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?

@temaput
Copy link

temaput commented Sep 23, 2021

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

@alexanderblackh
Copy link

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).

@angeltodorovyara
Copy link

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

@neildevas
Copy link

neildevas commented Oct 4, 2021

@temaput s solution worked for me. Does this file need to be present to create a working production build?

@vladles
Copy link

vladles commented Oct 12, 2021

Faced with the same problem.
I tried different solutions:

  • Added Swift file for making a Bridge,
  • Upgraded to latest react / react-native version.

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_SEARCH_PATHS" setting.

After I added : "$(SDKROOT)/usr/lib/swift" route in LIBRARY_SEARCH_PATHS array. - compiling was successful finished.

2021-10-12_18-47-28 (2)

PS. My package.json.

    "react": "^17.0.2",
    "react-native": "0.66.0",

@ShaeerN-GO
Copy link

the same error here -_- with xcode 13.
React-native : 0.65.1

@Agontuk
Copy link
Owner

Agontuk commented Nov 24, 2021

Sorry for the late reply, I'll upgrade to xcode 13 and try to reproduce the issue.

@Agontuk
Copy link
Owner

Agontuk commented Nov 25, 2021

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.

@Agontuk
Copy link
Owner

Agontuk commented May 27, 2022

Closing this as this is not reproducible, and the solution presented here is already described in the setup section

@Agontuk Agontuk closed this as not planned Won't fix, can't repro, duplicate, stale May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests