Post not yet marked as solved
I'm trying to do something so seemingly basic, yet I can't get it to work and I'm flummoxed.
In a basic, vanilla SwiftUI app for tvOS, embed a single Text element with a very long string (hundreds of lines) in it:
struct ContentView: View {
var body: some View {
ScrollView(.vertical) {
Text(veryLargeString)
.focusable()
}
}
}
Then fire up the app on tvOS, and it will not scroll. No matter what I do. Pressing arrow keys, swiping fast with my thumb, and nothing. It will not move. Ironically, in the Xcode SwiftUI Preview window—it does scroll, so that's always a fun tease.
What I do know is that the focus engine is throwing a few errors, so it's leading me to believe the issue is with how I have the focusable element attached. I'm using a combination of -UIFocusLoggingEnabled YES as well as listening for UIFocusSystem.movementDidFailNotification.
Unfortunately since this is SwiftUI, the notification failure and debugging logs aren't really all that actionable. Help appreciated!
Post not yet marked as solved
With today's 3-18-24 announcement by Nvidia at GTC24, that Omniverse can be streamed to the Vision Pro... does anyone know when it will be available in the VisionOS App Store? i.e., a native app for the Vision Pro.
NOTE: There currently only appears to be an OV iPad app available.
Post not yet marked as solved
In the process of accessing DEXT by applications, for the sake of simplicity in configuration, I used com.apple.developer.driverkit.allow-any-userclient-access in DEXT. However, for the sake of security in DEXT, I want to identify applications within DEXT and restrict access only to applications developed by my own team. How can this be implemented? Are there any APIs in DEXT that can be used to obtain information about applications for identification purposes?
Thanks!
Post not yet marked as solved
Hello, I’ve got some questions about the privacy manifest.
On March 18, we built our company's app with Xcode 14, submitted it for review, and it passed. However, we did not make any adjustments for the privacy manifest and yet did not receive any related emails. Our app utilizes APIs like UserDefaults and file stamps.
We've got permission from our users to use tracking, so we turned on Xcode15 instruments to check the network, but there were no faults identified in the points of interest. It looks like we’re engaged in tracking activities, possibly with tools like Firebase.
Can someone who knows about this please give me an answer?
Post not yet marked as solved
Hello Everyone,
I have published my app few months back .
The app does not show up in search when I search with the app name . It's a social media app and i provided the right key words .
FYI- But when I search the app with combining the company name and app name it shows up.
I am in contact with apple support for last 1 month and all the time , i get the an answer that the engineers are woking on it. They even suggested me to include the app name in the Key words, which I did , but no results. Today the supervisor suggests that support team might not be able to do much and I have to revisit my settings. I don't know what else to change other than the key words. . He also highlighted that since Language EN was chosen and the my app name is not an english word, could be also the reason for it not showing up in the search. Can someone please help to provide a solution to this.
Post not yet marked as solved
With SCNetworkReachabilityCreateWithAddress now depreciated I'm having to use NWPathMonitor to determine if I have a good connection to access some HTML and JSON files. I have this working just fine if the network connection is down but if the network connection comes back up it detects an event but still shows the status as unsatisfied. I can't seem to capture or pickup that when I've got a good connection again so I can proceed with the right status. Here is my current code. Any suggestions would be appreciated:
import Network
import Combine
class NetworkStatus: ObservableObject {
static let shared = NetworkStatus()
private var monitor: NWPathMonitor?
private var queue = DispatchQueue(label: "NetworkMonitor")
@Published var isConnected: Bool = false
private init() {
monitor = NWPathMonitor()
startMonitoring()
}
deinit {
stopMonitoring()
}
func startMonitoring() {
monitor?.pathUpdateHandler = { [weak self] path in
DispatchQueue.main.async {
let status = path.status == .satisfied
self?.isConnected = status
print(">>> \(path.status)")
}
}
monitor?.start(queue: queue)
}
func stopMonitoring() {
monitor?.cancel()
monitor = nil
}
}
Post not yet marked as solved
Hi all,
I deployed a static site and two of my imgs are not appearing on some iPhones. It's not showing up on my iPhone 15 Pro but it's appearing on an iPhoneSE and androids. When I long click them, they actually show up in preview and can even open the images in a different tab, so they're just transparent. Does anyone have any idea why this is happening?
Post not yet marked as solved
Hi everyone, I can't select pricing and countries countries and prices come up as not found I have tried in many different browsers but I keep getting the same error
Post not yet marked as solved
Many unique app names are taken by apps that are not on the App Store. It would be nice if Apple could provide a convenient way to forward requests to the developers of those apps to remove or rename their app. This could appear in a developer's App Store Connect page as a notification on the unreleased app.
Post not yet marked as solved
I'm trying to upload a new app, but the pricing options is not loading.
distribution/pricing
Post not yet marked as solved
Every time I try to build my Vision Pro app using Xcode Cloud, I get the error "Command compileSkybox failed with a nonzero exit code". I have even tried to build a completely empty project (settings: "Volume", "Reality Kit" and "Progressive") and I still get the error. When I build the project locally, there are no errors. Does anyone have any idea what the problem is?
Post not yet marked as solved
Probably a long shot, but is there any way to use Xcode Cloud if I don't use any of the "big three" Git providers? My source control is Git, but it's provided by a tiny little startup called "Microsoft," (Azure Devops) and there doesn't seem to be any sort of manual config I can set up to give Xcode cloud access to it...
I'm working on a demonstration iOS project with no code other than the default templates that Xcode provided. I'm using the latest Xcode v15.3. In storyboard I've added 2 views to the default View Controller to which I've added constraints such that by default, the first one takes up the top half of the screen and the second one roughly the remainder (bottom half of the screen). Then I've added additional constraints for a "landscape" view, i.e. using the width=regular, height=compact such that the first view takes up the left half of the screen and the second view roughly the remaining right side. In the property inspector I've toggled the "Installed" checkboxes so that the correct constraints are applied for each size class.
Both portrait and landscape views look correct in the storyboard editor, and Xcode reports no warnings.
But when I run Simulator and rotate left to landscape mode, it's not applying the wR:hC size class, and I get a "wide" format as if I hadn't added any additional constraints at all.
Is there some reason why Simulator isn't applying the correct constraints when the device gets rotated? Is this an Xcode bug or did I do something wrong? I've attached a few screen grabs from storyboard and the simulator. You can see which constraints are which based on the icon color in storyboard's document outline pane.
Post not yet marked as solved
I use NEHotspotNetwork.fetchCurrentWithCompletionHandle, but it gives me Nil for both SSID and BSSID
#import "FPPHotspotNetworkInfoProvider.h"
#import <NetworkExtension/NetworkExtension.h>
@implementation FPPHotspotNetworkInfoProvider
- (void)fetchNetworkInfoWithCompletionHandler:
(void (^)(FPPNetworkInfo *network))completionHandler
API_AVAILABLE(ios(14)) {
[NEHotspotNetwork fetchCurrentWithCompletionHandler:^(
NEHotspotNetwork *network) {
dispatch_async(dispatch_get_main_queue(), ^{
if (network) {
completionHandler([[FPPNetworkInfo alloc] initWithSSID:network.SSID
BSSID:network.BSSID]);
return;
}
completionHandler(nil);
});
}];
}
@end
Do I need approval from Apple for this? If so, could you please provide guidance on how to obtain it?
Thank you.
Post not yet marked as solved
Hi all,
I am trying to create a widget for my app but I cannot use the Preview feature of Xcode.
Xcode enters a build loop and builds the project over and over. There is no error or message. There is only a loading spinner and lots of build.
It doesn't matter how much time I wait, it never finishes.
I tried to clean the build folder, delete all preview simulators, quit, and reopen the XCode but nothing helped.
Post not yet marked as solved
Hello, Awhile ago I'd refactored my code to have @SceneStorage in a ViewModifier and not on a View. In Xcode 15.3, I see a runtime-only warning:
SceneStorage is only for use with SwiftUI App Lifecycle. This will become a fatal error in a future release.
Accessing a SceneStorage value outside of being installed on a View. This will always return the default value.
Creating a Binding to SceneStorage value outside of being installed on a View. This will result in a constant Binding of the default value and will not update.
I'd used a ViewModifier to encapsulate this code. Why is that different than a View?
If you are interested you can see an example here: https://github.com/bolsinga/site/blob/ffbedd7fb134675496f529cf62484ceb9b79d360/Sources/Site/Music/UI/ArchiveStorageModifier.swift#L15
Thanks for any tips!
Post not yet marked as solved
Hi,
I'm working on a series of scripts and utilities that process logs and generate pre-composed email reports as a consequence, and wanted to use the open "mailto:address?subject=my subject&body=..." to do so from the scripting.
to, cc, bcc, subject, and body are all obvious attributes, but what others are handled?
Emails are typically sent from a joint mail address, not the user's primary (default) mail account (but one that is also locally provisioned in Mail.app). So I'd like to force the from=address attribute as well. And the messages should be text/plain, not multipart, and the charset of us-ascii.
Where can I find the detailed handling on mailto: URL's in MacOS?
RFC-6068 is unfortunately a guideline, and doesn't flesh out many requisites.
Thanks
Post not yet marked as solved
Hi There,
In this new version on xCode 15.3 (15E204a) is impossible to find text inside the visual elements such as views or storyboards. Nothing containing spaces.
Does anyone knows something about it? I've googled it a lot and couldn't find anything at all.
Regards,
Pablo
Post not yet marked as solved
Hello, I developed a flutter app. But its crashing in review I got. I am attaching the crash report. Can someone help in that. Thanks so much
crashlog-6B4650EA-FAC7-4D88-B3B6-FC8951C5C871.txt
crashlog-D4F6B942-0A15-4613-9E43-E93BD671BA0B.txt
Post not yet marked as solved
After updating Xcode to version 15.3, I can't install my app either on simulator or real device on iOS 17.4.
Here is the error message I got when installing (Build succeed):
Please try again later. `Framework is missing its bundle executable. Please check your build settings to make sure that a bundle executable is produced at the path 'MyApp.app/Frameworks/GoogleMobileAds.framework/GoogleMobileAds'`
I don't have any issue when deploying on iOS 17.0.1, 17.2 or 17.3 on both sim and device. Does anyone face the same issue?
Detail of the error:
Impossible d’installer « My App »
Domain: IXUserPresentableErrorDomain
Code: 1
Recovery Suggestion: My App.app/Frameworks/GoogleMobileAds.framework is missing its bundle executable. Please check your build settings to make sure that a bundle executable is produced at the path "My App.app/Frameworks/GoogleMobileAds.framework/GoogleMobileAds".
User Info: {
DVTErrorCreationDateKey = "2024-03-18 20:12:00 +0000";
IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker;
}
--
Impossible d’installer « My App »
Domain: IXUserPresentableErrorDomain
Code: 1
Recovery Suggestion: My App.app/Frameworks/GoogleMobileAds.framework is missing its bundle executable. Please check your build settings to make sure that a bundle executable is produced at the path "My App.app/Frameworks/GoogleMobileAds.framework/GoogleMobileAds".
User Info: {
IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker;
}
--
Failed to install the app on the device.
Domain: com.apple.dt.CoreDeviceError
Code: 3002
User Info: {
NSURL = "file:///Users/clement/Library/Developer/Xcode/DerivedData/MyApp-dwgovybwoaicqghaqtvbngdkplip/Build/Products/Debug-iphoneos/My%20App.app/";
}
--
Impossible d’installer « My App »
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: Réessayez ultérieurement.
Recovery Suggestion: My App.app/Frameworks/GoogleMobileAds.framework is missing its bundle executable. Please check your build settings to make sure that a bundle executable is produced at the path "My App.app/Frameworks/GoogleMobileAds.framework/GoogleMobileAds".
--
My App.app/Frameworks/GoogleMobileAds.framework is missing its bundle executable. Please check your build settings to make sure that a bundle executable is produced at the path "My App.app/Frameworks/GoogleMobileAds.framework/GoogleMobileAds".
Domain: MIInstallerErrorDomain
Code: 71
User Info: {
FunctionName = "-[MIExecutableBundle executableExistsWithError:]";
SourceFileLine = 1580;
}
--
lstat of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.cYcAbK/extracted/My App.app/Frameworks/GoogleMobileAds.framework/GoogleMobileAds failed: No such file or directory
Domain: NSPOSIXErrorDomain
Code: 2
Failure Reason: No such file or directory
User Info: {
FunctionName = "-[MIFileManager itemExistsAtURL:error:]";
SourceFileLine = 1340;
}
--
Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : {
"device_isCoreDevice" = 1;
"device_isWireless" = 1;
"device_model" = "iPhone12,3";
"device_osBuild" = "17.4 (21E219)";
"device_platform" = "com.apple.platform.iphoneos";
"dvt_coredevice_version" = "355.24";
"dvt_mobiledevice_version" = "1643.100.58";
"launchSession_schemeCommand" = Run;
"launchSession_state" = 1;
"launchSession_targetArch" = arm64;
"operation_duration_ms" = 10200;
"operation_errorCode" = 1;
"operation_errorDomain" = IXUserPresentableErrorDomain;
"operation_errorWorker" = IDEInstallCoreDeviceWorker;
"operation_name" = IDERunOperationWorkerGroup;
"param_debugger_attachToExtensions" = 0;
"param_debugger_attachToXPC" = 1;
"param_debugger_type" = 3;
"param_destination_isProxy" = 0;
"param_destination_platform" = "com.apple.platform.iphoneos";
"param_diag_MainThreadChecker_stopOnIssue" = 0;
"param_diag_MallocStackLogging_enableDuringAttach" = 0;
"param_diag_MallocStackLogging_enableForXPC" = 1;
"param_diag_allowLocationSimulation" = 1;
"param_diag_checker_tpc_enable" = 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" = 99;
"param_launcher_substyle" = 8192;
"param_runnable_appExtensionHostRunMode" = 0;
"param_runnable_productType" = "com.apple.product-type.application";
"param_structuredConsoleMode" = 1;
"param_testing_launchedForTesting" = 0;
"param_testing_suppressSimulatorApp" = 0;
"param_testing_usingCLI" = 0;
"sdk_canonicalName" = "iphoneos17.4";
"sdk_osVersion" = "17.4";
"sdk_variant" = iphoneos;
}
--
System Information
macOS Version 14.0 (Build 23A344)
Xcode 15.3 (22618) (Build 15E204a)
Timestamp: 2024-03-18T21:12:00+01:00