show when run

94,390 results found

Post not yet marked as solved
1 Replies
here is the error raised : (bad copy) write index 93 data_to_write 230 min_range 116157 max_range 117406 max_range - min_range 1249 stream status Optional(__C.NSStreamStatus) SocketStream write error [0x0]: 1 32 Write result: Optional(-1) stream error Optional(Error Domain=NSPOSIXErrorDomain Code=32 Broken pipe UserInfo={_kCFStreamErrorCodeKey=32, _kCFStreamErrorDomainKey=1}) WARNING: Unknown error: 722 centralmanager disconnect error : nil Stream Event occurred: NSStreamEvent(rawValue: 8) Output-Stream Optional(<__NSCFOutputStream: 0x303b08630>) input: ErrorOccurred: Optional(The operation couldn’t be completed. Broken pipe) stream status NSStreamStatus(rawValue: 7) catch error Here is the section of the code that manage the write : func stream(_ aStream: Stream, handle eventCode: Stream.Event) { print(Stream Event occurred: (eventCode)) //if aStream == self.l2capChannel.inputStream { // print(Input-Stream) //} if aStream == self.l2capChannel.outputStream { print(Output-Stream (self.l2capChannel.output
Post not yet marked as solved
2 Replies
38 Views
Hello, I use Preview to quickly test functionalities. However I found that the unified logging does not output to Preview console. So I had to do both log.debug and print. Is there a way to enable logging to Preview console?
Posted Last updated
.
Post not yet marked as solved
13 Replies
3k Views
On Xcode 15, when I launch my app on Wait for the executable to be lauched mode, I can't debug because Xcode simply doesn't pause at my breakpoints. They change their look and turn to dotted blue outlined. When I hover over breakpoint Xcode shows a message: Xcode won't pause at this breakpoint because it has not been resolved Resolving it requires that: The line at the breakpoint is compiled. The compiler generates debug information that is not stripped out (check the Build Settings). The library for the breakpoint is loaded. On the other hand, when I launch it on Automatically mode, everything works fine. Does anyone have any ideas how to solve it? Best regards.
Posted Last updated
.
Post marked as solved
2 Replies
43 Views
Hi, How to catch the event when details panel of a SplitView shows and get hidden, like when split is 2 columns and when its details only ? Kindest Regards
Posted Last updated
.
Post not yet marked as solved
2 Replies
57 Views
I have an Electron app on macOS Sonoma (Intel arch). It has a native addon (app.node) using node-addon-api. Recently it crashed, with the stack trace (given below). What is the CF_IS_OBJC function inside the CFDataGetBytePtr function, and why did it crash there? [NSEvent addGlobalMonitorForEventsMatchingMask:NSEventMaskKeyDown handler:^(NSEvent *event) { // code using CFDataGetBytePtr function }]; [NSEvent addLocalMonitorForEventsMatchingMask:NSEventMaskKeyDown handler:^NSEvent *_Nullable(NSEvent *event) { // code using CFDataGetBytePtr function return event; }]; I have key events monitors attached using addGlobalMonitorForEventsMatchingMask and addLocalMonitorForEventsMatchingMask in my native code and they use the CFDataGetBytePtr function there. So I think the issue happened in the key event monitor handler when calling the CFDataGetBytePtr function because my native addon app.node is also present in the trace. Also from the third and fourth entry in the stack trace, it seems like it happened while the app
Posted Last updated
.
Post not yet marked as solved
1 Replies
405 Views
Build completes on MacBook Pro with Intel chip running macOS 12.7.1 and Xcode 13.4.1. Build fails on MacBook Air with Apple M2 chip running macOS 14.2.1 and Xcode 15.1. bryonnicoson@Bryons-Air wishbone % flutter doctor -v [✓] Flutter (Channel stable, 3.16.5, on macOS 14.2.1 23C71 darwin-arm64, locale en-US) • Flutter version 3.16.5 on channel stable at /Users/bryonnicoson/development/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 78666c8dc5 (13 days ago), 2023-12-19 16:14:14 -0800 • Engine revision 3f3e560236 • Dart version 3.2.3 • DevTools version 2.28.4 [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/bryonnicoson/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314) • All Android licenses accepted. [✓] Xcode - develo
Posted Last updated
.
Post not yet marked as solved
1 Replies
71 Views
Hey, I've been trying to fetch my Apple Music recently played songs for an app I'm working on, and I want to access the lastPlayedDate field. If I'm not mistaken, this field should exist for a Song according to Apple's documentation: https://developer.apple.com/documentation/musickit/song/lastplayeddate However, whenever I try to fetch this data, the lastPlayedDate field is always nil. All the other data I'm looking for, however, seems to fetch without issue. Here's the code I'm using: //Request as described in Apple MusicKit //https://developer.apple.com/documentation/musickit/musicrecentlyplayedrequestable var request = MusicRecentlyPlayedRequest() request.limit=30 do { let response = try await request.response() let songs = response.items.compactMap { song -> RecentlyPlayedSong? in let songName = song.title let songArtist = song.artistName let songAlbum = song.albumTitle let artwork: MusicArtworkType let preview_url = song.previewAssets?.first?.url?.absoluteString if let appleMusicArtwork = song.artwork
Posted Last updated
.
Post not yet marked as solved
1 Replies
161 Views
Generating Pods project [!] An error occurred while processing the post-install hook of the Podfile. [Xcodeproj] Consistency issue: build setting `IPHONEOS_DEPLOYMENT_TARGET` has multiple values: `{Release=>9.0, Debug=>9.0, Profile=>9.0, Debug-production=>14.0, Debug-internal=>14.0, Release-production=>14.0, Release-internal=>14.0}` I am on CocoaPods 1.15.2 and Xcode 15.3. I've looked through all of the build settings in Xcode, etc, and cannot find any references with the version numbers in the error message. All versions are the same across build types. Has anyone ran into this issue running pod install?
Posted Last updated
.
Post not yet marked as solved
1 Replies
47 Views
So, we've got a mobile app that is using background processing to occasionally scan for nearby BLE beacons. When running a debug / local build of the app, everything behaves as expected, but if we upload a build to TestFlight and install from there, the background processing doesn't happen. This behavior would seem to point to a capability in the App ID not being provisioned, but when I look in the Identifiers section of Apple Developer, Background Modes as a capability isn't listed for either the existing Application Identifier or when creating a brand new one. The app has the Background Modes capability assigned if I look at it in XCode. Any thoughts as to where to look next or what I'm missing?
Posted Last updated
.
Post not yet marked as solved
1 Replies
36 Views
I registered as a developer with Apple. Since I work alone, I have an individual developer account. Unfortunately, I am unable to create an iOS distribution certificate from Visual Studio (for Windows). The option is grayed out even though my role in App Store Connect is Admin. Visual Studio also shows me that my user is an admin - yet I don't seem to have rights to create iOS distribution certificates. I can create iOS development certificates without any problems.
Posted
by HunteApps.
Last updated
.
Post not yet marked as solved
4 Replies
113 Views
I already filed feedback FB13777941 for this, but wanted to ask if anyone has the same problem, since I can't find anything on google or SO. I created a new package in Xcode (15.3) and added this to it: import SwiftUI struct Test: View { var body: some View { Text(Hello world) } } #Preview { Test() } The package builds, tests can run. Previews don't work. This is more or less the error I get from the diagnostics button (formatted for readability): LoadingError: failed to load library at path ”PATH_TO_DERIVED_DATA/Build/Intermediates.noindex/Previews/macos/PACKAGE_NAME/Products/Debug/PackageFrameworks/PACKAGE_NAME_63097C4A372B9C87_PackageProduct.framework/PACKAGE_NAME_63097C4A372B9C87_PackageProduct”: Optional(dlopen(PATH_TO_DERIVED_DATA/Build/Intermediates.noindex/Previews/macos/PACKAGE_NAME/Products/Debug/PackageFrameworks/PACKAGE_NAME_63097C4A372B9C87_PackageProduct.framework/PACKAGE_NAME_63097C4A372B9C87_PackageProduct, 0x0000): tried: 'PATH_TO_DERIVED_DATA/Build/Intermediates.noindex/Previews/mac
Posted
by Aurelian.
Last updated
.
Post not yet marked as solved
1 Replies
647 Views
Hello everyone, greetings, I hope you can help me. I have the following problem: I implemented admob in my unity game, but google admob tells me that for them to verify my app, it must be listed in the appstore, but when I send my app to check with apple, they tell me that I can't show test ads if no, that I should show the already commercial ads. But when I place the ID's of the commercial ads they are not shown in my build, I suppose that admob does not show them because the app is not yet verified by them. Any suggestions?
Posted Last updated
.
Post not yet marked as solved
9 Replies
I admire your commitment to updating the user with accurate status! Anyway, at this point I’m going to suggest that you file a bug about this. In general, tools like NWPathMonitor base their answers on local state, which puts limits on what they can do. However, the fact that Settings shows this state indicates that it should be possible for NWPathMonitor to factor it in, and I think it’s reasonable to ask for that. Please post your bug number, just for the record. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Post not yet marked as solved
9 Replies
219 Views
Hello, I'm looking for a way to detect using NWPathMonitor when the iOS device is connected to a router but not to the internet. As an example a mobile router WiFi without SIM. In settings I'm able to switch the connection to its WiFi, once connected a label below the SSID shows Not connected to the internet. I would like to show the same thing to the user inside my app, but unfortunately I always get the satisfied answer. Am I missing something in configuring NWPathMonitor or reading the answer? final class InternetConnectionMonitor { lazy var internetConnectionStatusPublisher: AnyPublisher<InternetConnectionStatus, Never> = { _internetConnectionStatusSubject .compactMap{ $0 } .eraseToAnyPublisher() }() var lastInternetConnectionStatus: InternetConnectionStatus? { _internetConnectionStatusSubject.value } private let _internetConnectionStatusSubject = CurrentValueSubject<InternetConnectionStatus?, Never>(nil) private let pathMonitor = NWPathMonitor() private let pathMonitorQueue
Posted
by DrAma78.
Last updated
.
Post not yet marked as solved
1 Replies
Are you trying to write a program that starts automatically? If so, please provide some details about what you’re doing and I’ll try to help out. OTOH, if you’re asking about the behaviour of macOS, that’s something to ask on Apple Support Community, run by Apple Support. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com