Notes from What's new in Privacy - Wednesday, June 12th 2024: https://forums.developer.apple.com/forums/thread/757223
Notes from What's new in device management - Thursday, June 13th 2024: https://forums.developer.apple.com/forums/thread/757219
Answered questions from Security lab session: https://forums.developer.apple.com/forums/thread/757230
Answered questions from Device Management lab session: https://forums.developer.apple.com/forums/thread/757232
Apple Developers
RSS for tagThis is a dedicated space for developers to connect, share ideas, collaborate, and ask questions. Introduce yourself, network with other developers, and foster a supportive community.
Post
Replies
Boosts
Views
Activity
Created an app in react native but it fails when trying to load the iOS application. The error block is too large to pull any useful debug information
A summarised version is below
2024-06-28 12:57:20.459 xcodebuild[4719:53569] DVTAssertions: Warning in DVTiOSFrameworks/DTDeviceKitBase/DTDKRemoteDeviceData.m:408
Details: (null) deviceType from 7ecf611b5088b150372e24fd68af930bd7afd085 was NULL when -platform called.
Object: <DTDKMobileDeviceToken: 0x7fce74c8d030>
Method: -platform
Thread: <NSThread: 0x7fce702108b0>{number = 3, name = (null)}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
2024-06-28 12:57:20.712 xcodebuild[4719:53646] DVTAssertions: Warning in DVTiOSFrameworks/DTDeviceKitBase/DTDKRemoteDeviceData.m:408
Details: (null) deviceType from 7ecf611b5088b150372e24fd68af930bd7afd085 was NULL when -platform called.
Object: <DTDKMobileDeviceToken: 0x7fce74c8d030>
Method: -platform
Thread: <NSThread: 0x7fce74cca640>{number = 10, name = (null)}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
2024-06-28 12:57:20.817 xcodebuild[4719:53646] DVTAssertions: Warning in DVTiOSFrameworks/DTDeviceKitBase/DTDKRemoteDeviceData.m:408
Details: (null) deviceType from 7ecf611b5088b150372e24fd68af930bd7afd085 was NULL when -platform called.
Object: <DTDKMobileDeviceToken: 0x7fce74c8d030>
Method: -platform
Thread: <NSThread: 0x7fce74cca640>{number = 10, name = (null)}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/mobiledev/Library/Developer/Xcode/DerivedData/ScanValidate-evohoxurqotysugjrrxkbpjnbrzn/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/React-Codegen.build/Script-46EB2E0001BE30.sh (in target 'React-Codegen' from project 'Pods')
(1 failure)
Build logs written to /Users/mobiledev/Desktop/React-Native/ScanValidate/.expo/xcodebuild.log
I’m on the iOS 18 Beta 1 with my iPhone 12. Since I only have 64 gigs on this phone, storage is sometimes an issue, though I can normally decrease it by getting rid of apps. As of downloading iOS 18, though, “System Data” is always taking half of my storage. Because of this, I am unable to update to a newer version of iOS 18. It also sometimes prevents me from taking photos, where I then have to restart my whole phone to get a little bit extra storage. Is there any way to update without the storage, or some way to decrease System Data?
Can some one please help me understand why my C file is showing this error. I am using MacBook Air M2
Gambling apps use real money bets, somehow they get past apple censorship. I hope the management will handle this
https://apps.apple.com/us/app/fluttering-letters/id6478998955
https://apps.apple.com/us/app/electrolink/id6476019696
https://apps.apple.com/us/app/green-glory-gathering/id6476551391
https://apps.apple.com/vn/app/runinmoutainfall/id6468037885?l=vi
The SwiftData predicate documentation says that it supports the contains(where:) sequence operation in addition to the contains(_:) string comparison but when I put them together in a predicate to try and perform a tokenised search I get a runtime error.
Unsupported subquery collection expression type (NSInvalidArgumentException)
I need to be able to search for items that contain at least one of the search tokens, this functionality is critical to my app. Any suggestions are appreciated. Also does anyone with experience with CoreData know if this is possible to do in CoreData with NSPredicate?
import SwiftData
@Model
final class Item {
var textString: String = ""
init() {}
}
func search(tokens: Set<String>, context: ModelContext) throws -> [Item] {
let predicate: Predicate<Item> = #Predicate { item in
tokens.contains { token in
item.textString.contains(token)
}
}
let descriptor = FetchDescriptor(predicate: predicate)
return try context.fetch(descriptor)
}
API interface will return these error, does anyone know what the code means.
2
24
50
61
310
567
Looking for a spare phone anyone may have that they aren using that I can use with no strings attached. Thanks in advance for being a blessing f:)
Hello,
My developer account has expired, and I can't renew it.
Despite checking on both my iPhone and Mac App Store, my subscription doesn't show up in the subscription list. The renew button is missing in the Developer app on both iPhone and Mac, and it’s also absent on the website: https://developer.apple.com/account. I’ve tried logging in and out multiple times on both devices. I’ve even contacted Apple Support, but haven’t received any response.
My apps are at risk of being removed from the store. I’m in the middle of an important project and can't even publish a TestFlight version. It's incredibly frustrating.
It's disappointing that such a large company like Apple could have such a glaring issue. Can anyone please suggest a way to fix this?
I need to setup Apple Pay using Stripe on WordPress sites. How do i enroll in a Developer program?
Dear Apple Support,
I am writing to express my dissatisfaction with the handling of my case regarding my iPhone 14 screen issue Case ID: 102323069276.
From last 1 month, I contacted Apple Support and reported that my iPhone 14 screen turned black after a software update. I spoke with an advisor but every time they tell that they can't reach me.
Since then, I haven't received any further updates or solutions. I am frustrated by the lack of progress and would appreciate it if you could escalate this matter.
Thank you for your time and attention to this issue.
Sincerely,
Mohammed Arsh
See whenever I close and open the Xcode the the iOS deployment target value changes to 11.0 in Xcode 15. It is really pain always going and changing the value manually to iOS 12.0.
Is there any way we can save this value permanently in Xcode 15??
We are building our own Cocoapod file. We have to convert a local DOC file to PDF with any server interaction. It will be in offline mode.
Any suggestion will be appreciated.
I have delivery app for customer, driver and we collected location data from user.
With the app for driver, we collected location data for provide direction to deliver, tracking location on Admin to support and send nearest order request.
With the app for customer, we collect location data to show nearest restaurant in 1 km and send current location on Admin for support.
So, I still concern that the app for driver or customer should have request App Tracking Transparency permission?
How to ensure current SKScene has fully loaded before engaging it with the GamePad Controller?
The problem is this = when stopping sound is involved when I do switch SKScenes, if I press the buttons of the GamePad Controller (which cycle thru these other SKScenes) too fast, the movement of the Game Pieces fails to resume when I return to the Game Scene after the above cycling.
This problem occurs only with the os(tvOS) version, but not with the iPad version. And the reason for this distinction is that each SKScene for the iPad has to fully load due to the fact that the button I press to switch SKScenes is at the top-left corner of the iPad -- so, by definition, by the time I have access to this button, the current SKScene has fully loaded.
By definition, there is no such button for os(tvOS).
Given this button’s absence, I believe I need the Swift version of jQuery’s
$(document).ready (function() {.
Any help will be appreciated to the rafters ...
Hello dear forum members and Apple Team! I paid for Enrollment membership in Apple Developer Program 8 months ago and this account is active. My question is: can I use the visa card I used in the first account I opened to pay for another Enrollment on the Apple Developer Program platform? My second question: I filled in all the required information to become a member of the Apple Developer Program platform and completed the last stage of payment, but my visa card has not been charged. And I haven't received any message for this membership application, what should I do? Thanks in advance for the answers.
Button {
print("121111-----")
} label: {
Text("asdasa")
}
.background(Color.gray)
.frame(width: 100, height: 50)
I have a framework (Framework1) that uses another NFC framework.
I want to check if the NFC framework is imported in the parent app and, if so, reference files dependent on the NFC framework inside Framework1.
Is this possible in Swift on iOS using Xcode?
I try to use the new VNCalculateImageAestheticsScoresRequest API.
Code is compiling and running but delivers the same result for every image
Xcode 16 Beta 2 Simulator
Did I missing anything ?
Hi I'm new to Swiftui.
I want to show a sheet and pass a var to it.
In the case below when I tap on a list view it will popup then disappear. But subsequent taps will work as intended.
Main view:
struct ContentView: View {
@State private var selectedMonth = 1
@State private var selectedYear = "2024"
let months = [1,2,3,4,5,6,7,8,9,10,11,12]
@State private var isShowing = false
var body: some View {
List {
ForEach (months, id: \.self) { month in
HStack {
ViewList(month: month, year: selectedYear)
}
.onTapGesture {
isShowing = true
selectedMonth = month
}
.sheet(isPresented: $isShowing){
PopupView(month: selectedMonth, year: selectedYear)
.presentationDetents([.large])
}
}
}
.listRowSpacing(2)
.listStyle(.grouped)
}
}
ViewList:
struct ViewList: View {
var month: Int
var year: String
@State private var selectedMonthText = "Jan"
var body: some View {
VStack (alignment: .leading) {
Text(selectedMonthText + " / " + year)
.font(.headline)
}
.onAppear {
switch month {
case 01:
selectedMonthText = "Jan"
case 02:
selectedMonthText = "Feb"
case 03:
selectedMonthText = "Mar"
case 04:
selectedMonthText = "Apr"
case 05:
selectedMonthText = "May"
case 06:
selectedMonthText = "Jun"
case 07:
selectedMonthText = "Jul"
case 08:
selectedMonthText = "Aug"
case 09:
selectedMonthText = "Sep"
case 10:
selectedMonthText = "Oct"
case 11:
selectedMonthText = "Nov"
case 12:
selectedMonthText = "Dec"
default:
selectedMonthText = "All"
}
}
}
}
Then my popup:
struct PopupView: View {
@Environment(\.dismiss) var dismiss
var month: Int
var year: String
@State private var selectedMonthText = "Jan"
@State private var imageText = "plus"
@State private var items = ["Cat", "Dog", "Bird", "Snake"]
var body: some View {
Button("Dismiss"){
dismiss()
}
Text(selectedMonthText + " / " + year)
List {
ForEach(items, id: \.self) {item in
HStack {
Text(item)
Text("Fed on: ")
Text(selectedMonthText)
}
}
}
.listRowSpacing(0)
.listStyle(.inset)
.onAppear {
switch month {
case 01:
selectedMonthText = "Jan"
case 02:
selectedMonthText = "Feb"
case 03:
selectedMonthText = "Mar"
case 04:
selectedMonthText = "Apr"
case 05:
selectedMonthText = "May"
case 06:
selectedMonthText = "Jun"
case 07:
selectedMonthText = "Jul"
case 08:
selectedMonthText = "Aug"
case 09:
selectedMonthText = "Sep"
case 10:
selectedMonthText = "Oct"
case 11:
selectedMonthText = "Nov"
case 12:
selectedMonthText = "Dec"
default:
selectedMonthText = "All"
}
}
}
}