App crashes after AppStore upgrade - ios

I have just release a new version of my app to Apple which Apple approved. The version works great... for new users. But for "old" users the app crashes. They have to uninstall the app and then re-install it.
I have some users still running 3.1.3 which even see app crashes after unstalling and re-installing it.
This is the crash log from one of my users:
Date/Time: 2010-11-25 17:29:00.476 +0100
OS Version: iPhone OS 3.1.3 (7E18)
Report Version: 104
Exception Type: EXC_BREAKPOINT
(SIGTRAP) Exception Codes: 0x00000001,
0xe7ffdefe Crashed Thread: 0
Dyld Error Message: Symbol not found: __NSConcreteGlobalBlock
Referenced from:
/var/mobile/Applications/2B003960-53A3-479A-9132-FE38C4AE88A2/stationen.app/stationen
Expected in:
/usr/lib/libSystem.B.dylib in
/var/mobile/Applications/2B003960-53A3-479A-9132-FE38C4AE88A2/stationen.app/stationen
Dyld Version: 149
This doesn't say me anything, can anybody help me with it?
App works great on my iPhone 4 running 4.1.
Regards,
Paul Peelen

Are you using Flurry? If so you might want to have a look at this FAQ page.
From the page:
To support OS 3.x, please set Base SDK
to iPhone Device 4.0 and iPhone OS
Deployment Target to iPhone OS 3.0.
Extra linker flags may be needed if
NSConcreteGlobalBlock and
UIBackgroundTaskInvalid runtime error
occur under 3.x. The linker flags are:
weak_framework UIKit weak_library
/usr/lib/libSystem.B.dylib

Dyld Error Message: Symbol not found: __NSConcreteGlobalBlock
Means that you're using __NSConcreteGlobalBlock and that it's not found on the device.
If you're using blocks in you app, you must require iOS 4.0 at least.

Related

Xamarin iOS App crashing after Xcode [8.0] and Xamarin Studio update

I updated Xcode to Xcode 8.0 and Xamarin Studio to 6.1.1 (build 15), after which the iOS apps won't run on either debug or release modes in either the simulator or a real device. (checked on two iPhones; iOS 9.3.1, and iOS 10).
The application simply crashes after the launch screen, so there is no way of finding out what's causing it.
I have looked at many other similar issues that users have submitted here and also in Xamarin forums, and played around with Debug configurations, as well as iOS build configurations in Xamarin Studio, but still no luck.
I have tried running a new empty project, and it seems to work on both simulator and the real device.
I also checked for Xcode device crash logs, and there seem to be only a handful even though the issue still exists. I have attached the most recent log below.
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000000e7ffdefe
Triggered by Thread: 0
Filtered syslog:
None found
Dyld Error Message:
Dyld Message: Library not loaded: #executable_path/libmonosgen-2.0.dylib
Referenced from: /var/containers/Bundle/Application/698A401E-3748-4DDA-AE74-9730F831645E/Fiud.iOS.app/Fiud.iOS
Reason: no suitable image found. Did find:
/var/containers/Bundle/Application/698A401E-3748-4DDA-AE74-9730F831645E/Fiud.iOS.app/libmonosgen-2.0.dylib: mmap() error 1 at address=0x0037D000, size=0x00194000 segment=__TEXT in Segment::map() mapping /var/containers/Bundle/Application/698A401E-3748-4DDA-AE74-9730F831645E/Fiud.iOS.app/libmonosgen-2.0.dylib
/private/var/containers/Bundle/Application/698A401E-3748-4DDA-AE74-9730F831645E/Fiud.iOS.app/libmonosgen-2.0.dylib: mmap() error 1 at address=0x00605000, size=0x00194000 segment=__TEXT in Segment::map() mapping /private/var/containers/Bundle/Application/698A401E-3748-4DDA-AE74-9730F831645E/Fiud.iOS.app/libmonosgen-2.0.dylib
Dyld Version: 390.7
Binary Images:
0x65000 - 0x120fff Fiud.iOS armv7 <ebf059a9d4513e27bdfc538cf4ac08ac> /var/containers/Bundle/Application/698A401E-3748-4DDA-AE74-9730F831645E/Fiud.iOS.app/Fiud.iOS
0x1fe15000 - 0x1fe3cfff dyld armv7s <d96d5b718d2b3c3bad7f17d4e8a3f049> /usr/lib/dyld
Would be a big help if someone could help, been stuck with this issue for two days now.
Thanks in advance.

Swift Binary rejected and i cannot reproduce the crash

Apple just rejected my app because they claim it crashed on launch.
Detailed crash logs are :
Version: 143 (1.1)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2016-01-12 16:10:55.55 -0800
Launch Time: 2016-01-12 16:10:54.54 -0800
OS Version: iOS 9.2 (13C75)
Report Version: 105
Filtered syslog:
None found
Dyld Error Message:
Dyld Message: Library not loaded: #rpath/FBSDKLoginKit.framework/FBSDKLoginKit
Referenced from: /var/mobile/Containers/Bundle/Application/xxx
Reason: no suitable image found. Did find:
/private/var/mobile/Containers/Bundle/Application/xxx
xxx.app/Frameworks/FBSDKLoginKit.framework/FBSDKLoginKit: mremap_encrypted() => -1, errno=12 for /private/var/mobile/Containers/Bundle/Application/xxx
xxx.app/Frameworks/FBSDKLoginKit.framework/FBSDKLoginKit
/private/var/mobile/Containers/Bundle/Application/ xxx.app/Frameworks/FBSDKLoginKit.framework/FBSDKLoginKit: mremap_encrypted() => -1, errno=12 for /private/var/mobile/Containers/Bundle/Application/
xxx.app/Frameworks/FBSDKLoginKit.framework/FBSDKLoginKit
/private/var/mobile/Containers/Bundle/Application/
Dyld Version: 370.6
The app is written is swift and the problem is I cannot reproduce the crash on any device. I've tested on iphone 5, 6 and 6s Plus. Do you have an idea on what might have caused the problem, how i can reproduce the problem and how i can finally solve the problem is there is any? Some other thread here said that if you resubmit the app might be accepted, is this advice valid ? Thanks in advance for your answers
EDIT 1
I forgot to mention that the app got rejected in version 1.1 There was no rejection at version 1.0
EDIT 2
I contacted apple developer support and their answer was not related to the FBSDKLoginKit framework
I am writing to you today in response to your inquiry about your App crashing.
After reviewing your case we have determined that you may be using Resource Rules in your project’s code signing settings. Resource Rules are no longer supported. Please review your build settings in Xcode and remove any Resource Rules.
After removing any Resource Rules from your build settings, please clean your project by selecting the Clean command from the Project menu while holding down the option key. This will delete any intermediate files from previous builds. After that you should be able to build your project successfully.
The problem is that i never used resource rules.
As I shared here https://stackoverflow.com/a/35921044/95397:
I think the issue is a matter of running out of memory and iOS not really dealing with this in a great way and that the only reason your app was accepted when you resubmitted was because the (new) reviewer’s device was not in the same situation.
I did a write-up of the issue on our app’s repo: https://github.com/artsy/eigen/issues/1246

My app frequently but randomly crashes the entire phone on application load

I recently started testing my iPhone app on my iPhone 5S device directly from XCode 5's debugger, and it seems to randomly crash the entire phone. I cannot pinpoint what the exact issue is. I'm not doing anything at all in my AppDelegate, so I don't believe it's related to something on load time. Sometimes performing a delete of the application, then a reset of the phone, and then a clearing of XCode's entire cache temporarily fixes the problem, but then it spontaneously comes back. It's very inconsistent. I'm at a complete loss at this point. The latest crash finally showed the following error message on the device itself:
Incident Identifier: 4180F1E2-E932-417A-92BE-82F2C414FB82
CrashReporter Key: e3cdd62843930ef2e7bcffbdb79479abc6141800 Hardware
Model: iPhone6,1 Process: XcodeDeviceMonitor [230]
Path: /Developer/usr/bin/XcodeDeviceMonitor Identifier:
XcodeDeviceMonitor Version: ??? Code Type: ARM
(Native) Parent Process: launchd [1]
Date/Time: 2013-11-09 18:54:39.040 -0500 OS Version:
iOS 7.0.3 (11B511) Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes:
0x0000000000000001, 0x00000000e7ffdefe Triggered by Thread: 0
Dyld Error Message: Library not loaded: /usr/lib/liblockdown.dylib
Referenced from: /Developer/usr/bin/XcodeDeviceMonitor Reason: image
not found Dyld Version: 324
Binary Images: 0x2befb000 - 0x2bf1efff dyld armv7s
/usr/lib/dyld
Given the reference to a breakpoint in the crash log, I do have one idea. In the past, I have seen Xcode crash my apps on launch if breakpoints are enabled. Try disabling breakpoints before launching the app, then enabling them shortly after launch, if you are using any. Let me know if this seems to make any sort of consistent difference!
It looks like the latest version of Xcode (5.0.2) that was released this past week resolved my issue. At least I haven't seen it since I applied the patch. I noticed one of the major issues fixed was for the debugger crashing the phone on iOS 6, but I suspect whatever they did also fixed my similar issue for iOS 7. Anyway, it's acting much more consistent now. Thanks for everyone's help.

Accepted App store game crash on two iPhone 4, version 4.3.3

Just released my first iOS game on Apple Appstore. (It is accepted by Apple)
It has worked fine a iPod (4th gen), a Iphone 3Gs and iPad 2/3.
However, two of my friends bought it on a iPhone 4, with iOS version 4.3.3 and they both say that it wont start. It quickly turns black then returns to the home screen.
Have no possibility to borrow their phones at the moment, and Googles search wont help me. Any ideas? Have no crash reports on iTunes Connect yet either.
The game has support for 4.1 an up. I have now temporary removed it from app store.
If someone got hockeyapp please try it out: https://rink.hockeyapp.net/recruit/baf90d07e6864bdfb2855a75b1a1877d
Borrowed a phone from one of my friends today, and tried to run the game (release version) from Xcode. It blacked out just like before, generating the following error in xcode:
error: failed to launch '/Users/xxx/Library/Developer/Xcode/DerivedData/xxx-
hkwbdotvymdyljavlnsmbygluhnu/Build/Products/Release-iphoneos/xxx.app/xxx'
-- failed to get the task for process 1585
But if you later just clicked the game icon on the iPhone, it ran perfectly...
The debug target/version did however work just fine.
Update:
If someone out there got iOS 4.3.3 please use one of these promo codes and try it out. If you are able please send a crash report if it crases.
JWF3LLP3ALMT
9M6XLTYY7TJ9
LWMKW7MTN99W
Crash Report :
Identifier: appName
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-07-28 00:14:50.460 +0300
OS Version: iPhone OS 4.3.3 (8J3)
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x00000001, 0xe7ffdefe
Crashed Thread: 0
Dyld Error Message:
Symbol not found: _OBJC_CLASS_$_GKNotificationBanner
Referenced from: /var/mobile/Applications/...../appName.app/appName
Expected in: /System/Library/Frameworks/GameKit.framework/GameKit
in /var/mobile/Applications/...../appName.app/appName
Dyld Version: 191.3
GKNotificationBanner is for iOS 5.0 and later
http://developer.apple.com/library/ios/#documentation/GameKit/Reference/GKNotificationBanner_Ref/Reference/Reference.html
Have your friends send you their crash reports. As soon as they sync they're phones, the crash reports will be copied to their computers (~/Library/Logs/CrashReporter/MobileDevice on a Mac) and they can send them to you.

Why is SenTestingKit causing my app to crash?

I've created a map-based app for the iPhone, and recently submitted it to the store. I had no trouble running the app on the device or simulator. However, the store rejected it because it crashed on launch. The crash logs complain that the SenTestingKit framework wasn't found:
Date/Time: 2012-02-21 19:02:26.048 -0800
OS Version: iPhone OS 5.0.1 (9A405)
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x00000001, 0xe7ffdefe
Crashed Thread: 0
Dyld Error Message:
Library not loaded: /Developer/Library/Frameworks/SenTestingKit.framework/SenTestingKit
Referenced from: /var/mobile/Applications/*Long Application Reference Number*/MyApp.app/U of T Map
Reason: image not found
Dyld Version: 199.5
I've looked into others having this problem, and I'm sure as I continue to fiddle with it, I'll find the framework search path I need to include the SenTestingKit framework successfully.
What I'm confused about and need help understanding is:
Why did the device and simulator run fine without the framework, but the archived version didn't?
Why does it think I need this framework? I didn't use any unit testing during development. I used the SBJSON and ASIHTTPRequest libraries, but I didn't see an #import statement for SenTestingKit in any of the library code.
Is it easier for me to remove the need for SenTestingKit or somehow include it properly in the archive? I'd like to fix this problem, but I need this re-submitted to the app store ASAP.
I would really like to understand this problem on a conceptual level, rather than hack away until things work.
Just because you are not importing the SenTestingKit-Headers, does not mean that you are not linking its library.
Check your Build-Configuration/s => Target => Build Phases => Link Binary With Libraries for the entry SenTestingKit.framework. If that is present in anything but a Test-Target, remove it.
A Test-Target is symbolized by a little box , as opposed to an App-Target which is symbolized by a little house .

Resources