error: make directory //FacebookSDK.framework: Permission denied - xcode

I'm having an issue with xcode. I'm trying to complique my iPhone app, but it now seems I can't do so anymore.
I always get this error:
make directory //FacebookSDK.framework: Permission denied
I have changed my folder permissions to drwxrwxrwx. Doesn't seems to work, I also have tried to change the Derived data folder location. No luck here,
So could you pleas guys give me a hand on this one.
Thank you, regards
Morgan

build Phases===>Embed Frameworks ====>select the destination to Frameworks,then everything is fine.

Related

Error after transfering Laravel files to production

I just moved my project to new server and after that I'm getting this message:
Whoops, looks like something went wrong.
I've changed permissions to "storage" folder and sub-folders... to 777 and nothing changed...
I wanted to see the logs... but even with 777 permissions there is no log file... :/
I also tried to get more details from the error by setting debug mode to true... but it changes nothing... :/
What needs to be done after moving files to server? Do i need to change some config to make it work?
I did the same with clean installation of Laravel 4.2 and i got the same problem... :/
UPDATE:
Actions made after installing new laravel 4.2 instance:
check i its working ("You have arrived.") so it's working.
create "app/config/production/app.php" (with debug => true)
transfer all files through ftp
change permissions to 777 for storage dir
check if its working: ("Whoops, looks like something went wrong.") its not... :/
page is here...
http://dev.slashlab.pl/lara-test/public/
(if this can help with anything... :/)
I hope this doesn't sounds too bananas -- but are you sure you're uploading and working in the right folder? If you've both changed the permissions on your files, and edited the debug configuration in all your app.php files to no effect, one possibility is you're editing the wrong files.
There are (mostly) 2/3 places, where your configuration could be. app/config/app.php , app/config/local/app.php and app/config/production/app.php. If you set debug to true in this 2/3 places and then upload them, it is not possible to have this error page. After upload, try to download it to your computer and check the file (is it correct).
So... after a long struggle... I found a solution... ;)
The problem was that on remote host i had magic_quotes_gpc turned on
Everything started to work flawlessly after turning it off. (same for laravel 4.2 and 5.0).
Thanks to all that helped, because every little answer pushed me few steps forward. :)

why do I got this error saying that can't write to “pageid_indexid.txt”?

When I try to do my homework on classifying texts, I got this error:
“Error occures when open file C:\Windows\system32\pageid_indexid.txt for write!”
I looked into C:\Windows\system32 and found that there is no such a file, then I create one myself but I still get this error.
When I try to run my program on other computer, it works fine.
Any help would be appreciated, Thanks in advance!
Just run as Admin will solve it. Besides, maybe we are classmates.
It's a system folder. You don't have the permissions to manipulate this file.
If you really want to write something in this file, check that the VS runs under admin.
Also, the app that will work with this file, should be run under admin too.

Can't save any files in Xcode due to permission error

I suddenly can't save any files in any of my Xcode projects in my home directory. Not sure what caused this. Here's the error I'm receiving:
I don't think Xcode is correct, since I am the owner of -- and have read+write permissions on -- the affected files.
A few other fun facts:
I can edit these files in other applications as the same user, so the problem seems to be specific to Xcode.
Other users can create and edit projects in their home directory without issue.
Running Xcode as root (via sudo /Developer/Applications/Xcode.app/Contents/MacOS/Xcode) does allow me to edit these files.
chown, chmod -R 755, etc. on the directory containing my projects doesn't help.
Disk Utility > Repair Permissions doesn't help.
Reinstalling Xcode, clearing Xcode .plists, etc. doesn't help. Failing both on Xcode 4.1 and 4.2.
Thoughts? Hopefully I'm just missing something simple.
I've just run into this issue myself. No amount of rebooting fixed it for me. In fact, it only began after a reboot. After much frustration, I used fs_usage to observer the file system calls that Xcode and any other processes were making when I attempted to save.
The results were interesting. In particular, one of the last things I saw before Xcode loaded NSAlertPanel.nib (which I assume is the UI for the error sheet), thing showed up:
revisiond.3029 getattrlist /private/var/folders/9f/_7xjwv310nb6c7yr6py_9jtc0000gn/T/TemporaryItems
Xcode.2437 mkdir /private/var/folders/9f/_7xjwv310nb6c7yr6py_9jtc0000gn/T/TemporaryItems/(A Document Being Saved By Xcode)
This looked highly suspect to me, so I investigated this directory. It turns out that
"/private/var/folders/9f/_7xjwv310nb6c7yr6py_9jtc0000gn/T/TemporaryItems" was owned by root:staff, and NOT writable by the group. Making this directory writable by the group fixed the issue for me immediately.
So, it appears this was a bad iteration between Xcode and revisiond, which is responsible for the File Coordination features in Lion. I do not know why this problem persisted for me when a reboot fixed it for others.
Check how you have this setup in source control. I've noticed with the new Xcode that if you have this under source control (svn) that that might be blocking your ability to write over the file regardless of permissions.
You may want to do an svn cleanup
from terminal issue a
ls -laE#"
There may be extended attributes or ACL (Access Control List) permissions problems. I have had that happen. It can be really bad if it has inherited attributes
If that is the case fix with
chmod -R -N
Be careful!
Looks like I had netbiosd blocked in my firewall configuration. After unblocking it and restarting my computer, the issue seems to be resolved.
I spent about two hours with this same problem. I tried all of the above. Finally, I rebooted my machine. Everything works fine after the reboot.
Everything was working fine and i ran into this issue. I tried most of the above suggestion. Finally,the MacOSX software update resolved the issue.

xcode 4 distribution build problem

When trying to test my application created in XCode 4 on another computer (sent from an archive, just like the user guide says to do), I get this error in console. Any ideas?
3/27/11 10:20:16 PM com.apple.launchd.peruser.501[106] ([0x0-0x27be7bc].xxx.test[86534]) posix_spawn("/Users/Matt/Dropbox/test.app/Contents/MacOS/test", ...): Permission denied
The permissions appear to be fine on everything, I can't figure it out.
Dropbox does strange things to file permissions in bundles (Mac / iOS apps are bundles). It seems like you changed Xcode's default build folders (now called "derived data", etc.) to point at this DropBox folder. Don't do that.
Make sure the app is built somewhere aside from this folder and I'll bet it'll work.

Magento Connect is not working after migration

I have a problem with Magento after move it from local to live server: Magento connect is not working properly. I will explain it:
I have access to Magento connect, but the extensions are not working.
I have tried to delete the pear.ini file but didn't work. I have tried to delete the app/etc/local.xml file, copying the following files from a clean installation: clear, pear, peardev and pecl, and then running the installation process again, but nothing happened.
Is there a way to get my downloaded extensions working wihtout do a clean install?
Greets to all and I aplogize for my English.
Moving a Magento installation can be difficult. Here is the procedure that I have used many times with great success.
Make sure that your /download folder and the /pear folder are owner and group writeable and that the apache or other http user have write access via the group permissions.
Check the file permissions match the webserver's user and delete downloader/pearlib/pear.ini. When you hit the page, it will regenerate the file with the correct paths.
In order to get the extensions working I needed to copy all files manually. I don't know why, but I have tried everything and it was the only solution that worked for me.

Resources