There are some details about the process here: https://developer.apple.com/wallet/loyalty-passes/
We at Stell are a pass provider and might be able to assist with your pass deployment. Reach out at https://getstell.com and let's discuss the use case.
Post
Replies
Boosts
Views
Activity
There is some details about the process here: https://developer.apple.com/wallet/loyalty-passes/
We at Stell are a pass provider and might be able to assist with your pass deployment. Reach out at https://getstell.com and let's discuss the use case :-)
Found this thread:
https://twitter.com/twannl/status/1415643862761152513
Seems like the packages needs to be updated to mark functions unavailable for extensions.
Same issue here. Did you find a solution or workaround for it?
Same issue here. FB9210197
If anyone else has the same problem, you can workaround the problem by setting this on the NavigationView:
.navigationViewStyle(StackNavigationViewStyle())
You can try it like this:
let demo = """
{"name":"Foo","age":34,"activities":[{"test1":"testing","type":"xyz","three":{"label1":"Testing1","content":[{"mark1":"markTest1","mark2":"markTest2"}]}},{"test2":"Running","type":"zzzz","three":[{"label2":"Testing1"},{"label2":"Testing1"}]}]}
"""
guard let data = demo.data(using: .utf8) else { return }
let decoded = try? JSONDecoder().decode(TopLevel.self, from: data)
print(decoded?.name)
```
The below code should be able to decode that structure.
import Foundation
// MARK: - TopLevel
struct TopLevel: Codable {
let name: String
let age: Int
let activities: [Activity]
enum CodingKeys: String, CodingKey {
case name
case age
case activities
}
}
// MARK: - Activity
struct Activity: Codable {
let test1: String?
let type: String
let three: ThreeUnion
let test2: String?
enum CodingKeys: String, CodingKey {
case test1
case type
case three
case test2
}
}
enum ThreeUnion: Codable {
case purpleThree(PurpleThree)
case threeElementArray([ThreeElement])
init(from decoder: Decoder) throws {
let container = try decoder.singleValueContainer()
if let x = try? container.decode([ThreeElement].self) {
self = .threeElementArray(x)
return
}
if let x = try? container.decode(PurpleThree.self) {
self = .purpleThree(x)
return
}
throw DecodingError.typeMismatch(ThreeUnion.self, DecodingError.Context(codingPath: decoder.codingPath, debugDescription: "Wrong type for ThreeUnion"))
}
func encode(to encoder: Encoder) throws {
var container = encoder.singleValueContainer()
switch self {
case .purpleThree(let x):
try container.encode(x)
case .threeElementArray(let x):
try container.encode(x)
}
}
}
// MARK: - ThreeElement
struct ThreeElement: Codable {
let label2: String
enum CodingKeys: String, CodingKey {
case label2
}
}
// MARK: - PurpleThree
struct PurpleThree: Codable {
let label1: String
let content: [SBContent]
enum CodingKeys: String, CodingKey {
case label1
case content
}
}
// MARK: - SBContent
struct SBContent: Codable {
let mark1: String
let mark2: String
enum CodingKeys: String, CodingKey {
case mark1
case mark2
}
}
I had the same problem. So just added an empty Storyboard for the launch screen as workaround until it's fixed.
Same happens here with beta 3. Did you find a solution for it?
Same issue here. After archiving I have validated the app and Xcode says that there is no problems. But after uploading I get this error message on mail:
ITMS-90562: Invalid Bundle - The app submission can not be successfully recompiled from bitcode due to missing symbols during linking. You can try to reproduce and diagnose such issues locally by following the instructions from: https://developer.apple.com/library/archive/technotes/tn2432/_index.html
I have also followed the steps here - https://developer.apple.com/library/archive/technotes/tn2432/_index.html, but all fine - "Rebuild from bitcode" works as it should without any error messages.
Created a feedback for it as well, FB8136576.
I have also reported a feedback related to this FB7864958.
Not working here, submitted a feedback for it (FB8080765). Screen does appear, but no "Now Playing" info on it and the graphics are duplicated.
Experience the same bug with beta 2, so reported it a few days ago. FB7990775 - Navigation bar jumps while scrolling.
Yes, use horizontalSizeClass. Here is an example:
struct ContentView: View {
#if os(iOS)
@Environment(\.horizontalSizeClass) private var horizontalSizeClass
#endif
@ViewBuilder var body: some View {
#if os(iOS)
if horizontalSizeClass == .compact {
AppTabNavigation()
} else {
AppSidebarNavigation()
}
#elseif os(watchOS)
AppTabNavigation()
#elseif os(tvOS)
AppTabNavigation()
#else
AppSidebarNavigation()
.frame(minWidth: 900, maxWidth: .infinity, minHeight: 500, maxHeight: .infinity)
#endif
}
}