Skip to content

Instantly share code, notes, and snippets.

@nvanselow
Last active June 16, 2016 14:54
Show Gist options
  • Select an option

  • Save nvanselow/eb102b0309829b9e9322 to your computer and use it in GitHub Desktop.

Select an option

Save nvanselow/eb102b0309829b9e9322 to your computer and use it in GitHub Desktop.
Ionic and Xcode File Permissions and Code Signing Errors

##Ionic, EACCESS, File Permission, and Xcode signing

Recently, Ionic and Xcode 6 have not been playing nicely. I believe I have targeted the error to file permissions that are set when Ionic adds a platform.

I kept getting an Exit Code 1 error when I would try to build my iOS app. Running the following from the terminal from within the project directory solved the error.

sudo chmod -R a+rwx platforms

###Error During iOS App Archiving

If you get an error like 'chown: Operation not permitted' when trying to Archive the app, then run the following from within the project directory.

sudo chown -R username:staff platforms

Replace 'username' with your mac username.

@devloe
Copy link
Copy Markdown

devloe commented Jun 16, 2016

After doing this, do I have to do ionic build ios again?

@devloe
Copy link
Copy Markdown

devloe commented Jun 16, 2016

Ok, it worked! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment