I got this error when archive app after upgrade to Xcode 9.3.
Here are some investigate result:
Archive existing project, compile xcassets error
Remove all image in xcassets, archive success
Create new project and add image to xcassets, archive error
Do anyone has solution for this error? Thank you so much.
Error logs
CompileAssetCatalog /Users/nhuanvd/Library/Developer/Xcode/DerivedData/hello-ahgsmtroieexmqahdahktbcsrozj/Build/Intermediates.noindex/ArchiveIntermediates/hello/InstallationBuildProductsLocation/Applications/hello.app hello/Assets.xcassets
cd /Users/nhuanvd/Desktop/hello
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/usr/bin/actool --output-format human-readable-text --notices --warnings --export-dependency-info /Users/nhuanvd/Library/Developer/Xcode/DerivedData/hello-ahgsmtroieexmqahdahktbcsrozj/Build/Intermediates.noindex/ArchiveIntermediates/hello/IntermediateBuildFilesPath/hello.build/Release-iphoneos/hello.build/assetcatalog_dependencies --output-partial-info-plist /Users/nhuanvd/Library/Developer/Xcode/DerivedData/hello-ahgsmtroieexmqahdahktbcsrozj/Build/Intermediates.noindex/ArchiveIntermediates/hello/IntermediateBuildFilesPath/hello.build/Release-iphoneos/hello.build/assetcatalog_generated_info.plist --app-icon AppIcon --compress-pngs --enable-on-demand-resources YES --sticker-pack-identifier-prefix com.nhuanvd.hello.sticker-pack. --target-device iphone --target-device ipad --minimum-deployment-target 11.3 --platform iphoneos --product-type com.apple.product-type.application --compile /Users/nhuanvd/Library/Developer/Xcode/DerivedData/hello-ahgsmtroieexmqahdahktbcsrozj/Build/Intermediates.noindex/ArchiveIntermediates/hello/InstallationBuildProductsLocation/Applications/hello.app /Users/nhuanvd/Desktop/hello/hello/Assets.xcassets
Command /Applications/Xcode.app/Contents/Developer/usr/bin/actool failed with exit code 255
Some time, i get more error log with stack trace.
2018-05-14 05:16:42.164 IBCocoaTouchImageCatalogTool[17346:326934] *** NSForwarding: warning: selector (0x1170e3c00) for message '' does not match selector known to Objective C runtime (0x7f86da381f60)-- abort
2018-05-14 05:16:50.258 ibtoold[16210:319259] *** Terminating app due to uncaught exception 'IBPlatformToolFailureException', reason: 'The tool closed the connection
Last command:
_ON_QUEUE_sendMessage:toChannelReturningError:during:
Backtrace of last command:
0 -[IBAbstractPlatformToolProxy _ON_QUEUE_sendMessage:toChannelReturningError:during:] (in IDEInterfaceBuilderKit)
1 __74-[IBAbstractPlatformToolProxy sendMessage:toChannelReturningError:during:]_block_invoke (in IDEInterfaceBuilderKit)
2 _dispatch_client_callout (in libdispatch.dylib)
3 _dispatch_queue_barrier_sync_invoke_and_complete (in libdispatch.dylib)
4 DVTDispatchSync (in DVTFoundation)
5 -[IBAbstractPlatformToolProxy sendMessage:toChannelReturningError:during:] (in IDEInterfaceBuilderKit)
6 -[IBCocoaTouchImageCatalogToolProxy compileItemsWithCatalogRelativeIdentifierPaths:tagSolutionSpace:andStickerPacksWithCatalogRelativeIdentifierPaths:options:] (in IDEInterfaceBuilderCocoaTouchIntegration)
7 -[IBAbstractCocoaTouchPlatformAdapter compileCARItems:tagSolutionSpace:options:queue:completionHandler:] (in IDEInterfaceBuilderCocoaTouchIntegration)
8 __84-[IBICAbstractPlatformAdapter compileSelectedItems:options:queue:completionHandler:]_block_invoke (in IDEInterfaceBuilderKit)
9 __DVTDispatchAsync_block_invoke (in DVTFoundation)
10 _dispatch_call_block_and_release (in libdispatch.dylib)
11 _dispatch_client_callout (in libdispatch.dylib)
12 _dispatch_main_queue_callback_4CF (in libdispatch.dylib)
13 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ (in CoreFoundation)
14 __CFRunLoopRun (in CoreFoundation)
15 CFRunLoopRunSpecific (in CoreFoundation)
16 -[NSRunLoop(DVTNSRunLoopAdditions) dvt_spinRunLoopInMode:whileBlockExecutesConcurrently:] (in DVTFoundation)
17 -[NSRunLoop(DVTNSRunLoopAdditions) dvt_spinRunLoopInMode:waitingForSemaphore:] (in DVTFoundation)
18 -[IBCLIImageCatalogToolPersona compileCatalogCollection:withPlatformAdapter:arguments:outputDictionary:] (in ibtoold)
19 -[IBCLIImageCatalogToolPersona invokeArguments:outputDictionary:] (in ibtoold)
20 -[IBCLIImageCatalogToolPersona runSingleInvocation:outputtingToFileHandle:andVerifyingEnvironment:] (in ibtoold)
21 IBCLIServerRunSingleInvocation (in ibtoold)
22 __IBCLIServerRunSingleInvocationWithIODirectedAtPipesAndUnlinkOnSuccess_block_invoke_2 (in ibtoold)
23 __IBCLIServerRunSingleInvocationWithIODirectedAtPipesAndUnlinkOnSuccess_block_invoke (in ibtoold)
24 -[IBCLIErrorForwarder forwardErrorOutputToDescriptor:whileInvokingBlock:] (in ibtoold)
25 IBCLIServerRunSingleInvocationWithIODirectedAtPipesAndUnlinkOnSuccess (in ibtoold)
26 main (in ibtoold)
27 start (in libdyld.dylib)
'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff3b64a6bb __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fff62d56942 objc_exception_throw + 48
2 CoreFoundation 0x00007fff3b64a609 -[NSException raise] + 9
3 IDEInterfaceBuilderKit 0x000000010b1e260b -[IBAbstractPlatformToolProxy _errorByAddingAdditionalCrashInformationToError:orRaiseIfNeededOnFailure:shouldRaiseOnFailures:waitForCrashLog:] + 1509
4 IDEInterfaceBuilderKit 0x000000010b1e1ffc -[IBAbstractPlatformToolProxy errorByAddingAdditionalCrashInformationToError:orRaiseIfNeededOnFailure:] + 94
5 IDEInterfaceBuilderKit 0x000000010b1e3475 -[IBAbstractPlatformToolProxy _ON_QUEUE_sendMessage:toChannelReturningError:during:] + 221
6 IDEInterfaceBuilderKit 0x000000010b1e32b0 __74-[IBAbstractPlatformToolProxy sendMessage:toChannelReturningError:during:]_block_invoke + 38
7 libdispatch.dylib 0x00007fff63933e08 _dispatch_client_callout + 8
8 libdispatch.dylib 0x00007fff63947231 _dispatch_queue_barrier_sync_invoke_and_complete + 60
9 DVTFoundation 0x000000010bc07ae7 DVTDispatchSync + 208
10 IDEInterfaceBuilderKit 0x000000010b1e31d5 -[IBAbstractPlatformToolProxy sendMessage:toChannelReturningError:during:] + 245
11 IDEInterfaceBuilderCocoaTouchIntegration 0x0000000119df6b6b -[IBCocoaTouchImageCatalogToolProxy compileItemsWithCatalogRelativeIdentifierPaths:tagSolutionSpace:andStickerPacksWithCatalogRelativeIdentifierPaths:options:] + 220
12 IDEInterfaceBuilderCocoaTouchIntegration 0x0000000119dddbc7 -[IBAbstractCocoaTouchPlatformAdapter compileCARItems:tagSolutionSpace:options:queue:completionHandler:] + 940
13 IDEInterfaceBuilderKit 0x000000010b137a80 __84-[IBICAbstractPlatformAdapter compileSelectedItems:options:queue:completionHandler:]_block_invoke + 228
14 DVTFoundation 0x000000010bc07b68 __DVTDispatchAsync_block_invoke + 97
15 libdispatch.dylib 0x00007fff6393b64a _dispatch_call_block_and_release + 12
16 libdispatch.dylib 0x00007fff63933e08 _dispatch_client_callout + 8
17 libdispatch.dylib 0x00007fff6393f3e5 _dispatch_main_queue_callback_4CF + 1148
18 CoreFoundation 0x00007fff3b603ea9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
19 CoreFoundation 0x00007fff3b5c66ba __CFRunLoopRun + 2586
20 CoreFoundation 0x00007fff3b5c5a07 CFRunLoopRunSpecific + 487
21 DVTFoundation 0x000000010baab6f2 -[NSRunLoop(DVTNSRunLoopAdditions) dvt_spinRunLoopInMode:whileBlockExecutesConcurrently:] + 457
22 DVTFoundation 0x000000010baabb9a -[NSRunLoop(DVTNSRunLoopAdditions) dvt_spinRunLoopInMode:waitingForSemaphore:] + 128
23 ibtoold 0x000000010aeb2f37 -[IBCLIImageCatalogToolPersona compileCatalogCollection:withPlatformAdapter:arguments:outputDictionary:] + 1601
24 ibtoold 0x000000010aeb475d -[IBCLIImageCatalogToolPersona invokeArguments:outputDictionary:] + 1756
25 ibtoold 0x000000010aeb4bc6 -[IBCLIImageCatalogToolPersona runSingleInvocation:outputtingToFileHandle:andVerifyingEnvironment:] + 709
26 ibtoold 0x000000010aec21ed IBCLIServerRunSingleInvocation + 520
27 ibtoold 0x000000010aec2849 __IBCLIServerRunSingleInvocationWithIODirectedAtPipesAndUnlinkOnSuccess_block_invoke_2 + 34
28 ibtoold 0x000000010aec2719 __IBCLIServerRunSingleInvocationWithIODirectedAtPipesAndUnlinkOnSuccess_block_invoke + 864
29 ibtoold 0x000000010aeb1aef -[IBCLIErrorForwarder forwardErrorOutputToDescriptor:whileInvokingBlock:] + 110
30 ibtoold 0x000000010aec1da5 IBCLIServerRunSingleInvocationWithIODirectedAtPipesAndUnlinkOnSuccess + 589
31 ibtoold 0x000000010aec0bec main + 2638
32 libdyld.dylib 0x00007fff6396d015 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
I fixed issue by upgrading to Xcode 9.3.1. This might be Xcode issue.
I had to select the installed version under Xcode > Preferences > Locations > Command Line Tools as recommended in this thread. It was blank before.
Had same problem with Xcode 9.4. Solved it by reinstalling Xcode.
Related
MY application consist of both bottom and upper tabs, I am calling a network request on each tab but sometimes it crash application on iOS and don't know the reason for this.
Below are logs i got on crashlytics.
Fatal Exception: NSInternalInconsistencyException
0 CoreFoundation 0x199a9b180 __exceptionPreprocess
1 libobjc.A.dylib 0x198c739f8 objc_exception_throw
2 CoreFoundation 0x1999b488c +[_CFXNotificationTokenRegistration keyCallbacks]
3 Foundation 0x19a478b38 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:]
4 Flutter 0x1014953ec (Missing)
5 Runner 0x101062c30 +[GeneratedPluginRegistrant registerWithRegistry:] + 88 (GeneratedPluginRegistrant.m:88)
6 flutter_downloader 0x101f77404 (Missing)
7 flutter_downloader 0x101f7a850 (Missing)
8 flutter_downloader 0x101f7d218 (Missing)
9 Flutter 0x101517768 (Missing)
10 Flutter 0x1014b2240 (Missing)
11 Flutter 0x101508398 (Missing)
12 Flutter 0x1014c1fd0 (Missing)
13 Flutter 0x1014c3c48 (Missing)
14 CoreFoundation 0x199a2d554 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
15 CoreFoundation 0x199a2d284 __CFRunLoopDoTimer
16 CoreFoundation 0x199a2cab8 __CFRunLoopDoTimers
17 CoreFoundation 0x199a27a08 __CFRunLoopRun
18 CoreFoundation 0x199a26fb4 CFRunLoopRunSpecific
19 GraphicsServices 0x19bc2879c GSEventRunModal
20 UIKitCore 0x1c6288c38 UIApplicationMain
21 Runner 0x1010633bc main + 8 (AppDelegate.swift:8)
22 libdyld.dylib 0x1994ea8e0 start
Crashed: com.twitter.crashlytics.ios.exception
0 Runner 0x10107cc20 CLSProcessRecordAllThreads + 4308732960
1 Runner 0x10107d008 CLSProcessRecordAllThreads + 4308733960
2 Runner 0x10106c874 CLSHandler + 4308666484
3 Runner 0x10107b218 __CLSExceptionRecord_block_invoke + 4308726296
4 libdispatch.dylib 0x1994d97d4 _dispatch_client_callout + 16
5 libdispatch.dylib 0x199487c1c _dispatch_lane_barrier_sync_invoke_and_complete + 56
6 Runner 0x10107ac84 CLSExceptionRecord + 4308724868
7 Runner 0x10107aab0 CLSExceptionRecordNSException + 4308724400
8 Runner 0x10107a6a4 CLSTerminateHandler() + 4308723364
9 libc++abi.dylib 0x198c68838 std::__terminate(void (*)()) + 16
10 libc++abi.dylib 0x198c68434 __cxa_rethrow + 144
11 libobjc.A.dylib 0x198c73bc8 objc_exception_rethrow + 44
12 CoreFoundation 0x199a27020 CFRunLoopRunSpecific + 544
13 GraphicsServices 0x19bc2879c GSEventRunModal + 104
14 UIKitCore 0x1c6288c38 UIApplicationMain + 212
15 Runner 0x1010633bc main + 8 (AppDelegate.swift:8)
16 libdyld.dylib 0x1994ea8e0 start + 4
I am stuck at this and couldn't find any reason or solution.
Thanks in advance
What version of crashlytics are you running? If you are running iOS 13 you should upgrade to 3.14.0. as it will give you better detailed information about the crash.
My app runs properly on other devices and in the simulator, but my iOS 13.2 iPhone causes Xcode to crash when it is about to run on the device?
here's my crash log:
Process: Xcode [6201]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 11.1 (15405)
Build Info: IDEFrameworks-15405000000000000~13 (11A1027)
App Item ID: 497799835
App External ID: 832925179
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [6201]
User ID: 501
Date/Time: 2019-10-31 11:09:42.827 +0000
OS Version: Mac OS X 10.15.1 (19B88)
Report Version: 12
Anonymous UUID: AE67D298-19BC-5BC6-E2C9-0312CD6CAEE2
Time Awake Since Boot: 1500 seconds
System Integrity Protection: enabled
Crashed Thread: 9 Dispatch queue: Mutex to protect _hasPerformedWorkerAction
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
com.apple.main-thread
ProductBuildVersion: 11A1027
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Invalid parameter not satisfying: aString != nil
UserInfo: (null)
Hints:
0: Calling block provided to DVTSyncPerformBlock() here:
0 DVTSyncPerformBlock (in DVTFoundation)
1 -[IDEExecutionRunnableTracker executionWantsHold:withError:] (in IDEFoundation)
2 -[IDERunOperationWorker _startWithRetrying:] (in IDEFoundation)
3 __44-[IDERunOperationWorker _startWithRetrying:]_block_invoke_3 (in IDEFoundation)
4 __48-[DVTDispatchLock_Recursive performLockedBlock:]_block_invoke (in DVTFoundation)
5 _dispatch_client_callout (in libdispatch.dylib)
6 _dispatch_lane_barrier_sync_invoke_and_complete (in libdispatch.dylib)
7 DVTDispatchBarrierSync (in DVTFoundation)
8 -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
9 -[DVTDispatchLock_Recursive performLockedBlock:] (in DVTFoundation)
10 __44-[IDERunOperationWorker _startWithRetrying:]_block_invoke_2 (in IDEFoundation)
11 __DVT_CALLING_CLIENT_BLOCK__ (in DVTFoundation)
12 __DVTDispatchAfter_block_invoke (in DVTFoundation)
13 _dispatch_client_callout (in libdispatch.dylib)
14 _dispatch_continuation_pop (in libdispatch.dylib)
15 _dispatch_source_invoke (in libdispatch.dylib)
16 _dispatch_continuation_pop (in libdispatch.dylib)
17 _dispatch_async_redirect_invoke (in libdispatch.dylib)
18 _dispatch_root_queue_drain (in libdispatch.dylib)
19 _dispatch_worker_thread2 (in libdispatch.dylib)
20 _pthread_wqthread (in libsystem_pthread.dylib)
21 start_wqthread (in libsystem_pthread.dylib)
Backtrace:
0 __exceptionPreprocess (in CoreFoundation)
1 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 objc_exception_throw (in libobjc.A.dylib)
3 +[NSException raise:format:arguments:] (in CoreFoundation)
4 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] (in Foundation)
5 -[NSCell _objectValue:forString:errorDescription:] (in AppKit)
6 -[NSCell setStringValue:] (in AppKit)
7 -[NSControl setStringValue:] (in AppKit)
8 -[IDEExecutionHoldAlertHelper showAlert] (in IDEKit)
9 -[IDEWorkspaceTabController showExecutionHoldAlertWithError:] (in IDEKit)
10 __55-[IDEWorkspaceDocument _setupLaunchSessionsObservation]_block_invoke_2 (in IDEKit)
11 -[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:] (in DVTFoundation)
12 NSKeyValueNotifyObserver (in Foundation)
13 NSKeyValueDidChange.llvm.18255262684423441536 (in Foundation)
14 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] (in Foundation)
15 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] (in Foundation)
16 _NSSetCharValueAndNotify (in Foundation)
17 -[IDEExecutionTracker _updateWantsHold] (in IDEFoundation)
18 __37-[IDEExecutionTracker addSubtracker:]_block_invoke (in IDEFoundation)
19 -[DVTObservingBlockToken observeValueForKeyPath:ofObject:change:context:] (in DVTFoundation)
20 NSKeyValueNotifyObserver (in Foundation)
21 NSKeyValueDidChange.llvm.18255262684423441536 (in Foundation)
22 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] (in Foundation)
23 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] (in Foundation)
24 _NSSetCharValueAndNotify (in Foundation)
25 __60-[IDEExecutionRunnableTracker executionWantsHold:withError:]_block_invoke (in IDEFoundation)
26 __DVT_CALLING_CLIENT_BLOCK__ (in DVTFoundation)
27 __DVTSyncPerformBlock_block_invoke.48 (in DVTFoundation)
28 DVTInvokeWithLazyFailureHint (in DVTFoundation)
29 __DVTSyncPerformBlock_block_invoke (in DVTFoundation)
30 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ (in CoreFoundation)
31 __CFRunLoopDoBlocks (in CoreFoundation)
32 __CFRunLoopRun (in CoreFoundation)
33 CFRunLoopRunSpecific (in CoreFoundation)
34 RunCurrentEventLoopInMode (in HIToolbox)
35 ReceiveNextEventCommon (in HIToolbox)
36 _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
37 _DPSNextEvent (in AppKit)
38 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)
39 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
40 -[NSApplication run] (in AppKit)
41 NSApplicationMain (in AppKit)
42 main (in Xcode)
43 start (in libdyld.dylib)
abort() called
full log: https://pastebin.com/8aHqMbWn
Xcode 11.2 was launched today, 4 days after iOS 13.2.
I was unable to make Xcode 11.2 work with iOS 13.2 devices.
I used AppCleaner to remove every single piece of Xcode from my computer then I downloaded Xcode 11.2 and installed it again.
It is now working fine.
Xcode 11.1 doesn't really support iOS 13.2, you should wait for Xcode 11.2 to be released fairly soon by Apple or download the beta version of 11.2 from Apple's site.
I am using react-native-piechart to render a single chart. I have added ART.xcodeprojto my Libraries. I also added libART.a to my Build Phases > Link Binary With Libraries.
When I render the chart, my application crashes. When running react-native log-ios I get the following stack trace
Apr 13 16:37:30 Dan-MBP mycpd[52875] <Error>: -[__NSArrayI length]: unrecognized selector sent to instance 0x6080000e8b80
Apr 13 16:37:30 Dan-MBP mycpd[52875] <Error>: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSArrayI length]: unrecognized selector sent to instance 0x6080000e8b80'
*** First throw call stack:
(
0 CoreFoundation 0x0000000105159d4b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x0000000103fdd21e objc_exception_throw + 48
2 CoreFoundation 0x00000001051c9f04 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x00000001050df005 ___forwarding___ + 1013
4 CoreFoundation 0x00000001050deb88 _CF_forwarding_prep_0 + 120
5 mycpd 0x0000000100cd0f77 -[RNSVGPathParser initWithPathString:] + 295
6 mycpd 0x0000000100cce0a0 +[RCTConvert(RNSVG) CGPath:] + 80
7 mycpd 0x0000000100c1ac0a __49-[RCTComponentData propBlockForKey:inDictionary:]_block_invoke.223 + 282
8 mycpd 0x0000000100c1b840 __49-[RCTComponentData propBlockForKey:inDictionary:]_block_invoke.259 + 720
9 mycpd 0x0000000100c1bbb8 __49-[RCTComponentData propBlockForKey:inDictionary:]_block_invoke_2.272 + 40
10 mycpd 0x0000000100bb6dd3 RCTPerformBlockWithLogFunction + 483
11 mycpd 0x0000000100bb6f8f RCTPerformBlockWithLogPrefix + 239
12 mycpd 0x0000000100c1bb1d __49-[RCTComponentData propBlockForKey:inDictionary:]_block_invoke.267 + 445
13 mycpd 0x0000000100c1c015 __37-[RCTComponentData setProps:forView:]_block_invoke + 181
14 CoreFoundation 0x00000001050ea2a5 __65-[__NSDictionaryI enumerateKeysAndObjectsWithOptions:usingBlock:]_block_invoke + 85
15 CoreFoundation 0x00000001050ea1ba -[__NSDictionaryI enumerateKeysAndObjectsWithOptions:usingBlock:] + 250
16 mycpd 0x0000000100c1be7f -[RCTComponentData setProps:forView:] + 223
17 mycpd 0x0000000100c01f02 __50-[RCTUIManager createView:viewName:rootTag:props:]_block_invoke + 162
18 libdispatch.dylib 0x0000000107804808 _dispatch_call_block_and_release + 12
19 libdispatch.dylib 0x000000010782612e _dispatch_client_callout + 8
20 libdispatch.dylib 0x000000010780d4fb _dispatch_main_queue_callback_4CF + 1054
21 CoreFoundation 0x000000010511de49 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
22 CoreFoundation 0x00000001050e337d __CFRunLoopRun + 2205
23 CoreFoundation 0x00000001050e2884 CFRunLoopRunSpecific + 420
24 GraphicsServices 0x0000000109cd2a6f GSEventRunModal + 161
25 UIKit 0x0000000102161c68 UIApplicationMain + 159
26 mycpd 0x0000000100a08ddf main + 111
27 libdyld.dylib 0x000000010786f68d start + 1
28 ??? 0x0000000000000001 0x0 + 1
)
Apr 13 16:37:30 Dan-MBP SpringBoard[50607] <Error>: [KeyboardArbiter] HW kbd: Failed to set (null) as keyboard focus
Apr 13 16:37:30 Dan-MBP com.apple.CoreSimulator.SimDevice.D55EDF21-DD38-4727-9408-2ED7C7D3E93F.launchd_sim[50590] (UIKitApplication:com.thinkdigital.mycpd[0xb38b][52875]) <Notice>: Service exited due to Abort trap: 6
Apr 13 16:37:30 Dan-MBP backboardd[50608] <Error>: [Common] Unable to get short BSD proc info for 52875: No such process
Apr 13 16:37:30 Dan-MBP backboardd[50608] <Error>: [Common] Unable to get proc info for 52875: No such process
Apr 13 16:37:30 Dan-MBP assertiond[50611] <Warning>: notify_suspend_pid() failed with error 7
What I have tried
Removing the package via yarn, and removing ART.xcodeproj and libART.a from Xcode and then reinstalling.
I have tried multiple chart libraries - this problem persists.
I created a fresh project to test the libraries were not causing the issue, they worked absolutely fine.
I had the same issue when using react-native-progress. A similar crash was reported here
To fix I removed references to react-native-svg, then ran:
npm install react-native-svg --save
react-native link react-native-svg
I am using Base localization with Xcode 7.0.1 in a swift ios project.
When trying to add a localized version of Info.plist, Xcode crashes reproducibly.
The crash report reads:
Process: Xcode [8668]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 7.0.1 (8228)
Build Info: IDEFrameworks-8228000000000000~5
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [8668]
User ID: 501
Date/Time: 2016-02-09 20:19:34.068 +0100
OS Version: Mac OS X 10.11.3 (15D21)
Report Version: 11
Anonymous UUID: 3E9F29CA-3434-1E64-B82C-450C0F5950BA
Sleep/Wake UUID: E7AE7A3F-2138-4C7B-8C65-D550B9D39594
Time Awake Since Boot: 17000 seconds
Time Since Wake: 8500 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
ProductBuildVersion: 7A1001
UNCAUGHT EXCEPTION (NSInvalidArgumentException): *** -[NSPathStore2 stringByAppendingPathExtension:]: nil argument
UserInfo: (null)
Hints: None
Backtrace:
0 0x00007fff96b1baca __exceptionPreprocess (in CoreFoundation)
1 0x0000000100452734 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff8ddf973c objc_exception_throw (in libobjc.A.dylib)
3 0x00007fff96b1b98d +[NSException raise:format:] (in CoreFoundation)
4 0x00007fff8b42ce6b -[NSPathStore2 stringByAppendingPathExtension:] (in Foundation)
5 0x0000000108cec86c -[Xcode3VariantGroup proposedFilePathForLocalization:fileType:] (in DevToolsCore)
6 0x000000011228ec8c -[Xcode3LocalizationCommands addLocalizedResourceWithDefaultLocale:variantGroup:inspectorLocale_locale:inspectorLocale_fileDataType:conversionFileDataType:fileDataType:allowsConversion:operationCompletionBlock:] (in Xcode3UI)
7 0x0000000112269c80 -[Xcode3LocalizationsInspector addResourceForInspectorLocale:] (in Xcode3UI)
8 0x000000011226b598 -[Xcode3LocalizationsInspector tableView:setObjectValue:forTableColumn:row:] (in Xcode3UI)
9 0x00007fff8f1cbd69 -[NSTableView _tryCellBasedMouseDown:atRow:column:withView:] (in AppKit)
10 0x00007fff8f1546c2 -[NSTableView mouseDown:] (in AppKit)
11 0x00007fff8f656d1d -[NSWindow _handleMouseDownEvent:isDelayedEvent:] (in AppKit)
12 0x00007fff8f657fad -[NSWindow _reallySendEvent:isDelayedEvent:] (in AppKit)
13 0x00007fff8efb0735 -[NSWindow sendEvent:] (in AppKit)
14 0x00000001018ae31e -[IDEWorkspaceWindow sendEvent:] (in IDEKit)
15 0x00007fff8eface49 -[NSApplication sendEvent:] (in AppKit)
16 0x0000000101664ae9 -[IDEApplication sendEvent:] (in IDEKit)
17 0x00007fff8eee003a -[NSApplication run] (in AppKit)
18 0x00007fff8ee62520 NSApplicationMain (in AppKit)
19 0x00007fff965c75ad start (in libdyld.dylib)
abort() called
Application Specific Signatures:
NSInvalidArgumentException
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff96b1bae2 __exceptionPreprocess + 178
1 DVTFoundation 0x0000000100452734 DVTFailureHintExceptionPreprocessor + 194
2 libobjc.A.dylib 0x00007fff8ddf973c objc_exception_throw + 48
3 CoreFoundation 0x00007fff96b1b98d +[NSException raise:format:] + 205
4 Foundation 0x00007fff8b42ce6b -[NSPathStore2 stringByAppendingPathExtension:] + 113
5 DevToolsCore 0x0000000108cec86c -[Xcode3VariantGroup proposedFilePathForLocalization:fileType:] + 470
6 Xcode3UI 0x000000011228ec8c -[Xcode3LocalizationCommands addLocalizedResourceWithDefaultLocale:variantGroup:inspectorLocale_locale:inspectorLocale_fileDataType:conversionFileDataType:fileDataType:allowsConversion:operationCompletionBlock:] + 621
7 Xcode3UI 0x0000000112269c80 -[Xcode3LocalizationsInspector addResourceForInspectorLocale:] + 681
8 Xcode3UI 0x000000011226b598 -[Xcode3LocalizationsInspector tableView:setObjectValue:forTableColumn:row:] + 1183
9 AppKit 0x00007fff8f1cbd69 -[NSTableView _tryCellBasedMouseDown:atRow:column:withView:] + 1992
10 AppKit 0x00007fff8f1546c2 -[NSTableView mouseDown:] + 4507
11 AppKit 0x00007fff8f656d1d -[NSWindow _handleMouseDownEvent:isDelayedEvent:] + 6322
12 AppKit 0x00007fff8f657fad -[NSWindow _reallySendEvent:isDelayedEvent:] + 212
13 AppKit 0x00007fff8efb0735 -[NSWindow sendEvent:] + 517
14 IDEKit 0x00000001018ae31e -[IDEWorkspaceWindow sendEvent:] + 156
15 AppKit 0x00007fff8eface49 -[NSApplication sendEvent:] + 2540
16 IDEKit 0x0000000101664ae9 -[IDEApplication sendEvent:] + 739
17 AppKit 0x00007fff8eee003a -[NSApplication run] + 796
18 AppKit 0x00007fff8ee62520 NSApplicationMain + 1176
19 libdyld.dylib 0x00007fff965c75ad start + 1
I am wondering if this might be a problem that the project configuration is inducing as I'm using cocoapods and some custom build script to fetch some resources at build time. Yet, I do not see any problems that would explain this.
Is there a way to fix this by ourselves or is it copypasta on the filesystem and hoping that Xcode will pick up on the changes?
Possibly caused by this is: after enabling base localization for Info.plist, the project refuses to build:
error: could not read data from '/Users/[redacted]/git/[redacted]-ios/[redacted]/Info.plist': The file “Info.plist” couldn’t be opened because there is no such file.
This does not surprise me, because xcode moved the file into Base.lproj.
i making application on xcode 5.1.1 and min ios sdk version is 5.0 when i build applcation given me 255 error code
show below error when i build
CompileXIB GPSLocate/StoreViewController.xib
cd "/Users/optimatrix/Desktop/nitin apps/x-code 5.1.1/GPSLocate"
export PATH="/Applications/Xcode 5.1.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode
5.1.1.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
export XCODE_DEVELOPER_USR_PATH="/Applications/Xcode 5.1.1.app/Contents/Developer/usr/bin/.."
/Applications/Xcode\ 5.1.1.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --minimum-deployment-target 5.0 --output-format human-readable-text --compile /Users/optimatrix/Library/Developer/Xcode/DerivedData/Smartstreet-bssuagmbjqqngobkndyfxxngxxkc/Build/Intermediates/ArchiveIntermediates/GPSLocate/InstallationBuildProductsLocation/Applications/Smartstreet.app/StoreViewController.nib
/Users/optimatrix/Desktop/nitin\ apps/x-code\
5.1.1/GPSLocate/GPSLocate/StoreViewController.xib
2014-05-08 17:21:05.677 ibtoold[9180:707] [MT] DVTAssertions:
ASSERTION FAILURE in
/SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-5038/InterfaceBuilder/Utilities/IBObjectMarshalling.m:671
Details: Failed to compile nib consisting of IBProxyObject,
IBProxyObject, IBUIButton, IBUIImageView, IBUIImageView,
IBUIImageView, IBUILabel, IBUITableView, and IBUIView.
Interface Builder encountered an error communicating with the iOS
Simulator. If you choose to file a crash report or radar for this
issue, please check Console.app for crash reports for "Interface
Builder Cocoa Touch Tool" and include their content in your crash
report.
Exception name: IBCocoaTouchToolFailureException Exception reason:
Interface Builder Cocoa Touch Tool backtrace: Thread 12 Crashed::
Dispatch queue: com.apple.backboardservices.processassertion 0
libobjc.A.dylib 0x020ea0b2 objc_msgSend + 14 1
BackBoardServices 0x02c6cebb __47-[BKSProcessAssertion
queue_registerWithServer]_block_invoke + 197 2 libxpc.dylib
0x05f06778 _xpc_connection_call_event_handler + 65 3 libxpc.dylib
0x05f06235 _xpc_connection_mach_event + 1687 4 libdispatch.dylib
0x05d3d5b0 _dispatch_client_callout4 + 37 5 libdispatch.dylib
0x05d30f10 _dispatch_mach_cancel_invoke + 61 6 libdispatch.dylib
0x05d30231 _dispatch_mach_invoke + 565 7 libdispatch.dylib
0x05d2afd7 _dispatch_queue_drain + 340 8 libdispatch.dylib
0x05d2ae42 _dispatch_queue_invoke + 128 9 libdispatch.dylib
0x05d2bde2 _dispatch_root_queue_drain + 78 10 libdispatch.dylib
0x05d2c127 _dispatch_worker_thread2 + 39 11 libsystem_c.dylib
0x97a42e72 _pthread_wqthread + 441 12 libsystem_c.dylib
0x97a2adaa start_wqthread + 30
Backtrace of last command: 0 0x000000010c359dad (in
IDEInterfaceBuilderCocoaTouchIntegration) 1 0x000000010c308ae6 (in
IDEInterfaceBuilderCocoaTouchIntegration) 2 0x000000010c3087c2 (in
IDEInterfaceBuilderCocoaTouchIntegration) 3 0x000000010c308dfb (in
IDEInterfaceBuilderCocoaTouchIntegration) 4 0x000000010c309116 (in
IDEInterfaceBuilderCocoaTouchIntegration) 5 0x0000000104d6f7b1
__47-[IBDocument compiledPackageWithOptions:error:]_block_invoke (in IDEInterfaceBuilderKit) 6 0x0000000104d940c9 -[IBDocument
assertIfArbitrationIsScheduledDuring:] (in IDEInterfaceBuilderKit) 7
0x0000000104d6f722 -[IBDocument compiledPackageWithOptions:error:] (in
IDEInterfaceBuilderKit) 8 0x0000000104b49f8b (in ibtoold) 9
0x0000000104b4d3ad (in ibtoold) 10 0x0000000104b57b65 (in ibtoold)
11 0x0000000104b580c0 (in ibtoold) 12 0x0000000104b57f90 (in
ibtoold) 13 0x0000000104b563e7 (in ibtoold) 14 0x0000000104b577b7
(in ibtoold) 15 0x0000000104b56d6e (in ibtoold) 16
0x00007fff8bffa7e1 start (in libdyld.dylib) 17 0x0000000000000001
Exception backtrace: (null) Exception info:{
IBUnderlyingError = "Error Domain=IBMessageChannelErrorDomain Code=1 \"The operation couldn\U2019t be completed.
(IBMessageChannelErrorDomain error 1.)\""; }
Function: void IBAssertMarshallingFailure(NSString *__strong, NSString
*__strong) Thread: {name = (null), num = 1} Hints: None Backtrace: 0 0x0000000105d1ee09
-[DVTAssertionHandler handleFailureInFunction:fileName:lineNumber:assertionSignature:messageFormat:arguments:]
(in DVTFoundation) 1 0x0000000105d1e59f _DVTAssertionHandler (in
DVTFoundation) 2 0x0000000105d1e7ff _DVTAssertionFailureHandler (in
DVTFoundation) 3 0x000000010c224ae0 IBAssertMarshallingFailure (in
IDEInterfaceBuilderCocoaTouchIntegration) 4 0x000000010c30896d (in
IDEInterfaceBuilderCocoaTouchIntegration) 5 0x000000010c308dfb (in
IDEInterfaceBuilderCocoaTouchIntegration) 6 0x000000010c309116 (in
IDEInterfaceBuilderCocoaTouchIntegration) 7 0x0000000104d6f7b1
__47-[IBDocument compiledPackageWithOptions:error:]_block_invoke (in IDEInterfaceBuilderKit) 8 0x0000000104d940c9 -[IBDocument
assertIfArbitrationIsScheduledDuring:] (in IDEInterfaceBuilderKit) 9
0x0000000104d6f722 -[IBDocument compiledPackageWithOptions:error:] (in
IDEInterfaceBuilderKit) 10 0x0000000104b49f8b (in ibtoold) 11
0x0000000104b4d3ad (in ibtoold) 12 0x0000000104b57b65 (in ibtoold)
13 0x0000000104b580c0 (in ibtoold) 14 0x0000000104b57f90 (in
ibtoold) 15 0x0000000104b563e7 (in ibtoold) 16 0x0000000104b577b7
(in ibtoold) 17 0x0000000104b56d6e (in ibtoold) 18
0x00007fff8bffa7e1 start (in libdyld.dylib) 19 0x0000000000000001
Command /Applications/Xcode
5.1.1.app/Contents/Developer/usr/bin/ibtool failed with exit code 255
min sdk is 5.1 in xcode 5.1.1?
what is the issues in my application?