Thanks for the pointer, but it seems the last post was from over a month ago. Maybe a bump in that thread may get them to look at it again.
Post
Replies
Boosts
Views
Activity
Please refresh my memory,
What is the official way of submitting a bug issue to Apple Dev?
Looks like it's been fixed in Beta 4. So that doesn't solve my problem with the simulator. But it's been added in Beta 4
XCode Beta 4 supports earlier simulators but you have to go into Preferences > Simulators and explicitly download the 13.x ones you want.
Look at the console output. My guess is that you will see message like this pop up about 1 every 3-4 seconds. That is what is causing the long load times. It doesn't happen on a real device, but only on the simulators for iOS 13 & 14.
2020-08-09 20:53:24.798020-0400 HS4[19985:1381381] libMobileGestalt MobileGestaltCache.c:38: No persisted cache on this platform.
2020-08-09 20:53:30.748666-0400 HS4[19985:1380170] HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10004003
2020-08-09 20:53:35.749000-0400 HS4[19985:1380170] HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10004003
2020-08-09 20:53:35.749352-0400 HS4[19985:1380170] HALDefaultDevice::Initialize: couldn't add the default input device listener, Error: 268451843 (\^P)
2020-08-09 20:53:40.750540-0400 HS4[19985:1380170] HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10004003
2020-08-09 20:53:40.750906-0400 HS4[19985:1380170] HALDefaultDevice::Initialize: couldn't add the default output device listener, Error: 268451843 (\^P)
2020-08-09 20:53:45.752149-0400 HS4[19985:1380170] HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10004003
2020-08-09 20:53:45.752563-0400 HS4[19985:1380170] HALDefaultDevice::Initialize: couldn't add the default system output device listener, Error: 268451843 (\^P)
2020-08-09 20:53:50.753751-0400 HS4[19985:1380170] HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10004003
2020-08-09 20:53:50.753981-0400 HS4[19985:1380170] HALDefaultDevice::Initialize: couldn't add the default shared output device listener, Error: 268451843 (\^P)
2020-08-09 20:53:50.754989-0400 HS4[19985:1380170] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600003634e60> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2020-08-09 20:53:50.756684-0400 HS4[19985:1380170] Error loading /Library/Audio/Plug-Ins/HAL/BartenderAudioPlugIn.plugin/Contents/MacOS/BartenderAudioPlugIn: dlopen(/Library/Audio/Plug-Ins/HAL/BartenderAudioPlugIn.plugin/Contents/MacOS/BartenderAudioPlugIn, 262): no suitable image found. Did find:
/Library/Audio/Plug-Ins/HAL/BartenderAudioPlugIn.plugin/Contents/MacOS/BartenderAudioPlugIn: mach-o, but not built for platform iOS-sim
2020-08-09 20:53:50.756915-0400 HS4[19985:1380170] [plugin] Cannot find function pointer NewSHPPlugIn for factory <CFUUID 0x600003634500> 834FC054-C1CC-11D6-BD01-00039315CD46 in CFBundle/CFPlugIn 0x7fa565019c70 </Library/Audio/Plug-Ins/HAL/BartenderAudioPlugIn.plugin> (bundle, not loaded)
2020-08-09 20:53:50.757190-0400 HS4[19985:1380170] AudioObjectSetPropertyData: no object with given ID 0
2020-08-09 20:53:50.757379-0400 HS4[19985:1380170] 83: Failed to set processVolumeScalar on device. Error: 560947818
2020-08-09 20:53:55.924562-0400 HS4[19985:1382805] HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10004003
2020-08-09 20:53:55.925082-0400 HS4[19985:1382805] HALCADClient::GetPropertyData: unknown property
2020-08-09 20:53:55.925347-0400 HS4[19985:1382805] [ddagg] AggregateDevice.mm:800 couldn't get default input device, ID = 0, err = 0!
2020-08-09 20:54:00.927012-0400 HS4[19985:1382805] HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10004003
2020-08-09 20:54:00.927255-0400 HS4[19985:1382805] HALCADClient::GetPropertyData: unknown property
2020-08-09 20:54:00.927365-0400 HS4[19985:1382805] [ddagg] AggregateDevice.mm:800 couldn't get default output device, ID = 0, err = 0!
2020-08-09 20:54:00.927567-0400 HS4[19985:1382805] [aqme] 352: error -66680 finding/initializing Device.AQDefaultDevice
2020-08-09 20:54:00.927709-0400 HS4[19985:1382805] 111: * * * NULL AQIONode object
2020-08-09 20:54:00.927757-0400 HS4[19985:1380170] [aqme] 352: error -66680 finding/initializing Device.AQDefaultDevice
2020-08-09 20:54:00.927858-0400 HS4[19985:1382805] 848: Can't make UISound Renderer
2020-08-09 20:54:00.927847-0400 HS4[19985:1380170] [AQ] 1899: failed (-66680); will stop (12000/0 frames)
2020-08-09 20:54:00.928927-0400 HS4[19985:1380170] AudioDeviceStop: no device with given ID
2020-08-09 20:54:00.929094-0400 HS4[19985:1380170] [aqme] 352: error -66680 finding/initializing Device.AQDefaultDevice
2020-08-09 20:54:00.929225-0400 HS4[19985:1380170] [AQ] 1899: failed (-66680); will stop (12000/0 frames)
2020-08-09 20:54:00.997159-0400 HS4[19985:1382805] [] nwprotocolgetquicimageblockinvoke dlopen libquic failed
I am getting the exact same error in the IOS 13 & 14 simulators in Xcode Beta's 3 & 4!
It is not only related to the watch.
I can also confirm that this is still there in Beta 4. Audioplayer init causes these errors in the simulator.
Warning: Error creating LLDB target at path '/Users/MyDeveloperPath/Temp/Build/Homeseer-ffffjqolyjxrnlbnuhehzjfmpmws/Build/Products/Debug-iphonesimulator/HS4.app'- using an empty LLDB target which can cause slow memory reads from remote devices.
2020-08-09 20:53:24.798020-0400 HS4[19985:1381381] libMobileGestalt MobileGestaltCache.c:38: No persisted cache on this platform.
2020-08-09 20:53:30.748666-0400 HS4[19985:1380170]	HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10004003
2020-08-09 20:53:35.749000-0400 HS4[19985:1380170]	HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10004003
2020-08-09 20:53:35.749352-0400 HS4[19985:1380170]	HALDefaultDevice::Initialize: couldn't add the default input device listener, Error: 268451843 (\^P)
2020-08-09 20:53:40.750540-0400 HS4[19985:1380170]	HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10004003
2020-08-09 20:53:40.750906-0400 HS4[19985:1380170]	HALDefaultDevice::Initialize: couldn't add the default output device listener, Error: 268451843 (\^P)
2020-08-09 20:53:45.752149-0400 HS4[19985:1380170]	HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10004003
2020-08-09 20:53:45.752563-0400 HS4[19985:1380170]	HALDefaultDevice::Initialize: couldn't add the default system output device listener, Error: 268451843 (\^P)
2020-08-09 20:53:50.753751-0400 HS4[19985:1380170]	HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10004003
2020-08-09 20:53:50.753981-0400 HS4[19985:1380170]	HALDefaultDevice::Initialize: couldn't add the default shared output device listener, Error: 268451843 (\^P)
2020-08-09 20:53:50.754989-0400 HS4[19985:1380170] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600003634e60> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2020-08-09 20:53:50.756684-0400 HS4[19985:1380170] Error loading /Library/Audio/Plug-Ins/HAL/BartenderAudioPlugIn.plugin/Contents/MacOS/BartenderAudioPlugIn:	dlopen(/Library/Audio/Plug-Ins/HAL/BartenderAudioPlugIn.plugin/Contents/MacOS/BartenderAudioPlugIn, 262): no suitable image found.	Did find:
/Library/Audio/Plug-Ins/HAL/BartenderAudioPlugIn.plugin/Contents/MacOS/BartenderAudioPlugIn: mach-o, but not built for platform iOS-sim
2020-08-09 20:53:50.756915-0400 HS4[19985:1380170] [plugin] Cannot find function pointer New_SHP_PlugIn for factory <CFUUID 0x600003634500> 834FC054-C1CC-11D6-BD01-00039315CD46 in CFBundle/CFPlugIn 0x7fa565019c70 </Library/Audio/Plug-Ins/HAL/BartenderAudioPlugIn.plugin> (bundle, not loaded)
2020-08-09 20:53:50.757190-0400 HS4[19985:1380170]	AudioObjectSetPropertyData: no object with given ID 0
2020-08-09 20:53:50.757379-0400 HS4[19985:1380170] 83: Failed to set processVolumeScalar on device. Error: 560947818
2020-08-09 20:53:55.924562-0400 HS4[19985:1382805]	HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10004003
2020-08-09 20:53:55.925082-0400 HS4[19985:1382805]	HALCADClient::GetPropertyData: unknown property
2020-08-09 20:53:55.925347-0400 HS4[19985:1382805] [ddagg]				AggregateDevice.mm:800	 couldn't get default input device, ID = 0, err = 0!
2020-08-09 20:54:00.927012-0400 HS4[19985:1382805]	HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10004003
2020-08-09 20:54:00.927255-0400 HS4[19985:1382805]	HALCADClient::GetPropertyData: unknown property
2020-08-09 20:54:00.927365-0400 HS4[19985:1382805] [ddagg]				AggregateDevice.mm:800	 couldn't get default output device, ID = 0, err = 0!
2020-08-09 20:54:00.927567-0400 HS4[19985:1382805] [aqme] 352: error -66680 finding/initializing Device.AQDefaultDevice
2020-08-09 20:54:00.927709-0400 HS4[19985:1382805] 111: * * * NULL AQIONode object
2020-08-09 20:54:00.927757-0400 HS4[19985:1380170] [aqme] 352: error -66680 finding/initializing Device.AQDefaultDevice
2020-08-09 20:54:00.927858-0400 HS4[19985:1382805] 848: Can't make UISound Renderer
2020-08-09 20:54:00.927847-0400 HS4[19985:1380170] [AQ] 1899: failed (-66680); will stop (12000/0 frames)
2020-08-09 20:54:00.928927-0400 HS4[19985:1380170]	AudioDeviceStop: no device with given ID
2020-08-09 20:54:00.929094-0400 HS4[19985:1380170] [aqme] 352: error -66680 finding/initializing Device.AQDefaultDevice
2020-08-09 20:54:00.929225-0400 HS4[19985:1380170] [AQ] 1899: failed (-66680); will stop (12000/0 frames)
2020-08-09 20:54:00.997159-0400 HS4[19985:1382805] [] nw_protocol_get_quic_image_block_invoke dlopen libquic failed
code-block
Well this stinks since it's been broken since Beta3. I upgraded my phone to IOS14 yesterday and was wondering why audio and even UISwitches were not working and wonky.
Testing in the IOS 13.5 simulator is not a workaround as we're developing code for IOS 14!
I will file another feedback bug item.
If you want to have the most control of all of features and function available, Objective-C is the way to go. Swift was developed for exactly the way it was named, a fast. lazy way to code. You trade off quick coding for detailed control. If you need deep attributes or control, Swift falls short by a long shot.
We have 10's of thousands lines of Objective-C code and they work flawlessly. About the only drawback you will find is that if you are stuck on a problem, most everyone around (on Stack Overflow, etc.) will give answer and examples in Swift. You sort of have to divine the correct syntax in Obj-c.
I'll hire a developer that knows Swift but they won't pass muster if they cannot truly understand the real innards of Objective-C. They just won't last.
The watch, and Apple's first documentation of new features and examples of code in Swift certainly doesn't help.
A good analogy (as I'm rather old) if you want real control of everything in a System 370/z-server mainframe then System 370 assembler is to PL/1 as Objective-C is to Swift.
Dating myself here. And yes, I got started in writing complex and expensive mainframe utility products in the early 80 all in System 370 assembler. No way could you get to the internal system calls, or manipulate down to the word and bit level in the higher level languages. ;)
I bet you know all know why my ID ends in "370". It's where I made all my money in my early years enough to buy my own airplane and startup a few companies. The products sold for 100's of thousands to millions of dollars and the developers got a commission on the GrossSales, not Net, of each of their product sale! With that money we supported the hell out of the customer including flying up to them to personally look at problems. Tell me today which companies will send the original author of the code to the customer to debug an issue.
The parking lot in those days was filled with BMW's and Mercedes. I drove an Explorer because we have lots of dogs so we need a DRV (Dog Relocation Vehicle)! ;)
OK, I've lobbed the hand grenade, go at it folks! LOL
Glad to see this. I've been having the same XCode lags in clicking in the same place (like a forward arrow in a search) and spinning wheels of death at times, but if you wait long enough it straitens itself out.
Running Beta 2 and waiting for Beta 3 feedback. This may be the trigger for me to install Beta 3.
Thanks