Why can't find com.apple.nsurlsessiond folder in iOS 10? - nsurlsession

When I update Xcode 7 to Xcode 8, I cannot find the folder com.apple.nsurlsessiond in caches. First in iOS 9, I can download and resume, but in iOS 10, I can't resume. Why so? I have print the log:
Invalid resume data for background download. Background downloads must use http or https and must download to an accessible file.

NSURLSession resume is broken in iOS10 - https://forums.developer.apple.com/message/180964#180964
You can find your temp download files now in NSTemporaryDirectory()

Related

xcode is not opening after downgrade from V9 to V8

I'm trying to downgrade from xcode 9 to xcode 8, I have deleted the 9 version already then i realize that version 8 is not opening working.
all what happening that when i click on xcode icon it will show the very first new project screen for less than 1 second and disappear again.
macOS High Sierra
Version 10.13.6
if you have Xcode pops up a window with a list of most recent projects, but then switch off very fast. that mean you have every thing fine and all you need is to go to any txt file in your computer (file.txt) right click open with and select you Xcode you have installed it Will work fine
At start you need to completely uninstall XCode 9, including derived data, devtools, simulators, etc. Type 'uninstall xcode completely' in Google and you will find many advises of how to do that, including at StackOverflow, e.g.
How to Completely Uninstall Xcode and Clear All Settings
After that you can install XCode 8 by placing XCode.app to Applications folder. Everything else it should do during first run.

Is there any way of obtaining Developer Disk Image of iOS 11 for Xcode?

Currently I'm using macOS Sierra with Xcode 8 installed. I just updated my device to iOS 11, which is my main development device. I can't build the apps I'm working on anymore because Xcode 8 has no iOS 11 Development Disk Image. Is there any way of obtaining the image (without installing Xcode 9) or I'll have to go back to iOS 10 in order to build to my device?
Download All Older and latest Disk Image Platform version Here
This may solve your problem: https://stackoverflow.com/a/44383054/4146322
On another note, it is nearly impossible to revert to iOS 10 once you install iOS 11. Apple has incorporated checks for this at a deep level to prevent people installing older and possibly unsecured versions. You can read up on this at Apple's iOS10 Security Documentation in the second paragraph of page 6.
Follow these steps to get your Xcode 8, work with iOS 11.
Download Xcode 9 Image File with iOS 11 beta
Copy iOS 11.0 Image File to following location in your system: ~/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
or
Create Symbolic Link Using:
sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0\ \(15A5278f\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0
Restart Xcode.
Download developer disk image from Here.
and copy that two folders to below mentioned path.
First open spotlight search and go to your xcode and from right click ->
Show package content Contents -> Developer -> Platforms -> iPhoneOS.platform -> DeviceSupport
Skip ads from above link and then you can download

Unable to update to Xcode 8

I would like to update to Xcode 8, but when I start the App Store it just shows me an Open button, but my existing Version is 7.3.1
The requirements should be El Capitan 10.11.5 - I have 10.11.6 installed.
Why is there no Update button?
Check if you have multiple installations of Xcode on your system. The App Store often gets confused and loads one you're not considering, such as the version on your back up drive. It's possible it has updated a different installation than the one it launches as well.
Executing the following command in a terminal window should list all installations of Xcode the App Store may find.
mdfind "kMDItemCFBundleIdentifier == 'com.apple.dt.Xcode'"
When you have Xcode open (from hitting Open in the store), right click the Xcode icon on your dock, select Options, and Show in Finder. Does the installation it shows match up with the one you expected it to launch?
If you specifically open each Xcode installation the mdfind command found, are any of them Xcode 8?
You can control which installation of Xcode the App Store will update. Check each of the app folders, and look for a Contents/_MASReceipt folder. Ensure the installation you want to update has that (and a receipt file inside that), and delete the _MASReceipt folder for all of the other versions.
Now the App Store app should update the correct installation for you.
All I had to do was restart my mac. Then, went to the App Store and saw "Update" instead of "Open".

An error occured while attempting to download the container from application Xcode

While running my app on iPhone, I needed to view the database contents. So I selected Devices in Xcode and chose my device. Thereafter, i selected my app and clicked on the Settings button which shows 3 options: Show container, Download container and Remove container. On clicking the Download container option, I was asked where I want to store the container. After selecting the location, I am getting the following error: An error occured while attempting to download the container from application "MyApp".....
On selecting Show container option, a list opens up but there is no file inside it.
The same problem occurs with other apps too that I run using Xcode.
Any ideas as to why this happens and how to fix it?
I just rebooted my iPhone. That seems to fix it! Really weird, but works.
I have been having the issue every now and then especially after the phone has been connected to Mac and Xcode for about an hour.
Sometimes, just rebooting the phone isn't good enough, you'll also have to quit Xcode and start again after rebooting the phone!
I also had this problem yesterday, and the solution was a mismatched version of iOS 10 and Xcode 7. After I did the App Store upgrade to Xcode 8, I was able to download successfully.
In my case the issue was due to the fact that the version installed was a release version.
After installing the "Debug" version, the download worked fine.

Xcode exported mac app showing error "powerpc applications are no longer supported"

I've made simple Mac app in Xcode 5, Archived and Exported it as application without signing.
App runs properly on my Mac that it was build on but don't on any other. When I try to open it on different Mac error message "powerpc applications are no longer supported" appears.
Before send it to another Mac, put it in a zip folder to protect the exported file when downloading.

Resources