Created
June 8, 2017 00:19
-
-
Save jaclync/387302684c8e08599f3b4f248ae0391b to your computer and use it in GitHub Desktop.
Workaround for Google cocoapods permissions error (GoogleSignIn etc.) in Xcode 9 Beta
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Thanks to Alfredo Delli Bovi at WWDC | |
# Example error: | |
# Failed to change owner of file:...: Error Domain=MIInstallerErrorDomain Code=4 "Failed to remove ACL" UserInfo={NSUnderlyingError=0x7fa983614a10 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied" UserInfo={SourceFileLine=392, NSLocalizedDescription=open of ../path_to_simulator/data/Library/Caches/com.apple.mobile.installd.staging/temp.z2EhKm/Development.app/GoogleSignIn.bundle/ar.lproj/GoogleSignIn.strings failed: Permission denied, FunctionName=-[MIFileManager _removeACLAtPath:isDir:error:]}}, FunctionName=-[MIFileManager _removeACLAtPath:isDir:error:], SourceFileLine=392, NSLocalizedDescription=Failed to remove ACL} | |
chmod -R +rw path_to_google_pod_resources.bundle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment