Go Down

Topic: Arduino on Xcode Project — Official Thread (Read 159378 times) previous topic - next topic

avenue33

Hi!

Have you tried Repair permissions with the disk utility?

ScottG


Have you tried Repair permissions with the disk utility?


Disk Utility only lists my local disks, not network drives.

ScottG

Can you give me some information as to what embedxcode is doing regarding this error?
Code: [Select]
==== Build done ====
/bin/sh: Utilities/embedXcode_prepare: Permission denied
Showing first 200 notices only
Command /Applications/Xcode.app/Contents/Developer/usr/bin/make emitted errors but did not return a nonzero exit code to indicate failure

Maybe that can help me figure out why it won't run when creating a new project on my network drive.

avenue33

embedXcode only displays the error message provided by the system.

It seems the network connection prevents the utility from running successfully.

You can try to run embedxcode_prepare from the terminal window.

ScottG


You can try to run embedxcode_prepare from the terminal window.


How do I do that?

avenue33



You can try to run embedxcode_prepare from the terminal window.


How do I do that?



  • Create a new embedXcode project with Xcode, e.g. embed1

  • Close Xcode

  • Launch Terminal

  • Look for the full path of embedXcode_prepare at

Code: [Select]
/Users/home/Documents/Xcode/embed1/embed1/Utilities/embedXcode_prepare
  • Look for the full path of embed1.xcproject at

Code: [Select]
/Users/home/Documents/Xcode/embed1/embed1.xcodeproj
  • Type in Terminal the command

Code: [Select]
/Users/home/Documents/Xcode/embed1/embed1/Utilities/embedXcode_prepare /Users/home/Documents/Xcode/embed1/embed1.xcodeproj


    home is the folder with your name.

    ScottG




    You can try to run embedxcode_prepare from the terminal window.


    How do I do that?



    • Create a new embedXcode project with Xcode, e.g. embed1

    • Close Xcode

    • Launch Terminal

    • Look for the full path of embedXcode_prepare at

    Code: [Select]
    /Users/home/Documents/Xcode/embed1/embed1/Utilities/embedXcode_prepare
    • Look for the full path of embed1.xcproject at

    Code: [Select]
    /Users/home/Documents/Xcode/embed1/embed1.xcodeproj
    • Type in Terminal the command

    Code: [Select]
    /Users/home/Documents/Xcode/embed1/embed1/Utilities/embedXcode_prepare /Users/home/Documents/Xcode/embed1/embed1.xcodeproj


      home is the folder with your name.


      I get permission denied:

      Code: [Select]
      mac_eth1:Utilities Scott$ /Volumes/srgshare/Arduino_Sketches/Test_webdav/Test_webdav/Utilities/embedXcode_prepare /Volumes/srgshare/Arduino_Sketches/Test_webdav/Test_webdav.xcodeproj
      -bash: /Volumes/srgshare/Arduino_Sketches/Test_webdav/Test_webdav/Utilities/embedXcode_prepare: Permission denied
      mac_eth1:Utilities Scott$

      avenue33

      Unfortunately, I'm afraid I won't be of much help on this OS X-related issue. File permissions are always tricky,me specially in shared volumes.

      You could try
      Code: [Select]
      sudo chmod -R 777 /Volumes/srgshare/Arduino_Sketches/Test_webdav

      ScottG


      Unfortunately, I'm afraid I won't be of much help on this OS X-related issue. File permissions are always tricky,me specially in shared volumes.

      You could try
      Code: [Select]
      sudo chmod -R 777 /Volumes/srgshare/Arduino_Sketches/Test_webdav


      That didn't work.  I'm using jungledisk software to create the network drive.  I'll see if their tech support can help.


      ScottG


      Can you try on your Mac hard disk instead?

      Running embedxcode from terminal works if the project is on my local hard drive.

      ScottG

      I'm getting a couple errors after my first Build on a new project.  The build is successful, so I don't know if these errors are important are not.  They are:

      /bin/sh: /usr/local/bin/wget: No such file or directory

      Command /Applications/Xcode.app/Contents/Developer/usr/bin/make emitted errors but did not return a nonzero exit code to indicate failure

      See attached screenshots and log

      avenue33


      I'm getting a couple errors after my first Build on a new project.  The build is successful, so I don't know if these errors are important are not.  They are:

      /bin/sh: /usr/local/bin/wget: No such file or directory

      Command /Applications/Xcode.app/Contents/Developer/usr/bin/make emitted errors but did not return a nonzero exit code to indicate failure


      No, it isn't a problem. embedXcode is just checking the release number.

      ScottG



      I'm getting a couple errors after my first Build on a new project.  The build is successful, so I don't know if these errors are important are not.  They are:

      /bin/sh: /usr/local/bin/wget: No such file or directory

      Command /Applications/Xcode.app/Contents/Developer/usr/bin/make emitted errors but did not return a nonzero exit code to indicate failure


      No, it isn't a problem. embedXcode is just checking the release number.


      What's strange is I just ran Build on a project I created a couple days ago, I think it was with embedXcode Release 39, and I don't get those errors.  Any idea why?

      avenue33

      #314
      Apr 19, 2013, 02:22 pm Last Edit: May 10, 2013, 06:25 pm by avenue33 Reason: 1
      The new release of the template only applies for the new projects.

      You need to copy-paste the makefiles, About and Utilities folder from the template into your existing project.

      Go Up