Xcode error. m:8794 - ios

When running my code on one computer the app crashes with this error:
*** Assertion failure in -[UITableView layoutSublayersOfLayer:], /SourceCache/UIKit/UIKit-2935.137/UIView.m:8794
But when running it on another computer the program works just fine.
What could be the reason for that?

Apparently it was an iOS version issue. So when I tried building it on the Xcode simulator it worked. on the contrary of running it on an iPhone 4 / iOS 7..
Thank you David 'mArm' Ansermot and trojanfoe for helping me solve it.

Related

Warning: "Could not get traitsetID for iPhone11,6" (Assets.xcassets)

I'm getting this warning all the time when running an Xcode 10 app to the XS Max physical device:
Could not get traitsetID for iPhone11,6 (Assets.xcassets)
Any idea what this is about and how to fix it?
I ran into this tonight as well, was fixed when I ran the update of my phone to 12.1. Don't know if that was the fix, or if it was coincidental, but it's working now.

Reason: no suitable image found : Frameworks/libswiftCore.dylib; start crashing in Xcode 7

I have an existing iOS project written in Swift successfully running on iOS 8.4.1. I have compiled the project on Xcode 7 with some changes as per in Swift 2.0. It's running on Simulator. But when I start using device, Application start crashing at launch time
/Frameworks/libswiftCore.dylib: mmap() error 1 at address=0x1002C0000, size=0x00214000 segment=__TEXT in Segment::map() mapping /private/var/mobile/Containers/Bundle/Application/89E98704-14A2-4341-B0A9-61F9DD639100/....../Frameworks/libswiftCore.dylib.
I have tried all the suggestion from StackOverflow and other resources except Altering Apple Certificates.
Can anyone let me know what would be the issue and how can I overcome to this problem.
Thanks

iOS App crash on start when debugging WatchKit Extension

I am developing an iOS app and its watch kit extension and trying to run them on the simulator with Xcode 6.4.
Both of them run fine on real devices, but unfortunately I don't own the AppleWatch I use for testing so I have to test the extension on the simulator.
If I run the app alone it's all ok, but when I run the extension and tap on the app on the iPhone simulator, it crashes immediately and I can't figure out why.
Sep 12 11:52:44 MacBook-Pro-** assertiond[22563]: assertion failed: 14F27 12H141: assertiond + 12334 [EDAF3958-87C7-3C61-A8E6-24689FBBE168]: 0x1
Sep 12 11:52:44 MacBook-Pro-**.local SpringBoard[29507]: LICreateIconForImage passed NULL CGImageRef image
Sep 12 11:52:45 MacBook-Pro-** com.apple.CoreSimulator.SimDevice.0868CE09-5C9E-4445-A8C9-48F00AA445AF.launchd_sim[22544] (UIKitApplication:**myAppBundleId**[0xb354][29533]): Service exited due to signal: Trace/BPT trap: 5
Everything used to work some days ago, so I must have done something wrong...
Still I don't know what was the reason that caused this behavior, but I resolved by using this tool: https://github.com/kylef/cocoapods-deintegrate
I removed any trace of cocoapods from the project and then reinstalled all the pods again.
After that everything went back to normal.

Error in configuring iOS App for Push Notifications with Parse

I am following all the instructions here (i'm using Swift) without error. I can even build the project fine. When I connect my iPhone (5C) and try to run the app on the phone, I get the following error
Here's the error message in case it is not visible in the image:
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-stdlib-tool failed with exit code 1
What am I doing wrong? I am using iPhone 5C for this.
hate to answer my own question but this issue is resolved now. I restarted the project completely and followed all the steps again, no issue anymore.

Xcode 5.0.1 crashes after Run

Good day! I have strange problem with Xcode 5.0.1. When I'm trying to run the app - it crashes with the following exception: UNCAUGHT EXCEPTION (NSInvalidArgumentException): must provide a file handle or pipe
I have also reinstalled Xcode (from the app store) and I have still obtained the same result.
I had this problem when updating from 5.0.0 to 5.0.1. The fix was that I was using 10.9 DP1. Now having 10.9, the final version and a fresh xcode install, it ran fine.
i have facing same problem but with little change resolve my issues.
Change littile syntex like as show below
-(void)SelectBg;
change to
-(void)SelectBg:(id)sender;
Thanks and happy coding

Resources