Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Xcode Error... Please help!

Discussion in 'Editor & General Support' started by DaVeF101, Oct 20, 2015.

  1. DaVeF101

    DaVeF101

    Joined:
    Sep 7, 2014
    Posts:
    134
    Can anyone help with this error when I attempt to upload to the App Store?

    Everything else is fine.. just failing at this last step!

    Unable to validate your application.
    The path '/var/folders/h7..... Unity-iPhone.pa' does not contain a file.

    I've attached a pic also....

    Log files:
    "<IDEDistributionIssue: severity(error), error(Error Domain=ITunesSoftwareServiceErrorDomain Code=-21013 \"The archive is invalid. /var/folders/h7/61xvry4x3wz3h2hth56fpz_w0000gn/T/XCodeDistPipeline.uFt/Packages/Unity-iPhone.ipa does not exist.\" UserInfo=0x7f9d678899b0 {NSLocalizedDescription=The archive is invalid. /var/folders/h7/61xvry4x3wz3h2hth56fpz_w0000gn/T/XCodeDistPipeline.uFt/Packages/Unity-iPhone.ipa does not exist., NSLocalizedFailureReason=Unable to validate your application.})>"
    )

    2015-10-20 22:54:07 +0000 [MT] Presenting: Error Domain=IDEFoundationErrorDomain Code=1 "Codesign failed" UserInfo=0x7f9d662c8ab0 {NSLocalizedDescription=Codesign failed}

    2015-10-20 22:53:50 +0000 [MT] selecting top entry in sorted array: (
    "03fe8d1d-4868-4bea-aa55-eb88cfeeb77d",
    "3641f4d7-717c-442a-9e12-fe8955e2173b",
    "abc534db-5909-4771-948a-881db2ebaa7c"
    )
     

    Attached Files:

    Last edited: Oct 20, 2015
  2. GoofBall101

    GoofBall101

    Joined:
    Jul 25, 2015
    Posts:
    57
    Do you have any errors in Unity, or unused scripts in the game?
     
  3. DaVeF101

    DaVeF101

    Joined:
    Sep 7, 2014
    Posts:
    134
    No errors in Unity and no unused scripts.
     
    Last edited: Oct 21, 2015
  4. DaVeF101

    DaVeF101

    Joined:
    Sep 7, 2014
    Posts:
    134
    I've tried everything to fix this error.... As my game is Halloween themed i've missed the deadline to get it up on the app store now anyway.
     
  5. GoofBall101

    GoofBall101

    Joined:
    Jul 25, 2015
    Posts:
    57
    ? A limit for Holloween Apps?
    Also, the Foler DisPipline is the problem go to Unity and check it again.
     
  6. DaVeF101

    DaVeF101

    Joined:
    Sep 7, 2014
    Posts:
    134
    I was referring to the submission wait time by Apple.

    The problem related to Unity Ads. The 'theorawrapper.bundle' was set to iOS (naturally I expected this to be right, as it's an iOS build!).... but setting this to 'Standalone' fixed the error!

    Maybe this is something Unity can look into?
     
  7. GoofBall101

    GoofBall101

    Joined:
    Jul 25, 2015
    Posts:
    57
    In that case you should try Chartboost. If you know the ads are the problem try a different ad publisher.
     
  8. Cenda

    Cenda

    Joined:
    Jun 3, 2010
    Posts:
    66
    @DaVeF101 Can you explain more? I have same problem now.
     
  9. DaVeF101

    DaVeF101

    Joined:
    Sep 7, 2014
    Posts:
    134
    Locate the UnityAds bundle in your project tree. Click on theorawrapper.bundle file and just set it to Standalone instead of iOS. Then rebuild your project.