Simulator

RSS for tag

Rapidly prototype and test builds of your app during the development process using Simulator.

Simulator Documentation

Posts under Simulator tag

334 Posts
Sort by:
Post not yet marked as solved
0 Replies
140 Views
I can run my app in a simulator on my 2019 mac without issue, but the same code will seemingly randomly crash when running on my new M1 machine. No error in the logs, I just see Lost connection to device. and the app crashes (but not the simulator itself). If I build from XCode I get a Thread 1: EXC_BAD_ACCESS in AppDelegate, but can't seem to track down the problem from there. Crash Report
Posted
by LukeRPR.
Last updated
.
Post not yet marked as solved
25 Replies
21k Views
After the upgrade to Xcode 11, an existing app that once was debuggable on device can no longer be installed and debugged on device. It is failing with an unknown error. Same failure occurs on Xcode 11.2.1 and Xcode 11.3 beta. App debugging on SImulator works fine.This is not reporting a codesign or provisioning failure (I've seen those in the past). I'm hoping someone can help narrow down the culprits.DetailsUnable to install "NameOfMyApp"Domain: com.apple.dtdevicekitCode: -402620415--App installation failedDomain: com.apple.dtdevicekitCode: -402620415Failure Reason: An unknown error has occurred.User Info: { DVTRadarComponentKey = 487927; "com.apple.dtdevicekit.stacktrace" = ( 0 DTDeviceKitBase 0x000000012692a6e7 DTDKCreateNSError + 109 1 DTDeviceKitBase 0x000000012692ade9 DTDK_AMDErrorToNSError + 792 2 DTDeviceKitBase 0x000000012696a56a __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 164 3 DVTFoundation 0x000000010b4ea156 DVTInvokeWithStrongOwnership + 73 4 DTDeviceKitBase 0x000000012696a301 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1589 5 IDEiOSSupportCore 0x00000001267f2a25 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352 + 4523 6 DVTFoundation 0x000000010b61b3ba __DVT_CALLING_CLIENT_BLOCK__ + 7 7 DVTFoundation 0x000000010b61ca92 __DVTDispatchAsync_block_invoke + 809 8 libdispatch.dylib 0x00007fff590635f8 _dispatch_call_block_and_release + 12 9 libdispatch.dylib 0x00007fff5906463d _dispatch_client_callout + 8 10 libdispatch.dylib 0x00007fff5906a8e0 _dispatch_lane_serial_drain + 602 11 libdispatch.dylib 0x00007fff5906b396 _dispatch_lane_invoke + 385 12 libdispatch.dylib 0x00007fff590736ed _dispatch_workloop_worker_thread + 598 13 libsystem_pthread.dylib 0x00007fff592a4611 _pthread_wqthread + 421 14 libsystem_pthread.dylib 0x00007fff592a43fd start_wqthread + 13);}--
Posted Last updated
.
Post marked as solved
1 Replies
111 Views
Hello Everyone, I am developing a iOS app on Xcode. The issue which I am facing is that my app user interface looks different on the Xcode simultor / preview when compared the my real iPhone. Take a look yourself - Xcode simulator / preview: Real iPhone: Even though they running the same code and same device (simulator iPhone 13 Pro and real physical iPhone 13 Pro), the user interface looks different. Here is the UI code: import SwiftUI struct ScreenView: View {   var body: some View {     NavigationView {       ZStack {         Color("Colorbg").edgesIgnoringSafeArea(.all)                   VStack {           Image("testim")             .resizable()             .aspectRatio(contentMode: .fit)                       Spacer()                       NavigationLink(destination: ScreenView1.navigationBarHidden(true)) {             Label("Test 1", systemImage: "play.fill")               .foregroundColor(Color.white)               .font(.system(size: 57.5))               .padding(.all)               .background(Color("Colorbutton"))               .cornerRadius(20)           }                     Spacer()                       Label(" Test 2 ", systemImage: "play.fill")             .foregroundColor(Color.white)             .font(.system(size: 57.5))             .padding(.all)             .background(Color("Colorbutton"))             .cornerRadius(20)             .labelStyle(.titleOnly)                       Spacer()                       Label(" Test 3 ", systemImage: "play.fill")             .foregroundColor(Color.white)             .font(.system(size: 57.5))             .padding(.all)             .background(Color("Colorbutton"))             .cornerRadius(20)             .labelStyle(.titleOnly)                       Spacer()                       HStack {             NavigationLink(destination: Home().navigationBarHidden(true), label: {               Label("Home", systemImage: "house.fill")                 .foregroundColor(Color.white)                 .font(.system(size: 50))                 .padding()                 .background(Color("Colorbutton"))                 .cornerRadius(30)                                   .labelStyle(.iconOnly)             })             Spacer()           }.padding(.leading)           Spacer()         }       }     }   } } struct ScreenView_Previews: PreviewProvider {   static var previews: some View {     ScreenView()   } } How can I fix this issue?
Posted
by su542sa.
Last updated
.
Post marked as solved
5 Replies
1.4k Views
After installing Xcode 14 beta 3, the iOS 15 simulators in my Xcode 13 install seem to have vanished. Adding new ones in the Devices and Simulators window does nothing. Deleting both Xcode installs and installing a fresh copy of Xcode 13.4.1 also didn't help. Seems like I'm not alone: https://twitter.com/mattkiazyk/status/1544761694341451776 https://twitter.com/bourvill/status/1544797153104625664 Anybody have ideas for how to fix? Feedback filed: FB10570079
Posted
by tschmitz.
Last updated
.
Post not yet marked as solved
0 Replies
90 Views
VideoPlayer view crashes the Watch Simulator. But same code works on iOS Simulator. Example code VideoPlayer(player: AVPlayer(url: URL(string: "https://bit.ly/swswift")!)) Error log -AVSystemController- +[AVSystemController sharedInstance]: Failed to allocate AVSystemController. Unable to find class NACVolumeController CoreSimulator 842.8 - Device: 41mm - Runtime: watchOS 9.0 (20R5307f) - DeviceType: Apple Watch Series 7 - 41mm
Posted
by CodeKit.
Last updated
.
Post marked as solved
8 Replies
3.6k Views
My version of Xcode was recently updated to 13.3. Now, I can not launch any simulator. I get an "Unable to Boot the Simulator" error from any iOS 15.4 device. I have deleted all 15.4 devices, and am downloading 15.2 devices to test. Some other sources are reporting this, too, but I saw nothing on the Developer Forums so thought I'd open a question here. Hoping for speedy resolution so I don't have to use Android emulators :(. (I develop on Flutter, which is cross platform)
Posted Last updated
.
Post not yet marked as solved
5 Replies
1.7k Views
I recently upgraded my hardware to 2020 Mac Mini M1 and ported my iOS application to work with XCode 13.2 and iOS 15.x. When I try to test the app on iOS simulator (iPad Air 4th Gen, iPhone 12 Pro Max, iPhon 12 simulators), the swipe gestures are not working. Nothing happens when I try to simulate the swipe using my mouse (I hold the mouse left button, move the mouse and then release the mouse button). Here are the simulator versions: Version 13.2 (972.2) SimulatorKit 613.1 CoreSimulator 783.5 Is this a known issue? Or am I missing something?
Posted
by patait.
Last updated
.
Post not yet marked as solved
5 Replies
239 Views
Every time I work with Xcode Simulator or SwiftUI's Xcode Previews my Mac freezes and reboots. I get below report after restart: panic(cpu 1 caller 0xffffff7fae0e7505): "Submission on work queue 33 failed due to insufficient space!\n" @IGGuC.cpp:2899 Panicked task 0xffffff95219449c0: 4 threads: pid 1358: SimMetalHost Backtrace (CPU 1), panicked thread: 0xffffff9520c88540, Frame : Return Address 0xffffffe5a9882de0 : 0xffffff8015a81c8d 0xffffffe5a9882e30 : 0xffffff8015be1596 0xffffffe5a9882e70 : 0xffffff8015bd0963 0xffffffe5a9882ec0 : 0xffffff8015a21a70 0xffffffe5a9882ee0 : 0xffffff8015a8205d 0xffffffe5a9883000 : 0xffffff8015a81816 0xffffffe5a9883060 : 0xffffff8016315163 0xffffffe5a9883150 : 0xffffff7fae0e7505 0xffffffe5a9883160 : 0xffffff7fae05ecf7 0xffffffe5a9883250 : 0xffffff7fae084844 0xffffffe5a9883280 : 0xffffff7fae08f6e5 0xffffffe5a98832f0 : 0xffffff7fae9d75b7 0xffffffe5a9883330 : 0xffffff7fae06c73d 0xffffffe5a9883350 : 0xffffff7fae06cb5d 0xffffffe5a98833c0 : 0xffffff7fae09b89e 0xffffffe5a98835e0 : 0xffffff7fae070ed4 0xffffffe5a9883620 : 0xffffff7fae9ed118 0xffffffe5a9883650 : 0xffffff7fae070b00 0xffffffe5a9883690 : 0xffffff7fae9ed2a7 0xffffffe5a98836d0 : 0xffffff7fae9ed996 0xffffffe5a9883970 : 0xffffff7fae0714f4 0xffffffe5a98839a0 : 0xffffff7fae9ee8f1 0xffffffe5a9883a30 : 0xffffff7fae9ec94b 0xffffffe5a9883a90 : 0xffffff7fae9ec741 0xffffffe5a9883ae0 : 0xffffff7fae9eb81d 0xffffffe5a9883b20 : 0xffffff7fae071137 0xffffffe5a9883b60 : 0xffffff8016283a8c 0xffffffe5a9883cc0 : 0xffffff8015b872e6 0xffffffe5a9883dd0 : 0xffffff8015a5c9ab 0xffffffe5a9883e60 : 0xffffff8015a731f9 0xffffffe5a9883ef0 : 0xffffff8015bb35aa 0xffffffe5a9883fa0 : 0xffffff8015a22256 Kernel Extensions in backtrace: com.apple.iokit.IOAcceleratorFamily2(462.8)[F0D1B5AF-356A-3F86-8829-8F00218602CB]@0xffffff7fae9a6000->0xffffff7faea10fff dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[2B96E04B-E2A5-3296-AF14-6A766880A652]@0xffffff80171a1000->0xffffff80171c2fff dependency: com.apple.iokit.IOGraphicsFamily(597)[BBEE13AB-2291-37D9-AAE4-9E565E8950A5]@0xffffff7faeb3f000->0xffffff7faeb6dfff dependency: com.apple.iokit.IOPCIFamily(2.9)[654ABF9D-EB24-3B64-AB1C-EC2AC8357192]@0xffffff8018624000->0xffffff801864ffff dependency: com.apple.iokit.IOReportFamily(47)[5578189C-7C1D-3158-B357-F8D6A216DCE1]@0xffffff8018661000->0xffffff8018663fff dependency: com.apple.iokit.IOSurface(302.14)[F0BF8EFA-AA35-37B5-B3AB-A8BCF5E62024]@0xffffff8018794000->0xffffff80187b0fff com.apple.driver.AppleIntelKBLGraphics(18.0.7)[1A72DE92-F799-3EFF-8AD4-B662C53C36AD]@0xffffff7fae059000->0xffffff7fae117fff dependency: com.apple.iokit.IOAcceleratorFamily2(462.8)[F0D1B5AF-356A-3F86-8829-8F00218602CB]@0xffffff7fae9a6000->0xffffff7faea10fff dependency: com.apple.iokit.IOGraphicsFamily(597)[BBEE13AB-2291-37D9-AAE4-9E565E8950A5]@0xffffff7faeb3f000->0xffffff7faeb6dfff dependency: com.apple.iokit.IOPCIFamily(2.9)[654ABF9D-EB24-3B64-AB1C-EC2AC8357192]@0xffffff8018624000->0xffffff801864ffff dependency: com.apple.iokit.IOSurface(302.14)[F0BF8EFA-AA35-37B5-B3AB-A8BCF5E62024]@0xffffff8018794000->0xffffff80187b0fff Process name corresponding to current thread (0xffffff9520c88540): SimMetalHost (iPhone 12: default Boot args: chunklist-security-epoch=0 -chunklist-no-rev2-dev chunklist-security-epoch=0 -chunklist-no-rev2-dev Mac OS version: 21F79 Kernel version: Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64 Kernel UUID: 3C587984-4004-3C76-8ADF-997822977184 KernelCache slide: 0x0000000015800000 KernelCache base: 0xffffff8015a00000 Kernel slide: 0x0000000015810000 Kernel text base: 0xffffff8015a10000 __HIB text base: 0xffffff8015900000 System model name: Macmini8,1 (Mac-7BA5B2DFE22DDD8C) System shutdown begun: NO Hibernation exit count: 0 System uptime in nanoseconds: 2335401059040 Last Sleep: absolute base_tsc base_nano Uptime : 0x0000021fc0c0295e Sleep : 0x000000c429fd13d9 0x00000000bae420b6 0x000000a6581a552b Wake : 0x000000c435bb1b42 0x00000000bae11627 0x000000c4332c18c2 Compressor Info: 24% of compressed pages limit (OK) and 12% of segments limit (OK) with 5 swapfiles and OK swap space Zone info: Zone map: 0xffffff805595c000 - 0xffffffa05595c000 . PGZ : 0xffffff805595c000 - 0xffffff805695d000 . VM : 0xffffff805695d000 - 0xffffff85233c3000 . RO : 0xffffff85233c3000 - 0xffffff86bcc8f000 . GEN0 : 0xffffff86bcc8f000 - 0xffffff8b896f5000 . GEN1 : 0xffffff8b896f5000 - 0xffffff905615b000 . GEN2 : 0xffffff905615b000 - 0xffffff9522bc1000 . GEN3 : 0xffffff9522bc1000 - 0xffffff99ef628000 . DATA : 0xffffff99ef628000 - 0xffffffa05595c000 Metadata: 0xffffffa079aee000 - 0xffffffa099aee000 Bitmaps : 0xffffffa099aee000 - 0xffffffa09caee000 last started kext at 1655076280961: >usb.cdc.acm 5.0.0 (addr 0xffffff7fae81d000, size 12288) last stopped kext at 1766102575761: >usb.serial 6.0.0 (addr 0xffffff7fae893000, size 20480) loaded kexts: AGPM 129 !APlatformEnabler 2.7.0d0 X86PlatformShim 1.0.0 @filesystems.autofs 3.0 !AGFXHDA 140.3 !AUpstreamUserClient 3.6.9 !AMCCSControl 1.16 !ABridgeAudio!C 240.6 !AGraphicsDevicePolicy 6.5.7 BridgeAudioCommunication 240.6 !AAVEBridge 6.1 !A!IKBLGraphics 18.0.7 @AGDCPluginDisplayMetrics 6.5.7 pmtelemetry 1 !A!ICFLGraphicsFramebuffer 18.0.7 |IOUserEthernet 1.0.1 usb.!UUserHCI 1 !A!IPCHPMC 2.0.1 !AHV 1 !ADiskImages2 126.100.13 !A!ISlowAdaptiveClocking 4.0.0 !AThunderboltIP 4.0.3 BCMWLANFirmware4387.Hashstore 1 BCMWLANFirmware4378.Hashstore 1 BCMWLANFirmware4377.Hashstore 1 BCMWLANFirmware4364.Hashstore 1 BCMWLANFirmware4355.Hashstore 1 !AFileSystemDriver 3.0.1 @filesystems.tmpfs 1 @filesystems.lifs 1 @filesystems.hfs.kext 583.100.10 @BootCache 40 @!AFSCompression.!AFSCompressionTypeZlib 1.0.0 @!AFSCompression.!AFSCompressionTypeDataless 1.0.0d1 @filesystems.apfs 1934.121.2 !ABCMWLANBusInterfacePCIeMac 1 !ASDXC 3.2.1 |!ABCM5701Ethernet 11.0.0 @private.KextAudit 1.0 !AACPIButtons 6.1 !ASMBIOS 2.1 !AACPIEC 6.1 !AAPIC 1.7 @!ASystemPolicy 2.0.0 @nke.applicationfirewall 402 |IOKitRegistryCompatibility 1 |EndpointSecurity 1 @Dont_Steal_Mac_OS_X 7.0.0 @kec.!AEncryptedArchive 1 !UMergeNub 900.4.2 IO!BHIDDriver 9.0.0 driverkit.serial 6.0.0 @kext.triggers 1.0 !ASMBus!C 1.0.18d1 !AAudioClockLibs 140.1 !A!ILpssUARTv1 3.0.60 !A!ILpssUARTCommon 3.0.60 !AOnboardSerial 1.0 usb.IOUSBHostHIDDevice 1.2 |IOAudio!F 340.2 @vecLib.kext 1.2.0 !AGraphicsControl 6.5.7 |IONDRVSupport 597 X86PlatformPlugin 1.0.0 .............. Below is my system configuration: Model Name: Mac mini Model Identifier: Macmini8,1 Processor Name: 6-Core Intel Core i5 Processor Speed: 3 GHz Number of Processors: 1 Total Number of Cores: 6 Memory: 8 GB System Version: macOS 12.4 (21F79) Any help would be appreciated, thanks!
Posted Last updated
.
Post not yet marked as solved
1 Replies
217 Views
I tried to setup custom text for my app's push notifications permission alert by setting the NSUserNotificationsUsageDescription key in the info plist. It works flawlessly when I run the app on simulator, but running the app on a physical device still shows the default text provided by Apple. Is this a bug by Apple or am I doing something wrong? I am trying this with Xcode 13.4.1.
Posted Last updated
.
Post not yet marked as solved
7 Replies
4.4k Views
We have an SDK project that contains a static library (.a) with binaries for arm64, armv7 (Device) and x86_64, i386 (Simulator). When we run in M1 Macbooks we are unable to run on arm64 simulators and get the following error: building for iOS Simulator, but linking in file built for iOS Our SDK is built into an XCframework bundle, however this issue still persists. We have tried building the static library into its own XCframework as well by separating the architectures into two different binaries, one for Device and one for Simulator, however we still didn't get it to work. We would like to know if this is a limitation or current issue on Xcode or if there are certain steps we need to follow to get this static library to be supported on arm64 simulators.
Posted
by andre7.
Last updated
.
Post not yet marked as solved
3 Replies
365 Views
Testing my app in an iOS 15.5 simulator with Xcode 14 beta, it crashed hard, locking up my entire laptop. After restarting, it seems that the iOS 15.5 simulator runtime disappeared, and I'm now getting the following error: The com.apple.CoreSimulator.SimRuntime.iOS-15-5 simulator runtime is not available. runtime profile not found Download the com.apple.CoreSimulator.SimRuntime.iOS-15-5 simulator runtime from the Components section in Xcode's Preferences. Unfortunately, Xcode seems to think that I already have the runtime, and no longer gives me the option to download it.
Posted
by zabelc.
Last updated
.
Post not yet marked as solved
1 Replies
451 Views
When embedding a framework in an iOS application I noticed some differing behavior when running on an actual device and simulator which I couldn't find an explanation for anywhere in the documentation. The embedded frameworks are loaded from outside (adjacent) to the app package when running on simulator whereas they are loaded from within the app package, within the Frameworks directory when running on an actual device. Here's a link to an example project which logs the path at which the dylib within the framework is loaded: https://github.com/R4N/simulatorLoadFrameworkExample The sample outputs are as follows: On simulator: /Users/username/Library/Developer/Xcode/DerivedData/simulatorLoadFrameworkExample-gmxyfcrvpmdfgqepjbbysebvysmh/Build/Products/Debug-iphonesimulator/libsimple.dylib On device: /private/var/containers/Bundle/Application/9D22C144-848A-4E40-B5B3-707B1CFD3151/simulatorLoadFrameworkExample.app/Frameworks/libsimple.dylib Is this the correct/expected behavior and if so is there any documentation which references this? These are the documentation pages which I've reviewed so far trying to find an answer/explanation: https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/CreationGuidelines.html https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html#//apple_ref/doc/uid/10000123i-CH101-SW1 https://developer.apple.com/library/archive/technotes/tn2435/_index.html
Posted
by R4N.
Last updated
.
Post not yet marked as solved
5 Replies
7.8k Views
Running an XCode 12, iPhone 12, iOS 14.3 emulator and receiving this error: Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x35effaa3 2bab3fa8 68f8c96b cd17d15e ... 9bf8f6b7 fd486754 }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0xe14e0f7b 39a9580e 8e4762c4 846107dc ... 21618def 3c69a5ae }} This is preventing us from using 'axios' in order to sign into our application. Is there a solution to this issue? What are the steps to remedy?
Posted
by JKeane00.
Last updated
.
Post not yet marked as solved
1 Replies
144 Views
When building the app the simulator does not launch as it previously did, using the latest version on an intel MacBook Pro 2020. I have factory reset the Mac several times and reinstalled Xcode numbers times and have reverted back to previous version which has not worked. Not had any assistance from this community previously can anyone assist me with this now?
Posted
by Timborob.
Last updated
.
Post not yet marked as solved
1 Replies
1.5k Views
Hello everyone, MacBook Air M1 2020: For two months I can not use the simulator because I get an error after the build: I tried launching from different versions IOS (14.3 / 14.0), but every time I open the app from simulator I get this error: 2021-02-05 14:30:25.825935+0100 MyApp[56865:1895569] [db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x64ffa485 dd556ca7 e49bc38c da04e080 ... e817a119 c3dad3ce }, _LSLine=405, WrongSimulatorHash={length = 32, bytes = 0xf74b7cf2 146c7320 f164d932 556def6c ... e5c99aa7 f132eec7 }} This error is repeated 6-8 times per application opening. After opening, I see a white screen of the application. I tried to run a project on MacBook with processor Intel, and this problem does not arise. I also tried to download the Xcode 12.5 beta but nothing changed. Does anyone have a solution to this problem? ASAP, Thanks
Posted
by aleh1317.
Last updated
.
Post not yet marked as solved
0 Replies
83 Views
In my app I had created a initial vc, but I didn't really liked the design I've done so I changed it to a new one. Now the simulator is showing me the old design for a little while, and then it goes to the proper new one. How do I make the old one disappear? (I deleted the file of the old one )
Posted Last updated
.
Post not yet marked as solved
3 Replies
708 Views
We have enterprise proxy server which needs authentication. This setup works with our domain certs trusted and installed on Simulator prior to iOS 15. Starting with Xcode 13 and 13.1, we see the app crashes on launch with below logs and backtrace. Attaching crash traces as well. Wealth_2021-12-01-143512_MAC1353916.crash This works fine on device and only crashing on simulator 2021-12-01 14:42:39.690784-0500 ***[10849:4420774] [] nw_http_connect_send_auth_request_block_invoke Proxy authentication failed with error -1001, cancelling connection 2021-12-01 14:42:39.724505-0500 ***[10849:4420774] [] nw_http_connect_send_auth_request_block_invoke Proxy authentication failed with error -1001, cancelling connection 2021-12-01 14:42:39.740723-0500 ***[10849:4420774] [] nw_http_connect_send_auth_request_block_invoke Proxy authentication failed with error -1001, cancelling connection (lldb) bt thread #31, queue = 'com.apple.network.connections', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT) frame #0: 0x00007fff22803c88 libnetwork.dylib__nw_http_connect_restart_after_disconnect_block_invoke + 280 frame #1: 0x000000011453ca28 libdispatch.dylib_dispatch_call_block_and_release + 12 frame #2: 0x000000011453dc0c libdispatch.dylib_dispatch_client_callout + 8 frame #3: 0x0000000114546af9 libdispatch.dylib_dispatch_workloop_invoke + 2849 frame #4: 0x000000011455159b libdispatch.dylib_dispatch_workloop_worker_thread + 900 frame #5: 0x00007fff6bfeb45d libsystem_pthread.dylib_pthread_wqthread + 314 frame #6: 0x00007fff6bfea42f libsystem_pthread.dylib`start_wqthread + 15
Posted
by JCAppUser.
Last updated
.
Post not yet marked as solved
11 Replies
4.9k Views
I signed out of iCloud in the iPhone 8 Simulator, and it has shown the screen saying "Removing iCloud data..." showing that it's working for a few hours now. When it did this before, I shut down the Simulator and when I opened the Simulator again, it shows that it never logged out of iCloud.
Posted Last updated
.
Post not yet marked as solved
1 Replies
220 Views
I'm attempting to authorize family controls as .individual in the latest Xcode 14 beta (14A5228q). do { try await AuthorizationCenter.shared.requestAuthorization(for: .individual) } catch { print(error.localizedDescription) dump(error) } Running this on the iPhone 13 Simulator (iOS 16), it throws the following error: The operation couldn’t be completed. (FamilyControls.FamilyControlsError error 3.) - Error Domain=FamilyControls.FamilyControlsError Code=3 "(null)" #0 - super: NSObject I have a dedicated App ID and have enabled the "Family Controls" capability. An Apple Systems Engineer suggested in this thread that "Requesting FamilyControls authorization on Simulator is supported by the ScreenTime API", although they don't say whether it actually works or not. The rest of the thread seems to suggest people are also having issues when running on a physical device so I'm reluctant to install the iOS 16 Beta as I use my phone daily for work projects. Is this FamilyControls authorization supposed to work in Simulator and are there any special considerations when authorizing as .individual?
Posted
by philtre.
Last updated
.