Adds better assertions for ipa and dsym search