Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

Sharing Violation on path in Adcolony

$
0
0
I have a completed game working properly in Android and is published on Play store already. Now I wanted to submit it on iTunes. As soon as I started building the same project for iOS, I got this strange Error - IOException: Sharing violation on path /Users/abhi/Projects/Unity/XCode Proj/Hammer Inc/Unity-iPhone.xcodeproj/project.pbxproj System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.IO/FileStream.cs:320) System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) System.IO.File.OpenRead (System.String path) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.IO/File.cs:363) System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.IO/StreamReader.cs:167) System.IO.StreamReader..ctor (System.String path) (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string) System.IO.File.OpenText (System.String path) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.IO/File.cs:368) System.IO.File.ReadAllLines (System.String path) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.IO/File.cs:560) AdColonyPostProcessBuild.updateXcodeProject (System.String pbxProjectFilePath, System.String thirdPartyFrameworkDirectoryPath, .Framework[] frameworksToAdd) (at Assets/Editor/AdColonyPostProcessBuild.cs:356) AdColonyPostProcessBuild.OnPostProcessBuild (BuildTarget target, System.String path) (at Assets/Editor/AdColonyPostProcessBuild.cs:340) UnityEditor.HostView:OnGUI() I got this error, after I was having some trouble with GPG Plugin and as mentioned [here][1], I deleted the files and folders related to Google Play gaming, since I planned to use Game Center in iOS. I am currently using Native-X, Adcolony, Revmob in the same project (I know that's too much, but that was due to an experiment on choosing proper network). I am not sure which of the plugin is causing conflicts. I tried removing the AdColonyPostProcessBuild.cs file, but it gave the following error - KeyNotFoundException: The given key was not present in the dictionary. System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (.TKey key) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/ corlib/System.Collections.Generic/Dictionary.cs:150) UnityEditor.XCodeEditor.PBXResolver.ResolveName (System.String guid) (at Assets/Editor/iOS/PBX Editor/PBXParser.cs:49) UnityEditor.XCodeEditor.PBXResolver.ResolveName (System.String guid) (at Assets/Editor/iOS/PBX Editor/PBXParser.cs:53) UnityEditor.XCodeEditor.PBXParser.GUIDComment (System.String guid, System.Text.StringBuilder builder) (at Assets/Editor/iOS/PBX Editor/PBXParser.cs:218) UnityEditor.XCodeEditor.PBXParser.SerializeString (System.String aString, System.Text.StringBuilder builder, Boolean useQuotes, Boolean readable) (at Assets/Editor/iOS/PBX Editor/PBXParser.cs:546) UnityEditor.XCodeEditor.PBXParser.SerializeDictionary (System.Collections.Generic.Dictionary`2 dictionary, System.Text.StringBuilder builder, Boolean readable, Int32 indent) (at Assets/Editor/iOS/PBX Editor/PBXParser.cs:481) UnityEditor.XCodeEditor.PBXParser.SerializeValue (System.Object value, System.Text.StringBuilder builder, Boolean readable, Int32 indent) (at Assets/Editor/iOS/PBX Editor/PBXParser.cs:439) UnityEditor.XCodeEditor.PBXParser.SerializeDictionary (System.Collections.Generic.Dictionary`2 dictionary, System.Text.StringBuilder builder, Boolean readable, Int32 indent) (at Assets/Editor/iOS/PBX Editor/PBXParser.cs:489) UnityEditor.XCodeEditor.PBXParser.SerializeValue (System.Object value, System.Text.StringBuilder builder, Boolean readable, Int32 indent) (at Assets/Editor/iOS/PBX Editor/PBXParser.cs:439) UnityEditor.XCodeEditor.PBXParser.Encode (UnityEditor.XCodeEditor.PBXDictionary pbxData, Boolean readable) (at Assets/Editor/iOS/PBX Editor/PBXParser.cs:177) UnityEditor.XCodeEditor.XCProject.CreateNewProject (UnityEditor.XCodeEditor.PBXDictionary result, System.String path) (at Assets/Editor/iOS/XCProject.cs:620) UnityEditor.XCodeEditor.XCProject.Save () (at Assets/Editor/iOS/XCProject.cs:645) XCodePostProcess.OnPostProcessBuild (BuildTarget target, System.String path) (at Assets/Editor/iOS/XCodePostProcess.cs:35) UnityEditor.HostView:OnGUI() Did anyone faced this issue before and found any solution? I don't want to delete every SDK from the project and start building it again. [1]: https://github.com/playgameservices/play-games-plugin-for-unity/issues/61

Viewing all articles
Browse latest Browse all 7934

Trending Articles