Dive into the vast array of tools and services available to developers.

Post

Replies

Boosts

Views

Activity

iPhone first? Or iMac first? Feedback Assistant is Broken Again (GRRR!!) and I have to reset my iCloud Pwd - which device should I change it on first? iPhone first? Or iMac first?
iPhone first? Or iMac first? Feedback Assistant is Broken Again (GRRR!!) and I have to reset my iCloud Pwd - which device should I change it on first? iPhone first? Or iMac first? Feedback Assistant is Broken Again (GRRR!!) and I have to reset my iCloud Pwd - which device should I change it on first? This is the question that led me to start this thread: Why is Apple forcing me to change my Appl… - Apple Community Apple is not 'forcing' me to, of course - although I have no choice - I can only recommend to everyone that they AVOID FEEDBACK ASSISTANT LIKE THE PLAGUE until some hack can be found to delete the utterly useless thing: every time I try to sign into it, it forces me to reset my pwd - and then refuses to recognise the freshly minted pwd - and I ABSOLUTELY GUARANTEE I have done this enough times to be certain that it is a Feedback Assistant fault - and a huge one - I'm on Sonoma 14.4 Public Beta. So, having done this utterly unnecessary dance at least fifteen times over the past couple of weeks, and been caught in #AnotherAppleGotcha time and time again (for example, reset pwd on iMac, then sign out of iCloud on iPhone, only to have my exact (copied and pasted) fresh pwd rejected by iPhone), I really would like to know the correct order to do this in - please, please, I'm on my knees here! Perhaps it would be easier to erase the hard disks on all my devices, reload from Time Machine or something - or start with a fresh, ****** Apple ID, and get the Geniuses at the Bar to transfer all my licenses . . . Only joking - but, come on Apple, you can do better than this! And, just by the by, why does the Apple Community website, when asking me to choose which of my (fifteen) Apple devices, offer me first on the list, three MICROSOFT PCs as possible subjects of this problem??? !!!! So - I've reset the pwd on the iMac - all cool after an NVRAM reset and a bit of grunting - but I now have an iPhone which is signed in on the old pwd - and I have updated the OS with an out-of-date pwd - should I sign out and sign in again? (Which, by the way, triggered mayhem last time I tried it) or just wait until some crucial moment like checking in at an airline terminal, only to find I'm locked out of my entire system again? Nobody knows. There's nothing - I've even search the smelliest corners of the DarkWeb - nothing at all . . .
0
0
360
Mar ’24
install_name_tool vs. codesign
I have a shell script that turns a framework into a plain dylib and updates some dependent library paths using install_name_tool. It works, but if the framework was signed, I get warnings like: install_name_tool: warning: changes being made to the file will invalidate the code signature in: [redacted].dylib (for architecture x86_64) I thought I could get rid of the warning by adding codesign --remove-signature dylib-path to the script before using install_name_tool, but then I get errors like install_name_tool: fatal error: file not in an order that can be processed (link edit information does not fill the __LINKEDIT segment): [redacted].dylib (for architecture x86_64) Is there a way to fix this?
1
0
648
Mar ’24
Captive portal detection
Hi Team, I have been working on an application that includes a Network Extension. I wanted to disable it if a captive portal is detected over the network. I have tried different approaches to detect it, including the standard approach outlined in the following document: https://datatracker.ietf.org/doc/html/draft-ietf-capport-api, using the URL https://captive.apple.com/hotspot-detect.html. However, none of these methods seem to be working. Additionally, the kSCNetworkReachabilityFlagsConnectionRequired flag is not being flagged when under a captive network. Could you please assist with this issue? Thank you.
1
0
435
Mar ’24
[MDM] Enterprise and VPP application installs do not work
Hello, I am currently testing the com.apple.configuration.app.managed declaration, and have failed to get it to work with either VPP OR Enterprise apps. (Testing is being conducted on an iPhone XR with iOS 17.3.1) VPP: Initially errors where returned due to not having a license for the device, so I have set it up to fetch a license before the declaration is return to the device. Said declaration is as follows (I have attempted to switch from Device to User VPP type, as well as attempting to use BundleID or AppStoreID but all have the same result: { "Identifier": "BBC_Test_Install", "Payload": { "AppStoreID": "377382255", "InstallBehavior": { "Install": "Required", "License": { "VPPType": "Device" } } }, "ServerToken": "...", "Type": "com.apple.configuration.app.managed" } The configuration above successfully applies on to the device, and can be seen in the configurations tab in Settings. The install is unsuccessful however, as the app.managed subscription item returns the following result: "app" : { "managed" : { "list" : [ { "state" : "failed", "declaration-identifier" : "BBC_Test_Install", "identifier" : "uk.co.bbc.newsuk", "name" : "BBC News - UK & World Stories" } ] } } The device does not provide any additional information, it was initially returning the following reason when I did not request a licence before the install: "code" : "Error.LicenseNotFound" but this has disappeared now that a licence is requested before hand. No other information can be gleaned so I am at a bit of a loss. It should be noted, I am wipping my device between each test, just to try and get it working on a "fresh" application before attempting to deal with updating the declaration. Enterprise: This also does not seem to be behave, the configuration states a successful application, but it cant be seen in the declrations tab within general settings: "active" : true, "identifier" : "Enterprise_Test_Install", "valid" : "valid", "server-token" : "..." The associated configuration is as follows: { "Identifier": "Enterprise_Test_Install", "Payload": { "InstallBehavior": { "Install": "Required" }, "ManifestURL": "https://my.domain/web/mdm/ios/enterpriseplistgenerator/bundle.id" }, "ServerToken": "...", "Type": "com.apple.configuration.app.managed" } I have had previous success installing enterprise apps through MDM commands so I would have assumed the ManifestURL should have worked the same. The above URL does cause the device to make a secondary request for the application manifest, which returns the following: <?xml version="1.0" encoding="UTF-8"?> <plist version="1.0"> <dict> <key>items</key> <array> <dict> <key>assets</key> <array> <dict> <key>kind</key> <string>software-package</string> <key>url</key> <string>https://my.domain/web/mdm/ios/enterpriseipa/bundle.id</string> </dict> </array> <key>metadata</key> <dict> <key>bundle-identifier</key> <string>bundle.id</string> <key>kind</key> <string>software</string> <key>subtitle</key> <string>testapp</string> <key>title</key> <string>testapp</string> </dict> </dict> </array> </dict> </plist> Which the device then does nothing with (app.managed does not report back anything). When installing the enterprise app through MDM commands the above plist does cause the device to make a secondary call to fetch the applications IPA. Some additional information, help, or insight would be useful, as from my perspective the declaration does not seem to work at all.
2
0
481
Mar ’24
LLVM Profile Error
My app encountered this error, but I did not use any decompilation project, monkey, etc., and this error occurs occasionally.Has anyone ever encountered a similar error? LLVM Profile Error: Failed to write file "default.profraw": Operation not permitted
0
0
352
Mar ’24
Payment problem & For 4 months the Apple Payment team has not responded to emails
Hello everyone For a year now my partner and I have been having problems receiving payment from Apple. For a whole year we have been writing letters to the mail and not getting a constructive and clear answer. For the last 4 months we have stopped receiving any answers at all. Can you tell me who has had problems with Apple ignoring our letters? What to do in such a case
0
0
332
Feb ’24
macho_best_slice is broken?
Recently Apple deprecated the NXFindBestFatArch, used to find the most compatible / appropriate slice in a universal/fat binary. However its replacement macho_best_slice is broken and will return EBADARCH for any non-Apple binary 😓 The issue seems to be that the dyld3::GradedArchs::grade method does not take into the account the nuances of the CPU sub types of type *_ALL. Namely that any CPU with a more specific sub type (e.g. CPU_SUBTYPE_ARM64E) can also still execute code compiled with a CPU sub type of *_ALL (e.g. CPU_SUBTYPE_ARM64_ALL). All the details (+code, +debugging, +disassembly) posted at: https://objective-see.org/blog/blog_0x80.html. Also, hrmm!?:
3
0
387
Feb ’24
Apple developer account creation delay
Hi there, Hope you're all doing great. It's been a while since we've submitted a request for an Apple Developer Enterprise Account creation. Until today, no email was received and it's showing since a week now that thy're still procession the request. We've sent an email to the Support Team but no response till today. we don't know if there's any issue with the data submited. What else can we do? How much time do they generally take to process account creation request? Thanks
0
0
340
Feb ’24
Xcode 13.2 Error GAMRequest
I am recently migrated from android to Apple Store. Trying to publish my first Unity Game but this error pop up. Would be great if anyone could help. I think this bug belongs to Admob on Unity Game. Showing All Messages Undefined symbol: OBJC_CLASS$_GAMRequest Undefined symbol: _objc_msgSend$setCustomTargeting: Undefined symbol: _objc_msgSend$categoryExclusions Undefined symbol: OBJC_CLASS$_GAMInterstitialAd Undefined symbol: _objc_msgSend$interstitialAdGAM Undefined symbol: OBJC_CLASS$_GADRewardedInterstitialAd Undefined symbol: _objc_msgSend$setRewardedInterstitialAd: Undefined symbol: _objc_msgSend$didEarnRewardCallback Undefined symbol: _objc_msgSend$presentFromRootViewController:userDidEarnRewardHandler: Undefined symbol: _objc_msgSend$setRewardedAd: Undefined symbol: OBJC_CLASS$_GADRequest Undefined symbol: _objc_msgSend$setKeywords: Undefined symbol: _objc_msgSend$requestAgent Undefined symbol: _objc_msgSend$registerAdNetworkExtras: Undefined symbol: _objc_msgSend$extras Undefined symbol: _objc_msgSend$stringWithFormat: Undefined symbol: _objc_msgSend$objectForKey: Undefined symbol: OBJC_CLASS$_GADInterstitialAd Undefined symbol: _objc_msgSend$interstitialAd Undefined symbol: _objc_msgSend$loadWithAdUnitID:request:completionHandler: Undefined symbol: OBJC_CLASS$_UMPDebugSettings Undefined symbol: OBJC_CLASS$_UMPRequestParameters Undefined symbol: _objc_msgSend$debugSettings Undefined symbol: OBJC_CLASS$_UMPConsentInformation Undefined symbol: OBJC_CLASS$_GADExtras Undefined symbol: _objc_msgSend$countByEnumeratingWithState:objects:count: Undefined symbol: _objc_msgSend$presentFromViewController:completionHandler: Undefined symbol: _objc_msgSend$loadWithCompletionHandler: Undefined symbol: _objc_msgSend$adClickedCallback Undefined symbol: _objc_msgSend$adFailedCallback Undefined symbol: _objc_msgSend$description Undefined symbol: _objc_msgSend$currencyCode Undefined symbol: _objc_msgSend$customAdPosition Undefined symbol: _kGADAdSizeSmartBannerPortrait Undefined symbol: _objc_msgSend$frame Undefined symbol: _objc_msgSend$bannerView Undefined symbol: _objc_msgSend$bannerClient Undefined symbol: _objc_msgSend$adaptiveAdSizeForWidth:orientation: Undefined symbol: _objc_msgSend$adSizeForWidth:height: Undefined symbol: _objc_msgSend$interstitialClient Undefined symbol: _objc_msgSend$initWithBannerClientReference:adUnitID:adSize:adPosition: Undefined symbol: _objc_msgSend$setAppEventDelegate: Undefined symbol: _objc_msgSend$adWillPresentFullScreenContentCallback Undefined symbol: _objc_msgSend$adDidDismissFullScreenContentCallback Undefined symbol: _objc_msgSend$setAdFailedToLoadCallback: Undefined symbol: _objc_msgSend$presentFromRootViewController: Undefined symbol: _objc_msgSend$adFailedToPresentFullScreenContentCallback Undefined symbol: _objc_msgSend$adFailedToLoadCallback Undefined symbol: _objc_msgSend$paidEventCallback Undefined symbol: _objc_msgSend$allKeys Undefined symbol: OBJC_CLASS$_GADAppOpenAd Undefined symbol: _objc_msgSend$cStringUsingEncoding: Undefined symbol: _objc_msgSend$setAppOpenAd: Undefined symbol: _objc_msgSend$setInterstitialAdGAM: Undefined symbol: _objc_msgSend$request Undefined symbol: _objc_msgSend$setFullScreenContentDelegate: Undefined symbol: _objc_msgSend$adReceivedCallback Undefined symbol: _objc_msgSend$testDeviceIdentifiers Undefined symbol: _objc_msgSend$appOpenAd Undefined symbol: _objc_msgSend$setPaidEventHandler: Undefined symbol: _objc_msgSend$setDelegate: Undefined symbol: _objc_msgSend$appOpenAdClient Undefined symbol: _objc_msgSend$rewardedInterstitialAdClient Undefined symbol: _objc_msgSend$didDismissCallback Undefined symbol: _objc_msgSend$loadWithAdUnitID:request:orientation:completionHandler: Undefined symbol: OBJC_CLASS$_GADBannerView Undefined symbol: _GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth Undefined symbol: _GADPortraitAnchoredAdaptiveBannerAdSizeWithWidth Undefined symbol: _objc_msgSend$show Undefined symbol: _objc_msgSend$adDidRecordImpressionCallback Undefined symbol: _objc_msgSend$window Undefined symbol: _GADLandscapeAnchoredAdaptiveBannerAdSizeWithWidth Undefined symbol: _objc_msgSend$setCustomTargetingWithKey:value: Undefined symbol: _GADAdSizeFullWidthPortraitWithHeight Undefined symbol: _objc_msgSend$positionView:inParentView:customPosition: Undefined symbol: _objc_msgSend$setCenter: Undefined symbol: _kGADAdSizeSmartBannerLandscape Undefined symbol: _GADAdSizeEqualToSize Undefined symbol: _CGSizeFromGADAdSize Undefined symbol: _objc_msgSend$isOperatingSystemAtLeastVersion: Undefined symbol: _objc_msgSend$safeAreaLayoutGuide Undefined symbol: _objc_msgSend$positionBannerView Undefined symbol: _objc_msgSend$loadFormWithCompletionHandler: Undefined symbol: _objc_msgSend$initWithConsentFormClientReference: Undefined symbol: _objc_msgSend$setObject:forKey: Undefined symbol: _objc_msgSend$willPresentCallback Undefined symbol: _objc_msgSend$reset Undefined symbol: _objc_msgSend$isConsentFormAvailable Undefined symbol: _objc_msgSend$requestConsentInfoUpdateWithParameters:completionHandler: Undefined symbol: _objc_msgSend$setDebugSettings: Undefined symbol: _objc_msgSend$adReward Undefined symbol: _GADAdSizeFromCGSize Undefined symbol: OBJC_CLASS$_GADServerSideVerificationOptions Undefined symbol: _objc_msgSend$code Undefined symbol: OBJC_CLASS$_GADMobileAds Undefined symbol: _objc_msgSend$adUnitMapping Undefined symbol: _objc_msgSend$adSourceID Undefined symbol: _objc_msgSend$value Undefined symbol: _GADErrorUserInfoKeyResponseInfo Undefined symbol: _objc_msgSend$localizedDescription
0
0
327
Feb ’24
Enterprise not getting verified on some devices
I have an enterprise app that on 95% of devices, I can trust, verify and run the app . On the other 5% the app remains not verified after using the verify app button. The 2 devices I am testing with are both are running ipadOS 17.3.1. The one that can verify the app is a ipad pro (11-inch) and the other is an ipad pro (12.9-inch). I follow the exact same steps on both devices and the 11-inch always verifies and the 12.9-inch never verifies. On the ipad that does not verify, when I try to open the app I get a popup saying "unable to verify app An internet connection is required to verify trust of the developer" when the ipad has a valid internet connection.
1
0
322
Feb ’24
I was added as a developer via Business Connect. Do I still need a developer membership?
Hello, I am working on a new App for my company that will be available for iOS and Android. I develop it in Visual Studio using .NET MAUI. I can deploy my development version of the App on an Android device without issues, but when I try to deploy to an iPhone, a dialog wants my Apple credentials. I was invited as a developer in Business Connect by the product manager. The account that invited me is already used for publishing several Apps the company made in the past. I log in with my new Apple developer account, confirmed all legal notices, but when I try to connect to the iPhone from Visual Studio, I get the following error. The Apple account is used for publishing Apps and I was invited as a developer. Do I need to enroll to the Apple Developer Program with my new account just to test the software on my iPhone?
0
0
318
Feb ’24
How do I enroll my client in enterprise developer program.
I am new to iOS/Apple development, and not much familiar with Apple Ecosystem around development. I am facing an issue where my client want to deploy his application on Apple Store, me and my client are in separate countries. I am not sure should I, or can I use my Mac to register an Apple ID for him, and then enroll him in enterprise developer program? As a contractor what is the right way to go about enrolling my client or the client should do it himself?
4
0
516
Feb ’24
Buy iPhone big mistake
Excuse my English. In Greece where I live the apple service is terrible and you can't find a solution. After using android for 15+ years I decided to switch to iphone (iOS) and got the shock of my life. The obvious settings that exist on android on iOS do not exist. For example I have a lot of trouble with the keyboard keys, because it has small keys, I almost can't type text. The settings from "Accessibility" (I'm considered rather handicapped) to enlarge text (I don't know if it also enlarges the keyboard) spoil texts in apps e.g. in X). Also in Greek it doesn't give the possibility to change the layout and I am forced to use Google's gboard or Microsoft's SwiftKey. Also in Adobe Acrobat the list of files in the cloud is flickering. https://www.youtube.com/shorts/Z3s-XpswXe4 ...and the service for printing https://youtube.com/shorts/-3w8-ycR-dc?si=JpJ0mQTeGOaX6DA8 Incredibly stupid problems!
0
0
377
Feb ’24
My experience with Technical Support - Total Disappointment
Recently, our team bumped into a crash that we cannot resolve. We looked for help everywhere. I asked people here on forums, team asked about 10 fellow developers and the question on SO was created. Nobody knows the reason for the crash, nobody can find a workaround. So, as the last resort, I called for Apple Technical Support (aka code-level support). I assumed that people there understand how things work under the hood. Considering that this service is limited (2 TSI per year, otherwise paid), I expected the quality to be high. In fact, it didn't help us to resolve the problem, and I was disappointed how irrelevant the provided support could be. TLDR: The dev didn't even open the test project! I described the memory crash with WidgetKit-based complication. I spend my time capturing video, finding watch logs on my iPhone and creating a sample project. I attached console output, stack traces and a couple of screenshots. I even provided a .watchface file, so they can reproduce the configuration. This together took about 6-8 hours of work. I explained what happens in detail: steps to reproduce, what I've tried. I asked the support to recommend me way to present only the specified complications. Then I submitted the issue and started to wait. It took them 1 week to responsd. I pointed my sight on the email with excitement, expecting to finally get the resolution. But what I found there was disappointing. The software engineer, Rico, quoted only a couple of sentences from my list. His letter contained only 4 lines of text (not including greetings and cheers). In the first line he recommended to use preprocessor macro to enable only necessary complications, which is nonsense. Of course we need to change complications dynamically, when the user selects them. I two next lines he recommends to use if statement in WidgetBundle to dynamically unlock the complications. I already knew that it isn't possible. Because, quote: "if statements in a WidgetBundleBuilder can only be used with #available clauses" @available(*, unavailable, message: "if statements in a WidgetBundleBuilder can only be used with #available clauses") public static func buildOptional<W>(_ widget: W?) where W : Widget The last line cancelled everything before, Rico said that this can't be done at runtime. Probably, he added that after reading the documentation, but forgot to edit his previous statements. I didn't give up completely. I decided to skip the design discussions and get the info that Rico could probably have, due to his access to the software. Why the extension using so much memory? I also asked him, if he was able to build the project and reproduce the bug. Another week passed. I'm sending a follow-up message. That worked, after another 3 days I got the response: Finally some useful information! Timeline and views are being archived to disk (all simultaneously), that's why the memory usage is so high. Basically, a widget design issue. But anyway, we have what we have. Then next line, he has written this: "Complications are deprecated". What? But wait, he thinks that we use ClockKit, and recommends migrating to WidgetKit. So Rico completely forgot that we discussed WidgetBundle and SwiftUI before 🤡 He honestly tells me that he didn't open the project. Why? Because "Complications are unlikely to be supported", he says. So he "forgot" WidgetKit on intention, this gave him an excuse to ignore the sample project. My time was invested for nothing! I believe there's no need in further conversation with Rico. I will provide the detailed feedback to the Apple. And I'm posting it publicly to make sure that Rico gets the attention he deserves. If you want to know more technical details about the issue, you can check the following links: https://stackoverflow.com/q/77855303/1746142 https://developer.apple.com/forums/thread/744726
1
1
476
Feb ’24
Apple - Developer
I have successfully created an Apple developer account, which has been verified. Additionally, I have subscribed to the "Apple Developer Program." I initially received an email notification from Apple, indicating that my order would be processed within 2 business days. However, it has now been approximately 8 business days, and I have not received any further communication from Apple. I am inquiring whether there might be any missing steps or issues that need to be addressed in order to proceed with the publication of our application. I eagerly await your response.
1
0
418
Jan ’24
Metrickit opt in rate and actual crash numbers dont match
The crash data opt in rate is 36% for my app. I have another crash reporting framework PLC in the app. The total number of crashes reported by MetricKit health report was 43% of the total crash count from PLC in May. This almost matched the 36% opt in rate. In the month of June we fixed a series of crashes. Now the total number of crashes reported by MetricKit health report is 80% of the total crash count from PLC. The crash data opt in rate has stayed at 36% for the past 90 days and I am not able to understand how the ratio flipped from 43% to 80%. Looking for guidance here.
5
0
1.2k
Jul ’23
Certificate issue with https://ppq.apple.com
Hi there, some of our users can't verify their enterprise apps currently. Does anybody know of certificate issues with https://ppq.apple.com ? When I open https://ppq.apple.com in Safari, it redirects sometimes to https://ppq-ext.v.aaplimg.com, and then the certificate is not trusted because it doesn't match the hostname (certificate is for https://ppq.apple.com). Some hours ago, it would't do that redirect and it was working in Safari, but now it redirects and I get the error. When doing curl https://ppq.apple.com on the command line, I don't get the redirect and the connection is working. Cheers, Matthias
6
1
1.3k
Oct ’23