Everyplay for Unity3D - Error for building on iOS

Hi,

I can’t open my project because of this two errors (saw it in mu Unity console):

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.XCProject…ctor (System.String filePath) (at Assets/Facebook/Editor/iOS/third_party/XCodeEditor-for-Unity/XCProject.cs:95)
UnityEditor.FacebookEditor.XCodePostProcess.OnPostProcessBuild (BuildTarget target, System.String path) (at Assets/Facebook/Editor/FacebookPostprocess.cs:25)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

AND

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)
Everyplay.XCodeEditor.XCProject…ctor (System.String filePath) (at Assets/Editor/Everyplay/XCodeEditor/XCProject.cs:93)
EveryplayPostprocessor.ProcessXCodeProject (System.String path) (at Assets/Editor/Everyplay/Scripts/EveryplayPostprocessor.cs:124)
EveryplayPostprocessor.PostProcessBuild_iOS (System.String path, System.String clientId) (at Assets/Editor/Everyplay/Scripts/EveryplayPostprocessor.cs:76)
EveryplayPostprocessor.OnPostProcessBuild (BuildTarget target, System.String path) (at Assets/Editor/Everyplay/Scripts/EveryplayPostprocessor.cs:24)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

Any idea? It worked … yesterday ! :frowning:

I don’t understand, and the Everyplay’s support is … very very slow.

Thank you in advance for your help.

Best regards,

AB

Do you mean you cannot open the xCode project or the Unity project? Facebook and Everyplay uses the same xCode editor tool and it looks both are failing for some reason. Have you added or updated any other plugins after it stopped working? Sometimes some plugins may corrupt the xCode project. If you are talking about the xCode project, have you tried to build a fresh project in a new folder instead of appending?

If you are using the Adcolony plugin, I have confirmed that Everyplay will generate a similar error with it because Adcolony makes xCode project unreadable for the xCode editor. I have posted a fix for that here: Everyplay iOS integration issue - Unity Answers

Go to the CBPostProcessor.cs and change line 10 to [PostProcessBuild(1081)]