missing package product

42,975 results found

Post

Replies

Boosts

Views

Activity

create utun interface add routes to it
Hi, mac 14.4 M1 Chip. I can successfully create the utun interface by call out the exec via sudo. the c code for this looks like this. #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define UTUN_CONTROL_NAME com.apple.net.utun_control #define UTUN_OPT_IFNAME 2 int create_utun_interface(char *ifname) { int fd = socket(PF_SYSTEM, SOCK_DGRAM, SYSPROTO_CONTROL); if (fd < 0) { perror(socket(PF_SYSTEM, SOCK_DGRAM, SYSPROTO_CONTROL)); return -1; } struct ctl_info ctlInfo; memset(&ctlInfo, 0, sizeof(ctlInfo)); strncpy(ctlInfo.ctl_name, UTUN_CONTROL_NAME, sizeof(ctlInfo.ctl_name)); if (ioctl(fd, CTLIOCGINFO, &ctlInfo) == -1) { perror(ioctl(CTLIOCGINFO)); close(fd); return -1; } struct sockaddr_ctl sc; memset(&sc, 0, sizeof(sc)); sc.sc_id = ctlInfo.ctl_id; sc.sc_len = sizeof(sc); sc.sc_family = AF_SYSTEM; sc.ss_sysaddr = AF_SYS_CONTROL; sc.sc_unit = 455; // Let the kernel choose a unit for us. if (connect(fd, (st
1
0
222
4w
Reply to Downgrading from iOS 18 beta 2 to iOS 18 beta 1
I would honest never suggest anybody to use any developer beta unless they have a buffer model to handle the bugs that it will have. They are the earliest versions of the new OS designed for developers to test their applications within the new environment as early as possible. Using this on a primary device introduces bugs, security vulnerabilities, potential data loss, and some users even report a degradation in their battery health due to the OS not being optimized for general production. A friendly warning to anybody who might potentionally see this before updating.
4w
Reply to Peculiar EXC_BAD_ACCESS, involving sparse matrices
Welcome to the forum. This code may be readable for you, but without any comment, it is a headache, at least for me, to really understand … So I may miss something in your code. If I understand what you are doing in static func leastSquaresSolution(A: [[Double]], B: [Double]) -> [Double] { you are computing and return xValues This should be done by manipulating xPtr. Correct ? xValues.withUnsafeMutableBufferPointer { xPtr in xValues is initialised with 0.0 values. Where do you update xPtr, which would modify xValues before you return it ?
Jun ’24
Reply to Instruments 15.0.1 on Sonoma 14.1.1 and CORE_ACTIVE_CYCLE kernel always 0
My understanding is that VMware's Fusion product doesn't expose host MSRs to enable vPMC, which prevents the guest OSes from running tools to collect the MSRs. Using the system view (with baselines vs load), albeit with some inaccuracies, is an alternative to using a different host OS for VMware. However, I ended up using a different host OS to get vPMC access in the guest. Thank you for the answer, I apologize for the delay in responding. Sam ps, I'll file a bug-report to ask for the kernel/user CORE-ACTIVE-CYCLE feedback, though likely this will be low priority given the IA32 nature of the request.
Jun ’24
Error Xcode 15.3 Uploading to TestFlight - MinimumOSVersion
Hi, Im trying to upload my app to testflight and keep getting the following errors. I'm unsure of what to do. Would really appreciate any help! Asset validation failed Invalid MinimumOSVersion. Apps that only support 64-bit devices must specify a deployment target of 8.0 or later. MinimumOSVersion in 'AppName-App.app/Frameworks/FirebaseAnalytics.framework' is ''. (ID: 5c2f4b25-3b18-4417-8ea1-3fbe1819b235) Asset validation failed The bundle 'Payload/AppName-App.app/Frameworks/FirebaseAnalytics.framework' is missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring (ID: bdd9b49c-beb4-4aa0-b44e-39ca394523c6) Asset validation failed Invalid Bundle. The bundle AppName-App.app/Frameworks/FirebaseAnalytics.framework does not support the minimum OS Version specified in the Info.plist. (ID:
1
0
350
Jun ’24
Restart sync when using NSPersistentCloudKitContainer
It's 2024, and it still seems like the only sure way to cleanly restart cloud sync on an app using NSPersistentCloudKitContainer is to uninstall and reinstall the app. No need to describe how bad that solution is... Am I missing something? Is there a better way to safely trigger such a restart of the sync (even if it means losing unsaved data and overwriting with what's in the cloud - which is what a reinstall does anyway)?
2
0
343
May ’24
PingFang.ttc font file is missing in iOS 18.0
I'm an iOS developer, and I've been testing our app in iOS 18.0 Beta. I noticed that there's a problem with the font rendering, and after troubleshooting, I've found out that it's caused by the removal of the PingFang.ttc font in 18.0. I would like to ask the reason for removing this font file and which font should be used to display Chinese in the future? My test device is an iPhone 11 Pro and the system version is iOS 18.0 (22A5297). I have also tested Beta 1 and it has the same issue. In previous versions of the system, the PingFang font is located in this directory /System/Library/Fonts/LanguageSupport/PingFang.ttc. But in iOS 18.0, the font file in this directory has become Kohinoor.ttc, and I've tested that this font can't display Chinese either. I traversed the following system font directories and could not find the PingFang.ttc font file. /System/Library/Fonts/AppFonts /System/Library/Fonts/Core /System/Library/Fonts/CoreAddition /System/Library/Fonts/CoreUI /System/Library/Fonts/LanguageSupport /Sys
1
0
364
Jun ’24
Writing to Production using an app not on TestFlight / AppStore
Is this possible? Here's what I'm trying: I'm making an app that reads from a CloudKit database. That's working fine. I made a second admin type app to update the database. But, of course, I don't intend to release the admin app to the public. So it was all working fine while testing in the development environment, but now that my public app is in TestFlight, and I have updated the necessary stuff that should allow me to write to production, but every attempt successfully writes to development, not production. I'm wondering if I submitted my admin app to TestFlight if it would work then. But that doesn't seem like a long term solution, since I think I would have to re-upload every 90 days... just doesn't seem ideal or correct. Do I HAVE to write the admin functionality in to the public app and hide it? What are better ways I could write to production other than manually through the console? Thanks everyone!
1
0
227
Jun ’24
Reply to Xcode 15: Multiple Commands Produce Duplicate Info.plist Error
You appear to be having the same problem I just started having with my Info.plist file. It looks to me like 2 processes in Xcode 15 are trying to generate the Info.plist file. One is generating it from scratch and the other is trying to copy it into the build bundle. Hence the two lines under the error message: Target Restaurant Build ...has copy command Target Restaurant Build .. has process command In Build Phases under Copy Bundle Resources I had an an entry for Copy Info.plist. I think that is the copy command. In Build Settings under Packaging Section there is a parameter to Generate Info.plist file. Mine was set to Yes. I think that is the process command. I got rid of the Copy Bundle Resources entry for Info.plist and the problem went away for me. I can also leave the Copy Bundle Resources entry for Info.plist and set Generate Info.plist to No. However that results in a different error - that there is no Info.plist for the bundle. I have some custom properties I need in the Info.plist so my pr
Jun ’24
Reply to Is there an upper limit on the number of subscription groups an app can offer?
There is a limit of 10,000 IAPs per app. There are a few apps, including one of mine, that have thousands of IAPs. I don't know if this applies to subscriptions in the same way that it applies to non-consumable purchases. The docs don't seem to distinguish between subscriptions and other IAPs so I guess it does. See: https://developer.apple.com/help/app-store-connect/configure-in-app-purchase-settings/overview-for-configuring-in-app-purchases You can create up to 10,000 in-app purchase products per app.
Jun ’24