Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lawrencelomax/7c36f447c819502f12f67173132607e6 to your computer and use it in GitHub Desktop.
Save lawrencelomax/7c36f447c819502f12f67173132607e6 to your computer and use it in GitHub Desktop.
xctool shims deny-mmap
xcodebuild build build
2016-07-25 11:06:23.977 xctool[76237:2732422] *** Assertion failure in __LaunchXcodebuildTaskAndFeedEventsToReporters_block_invoke(), /tmp/xctool-20160725-72874-vvod9r/Common/XCToolUtil.m:380
2016-07-25 11:06:23.980 xctool[76237:2732422] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Got error while trying to deserialize event 'User defaults from command line:': The data is not in the correct
format.'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff94abf4f2 __exceptionPreprocess + 178
1 libobjc.A.dylib 0x00007fff90e51f7e objc_exception_throw + 48
2 CoreFoundation 0x00007fff94ac41ca +[NSException raise:format:arguments:] + 106
3 Foundation 0x00007fff92dca1ee -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 169
4 xctool 0x000000010e936356 __LaunchXcodebuildTaskAndFeedEventsToReporters_block_invoke + 441
5 xctool 0x000000010e971a19 __ReadOutputsAndFeedOuputLinesToBlockOnQueue_block_invoke + 165
6 xctool 0x000000010e971d22 __ReadOutputsAndFeedOuputLinesToBlockOnQueue_block_invoke.26 + 612
7 xctool 0x000000010e971e8e __ReadOutputsAndFeedOuputLinesToBlockOnQueue_block_invoke_2.49 + 188
8 libdispatch.dylib 0x00007fff9eb9ec0b ___dispatch_operation_deliver_data_block_invoke + 118
9 libdispatch.dylib 0x00007fff9eb8993d _dispatch_call_block_and_release + 12
10 libdispatch.dylib 0x00007fff9eb7e40b _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007fff9eb8303b _dispatch_queue_drain + 754
12 libdispatch.dylib 0x00007fff9eb89707 _dispatch_queue_invoke + 549
13 libdispatch.dylib 0x00007fff9eb83200 _dispatch_queue_drain + 1207
14 libdispatch.dylib 0x00007fff9eb89707 _dispatch_queue_invoke + 549
15 libdispatch.dylib 0x00007fff9eb81d53 _dispatch_root_queue_drain + 538
16 libdispatch.dylib 0x00007fff9eb81b00 _dispatch_worker_thread3 + 91
17 libsystem_pthread.dylib 0x00007fff9c0aa4de _pthread_wqthread + 1129
18 libsystem_pthread.dylib 0x00007fff9c0a8341 start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
./build.sh: line 45: 76237 Abort trap: 6 xctool -project FBSimulatorControl.xcodeproj -scheme $name -sdk macosx -derivedDataPath $BUILD_DIRECTORY test
[lawrencelomax:~/src] master* 1 ± syslog | grep deny | grep xctool
Jul 25 11:06:18 lawrencelom-mbp kernel[0] <Notice>: AMFI: xcodebuild(pid 76246) - [deny-mmap] mapped executable file has no team identifier in its signature: /usr/local/Cellar/xctool/HEAD-9a19f11/libexec/lib/xcodebuild-fastsettings-shim.dylib
Jul 25 11:06:23 lawrencelom-mbp kernel[0] <Notice>: AMFI: xcodebuild(pid 76261) - [deny-mmap] mapped executable file has no team identifier in its signature: /usr/local/Cellar/xctool/HEAD-9a19f11/libexec/lib/xcodebuild-shim.dylib
@danleechina
Copy link

so how to slove this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment