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
1 Replies
796 Views
I've been having a problem for a few hours now and I can't figure out where it's coming from... The error that appears at the end of my Xcode build when launching the application on the simulator: Failed to load Info.plist from bundle at path Library/Developer/CoreSimulator/Devices/04F64287-.../data/Library/Caches/PATH ABOUT MY APP HERE/Frameworks/RCTVibration.framework; Couldn't stat Library/Developer/CoreSimulator/Devices/04F64287-.../data/Library/Caches/PATH ABOUT MY APP HERE/RCTVibration.framework/Info.plist: No such file or directory I have tried several times: Pod deintegrate && pod install Delete node_modules Clean build folder Restart my computer Reclone my project Erase my simulators multiple times Erase Derived Data from Xcode XCode cleanly with the temporary/cache files and reinstalled taking care to delete all the data from the simulators before compiling Here is my Podfile: require_relative '../node_modules/react-native/scripts/react_native_pods' require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' platform :ios, '11.0' target 'X' do config = use_native_modules! use_frameworks! # Convert all permission pods into static libraries pre_install do |installer| Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {} installer.pod_targets.each do |pod| if pod.name.eql?('RNPermissions') || pod.name.start_with?('Permission-') || pod.name.eql?('RNScreens') def pod.build_type; Pod::BuildType.static_library # >= 1.9 end end end end pod 'X' pod 'Firebase/Crashlytics' # Recommended: Add the Firebase pod for Google Analytics pod 'Firebase/Analytics' use_react_native!( :path => config[:reactNativePath] ) rn_maps_path = '../node_modules/react-native-maps' # pod 'react-native-google-maps', :path => rn_maps_path pod 'GoogleMaps' pod 'Google-Maps-iOS-Utils' permissions_path = '../node_modules/react-native-permissions/ios' pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications" pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse" post_install do |installer| react_native_post_install(installer) installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES' end if (target.name&.eql?('FBReactNativeSpec')) target.build_phases.each do |build_phase| if (build_phase.respond_to?(:name) && build_phase.name.eql?('[CP-User] Generate Specs')) target.build_phases.move(build_phase, 0) end end end end end end None of these manipulations worked so I'm interested if you have any ideas Thanks you!
Posted
by DanyT99.
Last updated
.
Post not yet marked as solved
0 Replies
133 Views
Getting error while making a call from ios simulator .. This is happening only on ios simulator but same connection works fine from the mobile. Event when I open https://google.com on safari on ios simulator, it throws This connection is not private 2022-06-18 21:41:57.534885-0400 EventTrackerDemo[38468:3017232] Connection 10: default TLS Trust evaluation failed(-9807) 2022-06-18 21:41:57.534977-0400 EventTrackerDemo[38468:3017232] Connection 10: TLS Trust encountered error 3:-9807 2022-06-18 21:41:57.535056-0400 EventTrackerDemo[38468:3017232] Connection 10: encountered error(3:-9807) 2022-06-18 21:41:57.535561-0400 EventTrackerDemo[38468:3017232] Task .<4> HTTP load failed, 0/0 bytes (error code: -1202 [3:-9807]) 2022-06-18 21:41:57.537985-0400 EventTrackerDemo[38468:3016915] Task .<4> finished with error [-1202] Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “.com, NSErrorPeerCertificateChainKey=( "<cert(0x1500c1400) s: xxxxxxxxxx.xxxxx.com i: Zscaler Intermediate Root CA (zscalertwo.net) (t) >", "<cert(0x1500c0c00) s: Zscaler Intermediate Root CA (zscalertwo.net) (t) i: Zscaler Intermediate Root CA (zscalertwo.net)>", "<cert(0x1500bfa00) s: Zscaler Intermediate Root CA (zscalertwo.net) i: Zscaler Root CA>" ), NSErrorClientCertificateStateKey=0, NSErrorFailingURLKey=https://.com/, NSErrorFailingURLStringKey=https://*****.com/, NSUnderlyingError=0x60000265d200 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x6000019ac000>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9807, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9807, kCFStreamPropertySSLPeerCertificates=( "<cert(0x1500c1400) s: .com i: Zscaler Intermediate Root CA (zscalertwo.net) (t) >", "<cert(0x1500c0c00) s: Zscaler Intermediate Root CA (zscalertwo.net) (t) i: Zscaler Intermediate Root CA (zscalertwo.net)>", "<cert(0x1500bfa00) s: Zscaler Intermediate Root CA (zscalertwo.net) i: Zscaler Root CA>" )}}, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask .<4>" ), _kCFStreamErrorCodeKey=-9807, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask .<4>, NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x6000019ac000>, NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “.****.com” which could put your confidential information at risk.}
Posted
by pmogali.
Last updated
.
Post not yet marked as solved
5 Replies
1.5k Views
I search places with the MKLocalSearchCompleter and refine the results when the tableView cell is selected. When a MKLocalSearchCompletion is selected and MKLocalSearch.Request() is started, I get these Errors (example selects Los Angeles):  According to my research this is a very rare problem?! [SearchAttribution] No matching attribution source found for org.volunteermatch ... (+4 other domains) Error loading attribution info for identifier org.volunteermatch from geod: Error Domain=GEOErrorDomain Code=-8 "No matching attribution source found for org.volunteermatch" UserInfo={NSDebugDescription=No matching attribution source found for org.volunteermatch} ... (+4 other domains) These are the instance variables in a TableViewController: var searchCompleter = MKLocalSearchCompleter() var searchResults = [MKLocalSearchCompletion]() This code is running everytime the search term is changed: searchCompleter.queryFragment = text searchCompleter.resultTypes = .address searchCompleter.region = region In tableView … didSelectRowAt… this code is executed: let selectedItem = searchResults[indexPath.row] let searchRequest = MKLocalSearch.Request() searchRequest.naturalLanguageQuery = selectedItem.title searchRequest.resultTypes = .address let search = MKLocalSearch(request: searchRequest) search.start { (response, error) in guard let coordinate = response?.mapItems[0].placemark.coordinate else { return } // send to mainVC self.delegate?.userSelectedPlace(coordinate: coordinate) }
Posted Last updated
.
Post not yet marked as solved
0 Replies
105 Views
When I start a simulator from Xcode 14, I immediately get two diagnosticd processes starting the fans to warm the house. So much (>70% CPU) that the sim is essentially unusable. Looking in Console it looks like apsd is responsible, the culprit seems to be that the certificate store is missing/unsafe. I'm on a 2018 MacBook Pro with touch ID but obviously not Apple Sillicon. I "solved" this by pausing apsd: killall -STOP apsd See log excerpt below. standaard 12:28:19.257217+0200 apsd copyTokenForDomain sandbox.push.apple.com (null) standaard 12:28:19.257874+0200 apsd copyTokenForDomain sandbox.push.apple.com (null) standaard 12:28:19.258404+0200 apsd <APSCourier 0x7fcdfbc04960 development> Sending presence message for deviceToken with token NO on interface: NonCellular standaard 12:28:19.258511+0200 apsd Could not get certificate from simulator with error Error Domain=SimIdentityErrorDomain Code=100 "Connection invalid" UserInfo={NSLocalizedDescription=Connection invalid}! Aborting... standaard 12:28:19.278525+0200 apsd nw_socket_handle_socket_event [C333.1.1:3] Socket received READ_CLOSE event standaard 12:28:19.278621+0200 apsd Connection 333: final read 0:0, complete[Y], final[N] standaard 12:28:19.278685+0200 apsd Connection 333: read-side closed fout 12:28:19.278722+0200 apsd Connection 333: missing error, so heuristics synthesized error(1:53)
Posted Last updated
.
Post not yet marked as solved
9 Replies
4.4k Views
I have an app that just started becoming unresponsive. I just updated my Mac to 12.3 and Xcode to 13.3. When compiling my iOS app for iPhone and iPad, it deploys just fine to devices. But, when running in the Simulator the UI stops functioning after a few renders. No input seems to be received, no renders are happening. In the log I see this message: [UIFocus] Failed to update focus with context <UIFocusUpdateContext: 0x60000081a8a0: previouslyFocusedItem=(null), nextFocusedItem=(null), focusHeading=None>. No additional info available. What is causing this only for the Simulator? (I saw another thread with similar-looking questions.) I even created a completely new Xcode Project, and though the UI is still responsive, in the logs I see: [UIFocus] Failed to update focus with context <UIFocusUpdateContext: 0x6000025aa940: previouslyFocusedItem=(null), nextFocusedItem=(null), focusHeading=None>. No additional info available. [UIFocus] Deferring focus update to item <SwiftUI.ListTableViewCell: 0x7fd632846a00>. No additional info available. [UIFocus] Failed to update focus with context <UIFocusUpdateContext: 0x6000025a5fe0: previouslyFocusedItem=(null), nextFocusedItem=(null), focusHeading=None>. No additional info available. [UIFocus] Deferring focus update to item <SwiftUI.ListTableViewCell: 0x7fd63284ca00>. No additional This feels like a relatively new error I haven't seen before.
Posted Last updated
.
Post not yet marked as solved
5 Replies
2.8k Views
I'm working on an app, and it not working after updating ios to 15.1, when running the app on the simulator can't find version IOS 15.1, I tried to add a new simulator but no ios version 15.1 was found my app is stuck on this and can't be uploaded to the store
Posted
by AzzaGar.
Last updated
.
Post not yet marked as solved
1 Replies
137 Views
Initially ios simulator was working find but now it is not working and giving below error on opening: Translated Report (Full Report Below) Process: Simulator [7809] Path: /Applications/Simulator.app/Contents/MacOS/Simulator Identifier: com.apple.iphonesimulator Version: 13.4.1 (977.2) Build Info: Indigo-977002000000000~78 Code Type: X86-64 (Translated) Parent Process: launchd [1] User ID: 501 Date/Time: 2022-06-15 10:51:05.6178 +0530 OS Version: macOS 12.4 (21F79) Report Version: 12 Anonymous UUID: 79A3D6F2-CFC5-CF11-956F-2E064637E874 Time Awake Since Boot: 2000 seconds System Integrity Protection: enabled Crashed Thread: 0 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: Namespace DYLD, Code 1 Library missing Library not loaded: @rpath/SimulatorKit.framework/Versions/A/SimulatorKit Referenced from: /Applications/Simulator.app/Contents/MacOS/Simulator Reason: tried: '/usr/lib/swift/SimulatorKit.framework/Versions/A/SimulatorKit' (no such file), '/usr/lib/swift/SimulatorKit.framework/Versions/A/SimulatorKit' (no such file), '/Applications/Simulator.app/Contents/MacOS/../../../../../Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit' (no such file), '/Applications/Simulator.app/Contents/MacOS/../../../../../Frameworks/SimulatorKit.framework/Versions/A/SimulatorKit' (no such file), '/Applications/Simulator.app/Contents/MacOS/../Frameworks/SimulatorKit.framework/Versions/A/SimulatorKit' (no such file), '/usr/lib/swift/SimulatorKit.framework/Versions/A/SimulatorKit' (no such file), '/usr/lib/swift/SimulatorKit.framework/Versions/A/SimulatorKit' (no such file), '/Applications/Simulator.app/Contents/MacOS/../../../../../Developer/Library/PrivateFrameworks/SimulatorKit.framework/Version (terminated at launch; ignore backtrace) ...
Posted Last updated
.
Post not yet marked as solved
1 Replies
181 Views
I have updated my mac OS from Big Sur(11) to Monterey(12.3.1) and I downloaded the latest Xcode version(13.3.1) but after this update, I can't able to see the simulator on the Develop menu under Safari. Can anyone help me with this?
Posted
by RanKal.
Last updated
.
Post not yet marked as solved
0 Replies
129 Views
I am running my app with device: "My Mac (Designed for iPad)". I am trying to debug a problem where the iPad does not seem to detect when I grant permission to receive push notifications. This issue is only reproduceable on a physical iPad, not on a simulator. I do not have an actual iPad. I am testing with the new feature which makes the M1 simulate a physical iPad (which can use the camera and microphone), and get push notifications. I was able to reproduce the issue by running the app with the option "My Mac (Designed for iPad)". However, I cannot find the way to reset the cache of the app and completely delete it from my M1. Whenever I re-run (after cleaning Xcode and derived data directory), I do not get prompted for the notifications again and it seems to be getting the answers I replied the first time, i.e. it has push notifications accepted and the user is still signed in. Is there a way to somehow reset the cache, delete the app from the M1 (or something else) and run the app fresh whenever I want? By the way, I am using XCode 13.3 MacOS 12.2 Thanks in advance.
Posted Last updated
.
Post not yet marked as solved
18 Replies
4.1k Views
Hello, I'm experiencing a weird issue on the iOS 15 simulator (unfortunately I don't have a device with 15 installed yet). The issue I see is that the call to SecItemAdd returns OSStatus -25293 (errSecAuthFailed). The attributes dictionary passed looks like this: var query: [String : Any] = [ kSecClass as String: kSecClassGenericPassword, kSecAttrAccount as String: key, kSecAttrService as String: service, kSecAttrAccessControl as String: getSecAccessControl(), kSecUseAuthenticationContext as String: context, kSecValueData as String: data         ] the getSecAccessControl returns a SecAccessControl created like this:         access = SecAccessControlCreateWithFlags(nil,   kSecAttrAccessibleWhenUnlockedThisDeviceOnly,   .userPresence,   &amp;error) if I do not add the kSecAttrAccessControl item I don't see any error. The same code works as expected on the simulator with iOS 14. Looking at the documentation didn't help, anybody has hints about this? Maybe it's bug I'm not aware of? Thank you in advance
Posted
by AlessioP.
Last updated
.
Post not yet marked as solved
5 Replies
47k Views
Before Catalina, we used to be able to drag the .ipa file into iTunes with a device attached.Now that iTunes is gone, dragging into 'Music' did not do anything.Thoughts?
Posted
by hishak.
Last updated
.
Post not yet marked as solved
1 Replies
198 Views
Hey everyone! I'm starting a new Multiplatform application with Core Data and CloudKit checked off. Before continuing I want to make sure the data is persisting between devices BUT can't figure out how to test that with the simulator. I can run the app on my Mac (under my apple account), can't run it on my phone (didn't download the beta), and when I try to log into the simulator with my Apple ID it gives me a "Verification Failed - An unknown error occurred". How do you test synced data between simulated devices???
Posted Last updated
.
Post not yet marked as solved
3 Replies
2.3k Views
macOS Version 10.15.3 Beta (19D49f)Xcode Version 11.3When the iOS simulator is activated all that appears is a blank screen with "Hello, World!" in the center.The time, location services icon, celular, wifi signal and battery level icons are visibly as well as the bar at the bottom edge and "Hello, World!" in the center of the screen.The simulator is responsive, in the sense that I can swipe up from the the bottom edge to minimize or close the app environment, however, they are the only controls that are functional.When you minimize or close the app, the simulator environment seems to be functioning correctly i.e. you can swipe through to the home screen and see/manipulate the other apps in the environment.I have attempted to run the simulator separately on both my MacBook and on my iPhone 11 Pro Max Version 13.3.1 however, the only difference is, when I attemt the simulator on my iPhone I can see the screen I am attempting to test briefly for a split second just before the app morphs opened from the apps icon to then cover the entire screen and displays the information I described earlier.Can anybody possibly assist in solving this matter?
Posted
by DUENNO.
Last updated
.
Post not yet marked as solved
8 Replies
9.6k Views
I am out of sudden encountering this error when I try to build my app. Nothing changed in my app (I am using git) and I was able to build and run my app in simulator just yesterday. However, today trying to use simulator stopped working.This is what happened:I loaded my app in XCode and tried running it in simulator like every other dayXCode was saying "Attaching to simulator" or so but that would take forever and simulator would only show black screenEventually I got this error "/Users/dinob/Desktop/work/ios/Todoey-iOS13/Todoey/Supporting Files/Base.lproj/LaunchScreen.storyboard:1:1: Encountered an error communicating with IBAgent-iOS."The log shows it too================================= DATE:=================================Sunday, February 2, 2020 at 10:21:24 Pacific Standard Time2020-02-02 18:21:24 +0000================================= XCODE VERSION INFO:=================================Version = 11.3.1 (11C504)Plugin Version = 15705Beta Version = 1OS Version = 10.15.3 (19D76)================================= ERROR:=================================Encountered an error communicating with IBAgent-iOS. (Failure reason: IBAgent-iOS (853) failed to launch and exited with status 6): Failed to launch IBAgent-iOS via CoreSimulator spawn: Failed to handshake with platform tool (Failure reason: Failed to keep platform tool alive): Failed to keep launch platform tool and keep alive: Failed to communicate with helper tool (Failure reason: The tool closed the connection)Error Domain=com.apple.InterfaceBuilder Code=-1 "Encountered an error communicating with IBAgent-iOS." UserInfo={NSLocalizedFailureReason=IBAgent-iOS (853) failed to launch and exited with status 6, NSUnderlyingError=0x7ffd09fab010 {Error Domain=com.apple.InterfaceBuilder Code=-1 "Failed to launch IBAgent-iOS via CoreSimulator spawn" UserInfo={NSLocalizedDescription=Failed to launch IBAgent-iOS via CoreSimulator spawn, NSUnderlyingError=0x7ffd09fc6170 {Error Domain=com.apple.InterfaceBuilder Code=-1 "Failed to handshake with platform tool" UserInfo={NSLocalizedFailureReason=Failed to keep platform tool alive, NSLocalizedDescription=Failed to handshake with platform tool, NSUnderlyingError=0x7ffd09fd0720 {Error Domain=com.apple.InterfaceBuilder Code=-1 "Failed to keep launch platform tool and keep alive" UserInfo=0x7ffd0c1037c0 (not displayed)}}}}}, NSLocalizedRecoverySuggestion=Please check Console.app for crash reports for "IBAgent-iOS" for further information., NSLocalizedDescription=Encountered an error communicating with IBAgent-iOS.}================================= TOOL DESCRIPTION:=================================&lt;IBCocoaTouchPlatformToolDescription: 0x7ffd07695b10&gt; {| targetRuntime.identifier: IBCocoaTouchFramework-ThirteenAndLater| _roleString: System content| deviceTypeDescription: &lt;IBSimulatorDeviceTypeDescription: 0x7ffd086e3540&gt; deviceType=com.apple.CoreSimulator.SimDeviceType.iPhone-XR}================================= LAUNCH CONTEXT:=================================&lt;IBCocoaTouchToolLaunchContext: 0x7ffd06f7e080&gt; {| toolDescription.ib_verboseDescription: &lt;IBCocoaTouchPlatformToolDescription: 0x7ffd07695b10&gt; {| | targetRuntime.identifier: IBCocoaTouchFramework-ThirteenAndLater| | _roleString: System content| | deviceTypeDescription: &lt;IBSimulatorDeviceTypeDescription: 0x7ffd086e3540&gt; deviceType=com.apple.CoreSimulator.SimDeviceType.iPhone-XR| }| launchPath: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Overlays/IBAgent-iOS| frameworkSearchPaths: ( "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks")| toolName: IBAgent-iOS| platformName: iphonesimulator| applicationTool: 0| processIdentifier: 853| exitStatus: 6| signalStatus: (null)}================================= EXECUTION CONTEXT:=================================&lt;IBSimulatorToolCoreSimulatorBootedCLIExecutionContext: 0x7ffd06f838e0 busyCount=0, Idle for 0.0 secs&gt; {| device: iPhone Xʀ (2B9F6AD2-FF70-41C5-A8AA-13A9059FAC34, iOS 13.3, Booted)}================================= DEVICE:=================================iPhone Xʀ (2B9F6AD2-FF70-41C5-A8AA-13A9059FAC34, iOS 13.3, Booted)================================= TOOL MANAGER:=================================&lt;IBCocoaTouchToolManager: 0x7ffd086f2f00&gt;================================= REASON FOR REQUESTING TOOL:=================================Preflighting tools for opening document &lt;IBStoryboardDocument: 0x7ffd01e69e00&gt;: &lt;IBCocoaTouchTargetRuntime: 0x7ffd07ab14b0&gt;================================= XCODE BACKTRACE:================================= 0 +[IBPlatformToolFailureHandler failureHandlerWithContext:failure:diagnosticsHandlerBlock:] (in IDEInterfaceBuilderKit) 1 +[IBAbstractInterfaceBuilderPlatformToolManager _THREADSAFE_injectDiagnosticsHandlerWithFailureContext:intoError:forLaunchingToolWithError:] (in IDEInterfaceBuilderKit) 2 +[IBAbstractInterfaceBuilderPlatformToolManager _THREADSAFE_launchNewToolWithLaunchContext:executionContext:toolProxyClass:proxyDelegate:failureContext:requestingMethod:error:forReason:] (in IDEInterfaceBuilderKit) 3 __117-[IBAbstractInterfaceBuilderPlatformToolManager asyncLaunchNewToolWithDescription:queue:completionHandler:forReason:]_block_invoke.401 (in IDEInterfaceBuilderKit) 4 _dispatch_call_block_and_release (in libdispatch.dylib) 5 _dispatch_client_callout (in libdispatch.dylib) 6 _dispatch_lane_serial_drain (in libdispatch.dylib) 7 _dispatch_lane_invoke (in libdispatch.dylib) 8 _dispatch_workloop_worker_thread (in libdispatch.dylib) 9 _pthread_wqthread (in libsystem_pthread.dylib)10 start_wqthread (in libsystem_pthread.dylib)================================= SDKS:=================================tvOS 13.2 (appletvos13.2):version = 13.2platform = com.apple.platform.appletvosversionInfo = { BuildID = "E006541A-FDDF-11E9-BD2E-70CCCBA8ED01"; ProductBuildVersion = 17K90; ProductCopyright = "1983-2019 Apple Inc."; ProductName = "Apple TVOS"; ProductVersion = "13.2";}Simulator - watchOS 6.1 (watchsimulator6.1):version = 6.1platform = com.apple.platform.watchsimulatorversionInfo = { BuildID = "CE1EE84E-F0BE-11E9-AAA1-EC59EE022449"; ProductBuildVersion = 17S80; ProductCopyright = "1983-2019 Apple Inc."; ProductName = "Watch OS"; ProductVersion = "6.1";}macOS 10.15 (macosx10.15):version = 10.15platform = com.apple.platform.macosxversionInfo = { ProductBuildVersion = 19B90; ProductCopyright = "1983-2019 Apple Inc."; ProductName = "Mac OS X"; ProductUserVisibleVersion = "10.15.1"; ProductVersion = "10.15.1"; iOSSupportVersion = "13.2";}Simulator - tvOS 13.2 (appletvsimulator13.2):version = 13.2platform = com.apple.platform.appletvsimulatorversionInfo = { BuildID = "E006541A-FDDF-11E9-BD2E-70CCCBA8ED01"; ProductBuildVersion = 17K90; ProductCopyright = "1983-2019 Apple Inc."; ProductName = "Apple TVOS"; ProductVersion = "13.2";}watchOS 6.1 (watchos6.1):version = 6.1platform = com.apple.platform.watchosversionInfo = { BuildID = "CE1EE84E-F0BE-11E9-AAA1-EC59EE022449"; ProductBuildVersion = 17S80; ProductCopyright = "1983-2019 Apple Inc."; ProductName = "Watch OS"; ProductVersion = "6.1";}Simulator - watchOS 6.1 (watchsimulator6.1):version = 6.1platform = com.apple.platform.watchsimulatorversionInfo = { BuildID = "CE1EE84E-F0BE-11E9-AAA1-EC59EE022449"; ProductBuildVersion = 17S80; ProductCopyright = "1983-2019 Apple Inc."; ProductName = "Watch OS"; ProductVersion = "6.1";}macOS 10.15 (macosx10.15):version = 10.15platform = com.apple.platform.macosxversionInfo = { ProductBuildVersion = 19B90; ProductCopyright = "1983-2019 Apple Inc."; ProductName = "Mac OS X"; ProductUserVisibleVersion = "10.15.1"; ProductVersion = "10.15.1"; iOSSupportVersion = "13.2";}Simulator - iOS 13.2 (iphonesimulator13.2):version = 13.2platform = com.apple.platform.iphonesimulatorversionInfo = { BuildID = "908F121A-FDD9-11E9-80B6-3DB8040D7714"; ProductBuildVersion = 17B102; ProductCopyright = "1983-2019 Apple Inc."; ProductName = "iPhone OS"; ProductVersion = "13.2.2";}iOS 13.2 (iphoneos13.2):version = 13.2platform = com.apple.platform.iphoneosversionInfo = { BuildID = "908F121A-FDD9-11E9-80B6-3DB8040D7714"; ProductBuildVersion = 17B102; ProductCopyright = "1983-2019 Apple Inc."; ProductName = "iPhone OS"; ProductVersion = "13.2.2";}Simulator - iOS 13.2 (iphonesimulator13.2):version = 13.2platform = com.apple.platform.iphonesimulatorversionInfo = { BuildID = "908F121A-FDD9-11E9-80B6-3DB8040D7714"; ProductBuildVersion = 17B102; ProductCopyright = "1983-2019 Apple Inc."; ProductName = "iPhone OS"; ProductVersion = "13.2.2";}watchOS 6.1 (watchos6.1):version = 6.1platform = com.apple.platform.watchosversionInfo = { BuildID = "CE1EE84E-F0BE-11E9-AAA1-EC59EE022449"; ProductBuildVersion = 17S80; ProductCopyright = "1983-2019 Apple Inc."; ProductName = "Watch OS"; ProductVersion = "6.1";}iOS 13.2 (iphoneos13.2):version = 13.2platform = com.apple.platform.iphoneosversionInfo = { BuildID = "908F121A-FDD9-11E9-80B6-3DB8040D7714"; ProductBuildVersion = 17B102; ProductCopyright = "1983-2019 Apple Inc."; ProductName = "iPhone OS"; ProductVersion = "13.2.2";}tvOS 13.2 (appletvos13.2):version = 13.2platform = com.apple.platform.appletvosversionInfo = { BuildID = "E006541A-FDDF-11E9-BD2E-70CCCBA8ED01"; ProductBuildVersion = 17K90; ProductCopyright = "1983-2019 Apple Inc."; ProductName = "Apple TVOS"; ProductVersion = "13.2";}DriverKit 19.0 (driverkit.macosx19.0):version = 19.0platform = com.apple.platform.macosxversionInfo = {}Simulator - tvOS 13.2 (appletvsimulator13.2):version = 13.2platform = com.apple.platform.appletvsimulatorversionInfo = { BuildID = "E006541A-FDDF-11E9-BD2E-70CCCBA8ED01"; ProductBuildVersion = 17K90; ProductCopyright = "1983-2019 Apple Inc."; ProductName = "Apple TVOS"; ProductVersion = "13.2";}
Posted
by dinob68.
Last updated
.
Post not yet marked as solved
3 Replies
206 Views
How can I create a simulator for an iPhone 6 (runninf iOS12.4) in Xcode 12.3? Entries in the Simulators list shown in Preferences->Components are all greyed out. The entries go up to iOS14.2. If I try to create a new Simulator by clicking + in Window->Devices and Simulators, Simulators tab, the only OS version available in the dropdown is iOS 14.3. If I try to download more Simulator runtimes I see the greyed out list shown in Preferences->Components.
Posted Last updated
.
Post marked as solved
3 Replies
567 Views
Hi, I am new to Xcode and just starting to write my first lines of code. When I start my app on the Simulator it works fine the first time. Sometimes one code change also works, but then I always run into problems. The Simulator does not update or run properly anymore. I tried killing all Simulator processes, restarting xCode, stopping most other running apps, nothing worked but to reboot. Anyone an idea what to do? Here are two of the error messages that pop up: Error message 1 Couldn’t communicate with a helper application. Domain: NSCocoaErrorDomain Code: 4099 Recovery Suggestion: Try your operation again. If that fails, quit and relaunch the application and try again. User Info: {   DVTErrorCreationDateKey = "2022-04-14 18:58:11 +0000";   IDERunOperationFailingWorker = "_IDEInstalliPhoneSimulatorWorker";   NSDebugDescription = "The connection to service named com.apple.l s d.installation was invalidated: failed at lookup with error 32 - Broken pipe."; } -- Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {   "device_model" = "iPhone14,5";   "device_osBuild" = "15.4 (19E240)";   "device_platform" = "com.apple.platform.iphonesimulator";   "launchSession_schemeCommand" = Run;   "launchSession_state" = 1;   "launchSession_targetArch" = "x86_64";   "operation_duration_ms" = 25354;   "operation_errorCode" = 4099;   "operation_errorDomain" = NSCocoaErrorDomain;   "operation_errorWorker" = "_IDEInstalliPhoneSimulatorWorker";   "operation_name" = IDERunOperationWorkerGroup;   "param_consoleMode" = 0;   "param_debugger_attachToExtensions" = 1;   "param_debugger_attachToXPC" = 1;   "param_debugger_type" = 1;   "param_destination_isProxy" = 0;   "param_destination_platform" = "com.apple.platform.iphonesimulator";   "param_diag_MainThreadChecker_stopOnIssue" = 0;   "param_diag_MallocStackLogging_enableDuringAttach" = 0;   "param_diag_MallocStackLogging_enableForXPC" = 1;   "param_diag_allowLocationSimulation" = 1;   "param_diag_gpu_frameCapture_enable" = 0;   "param_diag_gpu_shaderValidation_enable" = 0;   "param_diag_gpu_validation_enable" = 0;   "param_diag_memoryGraphOnResourceException" = 0;   "param_diag_queueDebugging_enable" = 1;   "param_diag_runtimeProfile_generate" = 0;   "param_diag_sanitizer_asan_enable" = 0;   "param_diag_sanitizer_tsan_enable" = 0;   "param_diag_sanitizer_tsan_stopOnIssue" = 0;   "param_diag_sanitizer_ubsan_stopOnIssue" = 0;   "param_diag_showNonLocalizedStrings" = 0;   "param_diag_viewDebugging_enabled" = 1;   "param_diag_viewDebugging_insertDylibOnLaunch" = 1;   "param_install_style" = 0;   "param_launcher_UID" = 2;   "param_launcher_allowDeviceSensorReplayData" = 0;   "param_launcher_kind" = 0;   "param_launcher_style" = 0;   "param_launcher_substyle" = 2;   "param_runnable_appExtensionHostRunMode" = 2;   "param_runnable_productType" = "com.apple.product-type.app-extension";   "param_runnable_swiftVersion" = "5.6";   "param_runnable_type" = 3;   "param_testing_launchedForTesting" = 0;   "param_testing_suppressSimulatorApp" = 0;   "param_testing_usingCLI" = 0;   "sdk_canonicalName" = "iphonesimulator15.4";   "sdk_osVersion" = "15.4";   "sdk_variant" = iphonesimulator; } -- System Information macOS Version 12.3.1 (Build 21E258) Xcode 13.3.1 (20103) (Build 13E500a) Timestamp: 2022-04-14T19:58:11+01:00 Error message 2 Details SendProcessControlEvent:toPid: encountered an error: Error Domain=com.apple.dt.deviceprocesscontrolservice Code=8 "Failed to show Widget 'bundle.id' error: Error Domain=FBSOpenApplicationServiceErrorDomain Code=5 "The request to open "com.apple.springboard" failed." UserInfo={NSLocalizedDescription=The request to open "com.apple.springboard" failed., NSLocalizedFailureReason=Unexpected error type., NSUnderlyingError=0x600002c44870 {Error Domain=BSServiceConnectionErrorDomain Code=3 "XPC error received on message reply handler" UserInfo={BSErrorCodeDescription=OperationFailed, NSLocalizedFailureReason=XPC error received on message reply handler}}, BSErrorCodeDescription=InvalidResponse}." UserInfo={NSLocalizedDescription=Failed to show Widget 'bundle.id' error: Error Domain=FBSOpenApplicationServiceErrorDomain Code=5 "The request to open "com.apple.springboard" failed." UserInfo={NSLocalizedDescription=The request to open "com.apple.springboard" failed., NSLocalizedFailureReason=Unexpected error type., NSUnderlyingError=0x600002c44870 {Error Domain=BSServiceConnectionErrorDomain Code=3 "XPC error received on message reply handler" UserInfo={BSErrorCodeDescription=OperationFailed, NSLocalizedFailureReason=XPC error received on message reply handler}}, BSErrorCodeDescription=InvalidResponse}., NSUnderlyingError=0x600002c448a0 {Error Domain=FBSOpenApplicationServiceErrorDomain Code=5 "The request to open "com.apple.springboard" failed." UserInfo={NSLocalizedDescription=The request to open "com.apple.springboard" failed., NSLocalizedFailureReason=Unexpected error type., NSUnderlyingError=0x600002c44870 {Error Domain=BSServiceConnectionErrorDomain Code=3 "XPC error received on message reply handler" UserInfo={BSErrorCodeDescription=OperationFailed, NSLocalizedFailureReason=XPC error received on message reply handler}}, BSErrorCodeDescription=InvalidResponse}}} Domain: DTXMessage Code: 1 User Info: { DVTErrorCreationDateKey = "2022-04-14 17:30:13 +0000"; } -- System Information macOS Version 12.3.1 (Build 21E258) Xcode 13.3.1 (20103) (Build 13E500a) Timestamp: 2022-04-14T18:30:13+01:00
Posted
by momonu.
Last updated
.
Post not yet marked as solved
0 Replies
117 Views
Hello guys, I am fetching a string from a server, and print it in a text field. It works fine: let remoteContent = fetched.content Text(remoteContent) If I split it, and try to print elements, I get a black screen. I tried casting substring to String and NSString etc. but didn't manage to get it to work. I'm new to Swift and I must say... It's quite overwhelming! Here's the problematic code: let remoteContentArray = remoteContent.split(separator: Character(",")) Text(String(remoteContentArray[0])) I tried it in the playground and it works fine. But in a view no chance. I tried directly using a dummy string like "some,words,separated,by,commas" And it works! But why does it behave like this with the fetched string? PS. Is it just me, or is Swift kinda hostile to learn? Thanks a lot.
Posted
by darg.
Last updated
.
Post not yet marked as solved
3 Replies
812 Views
I am new with Xcode and I'm trying to set up my launch screen. Anytime I add an image or text to it and run a simulation on my Mac or iPhone, it shows black. I've tried to look up what could be wrong or how to fix it and nothing is helping. Any ideas?
Posted Last updated
.
Post not yet marked as solved
5 Replies
1.3k Views
I have some HLS videos that are encrypted with a key for streaming playback in my app. So far, my testing indicates that they work on device all the way through, but only in the simulator up to iOS 14.5. In iOS 15 simulators, I get a crash that appears to be within private APIs with this copied from the stack: #0 0x0000000110584e8c in segPumpRequestCustomURLForCryptKey () Is anyone else getting this crash?
Posted
by mredig.
Last updated
.