我的app想要在USB设备(移动硬盘,typec)的插入和拔出的时候收到通知,并且实现手动弹出移动设备的功能。
上述功能在ios上可以实现吗?如果可以的话,是否方便可以给我一些资料我看一下吗?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
我没有勾选entitlements 中的” com.apple.security.network.server“和” com.apple.security.device.usb“,但是确实在打包时又自动出现在包里,我现在无法解决这个问题,我需要帮助,谢谢
我的.entitlements 文件如下:
排查命令:
codesign -d --entitlements :- ./Device\ Guard.app
Executable=/Users/zhanghai/Library/Developer/Xcode/DerivedData/MacGuardApp-fvfnspyxcojxojdfclyohrnupgsh/Build/Products/Debug/Device Guard.app/Contents/MacOS/Device Guard
warning: Specifying ':' in the path is deprecated and will not work in a future release
苹果人员,您好:
我用macOS 26系统遇到一个appstore的问题。当我从appstore下载我自己的macos app的时候,当时一直在转圈,无法下载成功,后来我下班后就关机了。第二天再上班后,再次下载就下载不了了。详见附件mp4操作视频。(别的macos机器可正常下载)
我自己尝试的方式:
1. 更换网络,—没有解决问题
2. 更换账号,—没有解决问题
3. 杀死appstoreagent进程 (killall -9 appstoreagent storedownloadd storeagent),—没有解决问题
4. 清除appstore缓存,—没有解决问题
5. 恢复模式下 reinstall macos 26,—没有解决问题
console 日志(详见附件截图和txt文件):
Error Domain=IXErrorDomain Code=5 "A coordinated app install already exists for [com.zhanghai.MacGuardApp/Invalid/[system-defined]] with intent IXCoordinatorIntentUpdating (creator App Store) but request by appstoreagent (pid 1469) was for intent IXCoordinatorIntentInitiating" UserInfo={NSLocalizedFailureReason=Coordinated install exists with different intent.
实在没有办法了,才求助apple团队,因为我需要测试我的app(testflight 也是无法下载的,提示无法安装。),但是我又无法下载下来,没法测试我就没法上架。
Topic:
App Store Distribution & Marketing
SubTopic:
TestFlight