show when run

94,693 results found

Post not yet marked as solved
8 Replies
3.4k Views
I have a 2019 16 inch MacBook Pro running Catalina 10.15.5 with a strange problem. Just launching the Simulator can hard freeze the entire machine. The Simulator launches, the device shows a spinner that just keeps going and within a couple of seconds the machine beach-balls and the entire UI freezes with no possibility of option-command-escape to kill the Simulator. I've looked in the logs afterward and I don't see any good clues. This problem is much more likely to occur with a simulated iPhone device (much more rare with a simulated iPad) and it doesn't happen every time I launch a simulated iPhone, just somewhere between 1/3 and 1/2 of the time. Does anyone have any debugging or diagnostic ideas? Thanks!
Posted
by gnperdue.
Last updated
.
Post not yet marked as solved
1 Replies
47 Views
My app uses Core Data to store an synchronise the data. It runs on iOS, iPadOS and now WatchOS. The records are stored in the private and shared CloudKit database. Running the app in developer mode, syncing is fine for all devices. But as soon as I switch to production mode using TestFlight, the Watch only syncs the data of the shared records, while iPad and iPhone still are syncing all records (private and shared) correctly. I run out of ideas where to search for the reason of this problem. I use one module to setup the persistent store for iOS, iPadOs and WatchOS. Any ideas are well come.
Posted Last updated
.
Post not yet marked as solved
1 Replies
57 Views
I have an app that has the camera continuously running, as it is doing its own AI, have zero need for Apple'video effects, and am seeing a 200% performance hit after updating to Sonoma. The video effects are the heaviest stack trace when profiling my app with Instruments CPU profiler (see below). Is forcing your software onto developers not something Microsoft would do? Is there really no way to opt out? 6671 Jamscape_exp (23038) 2697 start_wqthread 2697 _pthread_wqthread 2183 _dispatch_workloop_worker_thread 2156 _dispatch_root_queue_drain_deferred_wlh 2153 _dispatch_lane_invoke 2146 _dispatch_lane_serial_drain 1527 _dispatch_client_callout 1493 _dispatch_call_block_and_release 777 __88-[PTHandGestureDetector initWithFrameSize:asyncInitQueue:externalHandDetectionsEnabled:]_block_invoke 777 -[VCPHandGestureVideoRequest initWithOptions:] 508 -[VCPHandGestureClassifier initWithMinHandSize:] 508 -[VCPCoreMLRequest initWithModelName:] 506 +[MLModel modelWithContentsOfURL:configuration:error:] 506 -[MLMod
Posted
by jacobgorm.
Last updated
.
Post not yet marked as solved
1 Replies
Did you find a solution by chance? Running into the same issue
Post not yet marked as solved
1 Replies
1k Views
Hi All, I am writing a small App for Apple Watch 7 where I am interested in using the accelerometer, gyro and magnetometer. But it seems as we can only sample the accelerometer as I am not receiving any data from the others sensors. When running a similar code on an Apple iPhone, I can read raw data from all the sensors. Does anyone know how we can read the gyro and magnetometer? In the Apple Watch 7 Specifications there seems the part of the watch hardware. I would appreciate any help.
Posted Last updated
.
Post not yet marked as solved
6 Replies
4.4k Views
How do I make a SwiftUI view fullscreen running Mac OS, Catalina or Big Sur?
Posted
by wischi.
Last updated
.
Post not yet marked as solved
2 Replies
The error is telling you that there is no such form of Map that matches what you've entered. If you remove showsUserLocation: true it works, because that form of Map() is valid. If you want to show the user's location you need to use UserAnnotation(), i.e.; Map(position: $mapPosition, interactionModes: .all) { UserAnnotation() // <<-- Use this ForEach(features) { feature in Marker(coordinate: feature.coordinate) { FeatureAnnotation(feature: feature) } } }
Post not yet marked as solved
5 Replies
1.1k Views
Problem The following code doesn't work: let predicate = #Predicate { car in car.size == size //This doesn't work } Console Error Query encountered an error: SwiftData.SwiftDataError(_error: SwiftData.SwiftDataError._Error.unsupportedPredicate) Root cause Size is an enum, #Predicate works with other type such as String however doesn't work with enum Enum value is saved however is not filtered by #Predicate Environment Xcode: 15.0 (15A240d) - App Store macOS: 14.0 (23A339) - Release Candidate Steps to reproduce Run the app on iOS 17 or macOS Sonoma Press the Add button Notice that the list remains empty Expected behaviour List should show the newly created small car Actual behaviour List remains empty inspite of successfully creating the small car. Feedback FB13194334 Code Size enum Size: String, Codable { case small case medium case large } Car import SwiftData @Model class Car { let id: UUID let name: String let size: Size init( id: UUID, name: String, size: Size ) { self.id = id self.name
Posted
by newwbee.
Last updated
.
Post not yet marked as solved
1 Replies
306 Views
I posted earlier about my problems seing my own build in the Testflight app, despite it being in Testing status for the internal tester group. I added more users and they are all receiving invitations and testing the build normally. I am the only one who doesn't see the build in my Testflight app in my iPhone. I tried sending myself a new invitation, I removed and re-added myself, nothing works. With other apps, no problems at all. I see my own builds and am able to install and run them as a member of the internal test group. The same app built with XCode installs and works normally on my phone. What is the problem with Testflight distribution ?
Posted
by lsandini.
Last updated
.
Post not yet marked as solved
14 Replies
5.9k Views
I just downloaded Xcode 15 RC and iOS 17 RC on an iPhone Xr. When running the app it seems to run fine however when trying to run in profile mode I get the error: Failed to install embedded profile for com...* : 0xe800801f (Attempted to install a Beta profile without the proper entitlement.) Verify that the Developer App certificate for your account is trusted on your device. Open Settings on the device and navigate to General -> VPN & Device Management, then select your Developer App certificate to trust it. Does anyone have any insight into what the issue may be? There is nothing to select within VPN & Device Management when I navigate there
Posted
by ukor_navi.
Last updated
.
Post not yet marked as solved
6 Replies
570 Views
I'm new to Networking, so forgive me if this is a silly question: In the sample code, Building a custom peer-to-peer protocol, TLS is configured as follows: // Create TLS options using a passcode to derive a pre-shared key. private static func tlsOptions(passcode: String) -> NWProtocolTLS.Options { let tlsOptions = NWProtocolTLS.Options() let authenticationKey = SymmetricKey(data: passcode.data(using: .utf8)!) var authenticationCode = HMAC.authenticationCode(for: TicTacToe.data(using: .utf8)!, using: authenticationKey) let authenticationDispatchData = withUnsafeBytes(of: &authenticationCode) { (ptr: UnsafeRawBufferPointer) in DispatchData(bytes: ptr) } sec_protocol_options_add_pre_shared_key(tlsOptions.securityProtocolOptions, authenticationDispatchData as __DispatchData, stringToDispatchData(TicTacToe)! as __DispatchData) sec_protocol_options_append_tls_ciphersuite(tlsOptions.securityProtocolOptions, tls_ciphersuite_t(rawValue: TLS_PSK_WITH_AES_128_GCM_SHA256)!) return tlsOptions } The sample code tou
Posted
by wmk.
Last updated
.
Post not yet marked as solved
29 Replies
18k Views
When I Archive and upload to app store connect to test in TestFlight. It cannot download app and show Cloud not install [App] The requested app is not available or doesn't exist. and When I look at previous Builds. It show same message in all build version. It happen after renew apple development programs.
Posted
by ts.dstws.
Last updated
.
Post not yet marked as solved
2 Replies
678 Views
Hi everyone, I use new feature mergeable libraries in XCode 15 beta 2 to create xcframework. Follow the instruction of https://developer.apple.com/documentation/xcode/configuring-your-project-to-use-mergeable-libraries. I can create the megrable framework for devices (ios-arm64) and it can use in another project. But for the megrable framework for simulators (ios-arm64_x86_64-simulator). It can't use this framework for another project and XCode throw the error: Showing Recent Messages arm64-apple-ios-simulator.private.swiftinterface:6:8: No such module 'Framework3' 'Framework3' is linker framework, inspite of it already have this framework in the ReexportedBinaries of the mergeble framework. Structure for mergeable framework: - Mergalble.framework --- ReexportedBinaries ------- Framework3.framework It is have the same issue with the xcframework. So, is it the issue with XCode 15 beta for mergeable framework of simulator and xcframework? Do we have to add any specifice agrument for create xcframework
Posted Last updated
.
Post not yet marked as solved
4 Replies
115 Views
I've read the definitive Recording Private Data in the System Log by @eskimo and the words at man 5 os_log and written code to, specifically, turn on Enable-Private-Data in my app. My application is a command line and I've configured Xcode to insert what I believe to be the appropriate incantations in an Info.plist file into the unstructured executable binary. When I run the app with Terminal, I see output in the Console app where I expect values to be displayed in a public manner. Nothing I've read says that Enable-Private-Data doesn't apply to command line apps, and my own understanding of the value of of the logging mechanism rejects that notion because logging is performed all over macOS, not just in a ***.app environment. A this point, I'm firmly convinced this unexpected behavior is of my own doing, but I have paused the search for my (probably embarrassing) mistake, to write this note because of a 1% doubt I'm wrong. I'd be very happy to receive the, expected, assurance that logging configura
Posted Last updated
.