Install iOS ipa on only specific devices - iphone

How can we install the ipa of our iOS app on only specific devices based on the unique identification number of the mobile device.

Go to https://developer.apple.com/account/ios/device/
And than ADD devices UDID in the "Devices" Menu
Than after In the "Provisioning Profiles" Menu, click on "Development" -> select the profile -> "Edit" -> Scroll down, activate the devices you added
And you can share your app by TestFlight or https://www.diawi.com/
now app is only install on register.

Related

Is there any guide to submit catalyst app?

We have created new app which support iphone, ipad and mac catalyst from xcode 11. We have also create apple distribution profile to upload binary. But at submission time apple says that beta binaries are not supported. I have used xcode 11 and if i will de select mac then i can submit build.
In developer apple i havent seen any guide on uploading mac catalyst apps. Anyone please help me out on this?
In order to upload apps converted with Catalyst to App Store,
you'll need to create a new Mac OS app entry in App Store Connect.
Simply click on the 'Plus' icon in AppStoreConnect, click on new MacOS
app.
In the existing App Store app page, click on the plus icon "VERSION OR PLATFORM", and select Mac OS.
Your Mac Catalyst app shares the same bundle ID as your iOS app. In your Xcode organizer, one of them shows in the iOS section and one in the macOS app section. Uploads from Xcode should automatically go into the same app record on App Store Connect.
You can then finish the details (Mac app screenshots, descriptions, etc.) in the app page and submit it for review.
There will be one apps displayed in your AppStoreConnect and 2 platforms in it, one for the iOS and one for the macOS.

Could I submit app to appstore without ios device?

Today I want submit my app to app store, I created apple ID and prepared app for upload. I created Distribution Provisioning Profile and I prepared everything in xcode but when I change
iPhone Simulator 6.1 -> iOS Device (button archive is unavaible)
Check dependencies
Code Sign error: A valid provisioning profile matching the
application's Identifier 'com.etomek.Ukladanka' could not be found
I thought that I need Developer Provisioning Profile? But I don't have any iPhone/iPad
So Could I submit app to appstore without ios device ?
You do not need a device, and can archive when it's set to iOS Device. The best bet is to test on as many devices as you can, and archive when it's plugged in. Although when it says iOS Device, you can archive. The reason it's grayed out is probably an error in your provisioning profile or certificate. You may want to look under Organizer under profiles or under your build settings.
You need a development certificate for testing locally and distribution certificate for submission to the app store. You need to create a request in keychain then submit it using iTunes Connect, and then download the proper provisioning profiles and certs, and install it in XCode Organizer.
Best bet is to purchase a cheap device like an iPod Touch or iPhone, that can test most of your capabilities (iPod doesn't have most capabilities). You can compile for iPad with iPod or iPhone. So you just need an iOS device that can support your version 4.3+ or 5,6,7.
My previous answer was not correct, but this one is. Trausti was actually correct.
From Official Apple Documentation
To create an archive
For iOS, tvOS, and watchOS apps, choose a generic device or your device name from the Scheme toolbar menu in the project editor.
You can’t create an archive of a simulator build. If a device is connected to your Mac, the device name appears in the Scheme toolbar menu. When you disconnect the device, the menu item changes to the generic device.
Choose Product > Archive.
The Archives organizer appears and displays the new archive.
So you don't need an iOS Device to create an archive and distribute it on the App Store or for beta/ad-hoc testing.
Yes, you can submit your app to app store without having a device.
The error you have is most likely because of incorrect name of your application.
No you can not. Also if you are wanting to do a clean distribution you will need to get a distribution license so you can do the distribution directly from xcode. Here is a good tutorial.
http://docs.xamarin.com/guides/ios/deployment,_testing,_and_metrics/app_distribution_overview/publishing_to_the_app_store
You will need to have a device in order to submit:
You cannot archive the app if xcode is set to simulator
You do not have to run the app on the device, but you must connect
it in order to archive it. That is why the menu is not
avalaible(grayed out)
PS: Also , you do not want to submit an app wihtout testing it on a real
device, that's just my opinion though.

iOS Code Signing Identity

My Xcode 4.6 iOS project has "PROJECT" and "TARGETS" sections, each of which has a "Debug" and "Release" area under "Code Signing Identity" with an "Any iOS SDK" entry.
Currently, I specify my Developer or Distribution provisioning
profile in all four of the slots under PROJECT and TARGET. I believe
that each provisioning profile really only needs to be placed in one
position.
Whenever I update a provisioning profile because it is expiring, I
am adding additional development devices, or I am adding additional
AdHoc test devices, it is always painful. Xcode never allows me to
simply choose "iPhone Developer". I always have to navigate to the
correct provisioning profile by name. Furthermore, I have to delete
the old provisioning profiles before I import the new ones,
otherwise the old ones will continue to get used.
It all looks something like this:
PROJECT
myProject
Code Signing
Code Signing Identity
Debug iPhone Developer
Any iOS SDK iPhone Developer
Release iPhone Distribution
Any iOS SDK iPhone Distribution
TARGET
myTarget
Code Signing
Debug iPhone Developer
Any iOS SDK iPhone Developer
Release iPhone Distribution
Any iOS SDK iPhone Distribution
So, here are my summarized questions:
On which line should I specify the provisioning profile?
What is the best way to import an updated provisioning profile into
Xcode?
1. On which line should I specify the provisioning profile?
Firstly, you are not obliged to set provisioning profiles in the PROJECT section. I always set them in the TARGET section. Now if your are developing, you should set the:
Any iOS SDK iPhone Developer
Under Debug. And if you are preparing Adhoc, you need to set:
Any iOS SDK iPhone Distribution
Under Release.
2 .What is the best way to import an updated provisioning profile into Xcode?
Go to Organizer, click Devices tab, then hit the New button at the bottom, you will be prompted to sign in your Apple account. Then I think profiles will be imported, click Refresh button to see added profiles.

iPhone - Cannot run apps from XCode on iOS 5.0.1 device, since iOS update from 5.0

I have just updated my iPhone to iOS 5.0.1 and XCode doesn't recognize it anymore as a valid device to run applications.
I have gone to the organizer, reset the device as a development device, updated my components and library... but still nothing. The device doesn't appear in the available destinations into the main window popup...
How can I do to test again on the device ?
Disconnect your iPhone.
Quit iTunes & XCode.
Turn off and restart your iPhone.
Connect your iPhone, wait for itunes to finish syncing (if you have it set to launch automatically).
Close iTunes, then open XCode.
Go to organizer and see if it recognizes the iPhone for development or will let you re-enable use for development.
If all that fails, reset your iPhone (gasp!) then do all this again. =(
Select your device in Xcode's organizer, and the click "Add to Portal". Xcode will communicate with the mothership, decide your device is OK after all, and it will then once again become available for testing.
Also if your deployment target is higher than the OS version of the device, it will not show up as a valid device.
it worked for me like this:
select the main project on the left window of Xcode
select the "summary" tab on the central window.
change "deployment target" to 5.0
click "validate settings"
that's it. Now my device is on the list!
select the device and click Run
Xcode 4.3.2, Lion 10.7.3, iPhone4 iOS 5.0.1, (using Jailcoder)

where Xcode organizer stores devices list

Can any body tell me where xcode organizer saves the list of devices attached with it???
I need that urgently. I am unable to add device from provisioning portal and need to add device from xcode organizer but that needs the device. i currently don't have the device just have the UDID.
I think i could add the device UDID in the xcode organizer list then i can add the device from the xcode organier to the program portal.
Regards
Abdul Samad
~/Library/Preferences/com.apple.xcode.plist
Look for the XCKnownRemoteComputers key.