How to fix 'This application can't be opened' error on Mac

Sdílet
Vložit
  • čas přidán 9. 07. 2024
  • I had this issue a lot when downloading Mac games from Itch. I have no idea why it happens but this solution fixed the issue all of the time.
    Hope you find this useful :)
    ---
    ☕️ Buy me a Coffee ► ko-fi.com/richardoliverbray
    Our Github game off entry ► hellolightbulb.itch.io/a-litt...
    #macos #files #itch #game

Komentáře • 357

  • @thechxf
    @thechxf Před rokem +2

    I need help because when trying to set up the commands in the terminal it keeps saying not a directory despite me writing the exact names of the game files that i downloaded in order

  • @ritzwashere
    @ritzwashere Před 10 měsíci +46

    Big note: you can also drag the file from the MacOS folder into terminal after you added chmod +x

    • @samj9963
      @samj9963 Před 3 měsíci +2

      DUDE THANK YOU - I WAS GONNA GIVE UP UNTIL I SAW THIS COMMENT

    • @rhythmegg
      @rhythmegg Před 2 měsíci

      @@samj9963 i think you could also right-click file, hold "option", and copy as pathname.

    • @Karthikpala17
      @Karthikpala17 Před měsícem

      thanks dude

  • @TheKhadleferone
    @TheKhadleferone Před 2 lety +14

    THANK YOU SOOOOO MUCH.... TRIED EVERYTHING FROM OTHER TUTORIALS, BUT YOUR TUTORIAL RESOLVED MY PROBLEM!!! YOU ARE AWESOME!!! THANK YOU!!!

  • @maxwasthere
    @maxwasthere Před 2 lety +2

    Thank you! Just what I was looking for! :)

  • @bigmangaming919
    @bigmangaming919 Před rokem +25

    SIDE NOTE: sometimes, if you do this, it will crash and the game won't start. for some games, you have to look further in the package contents and find more MacOS folders with more executables, and use this command on those ones as well. otherwise, works pretty good

    • @DuThinh_Truong
      @DuThinh_Truong Před rokem +1

      Is there anyway to fix if the game crashed and won't start?

    • @morganjonkers6946
      @morganjonkers6946 Před rokem

      @@DuThinh_Truong did you find out?

    • @wdrutherfordium4886
      @wdrutherfordium4886 Před rokem

      I like your profile it’s the same as pretty much all my wallpapers :)

    • @someone-uz1ob
      @someone-uz1ob Před 7 měsíci

      thx bro im tryna play a game and it just crashes

  • @eniotna1053
    @eniotna1053 Před rokem +2

    cela fonctionne t'il pour x-force 19 key gen ? pour mac monterey ?

  • @ronaisen1108
    @ronaisen1108 Před 2 lety +4

    Thanks! , it was really helpful and solved my problem!

  • @fryme_ifyoudare
    @fryme_ifyoudare Před 9 měsíci

    Thank you for your simple and easy-to-follow video

  • @ziahduel1286
    @ziahduel1286 Před rokem +6

    Took me a minute to figure out, but worked instantly for all the games I tried
    👍

  • @teldinn
    @teldinn Před 2 lety +3

    Fixed the problem for me! Thanks!!

  • @christianmonari6674
    @christianmonari6674 Před 2 lety

    Hi So I managed to make the file an executable, however now I cannot open it even-though I changed it in my privacy settings. The white button under the app shows that I have opened it, however nothing pops up on my screen.

  • @RainSally1403
    @RainSally1403 Před 2 lety +2

    Work wonders, thank you so much!

  • @mennahashem4248
    @mennahashem4248 Před 2 lety +1

    It is still not working with me, when I typed cd, there was no options there so I dragged and dropped the path inside the terminal.

  • @joewhitfield6316
    @joewhitfield6316 Před 2 lety +2

    Works like a charm. Thanks!

  • @hugginbee8566
    @hugginbee8566 Před 2 lety +9

    Thanks for this video! You've saved my day. A lot of games have this type of error and I'm not good with computers, thanks again!

  • @heycider6715
    @heycider6715 Před 2 lety +2

    Thank you so much!!! It Fixed the problem for me!

  • @discorobots198
    @discorobots198 Před rokem +27

    Thank you, this was very helpful! Also, I was having trouble at first, but I found a good solution: For some reason, typing in the file and its location was not working for me. Maybe I was typing something wrong, but I tried many times and it still didn't work. Then I tried just typing "chmod +x " and dragging the file into the terminal, which worked!

    • @ventea9858
      @ventea9858 Před rokem +1

      Wait which file did you drag in? I’m trying to play escaped chasm and nothing has been working so far, did you drag in the actual game file or the file in Contents>MacOS> (then insert the file in there)

    • @ventea9858
      @ventea9858 Před rokem +1

      Oh my god I’m dumb Tysm for commenting this! I can now play the game I’ve wanted to for 2 years! 🎉
      Edit: Nvm victory dance is over it’s not working 😢

    • @firstnamelastname1971
      @firstnamelastname1971 Před rokem

      thank you

    • @Hellspwn6
      @Hellspwn6 Před rokem +1

      Your comment was sooooo helpful dude! Thank you.

    • @anthonylisa1
      @anthonylisa1 Před 5 dny

      Awesome thanks

  • @aestec_ale
    @aestec_ale Před rokem +1

    Works with every internet installer that I've tried so far thanks!

  • @fayazpasha350
    @fayazpasha350 Před rokem +1

    Superb clear explanation

  • @hannahbray9685
    @hannahbray9685 Před 2 lety +2

    So glad I found this video!

  • @Changecogs2821
    @Changecogs2821 Před rokem

    Can anyone help me with this problem? I have a application called stickmans(Mac) and it won’t open so I typed it in the same way he did and made sure to replace the ()’s with ‘ but after I type it in it says “no such file or directory” and idk if I’m doing anything wrong

  • @jasperjones3576
    @jasperjones3576 Před 2 lety +5

    This was exactly what I needed, thank you!

  • @Eijmaer
    @Eijmaer Před rokem

    thank you so much for this! It really helped me!

  • @JaJor90
    @JaJor90 Před 2 lety +2

    Thanx mate. Worked for me! :)

  • @lisandroguevara1756
    @lisandroguevara1756 Před rokem +1

    Absolutely Perfect, You saved my day!

  • @nerdyplayz6999
    @nerdyplayz6999 Před 2 lety +2

    this is very useful thx for the vid :D keep finding more natural accours and making vids about them thanks for the help :D

  • @cosasdelau2579
    @cosasdelau2579 Před 7 měsíci

    thank you Richard! nice solution...

  • @felipeandresperaltalopez1523

    Thank you so much! I was almost sure this wasn't gonna work but IT DID!!! Thanks!!!

  • @alessandracastano9080
    @alessandracastano9080 Před rokem +1

    This is super helpful with all games except for one. After using chmod +x I get this message if i try to open the map: You can’t open the application “XYZ” because it may be damaged or incomplete. Do you know of a way to fix it? :)

    • @richardbray
      @richardbray  Před rokem

      Unfortunately I don't think there's a way to fix it if it's damaged. You might have to dowbload and try again

  • @cinematicamusic2578
    @cinematicamusic2578 Před 2 lety +1

    It worked perfectly!, thank you!

  • @nazelanurhidayat5221
    @nazelanurhidayat5221 Před rokem +1

    ive spend 2 hours in this terminal, still didnt work. it says -bash and before this i was installing deamontools. i dont get it

  • @sand0407
    @sand0407 Před rokem +1

    what would I do without you, It took me a few attempts but I finally got it and im forever grateful.

    • @richardbray
      @richardbray  Před rokem +1

      Ha, glad this video was able to help you out.

  • @Datovidark
    @Datovidark Před 11 měsíci

    Thank you very much, I was stressed not being able to open a game that I bought, but thanks to you I was able to play❤

  • @m8tcha
    @m8tcha Před rokem

    Keeps saying "event not found" :( the game and etc included spaces so idk what I did, I used the regular mac terminal

  • @brianc3536
    @brianc3536 Před 5 dny

    Great video! I was able to turn my file into an executable, but now I still can't open the game; any advice on how to fix that?

  • @roffencs
    @roffencs Před rokem

    Okay, so in order to this, I have to copy the certain app from applications folder to desktop or downloads or somewhere where terminal can list from?

    • @richardbray
      @richardbray  Před rokem

      Err, it can stay where it is as long as you can find it in the terminal. Desktop is an easy place to locate with the terminal that's why I used it in the example. But if you know how to change directories and stuff it can be anywhere.

  • @prettyprincess7645
    @prettyprincess7645 Před 2 lety +2

    THANK YOU BRO YOU ARE THE BEST I SWEAR 💗

  • @AndriyHavryliv
    @AndriyHavryliv Před 11 měsíci

    Thank you! It worked perfectly! 😊

  • @thedevo01
    @thedevo01 Před rokem +1

    SUPERB! Thank you!

  • @ortuluna
    @ortuluna Před 8 měsíci

    That is a insane issue, thanks mate!

  • @nomanshaikh664
    @nomanshaikh664 Před rokem

    i get an error chmod+x not found what to do in that case???and also a error by dragging the file into terminal that no such file or directory....pls help?

    • @richardbray
      @richardbray  Před rokem

      Are you using the default mac terminal?

  • @shainazhaniff
    @shainazhaniff Před rokem

    hello when i tried to look for moths blood but it just had the game`s name in the macos folder will it still work if i use that?

  • @troyc6193
    @troyc6193 Před 8 měsíci

    Holy shit THANK you. This saved me. I couldn't find any other answers online.

  • @Trshslsa
    @Trshslsa Před 11 měsíci

    I think mine already has the executable. When I run in in terminal, I see a bad CPU type error.. Any work arounds? I thought about Xcode but it didnt work because im on high sierra.
    Thanks

    • @richardbray
      @richardbray  Před 11 měsíci

      Sorry I'm not sure how to help :(

  • @precursorcodes2957
    @precursorcodes2957 Před 2 lety +7

    This Genius.... I've been trying to play a game for years with this error, and I CAN FINALLY PLAY IT!!!!!!!!!! subbed just for that

    • @richardbray
      @richardbray  Před 2 lety +1

      That's very kind of you to say. I'm glad I could help out and thanks for the sub 👍

  • @bncprado
    @bncprado Před rokem +1

    thank you man...saved my day

  • @gabrielmaneiro
    @gabrielmaneiro Před 2 lety +1

    Man, i don't know if i'm typing the command wrong, but everytime it says ta couldn't find the location or that there's no such file as Amplitube 5 (My app is in the application folder)
    What should i do? What command to use specifically? Help me out please!!!
    I appreciate!!

    • @richardbray
      @richardbray  Před 2 lety

      If you type ls, or ls -la is should show you a list of available files. Maybe it's a hidden one 🤷

    • @WilliDLax
      @WilliDLax Před 2 lety

      Were you able to solve this?

    • @hellasecrets264
      @hellasecrets264 Před rokem

      @@WilliDLax no. plz help

  • @Xaeque
    @Xaeque Před 3 měsíci

    Thank you, this fixed my issue! My .app file was set to executable but the actual MacOS file was read only.

  • @mysmart_yg
    @mysmart_yg Před 4 měsíci

    Hey just wondering youre terminal is very fancy is it a homebrew package or something? please tell me??

    • @richardbray
      @richardbray  Před 4 měsíci

      I think I was using iTerm2 in that video but I use Warp now :)

    • @mysmart_yg
      @mysmart_yg Před 4 měsíci

      @@richardbray good to know

  • @legospongebob641
    @legospongebob641 Před 5 měsíci

    THANK YOU SO MUCH, THIS HELPED ME SO MUCH, YOU ARE TRUELY AMAZING

  • @arn_ice
    @arn_ice Před měsícem

    My terminal for some reason displayed things a bit differently. BUT this worked (although I still had to argue with MacOs to launch a game, I do sorta appreciate that security thing, the message was "not sure if this is malicious" but I personally knew it couldn't be so hey). These vids and also that tip here in the comment section of just drag and drop (Mac has usually been cool with that stuff) was very nice and smooth going.

  • @gizmoanimation7076
    @gizmoanimation7076 Před 10 měsíci

    Thank you so much!!

  • @iceyore
    @iceyore Před rokem

    i come back to this every time this problem occurs thanks

  • @tvjojo
    @tvjojo Před rokem

    this was a Godsend thank you 🙏

  • @juliansposato2825
    @juliansposato2825 Před 2 lety

    But it did at least get some working just wondering if you know how to solve the other problem

  • @Roxra65
    @Roxra65 Před rokem

    my game has dashes (-) do i leave them in and use the quotation marks or delete them?

    • @richardbray
      @richardbray  Před rokem

      Yep, leave them on and use quotation marks. Let me know if that works

  • @sygmaone
    @sygmaone Před 2 lety +1

    Hey, I am trying to the same with a cracker app for AutoCAD on Monterrey 12.2.1 and it turns the file to an executable but I still get the same error when trying to launch the app :(

    • @macvila
      @macvila Před 2 lety +1

      Did you find a solution yet? I'm stuck with the same problem...can´t run the xf-adsk2020 app!

    • @samadmks
      @samadmks Před rokem +1

      Nee too

    • @9039josh
      @9039josh Před rokem

      @@samadmks any solution yet?

    • @disonvorenandri
      @disonvorenandri Před rokem

      yap mee too

    • @sygmaone
      @sygmaone Před rokem

      Yes I solved it with homebrew in the end.

  • @user-gt3dr5om4d
    @user-gt3dr5om4d Před rokem

    man i love u

  • @shufflinpro
    @shufflinpro Před 2 dny

    Richard you are a genius!

  • @emirhanciogl
    @emirhanciogl Před rokem +1

    Thanks a lot! ❤

  • @scoretosettle6568
    @scoretosettle6568 Před 2 lety

    Ok so every time I open up iTerm 2, it doesn't look like yours. When I type the letters "cd" it doesn't open up a commands list. Am I doing something wrong? Is there another thing I have to do before that? Thanks a lot!

    • @richardbray
      @richardbray  Před 2 lety

      I'm not sure. Maybe your terminal isn't configured to accept unix based commands

    • @Hellspwn6
      @Hellspwn6 Před rokem

      ever find a solution?

  • @artegames2921
    @artegames2921 Před rokem

    when i go into the MacOS folder in the contents, instead of having one thing in the folder, there are a bunch of files that end with .dylib, with one outlier that just says, "Mac". what do i do?

    • @richardbray
      @richardbray  Před rokem

      That's odd. How did you install the application? Or maybe you have some extra unnecessary files

    • @artegames2921
      @artegames2921 Před rokem

      @@richardbray ok turns out that the game doesnt run on mac silicon soo its whatever

  • @ethanoldabest3829
    @ethanoldabest3829 Před 3 měsíci

    tysm, I had downloaded a game from itch also and it wouldn't open but after watching this guide, it worked!

  • @LmM-dq4ft
    @LmM-dq4ft Před 2 lety

    Im trying to write the command in but have no clue what to type can you write the command to get to the desktop?

    • @richardbray
      @richardbray  Před 2 lety +1

      If you're on a Mac the terminal should default to your user. Pressing ls should give you a list of directories and one of them should be the Desktop. To get into it you should just need to type cd Desktop

  • @roganlowerson6221
    @roganlowerson6221 Před 2 lety +1

    it keeps saying no such file or directory

  • @DevinArne
    @DevinArne Před 2 lety +2

    🙏Thanks for this video! This really helped with a Max/Msp Standalone that I created and will now be able to share!

  • @ochremoore6192
    @ochremoore6192 Před rokem

    OMG TSM!! this was a perfect!

  • @carlosthedeaaaaaaaaaaaaaaaaaaa

    thank you so much it worked for me

  • @franciskelvinwardoyo9128
    @franciskelvinwardoyo9128 Před 9 měsíci

    thank you so much this helped me a lot

  • @kliferbraum
    @kliferbraum Před 4 měsíci

    Thanks for the help, but do you know any kind of solution to solve this definitely ? because almost every app and file i try to open this error are showed! I hope anyone has some kind of command to solve this error, I can`t open almost everything on my mac! Doing this terminal command everytime for every file is very frustrating

    • @richardbray
      @richardbray  Před 4 měsíci

      Not sure. Where are you downloading your apps from?

  • @olayinkaolatunde3028
    @olayinkaolatunde3028 Před 2 lety

    I'm on MacOS Monterey and mine shows that the file is executable already. What do I do to fix this please so I can be able to launch the file?
    Thanks

    • @richardbray
      @richardbray  Před 2 lety

      Sorry I'm not sure. Maybe it's still a permissions issue 🤷

  • @jkt5132
    @jkt5132 Před 4 měsíci

    I'm new to terminal can someone please help, when I type cd Desktop nothing appears as well as I don't have any little arrows or underlining

    • @richardbray
      @richardbray  Před 4 měsíci

      Sorry cd is a linux/mac thing. If you're on a windows you'll need to use WSL

    • @HÀMÁĐ467-k1y
      @HÀMÁĐ467-k1y Před 3 měsíci

      ​@@richardbray for application i can use ASL?

  • @theappleseed
    @theappleseed Před 2 lety +1

    Absolute lifesaver

  • @supafart
    @supafart Před 2 lety +2

    It says No such file or directory

  • @richardsherwood9530
    @richardsherwood9530 Před 10 měsíci

    Thank you!

  • @rojanshrestha1424
    @rojanshrestha1424 Před 3 měsíci

    i downloaded After Effects v24.1 from file cr but i am not able to install it. Could you please make a video on that?

    • @richardbray
      @richardbray  Před 3 měsíci

      Hmm, usually Adobe make these things easy to install. What error do you have?

    • @rojanshrestha1424
      @rojanshrestha1424 Před 3 měsíci

      @@richardbray I figured it out , its running well. Thanks for the video that was really helpful.

  • @Ali_ExPlenDed
    @Ali_ExPlenDed Před 2 lety +1

    THANKK YOU SO MUCHHH

  • @leon9436
    @leon9436 Před rokem

    thanks mate saved my day

  • @bigsad1601
    @bigsad1601 Před 7 měsíci

    do you know what could be wrong if it says "permission denied after after pressing enter?

    • @richardbray
      @richardbray  Před 7 měsíci

      Maybe you don't have permissions to that file, you can change that with chmod

  • @alex-marques
    @alex-marques Před 7 měsíci

    THANK YOU!

  • @abhiyadav2277
    @abhiyadav2277 Před 9 měsíci

    Huge thanks mate

  • @kentaryuu
    @kentaryuu Před 6 měsíci

    ive followed all the steps but when i go to open it it says "Problem Report for nwjs"
    and it says nwjs quuit unexpectedly, (nwjs is the executable), When i look at the executable it shows up but its just not openeing, can anyone help?

    • @richardbray
      @richardbray  Před 5 měsíci

      Hmm, maybe check permissions. Or try downloading it again

  • @Kaan.irem-1982
    @Kaan.irem-1982 Před 2 lety +1

    thank you so much

  • @Asiann3rd
    @Asiann3rd Před rokem +4

    I tried this but sadly it didn't work. I think its because i tried this on desktop but im glad you where able to help others! i was still hoping this would work bc ive watched 20 videos of how to fix this and i even restarted my mac =(.

    • @arimoney2571
      @arimoney2571 Před rokem +1

      Dude I have a MacBook Air and I’m trynna figure this shit out, were you able to find a way bc I’m still having issues:(((

    • @Asiann3rd
      @Asiann3rd Před rokem

      @@arimoney2571 yes kinda idk what app or what thing u tried for but u basically just re download the file ( I might try to explain a bit more in detail later but I hope this helps )

    • @arimoney2571
      @arimoney2571 Před rokem

      @@Asiann3rd I just watched his video and honestly idk wtf that code shit was so wym I have to go back on the website and delete the game and redownload it there?

    • @Asiann3rd
      @Asiann3rd Před rokem

      @@arimoney2571 u basically delete and then download again

  • @SamHunterz
    @SamHunterz Před rokem

    Whoa, not only a like but you also deserve a subscribe! Congrats I’m your new follower, keep up the fantastic work🙏

  • @zillabignall
    @zillabignall Před 3 měsíci

    Sir you are a lifesaver 🙏

  • @holts4christ
    @holts4christ Před 10 měsíci

    You can get this "cannot" dialog for reasons other than permissions not be correct on the application launcher executable.

  • @morsenzl
    @morsenzl Před 2 lety

    Can u make a video on how to get that HUD thingy

    • @richardbray
      @richardbray  Před 2 lety

      I'm not sure what you mean by HUD thingy. If you're referring to the terminal/command prompt, I talk about it a tiny bit on this video czcams.com/video/EGR0F235aMw/video.html

  • @jonasbyamungu8905
    @jonasbyamungu8905 Před rokem +1

    Hey Richard I tried your steps but it didn’t works. it says " not a directory" I need your help

    • @richardbray
      @richardbray  Před rokem

      Sorry to hear that. You can drag the relevant file into the terminal which should give you the right path if that helps

    • @Changecogs2821
      @Changecogs2821 Před rokem

      @@richardbraythank you bro

  • @donovanacosta2138
    @donovanacosta2138 Před 7 měsíci +1

    If this method still doesn't work for you, do the same with the file inside macOS Folder, but instead of putting "chmod" command in the terminal write "xattr -cr *file location*". This is what ended up working for me.

    • @ReddroomProductions
      @ReddroomProductions Před 6 měsíci

      I tried both methods and this one, I keep getting the message 'no such file' , the game is on my desktop, still not working for some reason. Any thoughts?

    • @donovanacosta2138
      @donovanacosta2138 Před 6 měsíci

      @@ReddroomProductions sounds like you are not inputing the correct file location. Type the command first (without the file location) and then drag and drop the file over the terminal. Also make you to do this right when you open the terminal so you are not in any specific directory.

  • @Maxdaperson
    @Maxdaperson Před rokem +3

    Thank you it doesn’t work on the default Mac terminal for me but it works fine on the iterm2 thing thank you

    • @richardbray
      @richardbray  Před rokem +1

      Interesting point, I can't imagine why that would be the case but I'm glad you sorted it out

    • @Maxdaperson
      @Maxdaperson Před rokem

      @@richardbray thanks

  • @Maxdaperson
    @Maxdaperson Před rokem +1

    Do you do anything different if the application has spaces

    • @richardbray
      @richardbray  Před rokem +1

      Not really, I think as long as you have quotation marks like I did in the video 'moths blood' spaces should work fine.

    • @Maxdaperson
      @Maxdaperson Před rokem +1

      @@richardbray I mean the application not the macOS file thing

  • @JustAPersonWhoComments

    R u using terminal???

    • @richardbray
      @richardbray  Před rokem

      Not the default mac terminal, I used one called iTerm2 with zsh and a theme called spaceship. I can go through my setup in a video if you will find that helpful. But the techniques I show in this video should work with the default terminal

  • @mortystation
    @mortystation Před rokem

    Super THanks

  • @dhru7en
    @dhru7en Před 2 lety

    For me there is nothing inside the MacOS folder of the app.

  • @AkashSaha-ll9fq
    @AkashSaha-ll9fq Před rokem +1

    You saved me mannnn... Thanks a lot.

  • @miki001
    @miki001 Před rokem

    Hello i have this problem with Adobe Illustrator but don't have moths blood file

    • @richardbray
      @richardbray  Před rokem

      Moths blood is an example. I think there should be a file with a different name for illustrator

  • @Albani878
    @Albani878 Před 2 dny

    thanks again!

  • @adassocalm5274
    @adassocalm5274 Před rokem +2

    im not bots guys, this video actually help ed me, NO SCAMMING, ❤️❤️❤️❤️❤️

  • @joshuarichmond2688
    @joshuarichmond2688 Před měsícem

    You are a hero