six months have passed since I bought this iPhone 13. till 3 months it was having the battery health of 100% but now it is draining rapidly. It drained to 99% in November.at the beginning of December it was 98%. on 23 December 97% and now on new year its 96%. can anybody tell me why ?
Dive into the vast array of tools, services, and support available to developers.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
This is a continuation of https://developer.apple.com/forums/thread/771287. Please help with Another View.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Hi,
a few weeks ago I received this email:
"Notification of Apple Developer Program License Agreement (PLA) violation" by app_notification @apple.com.
Content was:
"We are writing to inform you that your company is not in compliance with the Apple Developer Program License Agreement (PLA).
Section 11.2 (Termination) states:
(g) if You engage, or encourage others to engage, in any misleading, fraudulent, improper, unlawful or dishonest act relating to this Agreement, including, but not limited to, misrepresenting the nature of Your Application (e.g., hiding or trying to hide functionality from Apple’s review, falsifying consumer reviews for Your Application, engaging in payment fraud, etc.).
Be aware that manipulating App Store chart rankings, user reviews or search index may result in the loss of your developer program membership.
Please address this issue promptly."
and indeed, there was a problem with an app, which I then fixed.
But then it started to become a little bit weird, which makes me think it could be a phishing attempt.
I asked them for more information, which app they are talking about, etc., but I only received this reply:
"Hello,
We would like to speak with you about your apps on the App Store.
Please provide a number where you can be reached and we will contact you at our next opportunity.
Sincerely,
Apple"
I replied to them I am currently on holiday and would like to clarify this via email and that I fixed the problems (they didn't tell me which app or what exactly was wrong, but I checked it by myself)
What was their reply?
Exactly the same as above:
"Hello,
We would like to speak with you about your apps on the App Store.
Please provide a number where you can be reached and we will contact you at our next opportunity.
Sincerely,
Apple"
So, I replied again and asked them if they could just tell me what is wrong and if this problem still exists, etc.
Their reply:
"Hello,
We would like to speak with you about your apps on the App Store.
Please provide a number where you can be reached and we will contact you at our next opportunity.
Sincerely,
Apple"
They basically sent me the exact same email 3x in a row without answering any of my questions or telling me any details. At this point, I am really not sure anymore if this legit or not.
I opened a support ticket with Apple and ask them if it's legit, but no reply so far.
Did someone made any similar experience on here?
I use a 2020 Intel MacBook Pro with 14.7.2 (23H311) system. I have been using Xcode 15.4 to develop and publish games. Since new games need to be developed and published using Xcode 16.2, I recently installed two versions of Xcode on my computer. I can run the project normally with Xcode 15.4, but it keeps reporting errors with Xcode 16.2 and cannot run. The error is in UIKit's UIFocusSystem.h file, with the following message: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h:46:27 Expected ')'
This makes me very confused. Is there something wrong?
I thought it was because the computer could not have two Xcodes, so I uninstalled both Xcodes and then downloaded the 16.2 version of Xcode from the AppStore. However, after running it, it still reported the error Expected ')'
Topic:
Developer Tools & Services
SubTopic:
Xcode
I do not see the devolper mode tab in my settings how do I access it ?
Topic:
Developer Tools & Services
SubTopic:
General
I'm having trouble compiling my project for the iOS 18.2 simulator. I'm getting the following error:
`Missing '#include <sys/_types/_time_t.h>'; 'time_t' must be declared before it is used`
The error points to to simulartor-iOS 18.2 > user/include/sys/_types/_time_t.h
#ifndef _TIME_T
#define _TIME_T
#include <machine/types.h> /* __darwin_time_t */
typedef __darwin_time_t time_t;
#endif /* _TIME_T */
This suggests that the time_t type should be defined, but the compiler isn't seeing it. I suspect there might be a problem with preprocessor definitions.
Is there anything I set wrong? I am using OpenSSL.xcframework.
Topic:
Developer Tools & Services
SubTopic:
Xcode
I have an error when I use Apple Git-154 to clone the repository:
My OS version: Sequoia 15.2
tannguyen@Mys-MacBook-Pro ~ % git -v
git version 2.39.5 (Apple Git-154)
tannguyen@Mys-MacBook-Pro ~ % git clone https://github.com/nestjs/nest.git
Cloning into 'nest'...
remote: Enumerating objects: 187515, done.
remote: Counting objects: 100% (118/118), done.
remote: Compressing objects: 100% (42/42), done.
error: inflate: data stream error (incorrect data check)10 MiB/s
fatal: pack has bad object at offset 212760331: inflate returned -3
fatal: fetch-pack: invalid index-pack output
Please see this question: https://github.com/appium/appium/discussions/20827?sort=new
Topic:
Developer Tools & Services
SubTopic:
Xcode
Currently, the id of my actual visionpro device is different from the xcode that works on my macmini. I added a visionpro id to xcode, but I can't build it with my visionpro. Can I log out of the existing login to xcode and log in with the same ID as visionpro? However, the appleID created for visionpro does not have an Apple Developer membership, so there is no certificate that makes it run on the actual device. How can I add my visionpro ID from the ID with my apple developer membership to run the xcode project app on visionpro? This is the first time this is the first time.
After updating the iPhone to 18.2, the notification for the watch charging completion stopped appearing on the iPhone. Please note that I also updated the watch to 11.2.
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Inside our app, after login (user side), getting grey screen on homepage.
Topic:
Developer Tools & Services
SubTopic:
General
Hi everyone,
I'm working on an NFC-related app using CoreNFC with APDU commands to read and write tags. I’ve encountered an issue when trying to handle the scenario where the user cancels the NFC session.
Here’s what’s happening:
When a user cancels the NFC session manually (e.g., by tapping "Cancel"), I see an error log indicating tagReaderSession|userCancelled.
However, when I explicitly call session.invalidate(errorMessage: "No NFC tag found") in my code to handle a scenario where no tag is detected, the session still shows the error as userCancelled instead of my custom error message.
This behavior is confusing both in terms of debugging and for providing feedback to users, as I expect my custom message to appear instead of the generic "user cancelled" message.
func tagReaderSessionDidBecomeActive(_ session: NFCTagReaderSession) {
// Session becomes active
}
func tagReaderSession(_ session: NFCTagReaderSession, didDetect tags: [NFCTag]) {
// Handle tag detection logic
}
func tagReaderSession(_ session: NFCTagReaderSession, didInvalidateWithError error: Error) {
print("Session invalidated with error: \(error.localizedDescription)")
}
func handleNoTagDetected(session: NFCTagReaderSession) {
session.invalidate(errorMessage: "No NFC tag found")
}
I call handleNoTagDetected(session:) explicitly when no tag is detected, expecting the custom error message to show. However, the system still shows the cancellation error.
Has anyone else experienced this behavior? Is this the intended behavior for CoreNFC, or am I missing something in my implementation?
Any guidance would be appreciated.
Thanks in advance!
Hi,
First post and I am a total newbie when it comes to Ipads & Macs... And also this forum, so sorry if I post in wrong section.
My son use Ipad at school and they use Swift Playground there.
To be able to do some programming at home, I have set up Vmware with Sequoia 15.1.
I installed the app Swift Playground and try to run the playground Get Started with Code and some other education playgrounds.
If I understand correctly, it should be some landscape and a figure on the canvas... For me it is only a blue area.
I installed XCode, but could not figure out how to run the learning examples there. Tips? Is it possible to run the education playgrounds there?
I removed Swift Playgrounds and installed it again, same issue.
I also installed IOS 18.1 (?) but I am not sure it is needed.
Any suggestion of how I can get contents to show on the canvas? Except of bying an Ipad. ;)
Topic:
Developer Tools & Services
SubTopic:
Swift Playground
Tags:
Swift Playground
Playground Support
Hi everyone,
I’m encountering a crash in my app and need help understanding what’s causing it and how to resolve it.
As stated in the crash report, the issue is caused by exceeding the system-wide per-process port limit. Can you tell me how to locate and identify why this is happening?
Below are the full report of the crash log:
crash.log
Summary of Crash:
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Incident Identifier: B509FF2B-C8D8-4E9F-B664-E24464CFD5F8
CrashReporter Key: b390cfe931a83efde49bd8b523023a275b55ef64
Hardware Model: iPhone14,2
Process: MyApp [22515]
Path: /private/var/containers/Bundle/Application/F73212A7-4CB9-485A-A8B7-8114F4E9A9AB/MyApp.app/MyApp
Identifier: com.beeasy.app.id.enterprise
Version: 3.41.38-ID-MySDKMemory-12261114 (3.41.38-ID-MySDKMemory-12261114)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.beeasy.app.id.enterprise [515]
Date/Time: 2024-12-29 01:29:48.3023 +0800
Launch Time: 2024-12-26 16:38:36.7895 +0800
OS Version: iPhone OS 16.6.1 (20G81)
Release Type: User
Baseband Version: 2.80.01
Report Version: 104
Exception Type: EXC_RESOURCE (SIGKILL)
Exception Codes: 0x000000000001c1d6, 0x0000000000000000
Termination Reason: PORT_SPACE 14123288431433990614 (Limit 115158 ports) Exceeded system-wide per-process Port Limit
Triggered by Thread: 64
Thread 64 name: AURemoteIO::IOThread
Thread 64 Crashed:
0 libsystem_kernel.dylib 0x20ce5eca4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x20ce71b74 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x20ce71e4c mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x20ce5f1e8 mach_msg + 24
4 libEmbeddedSystemAUs.dylib 0x238bb2148 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, AURemoteIO::IOThread::IOThread(AURemoteIO&, caulk::thread::attributes const&, caulk::mach::os_workgroup_managed const&)::'lambda'(), std::__1::tuple<>>>(void*) + 556
5 libsystem_pthread.dylib 0x22dcda6b8 _pthread_start + 148
6 libsystem_pthread.dylib 0x22dcd9b88 thread_start + 8
hello developers,
First priority I couldn't find a proper title for the question :(
The reason why I open a topic here is not to find the answer by direct point shooting; My goal is what do Apple, Developer, Companies and Devops teams think and comments about the subject I'm going to ask here?
We use Jenkins as the Devops CI/CD tool at our company, and in Macos/Apple/iOS development, we use a lot of Mac Mini devices. Since we build/compilers on a project-based, version-based basis, we cannot get 100% efficiency from our devices. (For example, because the dependencies of a project are different from other projects; we dedicate only 1 Mac Mini to that project. (As the dependecys of the projects are too many and large, the migration process is very difficult for us, the cost of moving to a lower-level Mac Mini device is high / but this is just an example))
While researching, I saw that there is no docker container image for MacOs X (enterprise or legal) and I know about the Apple EULA. (For virtualization, Apple hardware must be used as a basis. Because the MacOs system is paid for on a device-based basis.)
What I want to ask here is can I find or create a MacOs docker container image legally?
How is the structure of other companies in their CI processes?
If I install MacOs with more than one VMware/VirtualBox on Mac Mini, What harm could it do me in Jenkins? (I'm curious about people's comments on this.)
Topic:
Developer Tools & Services
SubTopic:
General
Tags:
Enterprise
Continuous Integration
Virtualization
Setup
I have 2 swift packages and I try to use stirng catalog to manage your localizations
I would like to use some specific keys in these packages and some common ones (e.g. "ok_button_tittle")
Problem statement
I really don't like the idea of creating separate (but the same) translations in these packages
I have tried using something like
String(
localized: "ok_button_title",
table: "Localizable",
bundle: .main,
comment: "Ok button title"
)
This does use translations from the main bundle, however this does not automatically create the keys in string catalog
Question
Is there any possibility to reuse the translations from the main bundle?
Maybe there is a hack to make the keys appear automatically in the correct bundle? Or is it a bug?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Swift Packages
Swift
Asset Catalog
Localization
Device : macOS Monterey 12.7.6,Xcode 14.2,IOS 16.0.2;
I tried adding -ld_classic or -ld64 to the other link flags,but it did not work for me。
How should I fix this?
Topic:
Developer Tools & Services
SubTopic:
Xcode
I'm using M1pro and have successfully installed Numpy with Accelerate following, and it really speedup my programs. I also ran np.test() to check the correctness and every test passed.
However, I can't install Scipy with Accelerate, since the official document said Accelerate has a LAPACK of too old version. I can't even find a scipy that can pass scipy.test(). I tried the codes below:
conda install numpy 'libblas=*=*accelerate'
conda install scipy
np.test() as fails, sp.test() can't even finish
conda install numpy 'libblas=*=*openblas'
conda install scipy
Both np.test() and sp.test() can finish, but with many failures. I believe the bugs are due to Conda.
pip install --no-binary :all: --no-use-pep517 numpy
pip install scipy
np.test() has no failure and went fast, sp.test() uses OpenBLAS and has 3 failures. This is the best version I have found.
So my question is: can we find a reliable version of scipy on M1? Considering the popularity of scipy, I think it's not a high-living expectation.
And a question for Apple: is there really a plan to upgrade the LAPACK in Accelerate?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Developer Tools
Accelerate
Mac
Apple Silicon
Hello developers,
I've been building out my platform, mostly working on the Android side of a flutter app. Today I decided to make sure the iOS version wasn't getting too far behind, but when I attempted to build the app I began running into an issue I've never seen before, and after spending about 8 hours trying to figure this out, I feel like I'm more lost than when I began.
The error when trying to build:
Uncategorized (Xcode): Could not resolve package dependencies:
downloaded archive of binary target 'grpc' from
'https://dl.google.com/firebase/ios/bin/grpc/1.65.1/rc1/grpc.zip' does not
contain a binary artifact.
fatalError
This is a flutter app which uses firebase as a backend. I've been building with flutter/ios for about 6 years now and have never encountered this, and after searching google it appears that no one else aside from 2 people have either.
I found that there's a github repo which contains this dependency as well, so I was going to try to modify the URL from the google.com url to the github url, but I'm not surewhere I would look to change this reference.. or if this is even possible.
Does anyone have any experience with this error?
Hi
I am building a framework.
In the past, if I create a framework project
[myFrameworkName.framework] file was created in the 'Products' folder.
But my xcode doesn't create 'Products' folder.
It also doesn't create [myFrameworkName.framework].
Can I make [myFrameworkName.framework] file?
I do not speak English well So I am using a translator.
thanks.