Where is my application binary in Xcode to submit?
Asked Answered
K

3

26

I've built an app for the App Store (ex-iTunes store). However, I can't figure out how to submit the app.

Where is the actual binary that I need to submit to the App Store? What folder does it get built in?

Koball answered 21/9, 2009 at 2:44 Comment(0)
Z
53

You could use XCode and on the left expand "Products". Highlight your .app and then go up top where it says "Action" drop that down and select "Reveal in Finder"

Zincography answered 24/9, 2009 at 1:49 Comment(4)
This answer is XCode version independent and the project file structure is significantly changed from 3.x to 4.x. Keep in mind that the "Derived Data" folder is hidden in some of the Finder views (i.e., during attachment in email).Sane
What about if the application file is grayed out? What does that mean?Melo
When I right click the myapp.app under Products, the Show in Finder option is disabled in the context menu. I am using XCode Version 4.5.1. Any other way?Iyre
THIS SHOULD BE THE ACCEPTED ANSWER! I'm in xcode 9.4 (using macincloud) @Iyre First highlight myapp.app. Then right click.Exfoliation
V
24

Look at a path something like this:

"/Users/{user}/Library/Developer/Xcode/DerivedData/{appname-somehash}/Build/Products/Debug-iphoneos/{app-name}.app"

You can run "find" to locate it.

Vitavitaceous answered 26/5, 2013 at 23:3 Comment(2)
This is correct for default configurations only. My products are saved relatively to the projects location.Hat
how do you "products are saved relatively to the projects location" ?Archaic
L
3

By default, you'll see a build directory inside the directory containing your project.
In that build directory:

<Project Name>.build` contains all the object files created during compilation

and a series of folders with the following naming scheme:

<build setting>-<platform>

You're likely looking for something like "Release-iphoneos". In that folder you should find the .app package to submit.

Lovable answered 22/9, 2009 at 14:57 Comment(3)
Is it the same in XCode 4? I can't find it (using XCode 4 preview 2).Anglice
@TomA - no. See the answer below that recommends revealing the product file in finder. That is a more foolproof answer across releases of the IDE.Sane
@Sane yup, since posting that comment I have found the Derived Data folder and bookmarked it in Finder.Anglice

© 2022 - 2024 — McMap. All rights reserved.