Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    Dismiss Notice

On Demand Resources / XCode Archive support

Discussion in 'Unity Cloud Build' started by Aram-Azhari, Jul 28, 2016.

?

Have you started using Apple's On-Demand Resources?

  1. Yes

    57.1%
  2. No

    42.9%
  3. Should I?

    0 vote(s)
    0.0%
  1. Aram-Azhari

    Aram-Azhari

    Joined:
    Nov 18, 2009
    Posts:
    141
    Hi,

    A while back I was asking whether it is possible to get a notification or be able to run csharp / ruby code after the xcode build is completed (refer to here ).

    Now we have come to a point that such thing may be a necessity for Apple's On-Demand Resources. We can't make builds that use On-Demand Resources in the cloud because the cloud build is not providing anything other than .ipa / .dsym files. We would need to get the archived version of xcode project to get the ODR files.

    This isn't currently supported by the cloud. I was hoping to know whether there is a workaround for this, or if you're planning on working on such a feature.

    I have made a feedback ticket for this here: https://feedback.unity3d.com/sugges...emand-resources-slash-xarchive-in-cloud-build

    I hope this would be possible in the future.
     
  2. llutman

    llutman

    Joined:
    Jul 29, 2013
    Posts:
    4
    I've been working on an app with On Demand Resources. The goal is to be able to make an app store build with Cloud Build and upload it to iTunes Connect via Apple's Application Loader. The issue I'm having is that the ipa that Cloud Build generates does not include the On Demand Resource files.

    Here's a screenshot of the contents of the ipa from Cloud Build:

    cloud-build-ipa.png
    And here's a screenshot of the contents of the ipa, exported for the app store from Xcode:
    xcode-ipa.png
    Is there something special I need to do to make Cloud Build include the On Demand Resources in the ipa?
     
    Aram-Azhari likes this.
  3. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    757
    We are looking into this now. Will keep you posted.
     
    llutman and Aram-Azhari like this.
  4. sagocloudbuild

    sagocloudbuild

    Joined:
    Feb 24, 2015
    Posts:
    13
    @dannyd Any updates on including the On Demand Resources in the ipa?
     
  5. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    757
    It's being worked on. Most likely will be ready early next week.
     
  6. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    757
    On Demand Resources should now be included in the built .ipa.
     
  7. sagocloudbuild

    sagocloudbuild

    Joined:
    Feb 24, 2015
    Posts:
    13
    @dannyd Hmm, I tested this out today and I'm still not seeing the OnDemandResources in the ipa :(
     
  8. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    757
    Ya, sorry about that. We had to roll back the change temporarily because it was causing build failures for a number of projects. I'm hoping to get these issues straightened out ASAP and have this working again. Will keep you updated.
     
  9. sagocloudbuild

    sagocloudbuild

    Joined:
    Feb 24, 2015
    Posts:
    13
    Bump! @dannyd, any updates on this?
     
  10. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    757
    No update. We have some infrastructure work keeping us from moving forward with this at the moment. Will keep you updated on progress.
     
  11. Colin49

    Colin49

    Joined:
    Oct 2, 2013
    Posts:
    9
    Hey @dannyd, any news on this issue?
     
  12. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    757
    This will get rolled out with Xcode 8 support in the next week or two.
     
  13. Colin49

    Colin49

    Joined:
    Oct 2, 2013
    Posts:
    9
    Awesome - thanks Danny!