Apple Developers

RSS for tag

This 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.

Learn More

Posts under Apple Developers subtopic

Post

Replies

Boosts

Views

Activity

Cloned/renamed project xcodebuild archive created in previous named path
I created a new XCode project by cloning a working project and then changing the name from SafetyTalks to Insights everywhere I found it in the XCode interface. after doing so, everything built and was published without any issues many times. Several weeks later, when attempting to execute the following command: xcodebuild -scheme ${scheme} archive -archivePath ${archiveFilePath} in a script that has also been used successfully many times in the past is suddenly writing the archive to the path that includes the name of the other project. Finder instead of Insights. When the following command is executed: xcodebuild -exportArchive -archivePath ${archiveFilePath} -exportPath ${exportsDirectory} -exportOptionsPlist scripts/ExportOptions.plist I receive the following response: 2024-08-20 16:10:40.179 xcodebuild[91395:1849040] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path "/var/folders/c7/qf7lbb955yx4yd0w9wrwxfqjhyxryd/T/gov.ornl.finder.prod.intune_2024-08-20_16-10-40.177.xcdistributionlogs". error: exportArchive: "Insights.app" requires a provisioning profile. Error Domain=IDEProvisioningErrorDomain Code=9 ""Insights.app" requires a provisioning profile." UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedDescription="Insights.app" requires a provisioning profile., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.} ** EXPORT FAILED ** mv: rename /Users/l4e/Mobile/Apps/Temp/Exports/insights.ipa to /Users/l4e/Mobile/Apps/Temp/Exports/gov.ornl.insights.prod.intune-1.0.0.3.ipa: No such file or directory cp: /Users/l4e/Mobile/Apps/Temp/Exports/gov.ornl.insights.prod.intune-1.0.0.3.ipa: No such file or directory cp: /Users/l4e/Mobile/Apps/Temp/Exports/gov.ornl.insights.prod.intune-1.0.0.3.ipa: No such file or directory I have reviewed every single place within the XCode GUI and have not found the name Finder anywhere. I also had another developer review it together and still the name Finder was not found. I have also cleaned the Build folder and have rebuilt it many times without success. What I think may happening is that somewhere there may be the Finder value that is written in a file that is inaccessible to the XCode GUI. I have researched this and tried many suggested fixes but so far none have resolved it. All comments and suggestions are welcome.
0
0
334
Aug ’24
Apple care+ in Hungary
I have a big issue with Apple care+. I am from Hungary, but I have bought my phone on a trip in Netherlands, bought the Apple care+ with the phone together. I come back to Hungary and a few months later crashed my phone. I would like to use my advantages of my Apple care+, I mean I would like to exchange my for 99€ as in the contract, but I can’t because in Hungary there is no original Apple store and service. Here is my question: How can I solve this problem?? Thank you in advance! Best regards, Attila
2
1
641
Aug ’24
I accidently changed ownership of "/" to my user. Now i cant run basic tasks and recovery isnt an option. PLZ help.
Hello, My system is a 2020 M1 Macbook Air running MacOS 15 Beta 7 Without going into too much details, I ran "sudo chown -R user1 /" and allowed it to run through-- some files and folders didnt get affected due to permissions but for the files that got their permissions changed--I cant do basic things when logged in as user2 or the root user. For example: sudo command with anything as the shell would hang, or another thing is the system would get stuck at almost half way into verifying whatever .dmg or .pkg I would be trying to install. A Get Info look at /usr/bin/sudo shows that the admin and everyone groups have no access so I think thats why I couldnt use sudo. What options besides booting into recovery to reinstall do I have to remedy this? Because due to a faulty power button, the Macbook shuts down 5 seconds into the 10 required holding the button in order to get the startup options screen. Is there any way I can repair the permissions? I have a Time Machine backup from a date before when I ran this command if restoring is the only thing that will work. Also worth mentioning is that I have Tinkertool System, Onyx, and CleanMyMac installed just incase I would need a 3rd party tool to fix this. Cheers,
1
0
506
Aug ’24
CAPTCHA messages
I keep getting these CAPTCHA messages with an I IP address and a site link and there are many files on my phone which I don’t understand As I try to navigate sites, I get a CAPTCHA message of different types. With IP addresses and URLs. IP address: 2a04:4e41:62::9ce7:d3c7 Time: 2024-08-23T06:27:11Z URL: https://www.google.com/search?q=com.apple.os.update-E308CACB9FB73322E7681CC9DAFA19CF788DA2672BFBE91158D3C85061851851%40%2Fdev%2Fdisk1s1+on+%2F+(apfs%2C+sealed%2C+local%2C+nosuid%2C+read-only%2C+journaled%2C+noatime)+devfs+on+%2Fdev+(devfs%2C+local%2C+nosuid%2C+nobrowse)+%2Fdev%2Fdisk1s6+on+%2Fprivate%2Fpreboot+(apfs%2C+local%2C+nosuid%2C+journaled%2C+noatime)+%2Fdev%2Fdisk1s3+on+%2Fprivate%2Fxarts+(apfs%2C+local%2C+nodev%2C+nosuid%2C+journaled%2C+noatime%2C+nobrowse)+%2Fdev%2Fdisk1s2+on+%2Fprivate%2Fvar+(apfs%2C+local%2C+nodev%2C+nosuid%2C+journaled%2C+noatime%2C+protect)+%2Fdev%2Fdisk1s4+on+%2Fprivate%2Fvar%2Fwireless%2Fbaseband_data+(apfs%2C+local%2C+nodev%2C+nosuid%2C+journaled%2C+noatime%2C+nobrowse)+%2Fdev%2Fdisk1s7+on+%2Fprivate%2Fvar%2FMobileSoftwareUpdate+(apfs%2C+local%2C+nodev%2C+nosuid%2C+journaled%2C+noatime%2C+nobrowse)+%2Fdev%2Fdisk1s5+on+%2Fprivate%2Fvar%2Fhardware+(apfs%2C+local%2C+nodev%2C+nosuid%2C+journaled%2C+noatime%2C+nobrowse)+%2Fdev%2Fdisk1s8+on+%2Fprivate%2Fvar%2Fmobile+ (apfs%2C+local%2C+nodev%2C+nosuid%2C+journaled%2C+noatime%2C+protect)&ie=UTF-8&oe=UTF-8&hl=en-us&client=safari q=com.apple.os.update-E308CACB9FB73322E7681CC9DAFA19CF788DA2672BFBE91158D3C85061851851%40%2Fdev%2Fdisk1s1+on+%2F+(apfs%2C+sealed%2C+local%2C+nosuid%2C+read-only%2C+journaled%2C+noatime)+devfs+on+%2Fdev+(devfs%2C+local%2C+nosuid%2C+nobrowse)+%2Fdev%2Fdisk1s 6+on+%2Fprivate%2Fpreboot+ (apfs%2C+local%2C+nosuid%2C+journaled%2C+noatime)+%2Fdev%2Fdisk1s3+on+%2Fprivate%2Fxarts+ (apfs%2C+local%2C+nodev%2C+nosuid%2C+journaled%2C+noatime%2C+nobrowse)+%2Fdev%2Fdisk1s2+on+%2Fprivate%2Fvar+ (apfs%2C+local%2C+nodev%2C+nosuid%2C+journaled%2C+noatime%2C+protect)+%2Fdev%2Fdisk1s4+on+%2Fprivate%2Fvar%2Fwireless%2Fbaseband_data+ (apfs%2C+local%2C+nodev%2C+nosuid%2C+journaled%2C+noatime%2C+nobrowse)+%2Fdev%2Fdisk1s7+on+%2Fprivate%2Fvar%2FMobileSoftwareUpdate+ (apfs%2C+local%2C+nodev%2C+nosuid%2C+journaled%2C+noatime%2C+nobrowse)+%2Fdev%2Fdisk1s5+on+%2Fprivate%2Fvar%2Fhardware+ (apfs%2C+local%2C+nodev%2C+nosuid%2C+journaled%2C+noatime%2C+nobrowse)+%2Fdev%2Fdisk1s8+on+%2Fprivate%2Fvar%2Fmobile+ (apfs%2C+local%2C+nodev%2C+nosuid%2C+journaled%2C+noatime%2C+protect)&ie=UTF-8&oe=UTF-8&hl=en-us&client=safari https://www.google.com/search?q=com.apple.os.update-E308CACB9FB73322E7681CC9DAFA19CF788DA2672BFBE91158D3C85061851851%40%2Fdev%2Fdisk1s1+on+%2F+ apfs%2C+sealed%2C+local%2C+nosuid%2C+read-only%2C+journaled%2C+noatime)+devfs+on+%2Fdev+(devfs%2C+local%2C+nosuid%2C+nobrowse)+%2Fdev%2Fdisk1s6+on+%2Fprivate%2Fpreboot
2
1
447
Aug ’24
Thread 0 crashed with ARM Thread State (64-bit)
My app is rejected from iOS review. And It says that app crashed in only iPad. I test with iPhone and iPad (5th generation) same as tested device in review, it works fine. But I can't read crash report. Can you give me some advice regarding what makes my app crash only in iPad? crash report I just suspect that I remove some cache in resume cycle of flutter app in main.dart. @override void deactivate() { removeDiaryRankingCache(); super.deactivate(); } @override void didChangeAppLifecycleState(AppLifecycleState state) { super.didChangeAppLifecycleState(state); if (state == AppLifecycleState.resumed) { updateLastVisit(); removeDiaryRankingCache(); } } And this removeDiaryRankingCache() takes so much time and it is over allocated time to launch app in iPad or use so much memory over allocated storage of iPad..? Please help me in any way.
3
0
2.0k
Aug ’24
Grammarly, Inc. - Won't go away
Several weeks ago I made the decision to remove Grammarly from my system. I thought I was very thorough! I removed the app from my system and removed the extension from all my browsers. Somehow, it's still hanging around on the System Settings table for "Login Items & Extensions". I've turned it off for now, but I would feel better if it was gone for good. I've checked the usual spots: /Root Drive/Library/LaunchAgents is clear of Grammarly /Root Drive/Library/LaunchDaemons is clear A search in Finder only found one instance of "Gramm" showing up, buried in "Root Drive/Users/[My User Name]/Library/Group Containers/group.com.apple.chronod/chronod/remoteArchives/9FA76407-9FBF-434F-81CC-B28224F8DCC8 Any other input or suggestions would be much appreciated - I'd like to try anything before formatting and reinstalling the OS just to address this one small issue. Oh, here's some info on my system: 2022 13-inch MacBook Pro M2, running macOS Sequoia Beta version 15.1 (24B5024e)
1
0
712
Aug ’24
Requesting an expert's opinion: Can't get into recovery after swapping M1 components
I was involved in a serious accident which I survived but my old M1 Macbook Air didn't. I couldn't afford a new one so I turned to the Facebook Marketplace and found an iCloud Activation locked 2020 M1 Macbook Air exactly like mine for $100 and couldn't resist not buying it. The guy selling it didn't look like he even knew what a Macbook is so I figured it was stolen. I was able to harvest my HD and Touch ID from the old one and did the whole switcheroo and ended up with an almost brand new Macbook after doing a Time Machine restore with no issues and used it for 1 year. The only thing I wasn't able to do was enter recovery mode. For some reason whenever I hold the power/Touch ID button for longer than 2 seconds the Macbook would immediately power off no matter how many times I tried. I eventually gave up troubleshooting the thing because not being able to enter recovery mode was something I could live with given all that's happened. 2 weeks ago my Touch ID stopped working and I don't know if it was long overdue or because I'm a slob and eat and smoke over the keyboard. Even my password wouldn't get accepted so I needed to reinstall MacOS. I was able to erase my Mac (from Disk Utility) and reinstall after pivoting from the Apple ID reset and then restored from an earlier back and I'm back to normal running Mac OS 15.1 Beta 2 but without a functioning Touch ID. I hate being back in this scenario but I now realize the importance of being able to boot into recovery however I still can't afford a new laptop and trying to fix the Touch ID button costs $120 which I'm trying to avoid-- plus I don't even know if that would fix the problem, even though the fingerprint reading function returns. I tried running a Python script from my Documents directory that forced boot-args on the nvram thinking maybe that would get me into recovery. It worked by shutting down the Macbook but then after restart it booted straight into MacOS. Can someone please give me an expert's opinion? Is this the work of the SIP after I swapped the components or is it because of a faulty power button? My ideal scenario is to be able to run a script but I don't know how feasible that is, otherwise, my next option is to replace the TouchID system but even with this there are doubts. Appreciate any help.
2
0
370
Aug ’24
Possible iOS update changed font size on client's site?
Over this past weekend, a client reported the font for a specific page only on their website was TINY. After checking it out, it appears this is ONLY happening on iPhone browsers. Desktop and Andriod font size for the page did not change. We did not change any code on the site, either. Is it possible this is related to an iPhone update? Would anyone be able to help me figure out this issue? Since it can't be replicated on any other device browser, and it happens on both Safari AND Chrome on the iPhone, it has to be something related to the iPhone itself. I have also tried adjusting the font size, but no matter what I do if it looks ok for the iPhone, it is WAY too large on other devices, so this isn't the resolution. If anyone has any ideas on what may have caused this or how to fix it, that would be great! Thanks in advance for your time!
4
0
697
Aug ’24
Seeking Guidance on App Store Review for Habit-Building App with Real-World Challenges and User-Set Financial Commitments
Hello Apple Developer Community, I am seeking advice on how to pass the App Store review process for my app, HabitBet. Our app is designed to encourage users to develop healthy habits through real-world challenges, such as exercising, cooking, or learning new skills. Users are required to participate in these activities and provide proof of completion (such as photos or activity logs). In addition to the real-world challenges, HabitBet allows users to set a financial commitment by entering a chosen amount of money when joining a challenge. If the user fails to complete the challenge, the set amount is charged. We believe this mechanism leverages behavioral economics to motivate users to achieve their goals and does not constitute paid digital content, as it involves actual physical actions and verifiable participation. Recently, our app was rejected by Apple due to concerns about using paid digital content to drive user engagement. However, we think our app's challenges differ from digital content because they involve real-life actions and a unique form of user-driven commitment. Additionally, we found similar apps like StepBet (https://apps.apple.com/jp/app/stepbet-walk-get-active-win/id1056175729), which utilize financial stakes to encourage real-world activities, that have been approved for the App Store. We would like to understand what differentiates our app's model from these examples and how we can align more closely with Apple's guidelines. Could anyone provide guidance on how we can clearly demonstrate that our app’s challenges are not digital content and meet the App Store guidelines? Has anyone faced similar issues and found a solution? Thank you in advance for your help. Best regards,
0
0
491
Aug ’24
Need help understanding a piece of logic in a piece of code involving ".background"
Am new enough to SwiftUI that I that are still some concepts that confuse me. Case in point: .background The code below is meant to detect when the user drags their finger over different areas, in this case three different size circles placed over each other. The code works, but I get lost trying to figure out how the logic works. .background calls a function that's a view builder, yet doesn't an actual view? Unless Color.clear is the view it's returning? I have more questions, but might as well start with .background since it comes first? I think? Thanks import SwiftUI struct ContentView: View { @State private var dragLocation = CGPoint.zero @State private var dragInfo = " " @State private var secondText = "..." private func dragDetector(for name: String) -> some View { GeometryReader { proxy in let frame = proxy.frame(in: .global) let isDragLocationInsideFrame = frame.contains(dragLocation) let isDragLocationInsideCircle = isDragLocationInsideFrame && Circle().path(in: frame).contains(dragLocation) Color.clear .onChange(of: isDragLocationInsideCircle) { oldVal, newVal in if dragLocation != .zero { dragInfo = "\(newVal ? "entering" : "leaving") \(name)..." } } } } var body: some View { ZStack { Color(white: 0.2) VStack(spacing: 50) { Text(dragInfo) .padding(.top, 60) .foregroundStyle(.white) Text(secondText) .foregroundStyle(.white) Spacer() ZStack { Circle() .fill(.red) .frame(width: 200, height: 200) .background { dragDetector(for: "red") } Circle() .fill(.white) .frame(width: 120, height: 120) .background { dragDetector(for: "white") } Circle() .fill(.blue) .frame(width: 50, height: 50) .background { dragDetector(for: "blue") } } .padding(.bottom, 30) } } .ignoresSafeArea() .gesture( DragGesture(coordinateSpace: .global) .onChanged { val in dragLocation = val.location secondText = "\(Int(dragLocation.x)) ... \(Int(dragLocation.y))" } .onEnded { val in dragLocation = .zero dragInfo = " " } ) } } #Preview { ContentView() }
1
0
517
Aug ’24
Becoming an iOS developer, it's getting harder and harder
As an iOS developer, you have to know Objective-C, Swift, UIKit, SwiftUI, Flutter, ReactNative, and use them to develop your App. If you only know one of them, you will easily lose your job or have a hard time finding an iOS development job. Some companies even require you to know how to use them all. It is so crazy.
3
0
549
Aug ’24
Creating and IDE for html css and JavaScript
Hello, I am creating an app to let users coding html css and JavaScript. i did import WebKiit and SuiftUI, but has somany errors in the code to implement my logic so users can switch between html css and Javascript. i did create the program and working perfectly and created an app using Built in Apple the lunch Automator programs works perfect , and wants it to build an app on. Xcode for macOS . comes with so many errors in and red the documentation still have so many bugs . import SwiftUI import Webkit struct ContentView: View { @State private var webView: WKEebview = WKWebview() …. main bugs : webView.evaluateJavaScript …. xcode didnt recognize the instance . looking for recommendations. Thanks again
0
1
339
Aug ’24
There was an error processing your request. Please try again later
Hello everyone, on August 31st, all the apps in my personal developer account were suddenly expired and deleted, I have not received any response from Apple. My apps are in compliance with Apple's policies. I then uploaded a new version and sent it to the review team, but I received the following error "There was an error processing your request. Please try again later." I have contacted Apple via Email and Phone but no one cares about my problem. Has anyone had the same situation as me, I am really worried.
5
2
800
Sep ’24
All versions of the app were suddenly deleted.
Hi everyone, on August 31st all the apps in my personal developer account were suddenly expired and deleted, I have not received any response from Apple. My apps were in compliance with Apple's policies. I then uploaded a new version and sent it to the review team but I received the following error "There was an error processing your request. Please try again later."
3
0
671
Sep ’24
Casino app appears on appstore
Gambling apps use real money bets, somehow they get past apple censorship. I hope the management will handle this https://apps.apple.com/vn/app/express-sorting-master/id6479975539?l=vi https://apps.apple.com/vn/app/janken-finger-club/id6482991646?l=vi https://apps.apple.com/vn/app/us-rider-racing/id6504385105?l=vi https://apps.apple.com/vn/app/td-pet-guardian-battle/id6502398066?l=vi https://apps.apple.com/vn/app/shooter-water-balloons/id6593688592?l=vi
0
0
296
Sep ’24
GAmebling online
Gambling apps use real money bets, somehow they get past apple censorship. I hope the management will handle this https://apps.apple.com/vn/app/express-sorting-master/id6479975539?l=vi https://apps.apple.com/vn/app/janken-finger-club/id6482991646?l=vi https://apps.apple.com/vn/app/us-rider-racing/id6504385105?l=vi https://apps.apple.com/vn/app/td-pet-guardian-battle/id6502398066?l=vi https://apps.apple.com/vn/app/shooter-water-balloons/id6593688592?l=vi
0
0
365
Sep ’24
Mail.app & BBEdit Crashing Overnight
For some reason I am seeing Mail.app and/or BBEdit crash overnight. There are no reports in the Console. I set up a cron job for every 15 minutes to measure memory pressure and to see if BBEdit was open. Last night it was showing System-wide memory free percentage: 74% when the app closed. I have no cron jobs that close BBEdit. Either one of these apps close overnight on a regular basis, but it's not every night. I don't know how to troubleshoot this. Anybody have any ideas? Cheers
1
0
465
Sep ’24