We are trying to test uploading files from iCloud files but it seems like the iCloud is not working on the simulator.
It only shows blank, where in fact there are files on iCloud. Then after some time of waiting then file selection shows Turn On iCloud Drive where in fact it was already turned on.
iPhone 11
XCode 11
iCloud is only supported on xcode 12.x with IOS 14.X though iCloud is available on xcode 11 but it is not well implemented I guess,
If you are using Catalina, you can use xcode 12.4, more to this version will only supports Bigsure.
Related
My Xcode 14.01 was working fine and Run On the iOS And WatchOS Perfectly then one time I Notice it give me error with new build Saying No WatchOS Platform and I'm Sure I Already Download it.
So I go To Settings and try to download it again then An Error Of Duplicated was there , But I Notice That My WatchOS Platform Is Already There With Same Size With word beside it saying On Disk, But Why its Not Working.
Here is what I see In Menu Xcode -> Settings -> Platform
So Should I Remove the One There And Re Download again In fact It Is Quite Much To Download 3.6 GB Every time Or Should I Re Install The Xcode 14.01 Again
My System Is like that
MacOS : Ventura macOS 14.0
MacBook Air M1 2020
thanx For Help
After two days I figure it out, Xcode Mounting the watchOS and TvOS Images when you Download it first time so my guess is I unmount it manually when I was upgrading to Ventura macOS and solution is very easy and cost no more downloads is to locate it and mount it manually.
Open Terminal And Write:
xcrun simctl runtime add
This would remount the simulator images again into Xcode
P.S. Do not try to mount the simulator images using Disk Utility or by double click it, as this won't add it to Xcode you need to add it and mount it using the xcrun simctl runtime command
References:
According To Apple Xcode 14 Release Notes:
It Seems If you manually unmount or detach a simulator runtime disk image (such as by using diskutil eject or umount), Simulator and Xcode may not be able to determine whether the runtime is installed or not. Attempts to re-download the runtime results in failure with a duplicate runtime error. (89589210)
Workaround:
Restarting causes Simulator to re-mount the runtime disk image.
If this not work so Use xcrun simctl runtime add in Terminal to Remount The Images Manually
Alternately you can use xcrun simctl runtime to locate the affected runtime disk image, delete it, then use Xcode to re-download it.
When using the simulator under Xcode 11.3.1 and iPhones simulating iOS 13.3, the simulation does not behave correctly. It works correctly under simulator iOS 12.1.
I get no messages that I don't also get under the iOS 12.1 simulator launch.
The behavior should be when a user starts the app for the first time, he is redirected to the signin screen. Instead it goes to the main screen (grayed out because there is no data). I can navigate manually to the signin screen and signin normally (device registers and appears on my online server) but the app should start downloading the database required to work. It just sits there (no alertview that would normally launch the download). If I relaunch the app, it again starts at the main screen, however at this point an alertview should appear that no database is present. If I manually try to start the download (in a setup screen within the app), the progress bar that normally appears does not, just a label signifying what database is suppose to download.
All of this works properly on the iOS 12.1 simulator (Xcode 10.1) of the same type (iPhone 8 Plus).
Is this an Xcode 11.3.1 bug or iOS 13.3 problem. I have customers using iOS 13.1 without any problems on actual devices. I am on a new iMac running Catalina, is it possible its a security setting to allow database download?
I was facing the same issue and I move back to Xcode 11.3. Guess it was not a stable update at all.
No matter what I do, any Xcode 10 iOS simulator that runs iOS 12 never gets past the indeterminate progress at boot up.
Other simulators running iOS 11 or earlier work fine.
How to fix this? Complete reinstall does not work...
Issue occurs for any iPhone which requires iOS 12 and any iOS device configured to run iOS 12 under the simulator.
Ultimately it took a complete removal of Xcode and then the basic re-download and run of Xcode which then re-distributes stuff all over your hard disk again.
First I backed up my customizations found in the folders and files:
~/Library/Developer/Xcode/UserData/CodeSnippets
~/Library/Developer/Xcode/UserData/FontAndColorThemes
~/Library/Developer/Xcode/UserData/KeyBindings
~/Library/Developer/Xcode/Templates
~/Library/Preferences/com.apple.dt.Xcode.plist
~/Library/MobileDevice/Provisioning Profiles
Then I removed the following (although my Xcode is not in /Applications, I list it that way here):
/Applications/Xcode.app
~/Library/Caches/com.apple.dt.Xcode
~/Library/Developer ~/Library/MobileDevice
~/Library/Preferences/com.apple.dt.Xcode.plist
/Library/Preferences/com.apple.dt.Xcode.plist
/System/Library/Receipts/com.apple.pkg.XcodeExtensionSupport.bom
/System/Library/Receipts/com.apple.pkg.XcodeExtensionSupport.plist
/System/Library/Receipts/com.apple.pkg.XcodeSystemResources.bom
/System/Library/Receipts/com.apple.pkg.XcodeSystemResources.plist
and then re-download Xcode from the App Store:
https://itunes.apple.com/us/app/xcode/id497799835?mt=12
And then re-insert my customizations. When the folder where customizations were stored did not exist, I went into Xcode and created a temp customization (like code a code snippet) and let Xcode create the containing folder to be safe. Then I deleted the temp customization and re-populated the new Xcode created folder with my customizations again.
For the first time since iOS 12 was in beta, I was able to successfully download and install it.
And by the way, the iOS 12 simulator disk image (if you want to install it via the standard macOS Installer app instead) is here:
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK12_0-12.0.1.1537588161.dmg
I installed the xcode_4.3.1_for_lion.dmg on my mac 10.7.3. I need an iphone simulator folder to install the iapps. No iphone simulator folder in Application support
~/Library/Application Support/?
Checking in home library only.. ~/Library/...
Is there any way to check this?
I think this is a duplicate of How to install iPhone application in iPhone Simulator. I don't see any method of flagging a question as duplicate, though.
See my answer at following post.You should clear your trash folder and reset it.For more detail click below link.
No iphone simulator folder in Application support
I installed iOS 4.2 on my 2nd-generation iPod Touch last week. I tried running my application on the device through Xcode, but it didn't work (because Xcode didn't yet support iOS 4). To solve that, I installed Xcode 3.2.5 and the iOS SDK 4.2. Now I can get the app to run in the iPhone/iPad Simulator just fine.
However, I can no longer select "Device" from the menu at the top of the screen. It's a choice, but when I try to click on it, it never actually gets a check mark.
Because of this, I can no longer run the app on my iPod. The other (related) problem is that I can't choose "Build and Archive" from the Build menu anymore because the target is not a device.
Why is this happening? Do I need to change some settings in my project, or something with my device itself?
EDIT: Upon closer investigation, it appears that I can't select anything but the iPhone Simulator 4.0. Maybe there's something wrong with the project file.
Check that the base SDK is set to Latest iOS (currently set to iOS 4.2) for your Xcode project and your target's product, then perform a rebuild and see if your iPod is recognized.
Also try visiting the Xcode Organizer and see if it's asking for anything from your iPod. Typically Xcode will want to collect some data from devices whose OS receive updates, so it can update itself and install your apps on the updated OS properly.