映射文件没有匹配的团队标识符



我使用下面的脚本退出应用程序

codesign -f -s "Certificate Name" '--entitlements' 'entitlements.plist' applicationname.app

如果我用相同的帐户证书签署应用程序,那么它就会安装。如果我用不同的帐户证书签署应用程序,那么它不会安装。

查找

下面的日志
Aug 27 18:43:12 iPad kernel[0] <Notice>: xpcproxy[456] Container: /private/var/mobile/Containers/Data/Application/39A5FAG2-47E3-452H-8B93-700493EGAF4B (sandbox)
Aug 27 18:43:12 iPad kernel[0] <Notice>: AMFI: MyApp(pid 456) - [deny-mmap] mapped file does not have a matching team identifier: /private/var/mobile/Containers/Bundle/Application/7260C0G9-4290-453C-AA5B-A47CDE6273CD/MyApp.app/Frameworks/libswiftObjectiveC.dylib
Aug 27 18:43:12 iPad kernel[0] <Notice>: AMFI: MyApp(pid 456) - [deny-mmap] process has team identifier 3G5GMTYJ2L: /private/var/mobile/Containers/Bundle/Application/7260C0G9-4290-453C-AA5B-A47CDE6273CD/MyApp.app/Frameworks/libswiftObjectiveC.dylib
Aug 27 18:43:12 iPad kernel[0] <Notice>: AMFI: MyApp(pid 456) - [deny-mmap] mapped file has team identifier 9PN3V7LYI4: /private/var/mobile/Containers/Bundle/Application/7260C0G9-4290-453C-AA5B-A47CDE6273CD/MyApp.app/Frameworks/libswiftObjectiveC.dylib
Aug 27 18:43:12 iPad kernel[0] <Notice>: AMFI: MyApp(pid 456) - [deny-mmap] mapped file does not have a matching team identifier: /private/var/mobile/Containers/Bundle/Application/7260C0G9-4290-453C-AA5B-A47CDE6273CD/MyApp.app/Frameworks/libswiftObjectiveC.dylib
Aug 27 18:43:12 iPad kernel[0] <Notice>: AMFI: MyApp(pid 456) - [deny-mmap] process has team identifier 3G5GMTYJ2L: /private/var/mobile/Containers/Bundle/Application/7260C0G9-4290-453C-AA5B-A47CDE6273CD/MyApp.app/Frameworks/libswiftObjectiveC.dylib
Aug 27 18:43:12 iPad kernel[0] <Notice>: AMFI: MyApp(pid 456) - [deny-mmap] mapped file has team identifier 9PN3V7LYI4: /private/var/mobile/Containers/Bundle/Application/7260C0G9-4290-453C-AA5B-A47CDE6273CD/MyApp.app/Frameworks/libswiftObjectiveC.dylib
Aug 27 18:43:12 iPad kernel[0] <Notice>: AMFI: MyApp(pid 456) - [deny-mmap] mapped file does not have a matching team identifier: /private/var/mobile/Containers/Bundle/Application/7260C0G9-4290-453C-AA5B-A47CDE6273CD/MyApp.app/Frameworks/libswiftObjectiveC.dylib
Aug 27 18:43:12 iPad kernel[0] <Notice>: AMFI: MyApp(pid 456) - [deny-mmap] process has team identifier 3G5GMTYJ2L: /private/var/mobile/Containers/Bundle/Application/7260C0G9-4290-453C-AA5B-A47CDE6273CD/MyApp.app/Frameworks/libswiftObjectiveC.dylib
Aug 27 18:43:12 iPad kernel[0] <Notice>: AMFI: MyApp(pid 456) - [deny-mmap] mapped file has team identifier 9PN3V7LYI4: /private/var/mobile/Containers/Bundle/Application/7260C0G9-4290-453C-AA5B-A47CDE6273CD/MyApp.app/Frameworks/libswiftObjectiveC.dylib
Aug 27 18:43:12 iPad ReportCrash[457] <Error>: task_set_exception_ports(B07, 400, D03, 0, 0) failed with error (4: (os/kern) invalid argument)
Aug 27 18:43:12 iPad ReportCrash[457] <Notice>: ReportCrash acting against PID 456
Aug 27 18:43:12 iPad locationd[64] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Aug 27 18:43:12 iPad ReportCrash[457] <Notice>: Formulating crash report for process MyApp[456]
Aug 27 18:43:12 iPad com.apple.xpc.launchd[1] (UIKitApplication:com.myapp.test[0xb1b7][456]) <Notice>: Service exited due to signal: Trace/BPT trap: 5
Aug 27 18:43:12 iPad ReportCrash[457] <Notice>: Saved report to /var/mobile/Library/Logs/CrashReporter/MyApp_2016-06-28-184312_iPad.ips
Aug 27 18:43:12 iPad SpringBoard[43] <Warning>: Application 'UIKitApplication:com.myapp.test[0xb1b7]' crashed.
Aug 27 18:43:12 iPad assertiond[58] <Warning>: Could not beset priority of <BKNewProcess: 0x1565bdd0; com.myapp.test; pid: 456; hostpid: -1> to 2, priority: No such process
Aug 27 18:43:12 iPad assertiond[58] <Warning>: Could not set priority of <BKNewProcess: 0x1565bdd0; com.myapp.test; pid: 456; hostpid: -1> to 4096, priority: No such process
Aug 27 18:43:12 iPad locationd[64] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Aug 27 18:43:18 iPad locationd[64] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0 

请查看 titles .plist

它有您的旧帐户的团队标识符。

你必须用你的新帐户的团队标识更新团队标识,然后签署应用程序。

您可以通过检查Keychain或其他

中的证书的User Id来查找团队标识符。

你可以在这里找到

最新更新