Let me prefix this with I'm very new to Unity, but I have worked with just about every IDE on the planet.
Unity autogenerates a project "Unity-iPhone Tests", to test the unity generated project "Unity-iPhone". The gotcha is that because the tests are targeting a device the app needs to be signed. My cert follows the standard com.mycompany.product. But in the "Unity-iPhone Tests-Info.plist" the value is set to **com.unity3d**.${PRODUCT_NAME:rfc1034identifier} and all attempts to find where this is being set / generated have failed. Without this changing the resigning will fail.
Within Unity I've set the company name. I've set the bundle Identitifier. I've used sed to replace all instances of unity3d in the project with mycompany, with no difference in behavior. I could probably change this post generation with a script, but that's a hack. I want to know the source of this insanity and fix it there.
If you'd like to know what this code looks like. Someone committed all the generated output to github.
See: [The Plist][1] or the [project][2]
[1]: http://unity-ios-sample/Unity-iPhone+Tests/Unity-iPhone+Tests-Info.plist
[2]: https://github.com/gimmie/unity-ios-sample/tree/master/Unity-iPhone%20Tests
↧