Xcode 11 successful archives will not show in organizer, - ios

I have a problem when it comes to uploading my app to the Apple Store, this is the first time I work with IOS. The Build is working correctly, however, when I perform the project archive (which by the way runs without errors) it does not appear on the Organizer screen so that I can upload the app to the store. I have already created the distribution certificate and the production profile. I already removed the project and added it again, installed an older version of XCODE, tested it on another project but always the same thing.
I am using Quasar / Cordova, version of Xcode 11.3 MAC version Catalina 10.15. In some places I found some people advising to disable the "skip install" property in the build settings, but it also didn't work. Could they help?

I faced same issue after OSX update to 10.15.5
Follow the steps below:
Delete the sub-folders in Archives.
Delete DerivedData folder.

Please perform this steps :
Xcode -> Build Settings -> Installation Directory -> Set value $(LOCAL_APPS_DIR) or /Applicatins
OR
You can open organizer manually also. After successfully archive please perform this steps :
Xcode -> Window -> Organizer

Related

Xcode 11.3 - Archive succeeds but does not appear anywhere

Running archive in my project in Xcode 11.3 (and 11.2.1 as well) on a fresh installation of Mac OS Catalina results in "Build Successful" but it does not appear in the organizer. My scheme is correctly configured with "Reveal Archive in Organizer" checked.
After searching I found others with this issue from past versions of Xcode who solved it by restarting Xcode/Cleaning/Removing Derived data - this is not working for me. I have also verified my Installation Path is accurately showing /Applications.
I AM able to archive the project using xcodebuild in the terminal and specifying custom paths for the resulting files - but this is not ideal. Any help or advice would be appreciated.

This iPhone 6 is running iOS 12.4.1 (16G102), which may not be supported by this version of Xcode

Getting the error
This iPhone 6 is running iOS 12.4.1 (16G102), which may not be
supported by this version of Xcode.
while trying to run the app on iPhone after updating the iPhone.
I know that I can update the Xcode and System both and the issue will be resolved but I want to be able to install the apps on iPhone without updating the Xcode and MacOS.
Please help.
Tried nothing yet.
Can not share the code. No code to show here.
Issue:
This iPhone 6 is running iOS 12.4.1 (16G102), which may not be supported by this version of Xcode.
Resolution:
a). If the issue is not replicated on your another device with latest Xcode version
We need to add the support files in the Xcode. The files can be found on a system with latest Xcode on the path -
Go to Applications.
Right click on Xcode, click on "Show Package Contents".
Go to Contents -> Developer -> Platforms -> iPhoneOS.platforms -> DeviceSupport
Copy support files for the iPhone version.
Paste the file into the system in which you are facing the issue in same path as of above. Close the Xcode and run the code again to refresh the files.
b). If you don't have a system with latest Xcode.
Download the file "iOS 12.4 Developer Disk Image" from the https://github.com/xushuduo/Xcode-iOS-Developer-Disk-Image/releases and unzip the file. Rename the folder to "12.4.1 (16G102)" and paste the file into the system in which you are facing the issue in below path:
Go to Applications.
Right click on Xcode, click on "Show Package Contents".
Go to Contents -> Developer -> Platforms -> iPhoneOS.platforms -> DeviceSupport
Close the Xcode and run the code again to refresh the files.
You need to add device support files from this link
Follow these steps to add device support files
Go into Application and right click on Xcode.app then click on show package contents
Go into this path Contents/Developer/Platforms/iPhoneOS.platform/DeviceS‌​upport/
Get device support file 12.4 from attached link. Unzip it and rename to 12.4.1(16G102) and paste renamed file to above path under device support.
Restart Xcode and then run application on device.
Happy Coding..
I got the same problem. I tried several things but the only solution is to update your Xcode to 11.3.1. After the update I tried to run on my iPhone and worked perfectly!

Xcode Missing Support Files iOS 12.2 (16E227)

My device is running iOS 12.2, but the latest Xcode version available (on the store, and directly from developer.apple, which just pushes me to the store) does not provide the support files for that iOS version, so I cannot build to devices.
Here's the error message from Xcode:
And my Xcode build running on macOS Mojava v.10.14:
Are there any reputable other places to download a more recent Xcode beta from (or just the support files, in Xcode > Contents > Developer > Platforms > iPhoneOS.platform > DeviceSupport), or am I missing something here?
Download device support files from here -https://github.com/iGhibli/iOS-DeviceSupport/blob/master/DeviceSupport/12.2%20(16E226).zip,
if your Xcode version doesn't have them.
Extract the zip file and copy to
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport.
Rename 16E266 folder to 16E227.
Restart XCode.
As pointed out by #DavidH, this worked for me.
After copying and renaming the folder, if problem persists, restart the Mac.
I had the same issue. I was about to download the https://github.com/iGhibli/iOS-DeviceSupport/blob/master/DeviceSupport/12.2%20(16E226).zip and paste it in the /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport path but I think it's not the normal flow. Later, I remembered that I almost never download the Operating System updates.
My solution was:
Go to about this mac -> Software Update (Operating System Updates).
After downloading and installing update you'll be able to Update Xcode.
Go to App Store -> search xcode and you could update Xcode successful.
In conclusion: I needed to install updates for my macOS Operating System.
Need iOS 13.4 support in XCode 11.3.1 ?
You updated your iPhone iOS to 13.4 ?
You don't want to upgrade your OSX to Catalina in order to get the latest XCode 11.4?
Download the XCode release that does support your device from here: https://developer.apple.com/download/more
Extract the zip file, right click on Xcode.app, click on "Show Package Contents"
Go into folder: Contents -> Developer -> Platforms -> iPhoneOS.platform -> DeviceSupport
Find your iOS version you need support for and copy that folder to your existing Xcode.app within the same folder.
DONE.
This process will work for new and old versions of iOS & XCode.
Here is source file.
After copy downloaded folder to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport , restart Xcode then it will work.
Hope this will help you.
I download the Developer disk image for iOS 13.0 from here and added support file in Xcode Version 10.3 (10G8).
https://github.com/iGhibli/iOS-DeviceSupport/blob/master/DeviceSupport/13.0.zip
Follow Those steps. 1) Unzipped downloaded file
2) Right click on Xcode and click on Show Package Content.
3) Then paste your file on path.
Contents -> Developer -> Platforms -> iPhoneOS.platforms -> DeviceSupport
Then Restart Your Xcode. It works for me.
Download iOS developer disk image 12.2 and unzip it
Go Application>Xcode>Contents>Developer>Platforms>iPhoneOS.Platform>DeviceSupport paste your folder there.
Restart your Xcode.

Xcode: Could not locate device support files

As i am trying to run my application from newly updated Xcode 8 to my iPhone 4 which is running iOS 7.1.2
It throws below error,
And, this is my Xcode version,
Has anyone faced this issue before? Awaiting for your suggestions!!
Actually, there is a way. You just need to copy DeviceSupport folder for iOS 7.1 from Older Xcode to the new one. It's located in:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/7.1
If you don't have the 7.1 files anymore, you can download a previous version of XCode on https://developer.apple.com/download/more/, extract it, and then copy these files to following path
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
Credit
I had a similar problem because the app store version was missing iOS 10.1 support in Xcode 8 and they haven't rolled an update yet. This caused the "Xcode: Could not locate device support files" problem. You can download the latest update https://developer.apple.com/download/ and it is more current and supports iOS 10.1 (14B72c).
I have Xcode 10.1 and I can not run my application on my device with 12.2 iOS version.
The easiest solution for me was:
Go with finder at Xcode location
Right Click -> Show Package Contents
Contents -> Developer -> Platforms -> iPhoneOS.platform -> DeviceSupport
Here you find a list of supported version. Choose the most recent one and copy(In my case was 12.1 (16B91))
Paste in the same folder(DeviceSupport) and call it with the version you need.(In my case was 12.2 (16E227))
Close Xcode if you have it open
Reconnect device if it was connected
Open Xcode and build
If this trick does not working, you have to get the versions from the new Xcode version.
But you can try, saves a lot of time. Good luck!
EDIT: Or you can download your needed device support from here:
https://github.com/iGhibli/iOS-DeviceSupport/tree/master/DeviceSupport
You need device support from previous version of Xcode (7.3.1).
I would recommend to use this tool: https://github.com/KrauseFx/xcode-install
When you install Xcode 7, you should link support files to Xcode 8:
sudo ln -s /Applications/Xcode-7.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/7.* \
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
This error is shown when your XCode is old and the related device you are using is updated to latest version. First of all, install the latest Xcode version.
We can solve this issue by following the below steps:-
Open Finder select Applications
Right click on Xcode 8, select "Show Package Contents", "Contents", "Developer", "Platforms", "iPhoneOS.Platform", "Device Support"
Copy the 10.0 folder (or above for later version).
Back in Finder select Applications again
Right click on Xcode 7.3, select "Show Package Contents", "Contents", "Developer", "Platforms", "iPhoneOS.Platform", "Device Support"
Paste the 10.0 folder
If everything worked properly, your XCode has a new developer disk image. Close the finder now, and quit your XCode. Open your Xcode and the error will be gone. Now you can connect your latest device to old Xcode versions.
Thanks
Here is the correct way of handling support errors from Xcode. All you have to do is add support to Xcode's DeviceSupport folder.
Open this link, extract the zip and copy the folder. https://github.com/mspvirajpatel/Xcode_Developer_Disk_Images/releases/tag/12.3.1
NOTE: A new version of iOS 13.0 beta recently released. If your Xcode throws iOS 13.0 support files needed, then click the link below:
https://github.com/amritsubedi/iOS-Developer-Disk-Image/blob/master/13.0.zip
Then, go to Applications -> Xcode. Right click and open Show Package Contents. Then, paste to Contents -> Developer -> Platforms -> iPhoneOS.platform -> DeviceSupport and restart Xcode.
Note: If you have a problem with any other version of iOS, then download the right iOS Developer Disk Image and paste it in the above-mentioned folder.
This will work.
Having the same exact issue with iOS 10.3 and Xcode 8.2.1. I'm not going to download the new Xcode beta just to fix this. Come on Apple!
To anyone reading this, you have to go to https://developer.apple.com/download/ and get the latest version, which might even be the beta, if the stable release doesn't work.
In the future, I would be aware if you update iOS on your devices you may break Xcode/iOS version so update wisely if you want to keep testing on it without jumping through hoops that Apple makes.
If you have XCode 8.1 and iOS 10.2, update XCode manually to 8.2.1. For some reason App Store didn't offer this update.
In case of getting "Could not locate device support files" after your device iOS version has been updated and your Xcode is still old version, just copy old SDK under new name and restart Xcode. Open your terminal and do following:
$ cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
$ cp -rpv 10.3.1\ \(14E8301\)/ 11.2.1
Restart Xcode and it will most probably work.
Download & mount http://adcdownload.apple.com/Developer_Tools/Xcode_7.3.1/Xcode_7.3.1.dmg
I was first wandered if it could be mounted directly through hdiutil attach and looks like it could but not for everyone's accounts.
Open to see its content and copy Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/7.1 to same path into Xcode application directory.
Restart Xcode
Same issue, go to App Store and update Xcode
Get latest iOS-device-support-files (GitHub) (updated regularly). Download and copy iOS-device-support-files to:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
I have Xcode 12.4 and can't run my app on my device with iOS 14.5.1
Download Device support 14.5 from here:
https://github.com/iGhibli/iOS-DeviceSupport/tree/master/DeviceSupport
Then, Follow below steps:
XCode.app > Right Click > Show Package Contents > Contents >
Developer > Platforms > iPhoneOS.platform -> DeviceSupport
Paste 14.5 (unzipped) folder here.
Close Xcode if you have it open and quit Xcode.
Reconnect device if it was connected.
Open Xcode and build.
If this trick does not working, you have to get the versions from the new Xcode version.

"No .app bundles found in the package"

"No .app bundles found in the package"
I am getting this error when submitting the application from the application uploader.
I am able to build the application and run it from the simulator, and all of the certs seem to be in place.
I have this problem developing my apps in XCode 7.3.1 with OS X El Capitan and then update to macOS Sierra and Xcode 8.
I can solve this problem following the next steps:
Archive your app with Xcode 7.3.1 (download in developer.apple.com)
When you archived your app, find your archive in the Organizer, and then:
"Show in finder";
"Show package contents";
In the "xx.xcarchive" file, find the "Products"-"Applications"-"xx.app"(xx is your app's name), "Show package contents" again;
Finally, you can see there has a file named"Info.plist",
open it;
Edit the value with a key named "BuildMachineOSBuild", I just change it to "16A323"(it's "macOS Sierra" 's version);
Edit the value with a key named "DTXcodeBuild" with the Xcode 8 version number "8A218a"
After that, you can upload this archive use Xcode 8 or Application Loader in macOS Sierra, whatever you want!
Info.plist
You are possibly zipping your bundle before build completion - if you are driving fast it can happen :)

Resources