Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update example mods for plist support #56

Open
ppryamikov opened this issue Aug 10, 2015 · 2 comments
Open

Update example mods for plist support #56

ppryamikov opened this issue Aug 10, 2015 · 2 comments

Comments

@ppryamikov
Copy link

Example mods should have "plist": {} field now. Otherwise it runs with error:

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.XCodeEditor.XCPlist.Process (System.Collections.Hashtable plist) (at Assets/XUPorter/Editor/XCPlist.cs:34)
UnityEditor.XCodeEditor.XCProject.ApplyMod (UnityEditor.XCodeEditor.XCMod mod) (at Assets/XUPorter/Editor/XCProject.cs:780)
UnityEditor.XCodeEditor.XCProject.ApplyMod (System.String pbxmod) (at Assets/XUPorter/Editor/XCProject.cs:706)
XCodePostProcess.OnPostProcessBuild (BuildTarget target, System.String pathToBuiltProject) (at Assets/XUPorter/Editor/XCodePostProcess.cs:29)
UnityEditor.HostView:OnGUI()

Was confused when tried it first time.

@bobmoff
Copy link

bobmoff commented Aug 23, 2015

I did also run into to this

@Brantone
Copy link

Better yet, "ApplyMod" should be updated to check for null ... kind of redundant to have a projmods with a bunch of empty arrays when just one key is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants