osx - how to change extended file attributes of files on mac? -
i had ios projects in macbook,one day copied them pc based on windows system, day copied them macbook , found projects can not run. opened 1 of projects xcode, says "builde successfully",but app can not deployed on iphone simulator if simulator running!?!?!?! check files using "ls -l" command , found difference between normal xcode project files , new created xcode project files symbol.
files problem:
drwx------+ 49 dingvimer staff 1.6k
normal file:
drwx------@ 60 dingvimer staff 2.0k
how can change '+' symbol '@' , project run normally?
i appreciate kindness of helping me figure out (^-^).
you can use ls -l@
see extended attributes. show like:
drwxr-xr-x@ 5 cody staff 170 mar 30 08:46 test.xcodeproj lastupgradecheck 4
lastupgradecheck - name of attribute (sometimes there can com.apple.blablabla) , 4 - value.
use xattr
command set/delete extended attributes. see man xattr
(its quite short , there examples).
note, you'll need fix whole project directory.
Comments
Post a Comment