title: mapped file does not have a matching team identifier
body: <p>I used below script to resign app</p>
  
  <pre><code>codesign -f -s "Certificate Name" '--entitlements' 'entitlements.plist' applicationname.app
  </code></pre>
  
  <p>If I sign the app with same account certificate, then it installs.
  If I sign the app with different account certificate, then it not installs.</p>
  
  <p>find the logs below</p>
  
  <pre><code>Aug 27 18:43:12 iPad kernel[0] &lt;Notice&gt;: xpcproxy[456] Container: /private/var/mobile/Containers/Data/Application/39A5FAG2-47E3-452H-8B93-700493EGAF4B (sandbox)
  Aug 27 18:43:12 iPad kernel[0] &lt;Notice&gt;: 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] &lt;Notice&gt;: 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] &lt;Notice&gt;: 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] &lt;Notice&gt;: 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] &lt;Notice&gt;: 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] &lt;Notice&gt;: 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] &lt;Notice&gt;: 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] &lt;Notice&gt;: 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] &lt;Notice&gt;: 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] &lt;Error&gt;: 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] &lt;Notice&gt;: ReportCrash acting against PID 456
  Aug 27 18:43:12 iPad locationd[64] &lt;Notice&gt;: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
  Aug 27 18:43:12 iPad ReportCrash[457] &lt;Notice&gt;: Formulating crash report for process MyApp[456]
  Aug 27 18:43:12 iPad com.apple.xpc.launchd[1] (UIKitApplication:com.myapp.test[0xb1b7][456]) &lt;Notice&gt;: Service exited due to signal: Trace/BPT trap: 5
  Aug 27 18:43:12 iPad ReportCrash[457] &lt;Notice&gt;: Saved report to /var/mobile/Library/Logs/CrashReporter/MyApp_2016-06-28-184312_iPad.ips
  Aug 27 18:43:12 iPad SpringBoard[43] &lt;Warning&gt;: Application 'UIKitApplication:com.myapp.test[0xb1b7]' crashed.
  Aug 27 18:43:12 iPad assertiond[58] &lt;Warning&gt;: Could not beset priority of &lt;BKNewProcess: 0x1565bdd0; com.myapp.test; pid: 456; hostpid: -1&gt; to 2, priority: No such process
  Aug 27 18:43:12 iPad assertiond[58] &lt;Warning&gt;: Could not set priority of &lt;BKNewProcess: 0x1565bdd0; com.myapp.test; pid: 456; hostpid: -1&gt; to 4096, priority: No such process
  Aug 27 18:43:12 iPad locationd[64] &lt;Notice&gt;: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
  Aug 27 18:43:18 iPad locationd[64] &lt;Notice&gt;: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0 
  </code></pre>