How can I get the path of my .app file in the on-success EAS build hook?

I’m trying to find where in the EAS build file system my .app file is. It’s the one that is normally located in ios/build/Build/Products/Release-iphonesimulator/ but I’m not having any luck finding where it is. I was thinking it was ${EAS_BUILD_WORKINGDIR}/ios/build/Build/Products/Release-iphonesimulator/ but having no luck.

Tough to figure this out when a build takes 30 minutes in the first place!

Thanks in advance.

Hi @peteratdivvy

I’m interested to know what you plan to do with that path :slight_smile:

Based on the documentation it looks like it uses the ios.applicationArchivePath to find the application archive.

The default is ios/build/Build/Products/*-iphonesimulator/*.app when building for simulator and ios/build/*.ipa in other cases.

So could you use one of those paths (including wild cards)? You’re sure it wasn’t a development build, which presumably wouldn’t match your “…/Release-iphonesimulator/…” path?

@wodin I’m planning on running maestro tests against that IPA :slight_smile:

I’ll give it a shot!