mrackwitz / MRProgress

Collection of iOS drop-in components to visualize progress
MIT License
2.55k stars 305 forks source link

Crash on Device #122

Open MichelleMcCabe opened 8 years ago

MichelleMcCabe commented 8 years ago

App crashed on device. When I checked the device logs, I found this:

Incident Identifier: 640AA2C7-D4F2-43EB-9B00-2C5A16490952 CrashReporter Key: 896a422199e3e21a8eb49259d9ef6389817f42fc Hardware Model: iPhone7,1 Process: wroom [289] Path: /private/var/containers/Bundle/Application/FD639792-A773-4AF6-9C4B-9967F6FC4732/wroom.app/wroom Identifier: xxxxx.wroom Version: 1 (1.0) Code Type: ARM-64 (Native) Parent Process: launchd [1]

Date/Time: 2016-04-23 13:36:55.55 +0200 Launch Time: 2016-04-23 13:36:55.55 +0200 OS Version: iOS 9.3.1 (13E238) Report Version: 105

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

Filtered syslog: None found

Dyld Error Message: Dyld Message: Library not loaded: @rpath/MRProgress.framework/MRProgress Referenced from: /var/containers/Bundle/Application/FD639792-A773-4AF6-9C4B-9967F6FC4732/wroom.app/wroom Reason: no suitable image found. Did find: /private/var/containers/Bundle/Application/FD639792-A773-4AF6-9C4B-9967F6FC4732/wroom.app/Frameworks/MRProgress.framework/MRProgress: mmap() errno=1 validating first page of '/private/var/containers/Bundle/Application/FD639792-A773-4AF6-9C4B-9967F6FC4732/wroom.app/Frameworks/MRProgress.framework/MRProgress' /private/var/containers/Bundle/Application/FD639792-A773-4AF6-9C4B-9967F6FC4732/wroom.app/Frameworks/MRProgress.framework/MRProgress: mmap() errno=1 validating first page of '/private/var/containers/Bundle/Application/FD639792-A773-4AF6-9C4B-9967F6FC4732/wroom.app/Frameworks/MRProgress.framework/MRProgress' /private/var/containers/Bundle/Application/FD639792-A773-4AF6-9C4B-9967F6FC4732/wroom.app/Frameworks/MRProgress.framework/MRProgress: mmap() errno=1 validating first page of '/private/var/co Dyld Version: 390.7

Binary Images: 0x1000d4000 - 0x100207fff wroom arm64 /var/containers/Bundle/Application/FD639792-A773-4AF6-9C4B-9967F6FC4732/wroom.app/wroom 0x1200a0000 - 0x1200cffff dyld arm64 /usr/lib/dyld

I'm incorporating MRProgress by using cocoa pods. My Pod file

Uncomment this line to define a global platform for your project

platform :ios, '9.1' use_frameworks!

target 'wroom' do

progress indicator

pod 'MRProgress'

used to crop image for uploads

pod 'RSKImageCropper'

end

I've tried to understand the issue. Some users on the internet has suggested to copy the MRProgess framework to Enbedded Binaries, whilst others have talked about weak linking and BITCODE.

I'm new to IOS pogramming. I don't want to go and change settings that I don't understand. I'm quite worried about this as the application has been working without issue on the device for some time when it just crashed and wouldn't start up. I'm concerned that this will happen after putting the application in production - this would be unacceptable for my users.

Am I doing anything wrong with your installation?