Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
5
Question by jamesar · Mar 07, 2015 at 12:34 AM · iosunity5xcodecloud

Invalid PBX project Unity 5

Hey everyone,

Since uprgrading to Unity 5, I'm having difficulty in building and running my project for Xcode. During the last phase of the build and run process, the task fails and throws the following error:

Exception: Invalid PBX project (parsing line 18) UnityEditor.iOS.Xcode.Lexer.ScanOne (UnityEditor.iOS.Xcode.Token tok) UnityEditor.iOS.Xcode.Lexer.ScanAll () UnityEditor.iOS.Xcode.Lexer.Tokenize (System.String text) UnityEditor.iOS.Xcode.PBXProject.ParseContent (System.String content) UnityEditor.iOS.Xcode.PBXProject.ReadFromStream (System.IO.TextReader sr) UnityEditor.iOS.Xcode.PBXProject.ReadFromString (System.String src) UnityEditor.iOS.Xcode.PBXProject.ReadFromFile (System.String path) UnityEditor.iOS.PostProcessiPhonePlayer.BuildXCodeProject (UnityEditor.iOS.ProjectPaths paths, UnityEditor.iOS.IncludedFileList includedFiles, System.Collections.Generic.List1 frameworks, System.String sdkVersion, System.String targetOS, System.String productName, Boolean useIl2Cpp, Boolean installInBuildFolder, Boolean dontCopyToBuildDir) UnityEditor.iOS.PostProcessiPhonePlayer.PostProcess (UnityEditor.iOS.iOSBuildPostprocessor pp, BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String stagingAreaDataManaged, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) UnityEditor.iOS.iOSBuildPostprocessor.PostProcess (BuildPostProcessArgs args) UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316) UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

Now I assume that this has something to do with the new Unity cloud build feature, and to be clear, I do not want to use cloud build. If anyone has experienced this same issue or can point me in the right direction, your help would be greatly appreciated!

Thanks

Comment
Add comment · Show 15
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image diesen1 · Mar 09, 2015 at 08:59 AM 0
Share

I have similar issue.

Exception: Invalid PBX project (parsing line 254) UnityEditor.iOS.Xcode.Lexer.ScanOne (UnityEditor.iOS.Xcode.Token tok) UnityEditor.iOS.Xcode.Lexer.ScanAll () UnityEditor.iOS.Xcode.Lexer.Tokenize (System.String text) UnityEditor.iOS.Xcode.PBXProject.ParseContent (System.String content) UnityEditor.iOS.Xcode.PBXProject.ReadFromStream (System.IO.TextReader sr) UnityEditor.iOS.Xcode.PBXProject.ReadFromString (System.String src) UnityEditor.iOS.Xcode.PBXProject.ReadFromFile (System.String path) UnityEditor.iOS.PostProcessiPhonePlayer.BuildXCodeProject (UnityEditor.iOS.ProjectPaths paths, UnityEditor.iOS.IncludedFileList includedFiles, System.Collections.Generic.List`1 frameworks, System.String sdkVersion, System.String targetOS, System.String productName, Boolean useIl2Cpp, Boolean installInBuildFolder, Boolean dontCopyToBuildDir) UnityEditor.iOS.PostProcessiPhonePlayer.PostProcess (UnityEditor.iOS.iOSBuildPostprocessor pp, BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String stagingAreaData$$anonymous$$anaged, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) UnityEditor.iOS.iOSBuildPostprocessor.PostProcess (BuildPostProcessArgs args) UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at /Users/builduser/buildslave/unity/build/Editor/$$anonymous$$ono/BuildPipeline/PostprocessBuildPlayer.cs:316) UnityEditor.BuildPlayerWindow:BuildPlaye

Any idea how to solve it

avatar image badescuga9 · Mar 09, 2015 at 01:24 PM 0
Share

i think it might be related to stripping the byte code.. you could look at that

avatar image jamesar · Mar 09, 2015 at 04:19 PM 0
Share

I haven't found anything yet. I've submitted a bug report to Unity for now, but will continue looking for options.

avatar image ayyappa · Mar 10, 2015 at 07:16 AM 1
Share

Can you please let me know the bug id logged?

avatar image jamesar · Mar 10, 2015 at 05:47 PM 1
Share

For the most part I found that to be true. Although yesterday, even when simply building and replacing an existing project, without running it, it would also throw the exception. I think I may have found a fix though... Delete your entire xcode project and recreate it from Unity.

**Edit: that does not fix the problem permanently.

Show more comments

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

29 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Can Cloud Build Replace the iOS Build Process? 1 Answer

iOS Build Crashing with Blank Black Screen (Raising Issue on Ad Mob Mediation AdColony with Version 2.2.0) 1 Answer

Undefined Symbol for Architecture i386 “_CloseZStream”, “_CreateZStream” etc 0 Answers

unity5 cannot build to device XCODE iOS 0 Answers

Unity 5 and iPad pro icon/launch image 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges