I'm about to release an app update with a new app icon. I've changed the icons several times to try different designs with Xcode 12.x and iOS 14 and never had any issues. Today I updated to Xcode 13 + iOS 15, and no matter what I try, the device keeps showing my previous version of the app icon.
Xcode displays the new icon (e.g. under "Targets" of the project settings).
The correct (new) icon is being displayed when running in simulator.
In the "Devices and Simulators" window, the old/wrong icon is displayed under "Installed Apps".
Things I've tried:
I checked all asset catalogs etc. in my project and can confirm the old icon asset is no longer there.
Clean build folder.
Delete the app off the device from "Devices and Simulators".
Delete the app on the device itself.
Restart the iPhone whilst app is still on the device.
Restart the iPhone whilst app is deleted.
Restart Mac.
I created a new iOS icon asset and linked that from the iPhone project settings.
Increased the build number of the iPhone app.
No matter what I try, the old icon keeps coming back.
It seems like iOS 15 caches the icon and building and running on device from Xcode is not enough. Any ideas
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I have a TabView in my app. One of the tabs contains a screen with a List view. No matter what content or .listStyle I try to apply, the List messes up the tab bar: The divider line disappears immediately and then, when the user goes to a different tab, depending on that content, it either restores/fixes the tab bar, so it looks normal again, or it remains messed up in a sense that only the currently active tab icon + label are visibly in the foreground. The blurred background of the tab bar and the other icons are either invisible or too far in the background, i.e. the content of the tab screen goes in front of the tab icons. The tab bar is expected to always be above the screen contents, even if the screen uses .ignoresSafeArea().
I also tried manually setting .zIndex(1) on various views.
Everything worked perfectly fine with iOS 14.x, but since upgrading to iOS 15 this weird bug appeared.
Example project:
import SwiftUI
import MapKit
struct ContentView: View {
var body: some View {
TabView {
screen1.tabItem {
Image(systemName: "1.square.fill")
Text("Tab 1")
}
.tag(1)
.navigationViewStyle(StackNavigationViewStyle())
screen2.tabItem {
Image(systemName: "2.square.fill")
Text("Tab 2")
}.tag(2)
screen3.tabItem {
Image(systemName: "3.square.fill")
Text("Tab 3")
}.tag(3)
}
}
var screen1: some View {
ScrollView {
VStack {
ForEach(1..<80) { index in
Text("Line \(index)")
}
}
.frame(maxWidth: .infinity)
}
}
@State private var region = MKCoordinateRegion(center: CLLocationCoordinate2D(latitude: 0, longitude: 0), span: MKCoordinateSpan(latitudeDelta: 1, longitudeDelta: 1))
var screen2: some View {
Map(coordinateRegion: $region)
.ignoresSafeArea()
}
var screen3: some View {
List {
Text("List Item")
}
}
}
I've integrated a map view into my app (now using iOS 15). In one particular area I'm getting these kinds of errors in the console of Xcode:
2021-09-29 17:46:16.330607+0100 […] [VKDefault] Building failed to triangulate!
Wrapped around the polygon without finishing... :-(
List has 66 nodes:
144 [...abbreviated...] 2
2021-09-29 17:46:16.331588+0100 […] [VKDefault] Building failed to triangulate!
2021-09-29 17:46:16.493476+0100 […] [ResourceLoading] Failed to load key: 1385568764.285346958 t:35 kt:0 type: 35, -7: GEOErrorDomain
I came across this only because rendering of a static map image using MKMapSnapshotter of that location at a certain zoom level keeps failing without an error all the time, i.e. the completion handler is never called, not even with an error.
If I change the snapshot region or use a wider span I have no issues.
For privacy I won't share the affected location here in the forum.
Any ideas? Is this some kind of unhandled error with problematic map data from Apple?
I'm currently experimenting with MapKit JS version 5.61.1.
I initialise a map with the option pointOfInterestFilter, but no matter what I set (including, excluding), it has no effect and all the default POIs will always show.
Example (abbreviated):
js
const map = new mapkit.Map(…, {
region: region,
pointOfInterestFilter: mapkit.PointOfInterestFilter.including([
mapkit.PointOfInterestCategory.ATM
]),
});
I would expect only to see ATMs on the map, but it shows just everything.
Manually inspecting map.pointOfInterestFilter._includes indicates, that the setting was set successfully as it shows an array ["ATM"].
By the way, I also noticed that the documentation - https://developer.apple.com/documentation/mapkitjs/mapkit/pointofinterestfilter says there should be the constants mapkit.PointOfInterestFilter.filterIncludingAllCategories and mapkit.PointOfInterestFilter.filterExcludingAllCategories, but they don't appear to be present.
Thank you for any tips!