xcode - Workspace created by cocoapods is locked -


i'm using cocoapods project. ran pod install , installed correctly. when try open created xcworkspace xcode displaying error 'workspace file locked'. tried unlock it's not working. didn't include frameworks (security.framework, mobilecoreservices.framework etc.) in workspace.

i had problem recently. don't know missing frameworks, if go project folder within terminal , modify permissions on project files, should able open project. had modify multiple files , folders able stop asking me if want unlock files.

steps worked me:

use terminal go folder contains xcworkspace file. type

sudo chmod 777 nameofyourworkspacefile.xcworkspace  

(please don't literally use file name unless that's xcworkspace file called). should change permissions entire workspace, still have unlock problem pods project.

from within same directory, can chmod on pods folder so:

sudo chmod 777 pods

after that, go pods folder typing "cd pods" , modify permissions on pods.xcodeproj file so:

sudo chmod 777 pods.xcodeproj

like said previously, these permission changes enough xcode stop asking me if want unlock projects. don't know if enough though. helps!


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -