How can I test Apple TV Development without a Apple TV Device UUID? - swift

Xcode is telling me that I cannot create a tvOS UITest Target because I don't have a provisioning profile set under tvOS Development. However, I am able to create and use a tvOS Unit Test Target and it works fine, as well as a tvOS Target in general. Is this an Xcode bug?
When I go into Apple Developer it says I must have an Apple TV Device and register it in order to test it says I have no device and I must register a device. Surely they don't require engineers to physically have this device in order just to test?

Related

No IAP Capability for Independent WatchOS App in Xcode

I can't find the In App Purchase capability in Xcode to add to my Independent WatchOS App (i.e. no iOS app). The bundle ID has the capability naturally (I enabled it when registering it) but the option is not in Xcode (only Apple Pay). How do I add IAP to my watch app now? Without a 3rd party extension?
There is no need to add an In-App Purchase (IAP) capability in Xcode to an independent watchOS app. However, your watch app must target watchOS 6.2 or later.
You can setup your specific IAP's in App Store Connect to get their product ID's.

Visual Studio for Mac - Configuration doesn't target device. Your configuration doesn't target a valid iOS device

Error Message:
Configuration doesn't target device.
Your configuration doesn't target a valid iOS device
I want to publish an iPhone app to App Store. So, I tried to perform Archive for Publish an iPhone App by selecting at the top main menu bar:
Build > Archive for Publishing
I have already select a device from the drop down menu at the main top menu bar. But I still receive above error message. What should I do?
I don't have a physical real iPhone. All I use is the iPhone Simulator. Is it a must to use a real iPhone to sign the App and submit to App Store?
Update
A physical iOS (iPhone) device is no more needed to archive and submit app to AppStore.
You need to plug in a real physical iPhone into the Mac Laptop.
and target it as target deploy device. Then, this problem will solve.
Update: A physical iOS (iPhone) device is no more needed to archive and submit app to AppStore.
For build device, select "Any iOS Device (arm64, armv7)" or Generic Device
The last option in the list of build devices is a Generic Device, under the heading Build Only Devices. This option works fine for those without a physical iPhone.
Dont know if this is still an issue, but I ran into that issue today: the problemn was that in the fourth column it didnt say "remote device". Click on in so it reads: Release, iPhone, APPNAM.ios, Remote device.
Than your good.

publish ios app without any registered device

I have completed an ios app that I want to get published. I do not have any apple devices other than my mac. I used the simulator to test my app. I tried to make a provisioning profile in the member center and link it up to my app but Xcode keeps telling me that it cannot find any compatible provisioning profiles since I do not have any ios devices registered in the member center. I believe that I cannot register my mac as an ios device. I tried doing that in the member center using my mac's UDID but it did not recognize the UDID.
I want to know if there is any way I can still have the app published without buying any other ios device?
I used the simulator to test my app.
Then you did not test your app. The simulator is useful but it is nowhere near an adequate substitute for device testing. What if users report that the app crashes on their devices, but you can't reproduce the crash in the simulator? This is not a hypothetical scenario, it's actually quite common.
I want to know if there is any way I can still have the app published without buying any other ios device?
Possibly, but it would be extremely unwise to publish the app without testing it on a device. If you can't get a device, try to borrow one.
I see only workaround here - Get device from your friend or family and register it for first install. You just need its UDID to register.

sending project into personal iDevice

I have an iPhone 4S with iOS 5.0.1 and also have xcode 4.2. When I try to build & run my app in my iDevice instead of iOS 5.0 Simulator, it pops-up error like this: "No provisioned iOS devices are available with a compatible iOS version." so is there any way to send my app into my own iphone?
You'll need to make sure your device has a provision profile installed that includes the device's UDID and the app's ID. If you're fairly new to iOS development and haven't installed one of your apps on a device before, you'll definitely want to go through the instructions in the iOS developer portal -- they'll walk you through the provisioning process. Also, if you've only recently updated the device to iOS 5, make sure that you tell Xcode to use the device for development.
Did you purchase the iOS Developer Program for 99$/year?
Did you register your Device with your UDID?
Did you install the Team Provisioning Profile on your iPhone?
In order to test your application on an iOS device (such as an iPhone or iPad), you must create an Apple provisioning profile and developer identity. Then you'll also have to create an app ID and register your device. If you have purchased a developer profile, I highly suggest following Apple's step by step guide on how to do this.
For now, here's a guide to to the first steps:
http://www.dummies.com/how-to/content/how-to-create-an-apple-development-provisioning-pr.html
Once you've created a developer profile, you can just use Apple's step by step guide

iphone provisioning profile

I have been through the device provisioning several times, and I still don't understand it.
I have one phone and one ipad provisioned to work, but I can't get another phone to work.
All the devices are listed in the apple provisioning profile-devices and show the provisioning profile that I am using.
On both phones, in XCode 4, under organizer-devices, I deleted the existing provisioning profiles on each device. Then I downloaded the current provisioning profile from the apple provisioning portal and dropped it onto the XCode organizer-devices for each device.
I can still load my application on the two devices that were working originally. But the third device is a no-go.
The ipad runs ios version 4.3
The working phone runs ios 4.01 (jailbroken)
The non-working phone runs ios version 3.1.3 (jailbroken)
The non-working phone does not show up in the schema device list in Xcode 4.
I'm obviously not sure what it is that I missed. Thanks for the help.
You need to have the device ID of all devices you use in the provisioning profile. The minimum OS version of the project must be <= your device OS version. If the device is an arm6 based device you might have accidentially disabled dual builing for arm6/arm7.
I think you probably set the deployment target too high and/or statically linked a framework that required >= iOS 4
PS: it is also very likely that Jailbreaking is responsible for the device not being recognized by the organizer. Have a look at the console log both on Xcode and on the device. Jailbreaking might be causing a crash in your baseband when Xcode tries to probe it.