Bug 40496 - [ODRs/Ad-Hoc] Can't export valid ipa
Summary: [ODRs/Ad-Hoc] Can't export valid ipa
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 4.1.0 (C7)
Hardware: Macintosh Mac OS
: High major
Target Milestone: 4.1.0 (C7)
Assignee: Emanuel
URL:
Depends on: 40611
Blocks:
  Show dependency tree
 
Reported: 2016-04-18 22:37 UTC by Oleg Demchenko
Modified: 2016-04-22 23:06 UTC (History)
4 users (show)

Tags: NotRegression
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Oleg Demchenko 2016-04-18 22:37:46 UTC
Steps to reproduce:
1) Checkout iTravel sample app - https://github.com/xamarin/private-samples/tree/master/ios9/iTravel
2) Open project in XVS
3) Set configuration to AdHoc
4) Check "Embed on-demand resources in the app bundle"
5) Rebuild app

Result:
*ipa file exported as expected, but:
1) Resources not bundled in the app bundle(missing OnDemandResources folder)
2) URL of assets packs is http://127.0.0.1/Path/To/OnDemandResources/com.company.AppName.Resource.assetpack but should be OnDemandResources/com.company.AppName.Resource.assetpack

When user select to host ODRs on file server AdHoc build fails with:
https://gist.github.com/df13dc303ce33780def0f9aff69c58bf

XVS 4.1.0.400
Full env details:
https://gist.github.com/2478d963e79482890b5828fcb73ba8d0
Comment 1 Oleg Demchenko 2016-04-18 22:45:44 UTC
ipa built in AdHoc+embed ODRs:
https://drive.google.com/a/xamarin.com/file/d/0BxjePIqGV4JqWC0yQjhabF82TWc/view?usp=sharing
Comment 2 xamarin-release-manager 2016-04-21 11:13:30 UTC
Fixed in version 4.1.0.446 (cycle7)

Author: Emanuel
Commit: fdc2f7198fea6149d3916332a1a3bc8530135064 (xamarin/maccore)
Included in Commit: fa3e5916ff02271c7480a80d5e61834b78ba2951 (xamarin/XamarinVS)
Comment 3 Oleg Demchenko 2016-04-21 17:24:37 UTC
Ad-Hoc build fails with `The "DetectSigningIdentity" task failed unexpectedly`. Please take a look here:
https://gist.github.com/olegoid/3c5772f6cd240c6f443ef8710c7ceaab

Tested with: Xamarin.VisualStudio_4.1.0.449 and XI 9.8.0.286
Comment 4 Emanuel 2016-04-21 17:26:58 UTC
(In reply to Oleg Demchenko from comment #3)
> Ad-Hoc build fails with `The "DetectSigningIdentity" task failed
> unexpectedly`. Please take a look here:
> https://gist.github.com/olegoid/3c5772f6cd240c6f443ef8710c7ceaab
> 
> Tested with: Xamarin.VisualStudio_4.1.0.449 and XI 9.8.0.286

That's happening because of https://bugzilla.xamarin.com/show_bug.cgi?id=40512
Comment 5 Emanuel 2016-04-21 17:30:35 UTC
Sorry, wrong bug number, disregard bug https://bugzilla.xamarin.com/show_bug.cgi?id=40512.

The related bug is https://bugzilla.xamarin.com/show_bug.cgi?id=40611