Release build crash, Swift 1.1, Xcode 6.2, works ok with Debug builds #13

Closed
opened 2025-12-29 18:27:58 +01:00 by adam · 1 comment
Owner

Originally created by @brajbong on GitHub (May 9, 2015).

I am using Armchair framework as the app review manager for my app. The app is written in Swift (complies with Swift 1.1) and I am running Xcode 6.2 with base SDK 8.2 and deployment target of 8.0.

I am facing a curious issue while doing a release/ad-hoc build of the app- the app crashes right after getting started. I symbolicated the crash logs and here's what I see-

Version:             1 (1.0)
Code Type:           ARM-64 (Native)
Parent Process:      launchd [1]

Date/Time:           2015-05-08 13:01:54.192 -0700
Launch Time:         2015-05-08 13:01:52.013 -0700
OS Version:          iOS 8.3 (12F70)
Report Version:      105

    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000001, 0x00000001007643d8
    Triggered by Thread:  0

    Thread 0 name:  Dispatch queue: com.apple.main-thread
    Thread 0 Crashed:
    __TFC8Armchair7ManagerP33_0F5394B43958D8E2A7FE7B1C7DE959CE18defaultReviewTitlefS0_FT_SS Armchair.swift:1566
    __TFC8Armchair7ManagerP33_0F5394B43958D8E2A7FE7B1C7DE959CE18defaultReviewTitlefS0_FT_SS Armchair.swift:695
    __TFC8Armchair7ManagerP33_0F5394B43958D8E2A7FE7B1C7DE959CE15showRatingAlertfS0_FT_T_ Armchair.swift:699
    __dispatch_call_block_and_release + 20
    __dispatch_client_callout + 12
    __dispatch_main_queue_callback_4CF + 1604
    ___CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
    ___CFRunLoopRun + 1488
    _CFRunLoopRunSpecific + 392
    _GSEventRunModal + 164
    _UIApplicationMain + 1484
    11  <MyAppName>                 0x0000000100292560 0x1000e8000 + 1746272
    _tlv_get_addr + 176

When I run the app on simulator/run directly on the device from Xcode, everything runs perfectly.

Any pointers from anyone? Do I need to upgrade to XCode 6.3? Is it a known issue?

Originally created by @brajbong on GitHub (May 9, 2015). I am using Armchair framework as the app review manager for my app. The app is written in Swift (complies with Swift 1.1) and I am running Xcode 6.2 with base SDK 8.2 and deployment target of 8.0. I am facing a curious issue while doing a release/ad-hoc build of the app- the app crashes right after getting started. I symbolicated the crash logs and here's what I see- ``` Version: 1 (1.0) Code Type: ARM-64 (Native) Parent Process: launchd [1] Date/Time: 2015-05-08 13:01:54.192 -0700 Launch Time: 2015-05-08 13:01:52.013 -0700 OS Version: iOS 8.3 (12F70) Report Version: 105 Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000001, 0x00000001007643d8 Triggered by Thread: 0 Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: __TFC8Armchair7ManagerP33_0F5394B43958D8E2A7FE7B1C7DE959CE18defaultReviewTitlefS0_FT_SS Armchair.swift:1566 __TFC8Armchair7ManagerP33_0F5394B43958D8E2A7FE7B1C7DE959CE18defaultReviewTitlefS0_FT_SS Armchair.swift:695 __TFC8Armchair7ManagerP33_0F5394B43958D8E2A7FE7B1C7DE959CE15showRatingAlertfS0_FT_T_ Armchair.swift:699 __dispatch_call_block_and_release + 20 __dispatch_client_callout + 12 __dispatch_main_queue_callback_4CF + 1604 ___CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8 ___CFRunLoopRun + 1488 _CFRunLoopRunSpecific + 392 _GSEventRunModal + 164 _UIApplicationMain + 1484 11 <MyAppName> 0x0000000100292560 0x1000e8000 + 1746272 _tlv_get_addr + 176 ``` When I run the app on simulator/run directly on the device from Xcode, everything runs perfectly. Any pointers from anyone? Do I need to upgrade to XCode 6.3? Is it a known issue?
adam closed this issue 2025-12-29 18:27:58 +01:00
Author
Owner

@winkelsdorf commented on GitHub (Sep 4, 2015):

@coneybeare Can be closed, looks like brajbong got it solved on SO (http://stackoverflow.com/questions/30134185/release-build-crash-swift-armchair-framework-xcode-6-2) :)

@winkelsdorf commented on GitHub (Sep 4, 2015): @coneybeare Can be closed, looks like brajbong got it solved on SO (http://stackoverflow.com/questions/30134185/release-build-crash-swift-armchair-framework-xcode-6-2) :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Armchair#13