My MacOS swift app [myStuckApp5] refuses to close when running on Monterrey (The app becomes unresponsive after finishing its work, and needs to be forcefully closed). However, it closes as expected when running MacOS 13 and above. How can I troubleshoot this error?
I'm attaching the content of the sys Log related to the app while it was stuck (too long to copy here...)
This is the content of the related sys Log
Custom Apps
RSS for tagDesign and build customized apps that meet the unique needs of an organization.
Posts under Custom Apps tag
40 Posts
Sort by:
Post
Replies
Boosts
Views
Activity
我的游戏,自己开发完成,且已经在谷歌上线2年多.上次更新完初级包,这次更新就一直被拒绝
2.1 我们无法找到 App Tracking Transparency 权限请求
4.1模仿设计 给拒绝.
我已经提交了我的谷歌平台的地址,同时也在商品详情中声明了关于IOSApp的信息.
同时2.1 关于这个的请求,我也提交操作说明了.不知道你们如果判断,请帮助我完成提交更新
I have an app, which is depended on custom SDK. Custom SDK has dependencies, included all dependencies in Podspec and custom framework/static lib ios.vendored_frameworks.
here I sample of my pod spec
Pod::Spec.new do |s|
s.name = "SDK"
s.version = "1.0.1"
s.summary = "SDK"
s.source = { :git => "https://github.com/ABC/SDK.git", :tag => "v"+s.version.to_s }
s.platform = :ios
s.ios.deployment_target = '16.0'
s.swift_version = '4.2'
s.static_framework = true
s.frameworks = 'Security'
s.frameworks = 'CoreLocation'
s.requires_arc = true
s.module_name = 'SDK'
s.library = 'z'
s.default_subspec = 'Shared'
s.subspec 'Shared' do |shared|
shared.ios.vendored_frameworks = 'SDKLib.xcframework'
shared.dependency 'CocoaAsyncSocket', '~> 7.4'
shared.dependency 'CocoaHTTPServer'
shared.dependency 'SocketRocket', '~> 0.6'
shared.dependency 'QNNetDiag'
shared.dependency 'SAMKeychain'
shared.dependency 'AFNetworking/Reachability', '~> 4.0'
shared.dependency 'AFNetworking/Serialization', '~> 4.0'
shared.dependency 'AFNetworking/Security', '~> 4.0'
shared.dependency 'AFNetworking/NSURLSession', '~> 4.0'
shared.dependency 'CocoaMQTT'
shared.dependency 'Starscream', '~> 4.0.8'
shared.dependency 'TrustKit'
shared.dependency 'Firebase/Analytics'
end
end
below error I am getting while linking lib
The Problem
I am trying to implement a pinch-to-zoom feature on images within a UIPageViewController. However, often times when trying to pinch to zoom, the magnification gesture gets overridden by the scrolling gesture built into the UIPageViewController. I'm not sure how to get around this. The Apple Photos app seems to allow pinch to zoom on photos inside a full-page scrolling view without any issue, so I believe it should be possible.
Versions: iOS 17.2.1 - iOS 18.2.1, Swift (SwiftUI), Xcode 15.1
Steps to Reproduce
Run this sample Xcode project on a physical device: https://drive.google.com/file/d/1tB1QyY6QPEp-WLzdHxgDdkM45xCAELLr/view?usp=share_link
Try pinching to zoom on the image. After a few goes at it, you'll likely find that one time it will scroll instead of pinching to zoom. It might take up to a dozen pinches to experience this issue.
What I've Tried
Making the magnification gesture a high priority gesture.
Having only one page in the paging view controller.
Subclassing UIScrollView and conforming to the UIGestureRecognizerDelegate in that subclass, as explained here: https://stackoverflow.com/a/51070947/12218938
Using the iOS 17 ScrollView instead. Unfortunately it has the same issue but even worse! It's possible that since this is a native SwiftUI view, people might have solutions to this, but from a brief search I couldn't find any.
If you set the data source to nil (which indicates that there are no other pages for the paging view controller to scroll to), it does work, but it's not a workable solution since the time you'd want to set the data source to nil is when the user pinches the screen, but you can't know when the user pinches the screen if the gesture doesn't work!
Other Ideas/Workarounds
We could have some "zoom" mode that temporarily cancels the ability to scroll while zooming. But this seems like not too nice/intuitive of a solution.
If there is no paging view that Apple provides which could be made compatible with a pinch-to-zoom gesture, it's possible we would have to make a completely custom paging view. But that would be a lot of work I presume, so it's probably not something we would have time for right now.
Hi All,
I am a student in university trying to upload an app that predicts wait times at bars and restaurants. For months I have been getting rejected because of design minimum functionality. please if anyone could give me any feedback I would greatly appreciate it
Hi, newbie here and apologies if this is answered elsewhere but I couldn't find a solution. We have a in-house developed app (order processing, business front end, customer relations etc) and would like to move towards distributing the app via the Mac AppStore to specified users (hopefully via their AppleID?) - is this possible? We do not intend to make the app publicly available, it will only ever be private to our organisation. Thanks in advance.
I'm looking to distribute multiple versions of an iOS app, each customized with different branding for various clients. I understand that for public App Store submissions, guideline 4.3(a) prohibits multiple Bundle IDs of the same app to prevent spam.
My question:
Do these same restrictions apply to Custom App Distribution (unlisted apps)? Is it permissible to submit multiple white-labeled versions of the same core app through Custom App Distribution?
I've reviewed the Custom Apps documentation but couldn't find clear guidance on this specific scenario. Any insights from developers who have experience with similar situations would be appreciated.
Thank you in advance for your help!
We recently received feedback under Guideline 4.3(b) suggesting our app duplicates functionality found in other apps in this category.
However, our app is fundamentally not a dating app. It is a conversation facilitator designed to foster meaningful connections for friendships, networking, and shared interests. While romantic connections may occur naturally, they are not the primary focus.
Thus, we are seeking insights on this key question:
How do developers effectively demonstrate feature differentiation to reviewers?
We want to clearly show how our app’s functionality uniquely addresses user needs and provides value beyond existing solutions.
Our Core Features:
Our app introduces distinct features that differentiate it from traditional apps in this space:
Paths: Psychology-based prompts embedded in chats encourage users to explore meaningful topics like values and aspirations. These prompts are dynamically triggered to keep conversations engaging and productive.
Aura: A rewards system that incentivizes thoughtful, high-quality engagement by awarding points for meaningful conversations, which can unlock additional features.
Spark Matches: Real-time, themed events pair users for structured, 15-minute conversations on topics like technology or travel. Curated prompts ensure the focus is on shared interests, not romance.
Flame Matches: AI-personalized matches adapt to user conversations, connecting individuals based on compatibility. Chats begin anonymously, focusing on personalities rather than appearances, and are designed for platonic, professional, or friendship connections.
Market Analysis:
Our app addresses key gaps in the connection space:
No apps embed conversation prompts directly into chats; nor do they trigger them regularly or dynamically, to foster deeper discussions over a sustained period.
No apps have rewards systems designed to specifically incentivize meaningful engagement.
No apps have matchmaking systems that adapt dynamically based on users’ past conversations.
No apps support the combination of real-time, one-on-one themed conversations with curated prompts.
Traction:
As an incorporated business with over a year of experience, we have helped thousands of users build platonic, professional, and interest-based connections. For example, users in relationships join our events to find new friends, and professionals use Spark Matches to discuss shared interests like technology. Consistent feedback highlights our prompts and structured events as refreshing alternatives to superficial, appearance-driven platforms. Our rapidly growing user base has validated the demand for these features, and we would like to bring this experience natively to them via a mobile app on the App Store.
Additional Context:
While some basic chat functionality may overlap with existing platforms, our focus is on facilitating meaningful conversations and incentivizing a thoughtful conversation culture that represents a novel approach validated by user research and feedback.
We welcome advice from developers who have successfully highlighted their app’s uniqueness when facing similar review challenges. Thank you in advance! :)
Seeking developer insights regarding a 4.3(a) review response citing "similar binary, metadata, and/or concept." Our app implements distinct community-focused features that fundamentally differentiate it from existing applications in this category.
Feature Implementation:
Our app introduces new technological approaches to faith-based applications:
Community System: Custom-built group participation with progress visualization
Engagement Features: Peer support system with achievement tracking
Progress Metrics: Proprietary points system for progress tracking
Group Progress Features: Shared accomplishment tracking
Achievement Architecture:
Progress continuity tracking
Performance metrics accumulation
Custom recognition system for personal and group milestones
Synchronized goal-setting framework
Market Analysis:
Our research indicates:
No existing apps with group-based progress features
No solutions combining community features with scheduling
No applications with similar group achievement systems
No platforms featuring synchronized progress tracking
Substantial user base requesting these features
Technical Questions:
How have developers effectively demonstrated feature differentiation?
What technical documentation best demonstrates unique implementations?
What strategies work for showing market demand for new features?
Best practices for documenting novel community features?
Implementation Context:
While core scheduling features necessarily overlap with existing solutions, our platform's focus on community engagement and achievement tracking represents a novel approach, validated through user research and community feedback.
Seeking insights from developers who have successfully implemented unique social features in established categories.
I recently got feedback for my app under Guideline 4.2 - Design - Minimum Functionality, and I’m a bit confused. Apple mentioned that the app isn’t “app-like” enough and doesn’t provide sufficient entertainment value or utility.
However, I genuinely think my app is unique compared to others on the market. Most similar apps only offer basic features like scorekeeping and saving the game. My app goes beyond that by tracking detailed statistics based on the types of scores achieved during the game. At the end, there’s even a Player Ratings section, which enhances competition and makes the experience more fun for players.
Additionally, in today’s gaming scene, many groups play the traditional 101 game with a reward and penalty system. My app uniquely incorporates a reward system, something no other app in the market currently offers.
I believe my app has the potential to stand out and meet the needs of a wide audience. Has anyone faced similar feedback? Or does anyone have suggestions on how I could better address this issue?
Thanks in advance! 😊
Hello,
I am experiencing a problem where I am unable to build my app using the command - npx eas build --platform ios --profile development, although I have Admin rights in my team in the AppStore Connect. I read that here - https://forums.developer.apple.com/forums/thread/737541 someone already experience the same issue and it was resolved after reporting on the forum, so that's what i decided to do as well. I am attaching few screenshots as well. Thanks!
Hello everyone,
I’m developing an alarm app in Swift 5, and I’m running into an issue with playing custom alarm sounds. Here’s the setup:
I’m using AVAudioPlayer to play a custom sound when the alarm goes off.
I’m triggering the alarm through a local notification, which works perfectly while the app is in the foreground.
However, when the app is in the background or the screen is locked, the custom alarm sound doesn’t play.
I’ve looked at other apps on the App Store, like Alarmy, which seem to play alarms even when the iPhone is locked or the app is in the background. I’m trying to achieve similar functionality but haven’t been successful.
If anyone has experience with creating alarm apps or has a workaround for playing sounds in the background/lock screen, I’d really appreciate your insights. Are there specific permissions or settings I need to enable, or a different approach to handling sound playback?
Thank you so much in advance for your help!
I received the follow error result and based on my research, it seems that it may be a false positive.
Web3podium
Version 1.0.8
Build 45
Please correct the following issues and upload a new binary to App Store Connect.
ITMS-90338: Non-public API usage - The app references non-public selectors in Frameworks/JitsiMeetSDK.framework/JitsiMeetSDK: initWithURLStrings:. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/
ITMS-90683: Missing purpose string in Info.plist - Your app’s code references one or more APIs that access sensitive user data, or the app has one or more entitlements that permit such access. The Info.plist file for the “Runner.app” bundle should contain a NSPhotoLibraryUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. If you’re using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. For details, visit: https://developer.apple.com/documentation/uikit/protecting_the_user_s_privacy/requesting_access_to_protected_resources.
This false positive perspective is based on looking to this issue online and looking at the existing Jitsi Meet implementations. We would appreciate guidance and direction for this pretty large and significant open source repository being leveraged.
https://github.com/jitsi/jitsi-meet/issues/8624#issuecomment-781361671
Sir/Maam, I want to tell you to personally meet me at Apple Saket Citywalk Mall, as I am from India Uttar Pradesh Noida or my nearest Apple authorized store is in Saket. Your request is, please meet me. In Delhi Apple store, please provide it to me in person because I want to explain my iOS app or share its features or I want to sell my app to apple developers....
Thank you team!!
Yours faithfully
Akansha
Greetings,
We have been rejected in the review of our App for a code non-compliance with 4.3 Design guidelines. Our App appears to be similar to others, and indeed it is similar in functionality and appearance. The others that are similar have been developed by us as well, these being customisations that are specifically targeted at the companies or accounts we deal with.
The truth is that we have gone through several reviews of the other Apps before when we submitted them for publication at the time.
We know that there are other development companies that customise Apps for different brands and in these cases there has been no reason for rejection by the Apple Store.
We are beginning to think that there may be certain factors that are directly influencing the rejection of this App:
The mockups or screenshots we are using are similar to those of another App we have published with the same functionalities.
The backgrounds of the App have a gem of colours similar to that of the other App.
And now we wonder:
Is it possible that he rejected it solely because of design issues with the presentation screenshots and backgrounds of the App?
Apart from the appeal that can be submitted to the Store via the review form, is there any way to contact Apple by phone to determine exactly why the App was rejected?
How do other companies upload the same custom App and get it reviewed?
Hi, I already distributed private app for my company, but I stuck with the big problem that I cannot solve.
I distributed private app through generate redeem link to the employee and the problem is how to generate link to update app directly ?
I try all normal link but cannot link to private app.
Some link alert Not available in your country but the country of the app is all the same.
https://apps.apple.com/us/app/app-name/app-id
itms-apps://itunes.apple.com/th/app/app-name/app-id
Thank you for your help.
ExampleCode.txt
Dear all,
I made an app for computing Finite Element Analysis of electric motors. I (think I) managed to follow the MVVM principle by not exposing the model to the views. Now, my goal is to be able to use documents, each representing a different motor. I want to have my files saved on iCloud, and I want to be able to read plain text from it, so some other code (i.e. python) can create new configurations, even though this app is made for building, graphically.
Before trying to work with FileDocument, my class ViewModel: ObservableObject had properties with Published, like @Published var staOD = 80.0, and I would have views with TextFields to change these values.
Now, I’m trying to blend in FileDocument, and I’m lost. I don’t know how I should work with my data. Under the “Separation of Concerns”, I guessed that:
ViewModel: Should handle computations, updates, and application logic.
Document: Should focus on data persistence and encapsulate data to be saved/loaded as a document.
My ViewModel looks a bit strange to me, and I’m not sure I’m updating it the right way. I have around 100 parameters, I’m afraid I’m updating these parameters too often and unnecessarily every parameter at the same time, even when only one value is changed in the document.
What I’m asking:
Clarifications on how to work with FileDocument in my case of MVVM (I’m open to change the entire workflow, my main knowledge is on the Model built in Swift, but not SwiftUI)
Why isn’t the computed area on the DocumentView at the right value when I open a document? I would like to open documents and have it in the “right” state. In reality, I’m computing an image of the electric motor, and it would be nice to open the document and see the “real” image, and not a dummy image before I can validate the geometry.
I have these warnings popping every time I open a document and that scares me, especially because I want ideally to use swift 6 in the coming future, with concurrency the right way.
Publishing changes from background threads is not allowed; make sure to publish values from the main thread (via operators like receive(on:)) on model updates.
Thanks a lot for your help,
Guillaume
I made an example/simplified code that has all the logic. I can't show the entire code in this prompt due to space limitation. Therefore, I put everything (184 lines) in a single Swift file for you to download. You can just create a Multiplatform Document App. Remove all files except the ...App file, in which you can paste the content of the shared swift file. Run on iPhone simulator.
Development environment: Xcode 16, macOS 15
Run-time configuration: iOS 18, macOS 15
Open the app, click on "New motor"
You will see "Computed area: 3'063..."
Click on "Geometry", change "Stator OD" to 60 instead of 80.
Click on "Save" button, now Computed area is 863...
Click on "Cancel" button, and reopen the same document
Problem: area is again 3'063 while when you open Geometry, you see that "Stator OD" is rightfully 60.
I am new. I have never used Swift nor XCode or the CLI. But I have found and managed to test my App that I created for testing on my iPhone.
I have absolutely no intentions to put it on the App Store. I even made it Open-Source on GitHub.
I learned a lot of things and ways to prevent crashes, but unfortunately I am slowly starting to lose the ability to put my App on my iOS.
I am new here as a developer. But I have troubles to create a Developer Account, so I am not sure what I should do.
Here's what I think I am having issues with:
I feel like you can only create a Developer Account if you have a business, is this true?
I really find it cool to test my own App on my own phone. But I want to do it in an official way. But I don't know how.
Others have told me that you'd need a License for the App Store. But I am not trying to put it on the App Store, will this make it impossible for me to test my own app?
Why make an app if not putting it on the App Store?
You can learn. If you make good Apps or Libraries, you can provide them to other Developers! Maybe even an opportunity to collab with someone and even indeed put it on the App Store with a valid Developer Account.
Seriously, if I wouldn't have been able to test my iOS app through other ways on my iPhone, I'd have never been able to make a short breakdown about AVAudioEngine and AVAudioSession. I've seen people that have run into these crashes. I tried to look up for a fix, but found none.
I saw apps that allowed you to use a Microphone on a Laptop/PC and I decided to make my own one to test, and succeded, while I yet need to figure out a few crashes, I managed to do it, and I really want to continue and actually use my own App...
So I was really happy that I could make a post to provide a guide in hopes that it would help someone. And I would do more, but I really need help with figuring out how I can test my own app on my own phone.
I hope that Developer Relations can help with this.
I am honored that I successfully participated in the "Envision the future: Build great apps for visionOS"(https://developer.apple.com/events/view/ZCH7ZUY24C/dashboard) conference. However, unfortunately, I am in China, and due to the visa problem (because it usually takes at least 2 months to apply for a visa, but it only takes about 10 days from the time I received the notice to the meeting), I can't go to the United States to participate in the site. So I hope Apple can place an iPad on site and create a FaceTime link, and then I can make a call to this iPad. I also told Apple about this suggestion, but now there are only a few days left to start. They didn't reply to me. Even Apple has sent me the ticket to the Developer Center and asked me to add it to the Apple Wallet App, which means that Apple has not There is a request to deal with me. So I hope you can give me some advice or help me for those who know about this aspect. For Apple's internal engineers, if possible, I hope you can contact the person who manages this meeting. I'm very grateful for this. Thank you.
Hello all,
Recently I observed a strange behaviour on macOS.
Some apps with UI, after you quit them (right click on the Dock, select Quit or select Quit from the menubar), the apps are not actually quitting immediately, but in a few seconds (including in Activity Monitor the apps are staying alive). Also, if you open the apps again fast, the same PID is kept.
Not all apps do this, some of them, for example WhatsApp.
I'm not referring to closing all windows, but explicitly quitting.
This was not the case in the past. Is there any reason for this? Is some kind of optimisation I'm not aware of?
The actual issue is that in a Swift developed app events like NSWorkspace.didLaunchApplicationNotification
or NSWorkspace.didTerminateApplicationNotification are not triggered.
Is there any way to tell if an app was closed, even if macOS still keeps it around for a few more seconds?
Thank you.