Posts

Sort by:
Post not yet marked as solved
0 Replies
5 Views
In C++, I can write 123457890ull to imply it's an unsigned long long integer. Does Swift provide similar language construct?
Posted
by
Post not yet marked as solved
0 Replies
9 Views
Cannot record for duration, regardless of the value of 'dur' it always records for about 7 seconds. self.recorder!.prepareToRecord() let time = self.recorder!.deviceCurrentTime + 0.01 let dur: TimeInterval = 1.0 self.recorder!.record(atTime: time, forDuration: dur) Any help appreciated, thanks. Paul
Posted
by
Post not yet marked as solved
0 Replies
13 Views
We are an SDK manufacturer, providing our clients with an HTTP network proxy SDK. Recently on iOS 17.1.1 version, a problem was encountered. After the proxy is started, the system is prone to crash, which looks like a crash in the iOS network library. The crash information is as follows: In other versions of iOS (15, 16) etc., I would like to ask whether the cause of the crash can be seen from the information provided? Is it an issue on our side, or a BUG in the iOS system?
Posted
by
Post not yet marked as solved
1 Replies
48 Views
It all started an hour ago when I tried to download the Network Link Conditioner (I need to test the macOS application I'm developing with a slower network connection). I went to XCode > Open Developer Tool > More Developer Tool. It opens a Sing In page for apple developer. When I sign in with my account, it just refreshes the page and asks me to Sign In all over, stuck in a loop. Otherwise, I'm able to Sign In to all the other parts of the developer website, I have an active membership, all license agreements are up to date. Apple's status site shows everything operational. What I tried: Clearing cookies & cache Different browsers (including Safari) Updating & restarting everything Navigating from https://developer.apple.com/download/ to "More" tab on the website instead of going through XCode Signing in with a passkey instead of a password Tried using a VPN Going to the Developer Support page (https://developer.apple.com/support/) and trying to press "Get Started" to reach out to support by email or phone, but that asks me to Sign In and puts me into another sign in loop. I have no idea what to do and I need the tool to test my app. Apple is providing no informative errors here to even figure out what could be wrong...
Posted
by
Post not yet marked as solved
0 Replies
26 Views
Device: iPhone SE 2020 (2nd gen) iOS: 17.1.1 Xcode: 15 (also tried 15.0.1 and 15.1 Beta 3) I've tried everything over the last 2 days to get this working - turning off VPN/Wifi, Developer Mode OFF and back ON, Unpair device/'Trust' again, doing a full reset of the device etc. - nothing helps! Apple, please help with this ASAP! This has to be fixed in Xcode 15.1 final version! If anyone has any solutions until Apple officially fixes it, please help!
Posted
by
Post not yet marked as solved
0 Replies
17 Views
I want to send APN to update a pass in the Wallet app. Followed this guideline. https://developer.apple.com/documentation/walletpasses/adding_a_web_service_to_update_passes#3733254 I tried with Typescript (Firebase Functions) like this. var path = "/3/device/"+pushToken var url = "https://api.push.apple.com:443"+path const response = await fetch(url, { method: 'POST', body: null, headers: { 'apns-topic': 'com.colorfull.walletPass', 'apns-push-type': 'background', 'connection': 'keep-alive' } }); Got this error. TypeError: fetch failed Tried with Flutter like this. var path = "/3/device/$pushToken"; var url = "https://api.push.apple.com:443$path"; Response resp = await post(Uri.parse(url), headers: { 'apns-topic': 'com.colorfull.walletPass', 'apns-push-type': 'background', 'connection': 'keep-alive' }, body: {}); Got this error. ClientException: Invalid request method, uri=https://api.push.apple.com/3/device/688a3d6bf83526f00f6fb3d8dd197578f665dea0eeba7aebbe68c61f06bad198 Obviously I'm doing it all wrong, but there is no clear guideline. How can I send APN??
Posted
by
Post not yet marked as solved
0 Replies
20 Views
I'm trying to create a simple Regex Builder to parse a timestamp in hh:mm:ss or mm:ss format, a " - " separator, and then a string. I'm trying to use the new Swift RegexBuilder however it doesn't seem to work. It compiles but crashes when running when trying to get the text portion. Example code in a single playground preview file for reference: import SwiftUI import RegexBuilder struct RegexTestView: View { var string: String { let timecode = Regex { Optionally { OneOrMore(.whitespace) } // timecode section Optionally { Capture { OneOrMore(.digit) } transform: { match in Int(match) } ":" } TryCapture { OneOrMore(.digit) } transform: { match in Int(match) } ":" // seconds TryCapture { OneOrMore(.digit) Optionally { // miliseconds "." OneOrMore(.digit) } } transform: { match in TimeInterval(match) } // separator " - " Capture { // WHY CAN'T I GET THE REMAINING TEXT???? Any attempts I make to get this result in a crash. OneOrMore(.any) } transform: { match in String(match) } } let tests = [" 222:45:23.2 - foo","2:34:22 - bar"," 2:08 - baz","2:32.18","2:45:23.2 - what"] var results = "" for test in tests { guard let match = test.wholeMatch(of: timecode) else { results += "MATCH NOT FOUND" continue } results += """ •••• \(match.0) \(String(describing: match.1)) \(String(describing: match.2)) \(String(describing: match.3)) """ /* // Adding this line to the above crashes \(String(describing: match.4))\n */ } return results } var body: some View { Text(string) } } #Preview("Regex") { RegexTestView() }
Posted
by
Post not yet marked as solved
4 Replies
98 Views
I have some problems, so want to receive help from support team. but the sign-in page for support will be routed back to the sign-in page, even if sign in with valid email and password. so, I can't access to support page. Can someone help me to resolve this problem?
Posted
by
Post not yet marked as solved
0 Replies
17 Views
I am making an app that requires a good camera, such as the ones in the iPad Pro, but what devices will they be using when they test the app? If its a Mac, and iPad?
Posted
by
Post not yet marked as solved
0 Replies
24 Views
We have deployed a custom app we developed for iOS through App Store Connect to MacOS Server Profile Manager(MDM), but for some reason, the version information is not displayed in the list view. It's possible that something is missing in the plist file, but I am unsure how to set it in Xcode so that the version information is displayed. Does anyone know a solution to this issue
Posted
by
Post not yet marked as solved
0 Replies
50 Views
I get the message "Review the license agreement. To continue your enrollment, review and accept the Program License Agreement" at the top of my Account screen. But when I try to click on this and sign in, it keeps looping. I sign in and it brings me back to the sign in page. Over and over. I tried calling Apple Support, and they told me to contact developer support. Which I would only be able to contact if I could log in. But I can't. I'm stuck in a loop.
Posted
by
Post not yet marked as solved
0 Replies
28 Views
We have deployed a custom app we developed for iOS through App Store Connect to Cisco Meraki SM(MDM), but for some reason, the version information is not displayed in the list view. It's possible that something is missing in the plist file, but I am unsure how to set it in Xcode so that the version information is displayed. Does anyone know a solution to this issue
Posted
by
Post not yet marked as solved
0 Replies
19 Views
iPadpro2021用HDMI线材链接第三方显示器iPad的屏幕亮度会自动下降,不能调整,这是什么原因,链接视频采集卡也是同样的问题,怎么解决?
Posted
by
Post not yet marked as solved
0 Replies
17 Views
When I display the PKToolPicker in my app it looks similar to the image below If you use one of the apps from Apple like Pages or Freeform you see a picker similar to this one. Notice that the PKToolPicker from the Apple app has 6 tools not including the ruler. With the tool all the way to the left being the writing tool. How do you get the picker to display with the writing tool? I have looked over the API and I can see where you can set if the ruler is displayed or not but I can't find anything for the writing tool
Posted
by
kka
Post not yet marked as solved
0 Replies
18 Views
I just been working on an Augmented Reality (AR) application using Unity. I am facing a critical issue with camera access when my app is published on the App Store, and I'm reaching out to seek your guidance and assistance in resolving this matter. Here's a brief overview of the problem: During development and testing in Unity, the camera functionality in my AR app works as expected. I can access and utilize the device's camera for AR features without any issues. However, when I publish the app to the App Store and users download it, they are unable to access the device's camera within the app. This is a significant problem as camera access is fundamental to the app's functionality and user experience. I have taken several steps to ensure that I have correctly configured camera access permissions both in Unity's Player Settings and within Xcode: In Unity's Player Settings, I have provided a "Camera usage Description" to explain why the app needs camera access. In Xcode, I have also included the necessary privacy descriptions for camera access in the Info.plist file. Despite these efforts, the issue still persists. Users cannot access the camera when they download the app from the App Store. I have reviewed Apple's documentation and guidelines regarding camera access permissions, and I believe I have followed them correctly. I am eager to resolve this issue promptly to ensure that my AR app provides a seamless experience for users. If there are any specific steps or configurations that I might have missed or if there are any additional requirements or changes I need to make in order to enable camera access for my app on the App Store, I would greatly appreciate your guidance. If there is any additional information or logs you require from my end to assist in diagnosing and resolving this issue, please do let me know, and I will provide them promptly.
Posted
by
Post not yet marked as solved
0 Replies
26 Views
I have gone through several tutorials for WeatherKit. But my sample app doesn't return weather data. The following is a list of what I have. I've registered a Bundle ID for my sample app with the WeatherKit capability on. I've created a developer profile for my sample app. I've opened my Xcode project to make sure that the WeatherKit capability is enabled. I have run my sample app with an actual device. I have waited for more than 30 minutes for the service to kick in. It's been several days. The following is my code. import SwiftUI import CoreLocation import WeatherKit struct ContentView: View { @State var currentWeather: CurrentWeather? var body: some View { NavigationStack { List { Group { SampleCell(title: "Temperature", value: String(currentWeather?.apparentTemperature.value ?? 0.0) + "℃") SampleCell(title: "Cloud coverage", value: String(currentWeather?.cloudCover ?? 0.0)) SampleCell(title: "Weather condition", value: String(currentWeather?.condition.description ?? "")) SampleCell(title: "Dew point", value: String(currentWeather?.dewPoint.value ?? 0.0) + "℃") SampleCell(title: "Humidity", value: String(currentWeather?.humidity ?? 0.0)) SampleCell(title: "Pressure", value: String(currentWeather?.pressure.value ?? 0.0) + "mbar") SampleCell(title: "Pressure trend", value: String(currentWeather?.pressureTrend.description ?? "")) SampleCell(title: "Temperature", value: String(currentWeather?.temperature.value ?? 0.0) + "℃") SampleCell(title: "UV index", value: String(currentWeather?.uvIndex.value ?? 0)) SampleCell(title: "Visibility", value: String(currentWeather?.visibility.value ?? 0.0) + "m") } SampleCell(title: "Window direction", value: String(currentWeather?.wind.direction.value ?? 0.0) + "°") SampleCell(title: "Window speed", value: String(currentWeather?.wind.speed.value ?? 0.0) + "km/h") SampleCell(title: "Gust", value: String(currentWeather?.wind.gust?.value ?? 0.0) + "km/h") } .navigationTitle(Text("CurrentWeather")) .task { let service = WeatherService() let location = CLLocation( latitude: 35.467081, longitude: 139.620798 ) do { let weather = try await service.weather(for: location) currentWeather = weather.currentWeather } catch let error { print(error.localizedDescription) } } } } } struct SampleCell: View { var title: String var value: String var body: some View { VStack { HStack { Text(title) Spacer() Text(value) } } } } Yet, I constantly get the following warnings. 2023-11-29 09:33:46.504737+0900 WeatherCrazyMama[15279:9734572] [WeatherDataService] Aborting silent interpolation: no interpolator object; location=CLLocationCoordinate2D(latitude: 35.467081, longitude: 139.620798) 2023-11-29 09:33:47.900605+0900 WeatherCrazyMama[15279:9734577] [AuthService] Failed to generate jwt token for: com.apple.weatherkit.authservice with error: Error Domain=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 "(null)" 2023-11-29 09:33:47.989603+0900 WeatherCrazyMama[15279:9734572] [WeatherService] Encountered an error when fetching weather data subset; location=<+35.46708100,+139.62079800> +/- 0.00m (speed -1.00 mps / course -1.00) @ 2023/11/29 9:33:46 AM Japan Standard Time, error=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors 2 Error Domain=WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors Code=2 "(null)" The operation couldn’t be completed. (WeatherDaemon.WDSJWTAuthenticatorServiceListener.Errors error 2.) What am I doing wrong? Thanks.
Posted
by

TestFlight Public Links

Get Started

Pinned Posts

Categories

See all