Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
3
Question by xBlueBear · May 01, 2018 at 07:48 PM · iosunity cloud build

iOS Cloud Build is failing in 2018.1.0f1 – DeveloperCertificates

After migrating from 2017.2.0f3 to 2018.1.0f1 I've run into a strange Cloud Build error. I can successfully build to device through unity with no errors, but Cloud Builds fail. I have also tried other targets on Cloud Build and Mac Universal/Windows 64 bit work just fine.

The error that I'm seeing is:

 1619: [Unity] EXCEPTION: ArgumentException: parsing "<key>DeveloperCertificates<\/key>[
 1620: [Unity] UnityEditor.CloudBuild.BuildLogger:HighlightUnityErrors(String, String, LogType)
 1621: [Unity] ArgumentException: parsing "<key>DeveloperCertificates<\/key>[


Following that error I also see this exception:

 EXCEPTION: DirectoryNotFoundException: Could not find a part of the path "/BUILD_PATH/company.game-d60447c0-d22b-43ef-8bb3-3745cb0fa3c6.default-ios/temp.XXXXXX20180501-10199-1ur9ped/Unity-iPhone.xcodeproj/project.pbxproj".


I have done a considerable amount of searching, but can't seem to find a solution.

I've created new iOS targets from scratch, generated new iOS provisioning profiles/certificates, run the build as a clean process, etc. with no difference to the end result.

Any help with deciphering what these errors might be or what's causing them would be extremely helpful!

Comment
Add comment
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

5 Replies

· Add your reply
  • Sort: 
avatar image
3
Best Answer

Answer by xBlueBear · May 03, 2018 at 06:09 AM

Edit This has officially been fixed in version 2018.1.2f1


After digging into this more I figured out that it's an issue on the Unity side of things. The logic for parsing iOS provisioning profiles is failing on their side. Specifically, the regex formula that’s being used is incorrect. That logic was recently changed during the 2018.1 updates and appears to have been most recently updated on Mar 7. Here is the git hash corresponding to the changes I’m referring to: a62850c6c0ca6dfb6e047aa460d3b981ba76fe56.


The new ProvisioningProfile.cs, moved from UnityCsReference/Editor/Mono to UnityCsReference/Editor/Mono/PlatformSupport, contains a new regex string to set the profile type. This regex is failing around newline/tab checks ([\n\t] vs [\n\t\r]+). This regex can be resolved by replacing the current one: <key>DeveloperCertificates</key>[\n\t]<array>[\n\t]<data>([\w/+=]+)</data> with (?<=<key>DeveloperCertificates</key>[\n\t\r]+<array>[\n\t\r]+<data>)([\w/+=]+)(?=</data>) This check adds start/end conditions to exclude the tags being wrapped (doesn't really matter, but just in case), as well as cleans up the whitespace checks.


I opened a support ticket for this issue and the Unity team got back with me saying that it will be fixed asap. In the meantime I'm having to set my Cloud Build target to Unity 2018.1.0b9. The reason being is that beta 9 is the last release that came out prior to that Mar 7 date, which is when this new file was introduced.

Comment
Add comment · Share
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
1

Answer by HaakonL · May 05, 2018 at 12:54 PM

Beta 9 has severe UI placement issues and is completely unusable. This bug has been known for 2 months now and is still not fixed. A major fuckup from the Unity team, what on earth is taking so long?

Comment
Add comment · Share
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
0

Answer by pajamajama · May 03, 2018 at 05:57 AM

Any luck?

I'm able to reproduce the same errors with 2018.1.0f1 installed locally.

Reverting to 2018.1 beta for the time being.

Comment
Add comment · Show 1 · Share
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 xBlueBear · May 03, 2018 at 06:10 AM 0
Share

Check out the answer I posted.

avatar image
0

Answer by bullyentertainment · May 21, 2018 at 01:47 PM

Unfortunately still not fixed in 2018.1.1

Comment
Add comment · Share
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
0

Answer by milosz-kosobucki-setapp · May 28, 2018 at 10:49 AM

Seems to be working in 2018.1.2f1:

https://beta.unity3d.com/download/a46d718d282d/UnityDownloadAssistant-2018.1.2f1.exe

https://beta.unity3d.com/download/a46d718d282d/UnityDownloadAssistant-2018.1.2f1.dmg

Comment
Add comment · Share
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

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

118 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 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 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 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 avatar image avatar image

Related Questions

UnityCloudBuildProjectId not set in info.plist (iOS) 0 Answers

Unity Cloud Build. How to set ENABLE_BITCODE for iOS? 2 Answers

How easily can you build and create a scene in Unity Cloud and run it on a native Xcode project? 0 Answers

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

Unity Cloud Build. Player export failed.Reason: 'pod' command not found; 2 Answers


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