Updates will be applied on October 27th between 12pm - 12:45pm EDT (UTC-0400). Gitlab may be slow during the maintenance window.

Commit 11c3a8dc authored by Ruslan Baratov's avatar Ruslan Baratov Committed by Gregor Jasny
Browse files

CMakeIOSInstallCombined: add some sanity checks

parent aff1e77f
......@@ -254,6 +254,13 @@ function(ios_install_combined target destination)
set(_lipo_path ${output})
list(LENGTH _lipo_path len)
if(NOT len EQUAL 1)
message(FATAL_ERROR "Unexpected xcrun output: ${_lipo_path}")
if(NOT EXISTS "${_lipo_path}")
message(FATAL_ERROR "File not found: ${_lipo_path}")
set(CURRENT_TARGET "${target}")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment