Bug 14703 - Build with actool always fails with "Failed to write info plist component."
Summary: Build with actool always fails with "Failed to write info plist component."
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: master
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2013-09-12 17:31 UTC by Frank A. Krueger
Modified: 2014-03-27 03:28 UTC (History)
4 users (show)

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


Attachments
Screen shot showing settings (415.10 KB, image/png)
2013-09-12 17:31 UTC, Frank A. Krueger
Details


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 or GitHub 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 Frank A. Krueger 2013-09-12 17:31:59 UTC
Created attachment 4862 [details]
Screen shot showing settings

This is with Xcode 5 GM.

I have assigned launch images and icons. But the tool refuses to play ball. See screen shot.

Here is the log from the build:

Compiling Asset Catalogs
/Applications/Xcode.app/Contents/Developer/usr/bin/actool --errors --warnings --notices --output-format human-readable-text --output-partial-info-plist "/Users/fak/Dropbox/Projects/Reader/Reader.iOS/obj/iPhoneSimulator/Debug/Resources/Images.xcassets/assetcatalog-partial-info.plist" --app-icon "AppIcon" --launch-image "LaunchImage" --platform iphonesimulator --minimum-deployment-target "7.0" --compile "/Users/fak/Dropbox/Projects/Reader/Reader.iOS/bin/iPhoneSimulator/Debug/ReaderiOS.app" "/Users/fak/Dropbox/Projects/Reader/Reader.iOS/Resources/Images.xcassets"
2013-09-12 14:27:08.637 IBCocoaTouchImageCatalogTool[25448:303] CFPreferences: user home directory at file:///Users/fak/Library/Application%20Support/iPhone%20Simulator/User/ is unavailable. User domains will be volatile.
/* com.apple.actool.errors */
/Users/fak/Dropbox/Projects/Reader/Reader.iOS/Resources/Images.xcassets: error: Failed to write info plist component.
    Underlying Errors:
        Description: The file “assetcatalog-partial-info.plist” doesn’t exist.
        Failure Reason: The file doesn’t exist.
        Underlying Errors:
            Description: The operation couldn’t be completed. No such file or directory
            Failure Reason: No such file or directory
/* com.apple.actool.document.warnings */
/Users/fak/Dropbox/Projects/Reader/Reader.iOS/Resources/Images.xcassets:./LaunchImage.launchimage: warning: An iPhone Retina (4-inch) launch image for iOS 7.0 and later is required.
/Users/fak/Dropbox/Projects/Reader/Reader.iOS/Resources/Images.xcassets:./AppIcon.appiconset/[][][][Icon@2x.png]: warning: The app icon set "AppIcon" has 5 unassigned images.
/* com.apple.actool.document.notices */
/Users/fak/Dropbox/Projects/Reader/Reader.iOS/Resources/Images.xcassets:./LaunchImage.launchimage/[iphone][retina4][2x][portrait][full-screen][]: notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
/* com.apple.actool.compilation-results */
/Users/fak/Dropbox/Projects/Reader/Reader.iOS/bin/iPhoneSimulator/Debug/ReaderiOS.app/LaunchImage-568h@2x.png
/Users/fak/Dropbox/Projects/Reader/Reader.iOS/bin/iPhoneSimulator/Debug/ReaderiOS.app/Assets.car
Comment 1 Frank A. Krueger 2013-09-12 17:34:57 UTC
I found that if I manually create:

/Users/fak/Dropbox/Projects/Reader/Reader.iOS/obj/iPhoneSimulator/Debug/Resources/Images.xcassets

Then it works. SO I guess you need to make sure that directory exists.
Comment 2 Jeffrey Stedfast 2013-09-12 18:15:47 UTC
thanks Frank.

Already fixed in the 4.0.13 and 4.1.11 branches (not yet released, but hopefully very soon now)
Comment 3 Nischal 2014-03-27 03:28:25 UTC
We have checked, now directory Images.xcassets creates under '~/iPhoneSimulator/Debug/Resources/'
and app builds correctly. Screencast: http://screencast.com/t/P8dN50OX

Environment Info:
Xamarin Studio
Version 4.2.4 (build 266) 
Build Information
Git revision: 57fa6b7639703775ae1d5c46536e42ab424cb177
Xamarin addins: eee141c29724a19529e77b8e743086d95b29f5ba
Mono 3.2.6
Xamarin.iOS 7.2.2.14 
Hash: 16bef0b