-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
“xcodebuild” command but it exited with error code 65 #25240
Comments
i have the same error when i use |
I just got this error after upgrading to 0.60.4 (from 0.59.2). To fix it I've had to rename the xcworkspace folder from gazella.xcworkspace to Gazella.xcworkspace. I could successfully run the project from within XCode, but got the error when doing react-native run-ios on the terminal. Now everything works fine. |
I have the same error after upgrading to 0.60.4 from 0.59.9 @AlbertVilaCalvo your solution is not working for me |
This is my console |
Hey, I have the same error when I run react-native run-ios after upgrading the react-native version to 0.59.5. And also Xcode not able to open the project. Any Help? |
Facing same error is there any solution for this |
Same issue. Any solution so far ? |
Hi guys. |
I resolved my issue changing the Build Active Architecture Only to: Debug >> Yes On xCode, select your Project Target >> Build Settings >> Architetures >> Build Active Architecture Only. After changing that, react-native run-ios was executed like a charm. |
Same problem here. With xcode, app runs. |
Hey guys, I fixed just by changing the name from "AwesomeProject" to "awesomeproject" Works for me ;) |
Hello! I faced this issue with React Native version |
@git-sid-go thanx this solution work for me. |
In your project folder:
Run react-native run-ios again. |
Make sure you open your /ios on xcode and go to workspace settings and set the build system to legacy |
It's worked for me, thanks! |
This worked for me |
I am facing this problem with react native 0.59.10 and expo, is there any solution? |
i had the same issue and restarting my computer worked 🤷♂ |
go inside ios folder in terminal |
|
To solve this problem, I did something like @Ashutosh8127: cd ios/
$ rm -rf build/
$ pod install
cd ..
$ npm run ios #or npx react-native run-ios |
It's worked for me tks |
it worked for me... thanks 👍🏼 |
This may occur especially when you change the bundle ID, the provisioning profiles, create new targets etc. So only running pod install may not work. In this cases, we have to also remove the build folder, like @azizuysal said, executing this:
After this everything should get back to normality. |
Try changing the |
I got |
Work! great! |
I share with you the solution that has worked for me... It seems that the behavior of a project in iOS is very similar to a project in JavaScript. Sometimes you have to delete the node_modules folder and reinstall the dependencies. Follow the next steps: Close Metro in the terminal and the app in the iOS simulator (remove the app from the simulator if necessary)
You can finally rebuild the project:
Good luck and I hope it helps 🚀 |
Thank you very much. I tried each and every fix mentioned in the thread but nothing worked. Atlast, removing flipper and it was fixed. Is this a desirable fix or will removing flipper cause any issues? |
This work for me. Thank you!!! |
I have tried all of the above mentioned solutions but none of them worked for me. I have been using xcode version 12.5.1, react-native version 0.64 and my cocoapods version is 1.10.2 |
Guy , don't waste your time. |
Damn these answers are more confusing |
My project is solved in this way: |
did not work for me |
dont do cd iOS Just be in your root folder and run :-) |
Then please try with specific simulator or device. like this
;P |
Guys, I tried all the ways with reinstalling pod and node_modules, setting up the Build system and nothing worked. Maybe there are ways to find out the exact cause of this error? Now it doesn't look informative :( |
Using a terminal with Rosetta enabled did worked for me 😉 |
In each particular case you have to check messages returned after it, and instead of trying 100+ solutions above, just find a real reason and create a separate issue (if it does not exist already). Here is a working way:
p.s.: for example in my case it was a problem with PREFIX - conflict between yarn & nvm. reinstalling yarn But again, in your case it might be something absolutely different, thus so many "solutions" in the topic. |
Looks as though there is a known issue with Flipper and
I was then able to successfully generate an iOS build |
Praise the lord! For anyone on macbook m1, this was the only fix that worked |
I fixed it by downgrading my Xcode to 13.2. |
maybe this helped someone |
For me, it was just a silly mistake. Don't contain any space " " in your path. It seems pod would cut the path at " ". |
if someone get it check if you have permission if not run with |
thank you bro i wasted two day of this |
Thank you so much bro. Solved my problem ! |
Summary: This sync includes the following changes: - **[0cac4d54c](facebook/react@0cac4d54c )**: Double invoked effects on suspended children ([#25307](facebook/react#25307)) //<Samuel Susla>// - **[3d615fc14](facebook/react@3d615fc14 )**: Grammar. Removed doubles of the word "the". ([#25295](facebook/react#25295)) //<Victoria Graf>// - **[6e3bc8a2e](facebook/react@6e3bc8a2e )**: [DevTools] Check if Proxy exists before creating DispatcherProxy ([#25278](facebook/react#25278)) //<Tianyu Yao>// - **[e7fc04b29](facebook/react@e7fc04b29 )**: [react-dom] Reorganize react-dom internals to match react ([#25277](facebook/react#25277)) //<Josh Story>// - **[0b54e0047](facebook/react@0b54e0047 )**: Handle rejections to avoid uncaught rejections ([#25272](facebook/react#25272)) //<Sebastian Markbåge>// - **[c5d06fdc5](facebook/react@c5d06fdc5 )**: [Flight] Fix Webpack Chunk Loading ([#25271](facebook/react#25271)) //<Sebastian Markbåge>// - **[975b64464](facebook/react@975b64464 )**: [Flight] response.readRoot() -> use(response) ([#25267](facebook/react#25267)) //<Sebastian Markbåge>// - **[60fbb7b14](facebook/react@60fbb7b14 )**: [Flight] Implement FlightClient in terms of Thenable/Promises instead of throwing Promises ([#25260](facebook/react#25260)) //<Sebastian Markbåge>// - **[c91a1e03b](facebook/react@c91a1e03b )**: experimental_useEvent ([#25229](facebook/react#25229)) //<Lauren Tan>// - **[346c7d4c4](facebook/react@346c7d4c4 )**: straightford explicit types ([#25253](facebook/react#25253)) //<Jan Kassens>// - **[3401e9200](facebook/react@3401e9200 )**: useMemoCache implementation ([#25143](facebook/react#25143)) //<Joseph Savona>// - **[0556bab32](facebook/react@0556bab32 )**: [Transition Tracing] More Accurate End Time ([#25105](facebook/react#25105)) //<Luna Ruan>// - **[5fdcd23aa](facebook/react@5fdcd23aa )**: Flow: upgrade to 0.140 ([#25252](facebook/react#25252)) //<Jan Kassens>// - **[5c43c6f02](facebook/react@5c43c6f02 )**: Unwind the current workInProgress if it's suspended ([#25247](facebook/react#25247)) //<Sebastian Markbåge>// - **[e52fa4c57](facebook/react@e52fa4c57 )**: Add early exit to strict mode ([#25235](facebook/react#25235)) //<Samuel Susla>// - **[6aa38e74c](facebook/react@6aa38e74c )**: Flow: enable unsafe-addition error ([#25242](facebook/react#25242)) //<Jan Kassens>// - **[ba7b6f418](facebook/react@ba7b6f418 )**: Flow: upgrade to 0.132 ([#25244](facebook/react#25244)) //<Jan Kassens>// - **[9328988c0](facebook/react@9328988c0 )**: Flow: fix Fiber typed as any ([#25241](facebook/react#25241)) //<Jan Kassens>// - **[c739cef2f](facebook/react@c739cef2f )**: Flow: ReactFiberHotReloading recursive type ([#25225](facebook/react#25225)) //<Jan Kassens>// - **[c156ecd48](facebook/react@c156ecd48 )**: Add some test coverage for some error cases ([#25240](facebook/react#25240)) //<Sebastian Markbåge>// - **[3613284dc](facebook/react@3613284dc )**: experimental_use(context) for server components and ssr ([#25226](facebook/react#25226)) //<mofeiZ>// - **[269c4e975](facebook/react@269c4e975 )**: Prevent infinite re-renders in StrictMode + Offscreen ([#25203](facebook/react#25203)) //<Samuel Susla>// - **[8003ab9cf](facebook/react@8003ab9cf )**: Flow: remove explicit object syntax ([#25223](facebook/react#25223)) //<Jan Kassens>// - **[492c6e29e](facebook/react@492c6e29e )**: Flow: upgrade to 0.127 ([#25221](facebook/react#25221)) //<Jan Kassens>// - **[8a9e7b6ce](facebook/react@8a9e7b6ce )**: Flow: implicit-inexact-object=error ([#25210](facebook/react#25210)) //<Jan Kassens>// - **[37cc6bf12](facebook/react@37cc6bf12 )**: Remove useDeferredValue and useTransition from Flight subset ([#25215](facebook/react#25215)) //<Sebastian Markbåge>// Changelog: [General][Changed] - React Native sync for revisions c28f313...0cac4d5 jest_e2e[run_all_tests] Reviewed By: rickhanlonii Differential Revision: D39696377 fbshipit-source-id: 113878d22d6244b8555b5fb86db1da5d43f7cfd9
had the same issue. |
|
Simply adding my dev account to XCode this |
Summary: This sync includes the following changes: - **[0cac4d54c](facebook/react@0cac4d54c )**: Double invoked effects on suspended children ([facebook#25307](facebook/react#25307)) //<Samuel Susla>// - **[3d615fc14](facebook/react@3d615fc14 )**: Grammar. Removed doubles of the word "the". ([facebook#25295](facebook/react#25295)) //<Victoria Graf>// - **[6e3bc8a2e](facebook/react@6e3bc8a2e )**: [DevTools] Check if Proxy exists before creating DispatcherProxy ([facebook#25278](facebook/react#25278)) //<Tianyu Yao>// - **[e7fc04b29](facebook/react@e7fc04b29 )**: [react-dom] Reorganize react-dom internals to match react ([facebook#25277](facebook/react#25277)) //<Josh Story>// - **[0b54e0047](facebook/react@0b54e0047 )**: Handle rejections to avoid uncaught rejections ([facebook#25272](facebook/react#25272)) //<Sebastian Markbåge>// - **[c5d06fdc5](facebook/react@c5d06fdc5 )**: [Flight] Fix Webpack Chunk Loading ([facebook#25271](facebook/react#25271)) //<Sebastian Markbåge>// - **[975b64464](facebook/react@975b64464 )**: [Flight] response.readRoot() -> use(response) ([facebook#25267](facebook/react#25267)) //<Sebastian Markbåge>// - **[60fbb7b14](facebook/react@60fbb7b14 )**: [Flight] Implement FlightClient in terms of Thenable/Promises instead of throwing Promises ([facebook#25260](facebook/react#25260)) //<Sebastian Markbåge>// - **[c91a1e03b](facebook/react@c91a1e03b )**: experimental_useEvent ([facebook#25229](facebook/react#25229)) //<Lauren Tan>// - **[346c7d4c4](facebook/react@346c7d4c4 )**: straightford explicit types ([facebook#25253](facebook/react#25253)) //<Jan Kassens>// - **[3401e9200](facebook/react@3401e9200 )**: useMemoCache implementation ([facebook#25143](facebook/react#25143)) //<Joseph Savona>// - **[0556bab32](facebook/react@0556bab32 )**: [Transition Tracing] More Accurate End Time ([facebook#25105](facebook/react#25105)) //<Luna Ruan>// - **[5fdcd23aa](facebook/react@5fdcd23aa )**: Flow: upgrade to 0.140 ([facebook#25252](facebook/react#25252)) //<Jan Kassens>// - **[5c43c6f02](facebook/react@5c43c6f02 )**: Unwind the current workInProgress if it's suspended ([facebook#25247](facebook/react#25247)) //<Sebastian Markbåge>// - **[e52fa4c57](facebook/react@e52fa4c57 )**: Add early exit to strict mode ([facebook#25235](facebook/react#25235)) //<Samuel Susla>// - **[6aa38e74c](facebook/react@6aa38e74c )**: Flow: enable unsafe-addition error ([facebook#25242](facebook/react#25242)) //<Jan Kassens>// - **[ba7b6f418](facebook/react@ba7b6f418 )**: Flow: upgrade to 0.132 ([facebook#25244](facebook/react#25244)) //<Jan Kassens>// - **[9328988c0](facebook/react@9328988c0 )**: Flow: fix Fiber typed as any ([facebook#25241](facebook/react#25241)) //<Jan Kassens>// - **[c739cef2f](facebook/react@c739cef2f )**: Flow: ReactFiberHotReloading recursive type ([facebook#25225](facebook/react#25225)) //<Jan Kassens>// - **[c156ecd48](facebook/react@c156ecd48 )**: Add some test coverage for some error cases ([facebook#25240](facebook/react#25240)) //<Sebastian Markbåge>// - **[3613284dc](facebook/react@3613284dc )**: experimental_use(context) for server components and ssr ([facebook#25226](facebook/react#25226)) //<mofeiZ>// - **[269c4e975](facebook/react@269c4e975 )**: Prevent infinite re-renders in StrictMode + Offscreen ([facebook#25203](facebook/react#25203)) //<Samuel Susla>// - **[8003ab9cf](facebook/react@8003ab9cf )**: Flow: remove explicit object syntax ([facebook#25223](facebook/react#25223)) //<Jan Kassens>// - **[492c6e29e](facebook/react@492c6e29e )**: Flow: upgrade to 0.127 ([facebook#25221](facebook/react#25221)) //<Jan Kassens>// - **[8a9e7b6ce](facebook/react@8a9e7b6ce )**: Flow: implicit-inexact-object=error ([facebook#25210](facebook/react#25210)) //<Jan Kassens>// - **[37cc6bf12](facebook/react@37cc6bf12 )**: Remove useDeferredValue and useTransition from Flight subset ([facebook#25215](facebook/react#25215)) //<Sebastian Markbåge>// Changelog: [General][Changed] - React Native sync for revisions c28f313...0cac4d5 jest_e2e[run_all_tests] Reviewed By: rickhanlonii Differential Revision: D39696377 fbshipit-source-id: 113878d22d6244b8555b5fb86db1da5d43f7cfd9
For me I was using React-Native-Firebase and had a duplicate GoogleService-Info.plist file. I opened xcode, deleted it in the directory, and it started working. |
After upgrading to React Native 0.59.9 and React 16.8.3 and attempted to run
react-native run-ios
, I get this error:React Native version:
Steps To Reproduce
react-native run-ios
Describe what you expected to happen:
Well, since I did upgrade I had expected some bugs, but I am unfamiliar with the inner workings of Xcode in conjunction with React Native.
Snack, code example, or link to a repository:
https://www.dropbox.com/s/ygyrhnno8aou4jg/RNsampleApp.zip?dl=0
I was eventually able to resolve the above error by following this guide:
https://stackoverflow.com/questions/54515175/undefined-symbols-for-architecture-arm64-jsclasscreate
and running
react-native link
.However, now inside of Metro Bundler I get this error:
I am not exactly sure what is going on there, but its referencing a line of code found inside of
ios/NFIBEngage.xcodeproj/project.pbxproj
:When I attempt a
react-native run-ios
a second time, I still get a successful build in Xcode but with this error:and when I attempt to open the app in the Simulator, it does not boot up and in debugger-ui I get this error:
It gets to the splash screen with the above error and immediately crashes. I then tried adding this script:
"build:ios": "react-native bundle --entry-file='index.ios.js' --bundle-output='./ios/NFIBEngage/main.jsbundle' --dev=false --platform='ios' --assets-dest='./ios'"
, but instead of fixing the issue I got this error:Then I tried booting up the application via Xcode and it boots up the simulator and attempts to open the application inside of simulator but it hangs on splash screen and Xcode gave me this error:
and it also indicates this configuration inside of Xcode:
I am still stuck on this
main.jsbundle
not being found. Can anyone assist here?The text was updated successfully, but these errors were encountered: