Where is my application binary in XCode?

2019-03-14 11:48发布

I've built an app for the iTunes store. However, being a noob to the platform, I can't figure out how to submit the app.

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

3条回答
女痞
2楼-- · 2019-03-14 12:04

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.

查看更多
可以哭但决不认输i
3楼-- · 2019-03-14 12:10

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"

查看更多
爱情/是我丢掉的垃圾
4楼-- · 2019-03-14 12:11

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.

查看更多
登录 后发表回答