App is Xcode swiftUI on iPad using textview. The cursor is invisible yet it moves "underneath". How to make it visible. The app textview input is button characters and coexists with a Magic Keyboard where the cursor is visible.
Posts under iOS tag
200 Posts
Sort by:
Post
Replies
Boosts
Views
Activity
I'm unable to reproduce an issue which only seems to occur on App Review devices. It's mainly stuck at a loading screen when trying to sign in with GameCenter.
I'm using Microsoft Azure PlayFab as a game backend. I've tested my game on two iPads and three different iPhone models. They're all able to connect to the server. No debug build was installed on those devices via Xcode. I used the same build which was rejected, freshly installed via TestFlight on the internal test track.
Looking at my server logs, I can't even find one single request sent from the App Review device. This can only mean that there is some connectivity issue between their device and the server (e.g. a firewall or proxy).
I've also implemented a retry mechanism so in case the request times out, it would try it again and after three retries it would eventually display an error message and further details.
How shall I figure this issue out, if the only thing the reviewers provided me is a screenshot of the loading screen?
I‘ve being trying to continue developing my own app for the last 4 weeks and I’ve not being able to do so due to this persistent error message whenever I try to deploy to my own device “Unable to verify app. Internet connection is required to verify trust.”
I’ve searched all around for a way to fix this issue but no body seems to be sure why this happens nor how to fix it.
It started happening right after I‘ve upgraded my phone from a 14 to a 15, and ever since, the 15 simply doesn’t allow me to deploy on it…
I also have a SE Gen 2 running iOS 15 and it seems to work just fine.
Anyone happens to know whats going on? Now I also have to worry if the iPhone is going to let me continue working or not whenever I upgrade it?
dear other developers
I downloaded the iOS 18 beta onto my iPhone SE2
It worked perfectly for the first 2 days
but now it crashed yesterday
it won't turn on anymore and it won't go into recovery mode
what should I do?
BEST WISHES
iPhone 15 Pro Max just downloaded iOS 18 developer beta and was messing with the new features when I went to edit my today view screen on my Home Screen and my news widget stayed in a constant state of being edited where it doesn’t shake like the other widgets or apps when editing. But it has the close button and the size tab like the new control center tools when editing them. I can still edit my today view screen but the old news widget won’t go away and even seems to be updating with new stories. The today view on my Lock Screen doesn’t have the old widget at all and also can be edited from the unlocked screen.
sorry if I’m in the wrong topic, I posted on the general forum but seems to been taken down as I am running the new iOS; And I am new to developer tools.
Some of our users on iOS 17.5+ started to encounter crash due to:
SwiftData/BackingData.swift:669: Fatal error: Unknown Relationship Key - subscription)
We have tried using SwiftData on the MainActor only but an issues still effects some of our users.
Our models look like these:
@Model
public final class ProfileModel {
public static let fetchDescriptor = FetchDescriptor<ProfileModel>.self
public enum Gender: Codable {
case female
case male
case other
}
public enum Units: Codable {
case imperial
case metric
}
public enum Eating: Codable {
case empath
case enthusiast
case explorer
case guardian
case harmonizer
case pacifier
case regulator
case stoic
case iosDefault
}
public enum RegistrationSource: Codable {
case iOS
case web
}
public enum NHE: Codable {
case combined
case emotional
case mindless
}
public enum Goal: Codable {
case beHealthier
case energyIncrease
case healthyHabits
case looseWeight
case relationshipsWithFood
}
public enum WeightLossFocus: Codable {
case activity
case healthyHabits
case nutrition
case other
}
@Attribute(.unique)
public let id: String
public let isPaid: Bool
public let eating: Eating
public let registrationSource: RegistrationSource
public let nhe: NHE?
public let firstName: String?
public let lastName: String?
public let gender: Gender?
public let height: String?
public let age: Int?
public let weight: String?
public let targetWeight: String?
public let bmi: String?
public let goal: Goal?
public let units: Units?
public let weightLossFocus: WeightLossFocus?
@Relationship(deleteRule: .cascade)
public var subscription: ProfileSubscriptionModel?
public init(
id: String,
isPaid: Bool,
eating: Eating,
registrationSource: RegistrationSource,
nhe: NHE?,
firstName: String?,
lastName: String?,
gender: Gender?,
height: String?,
age: Int?,
weight: String?,
targetWeight: String?,
bmi: String?,
goal: Goal?,
units: Units?,
weightLossFocus: WeightLossFocus?,
subscription: ProfileSubscriptionModel?
) {
self.id = id
self.isPaid = isPaid
self.eating = eating
self.registrationSource = registrationSource
self.nhe = nhe
self.firstName = firstName
self.lastName = lastName
self.gender = gender
self.height = height
self.age = age
self.weight = weight
self.targetWeight = targetWeight
self.bmi = bmi
self.goal = goal
self.units = units
self.weightLossFocus = weightLossFocus
self.subscription = subscription
}
}
@Model
public final class ProfileSubscriptionModel {
public static let fetchDescriptor = FetchDescriptor<ProfileSubscriptionModel>.self
public let price: Double
public let currency: String
public let period: Int
public let status: String
public let expirationDate: Date
public let cancelledAt: Date?
public init(price: Double, currency: String, period: Int, status: String, expirationDate: Date, cancelledAt: Date?) {
self.price = price
self.currency = currency
self.period = period
self.status = status
self.expirationDate = expirationDate
self.cancelledAt = cancelledAt
}
}
0
I'm trying to make a list of trips that a person has gone on, and when someone has no trips in their list, it will display a ContentUnavailableView with a NavigationLink to take them to a new view. I am encountering strange issues when using the ContentUnavailableView with the NavigationLink, such as the back button being unaligned and not being able to swipe back to the previous view.
I expected the ContentUnavailableView to link without any of these issues.
Any guidance would be greatly appreciated.
I just got the iPad air 5th gen and also the Apple Pencil 2nd Gen and right when I started using the scribble function, I would get random static lines along the lettering or random parts of the screen. it only appears when I'm waiting and doesn't affect the actual things I'm writing. The iPad also automatically updated to the beta version of ios 18 because my iPhone
is also on the beta. Is anyone else having this issue?
after this bug happen i couldn’t turn it back to normal screen
i had to restart all for this to gone
I have an app that runs on both iOS and visionOS (native). Both app use the same project, just some files and code segments are different. We do not use automatic signing. Instead we use a Distribution profile. When creating a distribution profile and adding capabilities there are certain capabilities we are using on iOS that are not available on visionOS. Like the com.apple.developer.kernel.increased-memory-limit and the Extended Virtual Addressing Entitlement. My understanding is that we can only have one Distribution profile per app (may be wrong understanding). My question is how can we have two separate distribution profiles for iOS and visionOS, so iOS can have those extra capabilities that aren't available on visionOS?
I tried to create two separate targets, one for iOS and one for visionOS, but that still gives me the same issue of having the distribution profile being the same and not being able to make it unique for iOS and visionOS. Is there a correct approach to setting up the Xcode project or the distribution profile?
I'm new to visionOS development and distribution profiles, any guidance would be appreciated. Let me know if you have any questions or need more clarification.
We are trying to analyze how many of our users have upgraded from 17.4 (which has a major issue in compatibility with our app) to 17.5 (in which the issue does not happen).
When we use the metrics in App Store Connect, the version 17.5 does not appear in the Platform version list at all.
When we look at overall sessions, we see there are about 80 today. But when we display By Platform Version, we only see 4. I surmise that we should be seeing many sessions on 17.5 but those are being hidden because of this issue.
My personal application created with xcode swiftUI disappears from my iphone, after 3 days message application not available.
What is this development system for?
Good day. My app crashed as i launched to testflight. when it is launched on a real devices it crashes
here is my crash report.
Incident Identifier: 6B2FE0C7-91F8-46D3-90B5-EB96A6809C5C
Hardware Model: iPhone12,5
Process: Runner [39554]
Path: /private/var/containers/Bundle/Application/D413442F-1978-4F6F-909C-A09EAE720D44/Runner.app/Runner
Identifier: com.gtirides.appRide
Version: 1.0.0 (1)
AppStoreTools: 15F31e
AppVariant: 1:iPhone12,5:16
Beta: YES
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.gtirides.appRide [4745]
Date/Time: 2024-06-20 13:07:17.1843 +0100
Launch Time: 2024-06-20 13:07:16.9994 +0100
OS Version: iPhone OS 16.5.1 (20F770750d)
Release Type: User
Baseband Version: 4.02.01
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
VM Region Info: 0 is not in any region. Bytes before following region: 4301684736
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 100668000-100670000 [ 32K] r-x/r-x SM=COW ...er.app/Runner
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [39554]
Triggered by Thread: 0
Thread 0 Crashed:
0 Intercom 0x0000000100e94610 +[ICMIdentityStore hexTokenFromDeviceToken:] + 32
1 Intercom 0x0000000100e946bc -[ICMIdentityStore setDeviceTokenData:environment:failure:] + 80
2 Intercom 0x0000000100ebb320 +[ICMHTTPBridge registerDeviceToken:failure:] + 116
3 Intercom 0x0000000100ea7bdc +[ICMBridge registerDeviceToken:failure:] + 112
I've had an app that edits photos in your library since the PhotoKit API was released in iOS 8. I know it was required if you preserve photo metadata you had to change the value of Orientation to 1 (up), otherwise PhotoKit would fail to perform the asset change request. When I remove this code, I'm seeing Orientation is getting changed to 1 automatically both at root and in the TIFF dictionary (tested with iOS 18). I wanted to confirm this is expected behavior, the system does this for us now? If so, can I remove this code for iOS 15+, or was it a recent iOS version this started happening? Thanks!
I'm trying to test an app on Testflight and having problems.
I've uploaded my app to App store connect successfully and I've added my external testers to the new build. It's in the "waiting for review" stage.
When I go to TestFlight, I see the new build, as expected (I'm an internal tester).
When I tap "install" I get the following error:
Could not install ______.
The profile can't be installed.
Try again.
Is this a problem on my end or apple's? The same build of the app works fine when I hit the "run" button in XCode.
Hey all, my first time posting on these forums as I've finally become completely stumped. I'm working to implement a ShareLink to share data between users on my app, and have gotten pretty far (file saves, sends correctly), but am having significant issues getting the link to open in my app when sharing by email and not getting any action at all when tapping a shared link in iMessage. I'll go through my setup below:
I have declared my new UTType, and created my new model which conforms to transferable here:
struct transferTemplate: Codable {
var id: UUID = UUID()
var name: String = "TempName"
var words: [String] = ["word1","word2"]
}
extension transferTemplate: Transferable {
static var transferRepresentation: some TransferRepresentation {
CodableRepresentation(contentType: .oltemplate)
}
}
extension UTType {
static var oltemplate: UTType { UTType(exportedAs: "com.overloadapp.oltemplate") }
}
I have declared the document type in my info.plist:
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>Template Session</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>com.overloadapp.oltemplate</string>
</array>
</dict>
</array>
I have declared the Exported Type Identifier:
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.json</string>
</array>
<key>UTTypeDescription</key>
<string>Template Session</string>
<key>UTTypeIconFiles</key>
<array/>
<key>UTTypeIdentifier</key>
<string>com.overloadapp.oltemplate</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>oltemplate</string>
</array>
<key>public.mime-type</key>
<array>
<string>application/json</string>
</array>
</dict>
</dict>
</array>
I've also included the "LSSupportsOpeningDocumentsInPlace" boolean to True in the PLIST.
My physical ShareLink setup is:
@State private var transferred: transferTemplate = transferTemplate(name: "NameTemplate", words: ["One","Two"])
...
ShareLink(item: transferred, preview: SharePreview("Share your template", image: Image("tanLogo")))
Heres where the above code gets you:
ShareLink brings up the share sheet and allows you to send the file (with the .oltemplate file extension). Sharing via iMessage will send a file, but within iMessage, the file cannot be opened at all. By email, the file can be opened but does not show any information. If you open the ShareSheet within the email attachment, you can manually choose to open the file in my app. If the file is saved to "Files", it will open my app when it is tapped (work as intended).
Heres what I have tried to fix this:
Modifying the Exported File Type "Conforms to" value. Ive used public.data, public.text, public.json.
Including and not including the mime type
I've scoured forums trying to solve this issue, and it doesn't seem like there is a clear cut solution for this issue. I appreciate any help you can provide! Please let me know if I can include any more helpful information.
Is it possible to sort the user library assets by date captured? The Photos app in iOS 18 lets you choose between Date Captured and Recently Added and I want to offer that same choice in my app. This seems to always sort them by creation date (which I believe is the same as recently added):
let assetCollection = PHAssetCollection.fetchAssetCollections(with: .smartAlbum, subtype: .smartAlbumUserLibrary, options: nil).firstObject!
let fetchResult = PHAsset.fetchAssets(in: assetCollection, options: PHFetchOptions.imageMediaType())
After a week of testing iOS 18.
iPhone SE 3 keeps randomly restarting after I use it for a few minutes.
Reported this issue through feedback assistant.
Please fix this bug in next iOS 18 beta?
Problem Details :
In the case of iOS, the image to be displayed in the pop-up message within the TypeScript application does not appear during file download.
An error occurred trying to load the resource when attempting to fetch the image (in the case of Safari).
The image does not appear in Edge or Chrome either, besides Safari. The image is displayed correctly on Windows 10, 11, Mac Ventura, Mac Sonoma, and Android.
Neither svg format nor png format images are displayed.
Only in the case of iOS, a download modal appears in Safari (In Edge and Chrome, a different display asking whether or not to download appears, which is different from the modal).
The issue only occurs when the download modal display and the image fetching for the pop-up are conducted simultaneously. If you delay the display of the download modal from the timing of fetching the image for the pop-up (apply a wait), the image can be fetched.
Verification Environment:
iOS v.17.5.1 Safari 604.1
iOS v.17.3 Safari 604.1
IOS v.17.4.1 Chrome 126.0.6478.54
IOS v.17.4.1 Edge: 125.0.2535.72
Consideration and Request:
Based on the problem details, I am considering that this issue might be a bug in iOS.
I would like to know from experts whether this event is a bug or a specification of iOS.
If there is any information about similar events occurring, I would like to know.
If there are any solutions, hints, or advice, I would appreciate it if you could provide them.
If additional information is required from me, I would like to be contacted.
Thank you for your cooperation.
Hey
The storage of my phone reduced from 256GB to 255GB. I noticed this after I had installed the latest version of iOS. What should I do to fix this issue?