I am trying to archive my app and I set the device to "Any iOS Device" but when I select archive it switches back to a simulator device. I am unsure how to resolve this.
Starts here:
Defaults to this after clicking archive
Related
I want my app to only support iphone/ipod. Yet for some reason itunes connect still thinks I'm submitting for Ipad as well. If you noticed below I have my device family set properly to 1 for Iphone/ipod.
Whats up here? Am I missing a setting in xcode?
Can you please share your deployment target screen?
https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringYourApp/ConfiguringYourApp.html
To set the target devices
In the project navigator, select the project and your target to display the project editor.
Click General and, if necessary, click the disclosure triangle next to Deployment Info to reveal the settings.
From the Devices pop-up menu, choose iPhone, iPad, or Universal (to target both families).
I created a watch app, following Apple's guide lines, but not sure how to run it in the simulator.
When I select the Watch App scheme and run it, the iPhone simulator appears, and I can see WatchKit extension running, dumbing some logs
2014-11-19 13:28:56.991 WatchApp WatchKit Extension[61833:6371439] <WatchApp_WatchKit_Extension.InterfaceController: 0x7b652010> init
2014-11-19 13:28:56.992 WatchApp WatchKit Extension[61833:6371439] <WatchApp_WatchKit_Extension.InterfaceController: 0x7b652010> will activate
But nothing happens on the simulator's screen.
What you run your WatchKit extension, you need to go to Hardware > External Displays and select an Apple Watch (there are two sizes, either works).
After this, you can make changes to your code in Xcode and run it, and the changes will be reflected in the WatchKit simulator without you having to mess with enabling the simulator again.
If your Watch simulator screen appears, but is black, then that means you have not run the correct target from Xcode. Go back to Xcode and select the "xxx Watch App" target, then run the simulator again. Your external display should now show the Watch App.
When I want to distribute my app from XCode I select my device in the list at the top and that enables the option to Archive my application.
I upgraded to iOS 6.1.2 last night and now my device will not show up in the drop down list at the top so I can't archive the app.
How do I fix this?
You don't need to have a device plugged in to Archive. In Xcode click the dropdown next to the Run and Stop buttons and change the selection from iPhone 6.1 Simulator to iOS Device. You should then be able to Archive your build as usual.
In order to have your 6.1.2 device show up in the dropdown, you may need to update Xcode to the latest version.
Yet, I have Xcode 4.2 open and my source code.
In the top left scheme dropdown, I have the scheme set but on the right hand side of that dropdown, its got my device set there.
I don't want my device set there because I'm not testing anymore.
I want to build/archive for distribution.
I want to see iOS Device in that target but I don't see it there.
Any idea how I can get iOS Device to be listed in that destination dropdown?
Currently, it has ipad and iPhone simulators and my own iPhone name.
Just select your iPhone name and go to Product -> Archive.
Or unplug all your iOS devices and then there will be shown iOS Device label.
I'm developing an application and I seem to have set something so it only runs in iPhone Simulator and not in iPad simulator (when I try to change the device in the Simulator from iPhone to iPad it simply opens it again in iPhone Simulator mode; in the iPad Sim the app doesn't show in the applications list).
How do I add the iPad run capability to my app?
Make sure you've set
iPhone/iPad
in your project's build settings (Deployment: "Targeted Device Family").
Select your target (i.e. not the target menu, but the target inside the menu.)
Click on the Project menu & choose "Upgrade Current Target for iPad."
In the dialog box that comes up, you're given two choices. Select "One Universal Application."
And that should be it. Previously, you had to roll back the deployment target for iOS to 3.2 since that was the latest version running on iPad. You would do this by right-clicking on the target, selecting getInfo from the popup menu, and looking through the Build Tab of the popup window for the deployment target. That should no longer be necessary as iPad now runs on iOS 4.3. But, if you have not updated your Xcode, the iPad simulator may still run only on version 3.2 or earlier.
Hope this works for you.