Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

FileNotFoundException for images and icons when building ad-hoc release.

$
0
0

I've build a cross-platform solution targeting both android and iOS using PCL & Xamarin.Forms to share code. I managed to publish my android project without problems, but when i try to build my iOS project (ad-hoc release) i get FileNotFoundExceptions for all my icons and images.

the error looks like this:

Error 1 System.IO.FileNotFoundException: /Users/itappgem/Library/Caches/Xamarin/mtbs/builds/AteaPOC1iOS/106bce41ac7f78f0080588aa38c68524/obj/iPhone/Ad-Hoc/Icon@2x.png does not exist
File name: '/Users/itappgem/Library/Caches/Xamarin/mtbs/builds/AteaPOC1iOS/106bce41ac7f78f0080588aa38c68524/obj/iPhone/Ad-Hoc/Icon@2x.png'
at System.IO.File.Copy (System.String sourceFileName, System.String destFileName, Boolean overwrite) [0x00000] in :0
at Xamarin.MacDev.Tasks.SmartCopyTaskBase.CopyFile (System.String source, System.String target, System.String targetItemSpec) [0x00000] in :0
at Xamarin.MacDev.Tasks.SmartCopyTaskBase.Execute () [0x00000] in :0 AteaPOC1iOS

I have made sure that all image files are set to "Always Copy" and i've checked Include Artwork in my iOS Application properties.

Anyone know how to fix this issue?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>