Code Monkey home page Code Monkey logo

xcodeeditor-for-unity's People

Contributors

beannt avatar dcariola avatar erbridge avatar gabortb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xcodeeditor-for-unity's Issues

IOException: Sharing violation on path .../project.pbxproj

After a standard iOS build, there's a chance I get this exception.

Stacktrace:

IOException: Sharing violation on path /Users/frarees/Desktop/sandbox/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 /Applications/buildAgent/work/3df08680c6f85295/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.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) (at /Applications/buildAgent/work/3df08680c6f85295/mcs/class/corlib/System.IO/StreamWriter.cs:124)
System.IO.StreamWriter..ctor (System.String path, Boolean append)
(wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool)
System.IO.File.CreateText (System.String path) (at /Applications/buildAgent/work/3df08680c6f85295/mcs/class/corlib/System.IO/File.cs:159)
UnityEditor.XCodeEditor.XCProject.Save () (at Assets/Editor/XCodeEditor/XCProject.cs:958)
XCodePostProcess.OnPostProcessBuild (BuildTarget target, System.String path) (at Assets/Editor/XCodePostProcess.cs:21)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

I suppose this is due to Xcode being launched (pbxproj is being read) while it's still writing on Xcode files.

Folders Not found.

Having an issue attempting to add folders to an xcode project. The folders portion of my proj mod is set as follows.

{
...// Other data.
"folders": [
"Folder1",
"Folder2"
],
...// Other data
}

Both folders are in the same location as the projmod file, but after adding a log message into the AddFolder method it seems this is failing the check of if the directory exists.

UriFormatException with BuildPipeline.BuildPlayer

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

Retaining Comments in .pbxproj After Running

Hello there.

I have a two different sets of post process build utilities to run. One is this post process build player, and another is similar but performs differently. For the second post process build to run it needs the comments that denote the sections of the pbxproj file in order to process correctly.

Is there any wait to tell this utility to keep those comments. If I'm not able to do this it breaks all functionality.

Some examples of the comments I'm talking about are:
/* Begin PBXBuildFile section /
/
End PBXBuildFile section /
/
Begin PBXContainerItemProxy section /
/
End PBXContainerItemProxy section */
and so forth...

Another question I have is, how do I configure the framework search paths build configuration? Your sample doesn't provide anything regarding that.

Add Compiler Flag?

I noticed this function in PBXBuildFile.cs
public bool AddCompilerFlag( string flag )

and I've spent the better part of a day trying to figure out how to use XCodeEditor-for-Unity to add a compile flag to a list of files, but I'm not sure about the best way to do it.

What is the preferred way to do it? Sorry if this isn't the best channel to ask this question.

Not really an issue: Python?

Hi

First of all great work!

I've noticed that you have some commented python code in some of the cs files. Have you done any more work in making this python compatible?

cheers

Copy files to XCode with setting Target membership in XCode

Hi All

I am trying to copy some sound files (*.wav) in to XCode root folder. The files are copying fine by calling XCProject.AddFile function, however, their target membership (Unity-iPhone and Unity-iPhone Tests) are not set and I have to manually check Target Membership -> Unity-iPhone.
Is there any way while adding files to Xcode root folder, I could set Target memberships?

'MiniJSON' could not be found

Hi. thank you for your great project.
I'm making CI using jenkins in mac.
When I build xocde after build. Build failed with log that Atomatically managing signing is 'Automatic'.
So I search the solution. I found your project. And I attacted your project below Editor folder.
But It is required

Assets/Script/Test/XCodeEditor-for-Unity-master/XCMod.cs(4,14): error CS0246: The type or namespace name `MiniJSON' could not be found. Are you missing a using directive or an assembly reference?

I don't know about MiniJSON. What I do for install your project. And How can I use your function in jenkins. Could you give me a advise with details.

Installation problem

Just copied all stuff to Editor folder then got the following error:

Assets/Editor/XCodeEditor-for-Unity/XCMod.cs(4,14): error CS0246: The type or namespace name `MiniJSON' could not be found. Are you missing a using directive or an assembly reference?

What's wrong? Did I miss something?

The version of Unity is 4.0.1 on OS X.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.