How to select iOS App build for macOS app? - ios

When developing you can use Mac (Designed for iPad) which is running on iOS. When archiving I'm using "Any iOS device (arm64)". In the targets section in Xcode I have selected the iOS SDK for Mac (Designed for iPad).
In the iOS-App tab it lets me select a build I have uploaded. In the macOS tab it tells me I have to upload a build. So why can I not select an iOS build when submitting to the app store?
For some reason it's impossible to find any information on this. What am I supposed to do?

Related

App Store allows only iOS 10 or newer when deployment target is set to iOS 8.0

I have set deployment target to iOS 8.0 in both project and target settings (Xcode 9.2, Swift 4). Everything builds fine and with my testing iPhone 4S device (iOS 9.3.5) I can run app and works fine.
My problem is that same build in App Store allows only to download app for iOS 10 or newer. I get this message when trying to download from App Store:
"App name" is not compatible with this iPhone.
When I tried to look for way to fix this I found this in iTunes Connect (it's in Pricing and Availability section):
Why there is no older version? How can I fix this? I probably dont need to support iOS 8 but I want to support iOS 9.
Thanks for all help
2 things worth doing:
In Build Settings->Architecture, ensure that Build Active Architecture Only is set to NO, particularly for the Release section.
When archiving the project for distribution, ensure that the device at the top left corner of XCode is set to "Generic iOS Device" and not a device connected to your MacBook via USB. This is because despite setting Build Active Architecture to NO, XCode seems to not honour the setting.
Source: https://forums.developer.apple.com/thread/67488

ios watchkit app not able to install into iwatch using Xcode 7.2

I'm new to working with Apple watch. I'm trying to install the hello world watchkit app into iwatch OS Version(1.0) that has been paired with my iPhone5c OSversion(9.1). When I try to choose the Build target device from the list of devices in Xcode it clearly shows that "Unavailable device" target. Below is the error message.
I did mouse over on the The OS version installed on watch apple watch doesn’t support Watchkit Extention products. Please see the below image for your reference. I would like to know what is the exact issue here and how can I fix it by steps and attach the device with Xcode 7.2 to run.
The answer is that the OS on your Apple Watch is lower than it'll support for testing, they changed some of the API in Watch OS v2. If you update to OS v2 you should be able to use it for development.

How do I install an app in xcode (iOS) simulator manually

I have an iOS Universal app built using Corona Simulator. I want screenshots of the app in Xcode Simulator. How do I install the app in the simulator?
When you build the app with Corona Simulator (File > Build > iOS), select the option: Build for: Xcode simulator.
It will generate the binary and will launch the game directly in xcode simulator, where you can take screenshots etc

xcode 4.5 wont let me debug on ios 5.1 device

I recently got a new dev machine and downloaded the latest xcode 4.5. It came with IOS 6 only so I went and got sdk 5.0 and 5.1 from older xcodes.
The device im testing on in running ios 5.1 and I'd like to keep it that way for the moment.
In my project settings I have base sdk set to ios 5.1.
The trouble is that when I try to debug on my ios 5.1 device xcode complains that I need to connect an iOS device with a recent enough version of iOS to run my application.
How can I solve this problem?
You can surely run your app on a iOS 5.1 device when using Xcode 4.5 - I am doing that at the very present moment.
Have you checked in Xcode organizer if your device is configured for development? Go to the Organizer (one of the top-left icons), select your device from the lefthand list and click on "use for development" (if available).
Hope this helps.
I have xCode 4.5 like you and I have an iPod Touch 3G 5.1.1 which works perfectly with iOS 6 SDK.
The SDK Number doesn't tell you that it only works for that firmware.
In your Project settings under targets you can define the sdk, not the sdk you build with(this is 6.0) but youcan tell what the minOS is
Try restarting with your 5.1 device plugged in.
My iPod 5.1.1 is provisioned and has been used for development. If I choose the scheme "iOS Device" Xcode 4.5.2 refuses to run, telling me "Xcode cannot run using selected device". However it does work when I set the scheme to "robert's iPod" (or whatever). This choice doesn't show up right away when I plug the device in, and sometimes I seem to need to quit and restart Xcode and/or iTunes (or reboot) in order to see it.

Testing for iOS 4.3 on Xcode 4.3 and iOS 5.1 development environment

I have been trying to test my app developed for iOS 5.1 on iOS 4.3 simulator but somehow it is complaining that the framework files are missing for iOS 4.3. I have installed the iPhone 4.3 simulator through the organizer but to no avail. I have also tried other options of setting UIKit framework as optional but that did not work.
Do I need to reinstall previous version of SDK to test this or is there some simple solution?
In Xcode, open the Simulator menu. There's a menu item named "More Simulators"
Choosing that menu item opens another window where you'll be able to choose to download and install additional Xcode content.

Resources