Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode project is locked if using Cordova (Phonegap)

Tags:

xcode

ios

cordova

I'm building an app with Cordova (Phonegap) and installed the Framework and build my project (for iOS and Android) with the command line tool.

When I want to open the newly created project with Xcode, I get plenty (like 9-10) of notifications that my project is locked and can't be changed. How (and why should I) can I change the rights for the project with the command line tool or something similar, because I'm also unable to archive my project because of that problem.

like image 274
John Brunner Avatar asked Jun 05 '14 14:06

John Brunner


1 Answers

You need to change the owner of the project path to your user.

Example:

My user: dawson

My project path: /work/some_project

Run this:

sudo chown -R dawson /work/some_project
like image 113
Dawson Loudon Avatar answered Nov 11 '22 13:11

Dawson Loudon