This repository was archived by the owner on Jan 6, 2023. It is now read-only.
Fix: Change reference to the raster used in raster cell sample to fix build error #1036
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes the issue in
runtime/common-samples/issues/2004
runtime/devops/issues/823
by adjusting the on-demand raster used in
Identify raster cell
(#866) fromCreate Groups
toCreate Folder References
, since the resource files come as a whole zip archive.How to review
v.next
will give anBuild input file cannot be found: '$SRCROOT/Portal Data/Archives/SA_EVI_8Day_03May20/SA_EVI_8Day_03May20.tif'
error. The following builds won't give error since no additional portal item is added.The error is hard to replicate because it only happens on the very first build of the project, or when the
Portal Data
folder is deleted or partially changed.Below attach some details
download-portal-item-data.swift
script in Update download script for archive with multiple files #865 where we included better zip archive support for the download script.Build input file cannot be found
error.Download Portal Item Data
from build phase to aPre-Action
in the build scheme. But Phil indicated that is even worse than having an one-time error.xcfilelist
to actually log the file paths downloaded. However, when going down this path, Ting found out the only files that cause this error are the rasters used inIdentify raster cell
. Adjusting their references and re-tag the on-demand resource tag solve the error.