How do I start the Application Uploader on a Mac? - ios

I've written an app and I want to upload it to Apple for review and AppStore.
I've read that the Application Uploader is located at /Developer/Applications/Utilities.
However, I don't know what I should do with this information.
Where do I find or enter "/Developer" so that I can the move on to "/Applications"?
Finder? Launcher? Command prompt? XCode?

Open your xCode
On the menu bar go to xCode-> Open Developer Tool -> Application Loader

In XCode 4 you don't need the Application Uploader anymore. Just select the device target (not the simulator), choose the menu Product - Archive.
This will result in a product in the archives section of your organizer (menu: Window-Organizer). Here you can have the app validated, and submitted.
BTW, /Developer is where XCode used to be, now XCode (4.3) is in /Applications/XCode, so that might be a little confusing.

Since an update of Xcode lately, the /Developer folder is not in use any more. You can find Application Loader and other apps within /Applications/Xcode.app/Contents/Applications.
To open this folder, copy the path, open 'Go > Go to Folder' in Finder and paste the path in the popup. Or find Xcode in you Applications folder, right-click on it, press 'Show Package Contents' and navigate to the right subfolder.
Tip: for quick access to Application Loader (and the other apps, i.e., FileMerge, Icon Composer, and Instruments), you can create an alias to them and place these in your Applications folder. Or, if you use them very often, drag them to your Dock.

Related

With Xcode how can I export and share an app with a team member in the simulator?

So I have a teammate/client I need to share an app I'm developing.
They have android and a Mac Desktop so it would be shared through the Simulator only.
I've tried the archive app and there seems to be no way to get this work with the .ipa file which is generated.
Does anyone know of a way to achieve this?
Share the source code, then run the app in Xcode. Voila, it is now in the Simulator. They have to install Xcode anyway to get the Simulator so there really isn't any extra work involved other than building the app.
The .ipa is built for iOS devices and cannot run in the Simulator. I suppose you could transfer the binary to another simulator and get it to work, but I have not heard of anyone doing it that way and, frankly, it seems like potentially more work than "clone this git repo, load the project/workspace in Xcode, click the triangle button and wait a bit."
All you can do is you can just generate the .app file. But how you can run it on a simulator (applies only if Xcode 8.2 or above isn't installed), I really don't have the idea. If you want to have your .app generated, follow this:
Connect any iPhone with your mac
Open your project in Xcode
Wait for the setup (processing symbol files, blah, blah) to be completed
Run your project in that iPhone once
Now just build your project while the iPhone is connected
Search for the Product group (or, folder) and expand it
You will see a file (maybe more) named as your target (project name)
Right click on that file and select show in finder. And voila, you have your .app file
What generates the .app
You will need to have previously built the app for the intended target. The "Product" option in the top menu bar includes a couple of ways to trigger this including: "Build for" of "Destination".
Where is the .app?
The yourApp.app you are looking for is stored in: <<YOURUSERHOME>>/Library/Developer/Xcode/DerivedData/<<YOURAPPNAME-UID>>/Build/Products/Debug-iphonesimulator
Easier way to locate
Open you app in XCODE
Browse the file tree in the left sidebar
Expand the "Products" directory
Right click the .app file you want to share, and select "Show In Finder"
What you are trying to do is not going to work. You can not share the .ipa file for someone else to install it on an iPhone simulator.

How to create .dsym file in Xcode 6.4

I know this should be a simple problem to solve, but I'm stumped.
Using Xcode 6.4, how can I create the .dsym file (this is for submission for Veracode scanning, if that matters).
All the instructions I can find are for Xcode <=5, and don't fully translate to Xcode 6.x
After archiving your app, in your derived data
~/Library/Developer/Xcode/DerivedData/
Go to your application
AppName-xxxxxxxxx/Build/Intermediates/ArchiveIntermediates/AppName/BuildProductsPath/Release-iphoneos
your .dsym file will be in this folder.
Finding the dSYM of a particular build through the Terminal can be quite cumbersome. Instead, use Xcode to do that. In the Window menu, choose Organiser. A list of your apps and archives appears. Select the one you are interested in. Right-click on it, and choose Show in Finder. You will end up in a directory with files called <AppName>-<ArchiveDate>.xcarchive, with the archive you selected in Xcode already selected in the Finder. Right-click again on it, and choose Show Package Contents. And you'll find here a dSYMs folder.

Compilation fails in Xcode 4.6 while creating archive for adhoc distribution.

I am new to iOS. and i am trying adhoc distribution ipa file from xcode.
1) I could able compile and run the application in the iphone/ipad.
2) But when i create archive, i am getting compilation error saying 'something.h' not found.
Could someone kindly direct me what could be wrong?
1-Try to open the organizer (Window -> Organizer), then the Projects tab. Select your project then hit the delete button next to the derived data path (to the right). Confirm and let it re-index your project.
2-Go to your project folder, Press on YOURPROJECTNAME.xcodeproj and right click and go to show package contents . Leave the project.pbxproj file, but delete the project.xcworkspace file, any .pbxuser files, and the entire userdata folder.
I hope it works..
If you are putting things in a group in the XCode project navigator, and it is not an actual folder, you do not need to do Mountain/Mountain.h. You would just include Mountain.h.
When creating a group in the project navigator, by default, these are not actual folders, they are just virtual project folders, so if it is trying to see the Mountain folder and it does not exist, you will get that error.
It is weird that it will compile and run otherwise, but just give that a shot, let me know if it works.

Could not find iOS SDK

I am trying to get my iOS SDK location but could not find it.
I have tried this link
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
and
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
But my mac does not contain developer folder.
I have tried to unhide this folder like library folder
danehog-Mac-mini:~ danehog$ chflags nohidden Developer
chflags: Developer: No such file or directory
Than i tried this link,
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
and
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
But it also no use bcoz my application folder is empty
Dont look it in user/application mine is also empty. Look it on the left side of screen under favorite here,
And than follow this links
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
and
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
Remember, Xcode.app is the xcode app icon you have to do right click on it and than select show package contant than follow link give above
Do this following :
1) Open the finder window.
2) Now hit Cmd + Shft + G keys or Click on Go menu & then click on Go To Folder Option.
3) Now Enter following path in Go window.
~/Library/Application Support/iPhone Simulator/
Browse for associative folders
if you are using lion osx iOS SDK 5.0 – UsersHomeFolder/Library Directory is by default hidden
Hope it helps

iOS app does not have a Build directory with .app in - for binary upload

I have an iOS app which I need to upload the binary of. From what I could find online, I have to ZIP the .app folder and upload that.
Problem is I cannot find my .app directory. In my other apps I do find it. But in this specific one, there is no Build directory whatsoever.
Must I set it in my Target or somewhere for it to create that folder?
(This is in Xcode 4.2)
Does the app appear in the Products folder for your project (should be at the bottom of the project file/folder list in the left column)? If it does, right click on the .app file and choose the Open in Finder option. Zip the Application file and you should be fine.
If this is an app that you can run on a device, choose Build > Archive. The Organizer window will open, and now you can select and "share" the archive.
Otherwise, open the Preferences window and, under Locations, click the arrow next to the Derived Data pathname. Your build folder is usually inside the derived data folder for this project.

Resources