Can I archive an Apple TV App without owning an actual device? - ios

I have just finished building an Apple TV app, which runs on the simulator fine.
I am now trying to Archive it, and I am getting the following error:
There are no devices registered in your account on the developer website.
Plug in and select a device to have Xcode register it.
Does this mean that I have to have an actual Apple TV connected to my computer before I can Archive this app?
Thanks for your help!

As #LinusGeffarth told, you need to select any tvOS device to build.

Related

"Xcode couldn't find any iOS App Developement provisioning profiles matching..". Can I fix this without a real mobile device?

After deploying a flutter app on google playstore I am trying to do the same on the apple appstore. Currently trying to configure everything in xcode but I get 2 error messages in xcode:
Failed to create provisioning profile. There are no devices registered in your account on the eveloper website
No profiles for 'bundle-id' were found
Error 2) shows up when I try to build the "build archive" with flutter run ipa
I have an apple developer account and trying this on a macbook pro. However I do not have a real apple iphone. I couldn't fix this with any solutions I tried so far and the only thing that seems to work is plugging in a real device
What else can I try except purchasing an iPhone?
You have to register atleast one device in developer account for creating the provisioning profile for publish the app on App Store. You do not actually own iPhone you can add the test device UUID or you can ask client for device UUID for testing or you can ask to your friend and colleague to prevent this error.

How can I test my app without iOS using Xcode

I want to make some test with apple connect but I don't know if I need iPhone for this?
After want to connect Xcode with my developer account, I got## Heading ##:
Failed to create provisioning profile There are no devices registered in your account on the developer website.
What device? I don't have iPhone, but I have mac.
App works on simulator and app need to upload and then send on my team.
How can i do this without iPhone?
Regards

How to test in device while offline?

I am using Xcode 7.1. I have successfully managed to run/debug my app from Xcode 7.1 into an iOS 9 device. However that only works while the device is online. If it is offline I get an "Untrusted Developer" error message when I try to run the app. This is a problem since my app has some offline behavior that I need to test.
How can I test my app while the device is offline?
I have already trusted the profile in Settings > General > Profile.
I am not sure if I also need to verify the app. I tapped on Verify App several times. But nothing happens. The app stays in unverified state.
PS. I have not enrolled for any iOS Developer program.
You should be able to use you applications offline. In XCode 7 check your Preferences>Accounts and make sure that you are logged into you apple ID in XCode and your iOS Device.
You may need to verify the app while online the first time before running offline.

How to import created a Xcode project in iPhone?

i am created and successfully running a some project in Xcode from Mac.I am thought to this project was running in my iPhone.How to i am import this Xcode project from iPhone.Please help me
If you have Apple Developer Account, then:
1- You need to create few certificates, get info from Distributing iOS Apps With iTunes Connect
If you don't have developer account, then you would have to purchase from Apple Developer Program for iOS
Otherwise it will not be possible to run it on real devices, you can just check your app on simulator.
Read this detailed tutorial on How to Test Your App on an iOS Device
Connect phone via usb and wait umtil Xcode detects it. Then play app.
If you want to import an ipa file, to execute in another device, create a cert with imei of the phone, archive the app and import it. Further info here.

Testflight Error when downloading app

i am getting the following error when trying to download app on a iOS 7 device. What could be wrong.
"This build does not list this device as a permitted device."
You need to add the devices, UDID into your iOS Provisioning Profile on the apple developer site, then you need to also add that device in TestFlight and resend the build after it has been built with the updated Provisioning Profile.
It sounds like you attached a new device to TestFlight after the app was built for the older set of devices. The app does not have your new device's profile in it.
To fix, you would build the app again so the new device info is in the app.

Resources