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

UriFormatException with BuildPipeline.BuildPlayer #10

Open
kyubuns opened this issue Jun 10, 2014 · 1 comment
Open

UriFormatException with BuildPipeline.BuildPlayer #10

kyubuns opened this issue Jun 10, 2014 · 1 comment

Comments

@kyubuns
Copy link

kyubuns commented Jun 10, 2014

BuildPipeline.BuildPlayer(levels, "xcode_project", BuildTarget.iPhone, BuildOptions.None);

This code causes the following error:

UriFormatException: Invalid URI: The format of the URI could not be determined: xcode_project/.
System.Uri rootURI = new System.Uri( ( projectRootPath + "/." ) );
in XCodeEditor/XCProject.cs

check this:
Everyplay/everyplay-ios-sdk#20

Unity 4.5.0f6
OS X 10.9.2
XCode 5.1.1

@kyubuns kyubuns changed the title file path error with BuildPipeline.BuildPlayer UriFormatException with BuildPipeline.BuildPlayer Jun 10, 2014
@kyubuns
Copy link
Author

kyubuns commented Jun 15, 2014

string dstPath = Application.dataPath.Substring(0, Application.dataPath.IndexOf("Assets"));
dstPath = System.IO.Path.Combine(dstPath, "xcode_project");
BuildPipeline.BuildPlayer(levels, dstPath, BuildTarget.iPhone, BuildOptions.None);

This code succeeds.

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

1 participant