Since #402 has been merged, the packaging task is broken if the app has only one supported architecture.
This is the case, if the deployment target of the app is >= iOS 11.0.
This happens, because the output of lipo contains trailing spaces and does not include are:, so the parsing of the output would produce an array that included an empty string.
This PR updates how the results of lipo are parsed to handle this edge case. Additionally, the tests have been update to be more strict and catch edge cases like this.
Since #402 has been merged, the packaging task is broken if the app has only one supported architecture. This is the case, if the deployment target of the app is >= iOS 11.0. This happens, because the output of
lipo
contains trailing spaces and does not includeare:
, so the parsing of the output would produce an array that included an empty string.This PR updates how the results of
lipo
are parsed to handle this edge case. Additionally, the tests have been update to be more strict and catch edge cases like this.