Re: bare bones app crashing, is it a code signing issue?

2017-10-13 Thread Saagar Jha

Saagar Jha

> On Oct 12, 2017, at 20:55, Navneet Kumar  wrote:
> 
> Hi,
> I have MacOS High Sierra and Xcode 9.
> When I start a new project without any development team, choosing Obj-c, and 
> adding nothing to the code, the app starts and shows the window.
> 
> Now I added my Apple ID in Xcode accounts preferences, a cert is created and 
> a personal team is created bearing my name.
> I am not part of Developer Program.
> 
> Now if I create a new project, this time choosing the personal team and 
> adding nothing to the code, the app crashes.
> The only warning when compiling is about unable to build chain to self signed 
> root.
> I have set the cert to “Always trust” for all in keychain access. 
> 
> Main Thread-> EXC_BAD_INSTRUCTION at instruction ud2.

This generally means your code is trapping at an abort somewhere. Do you have a 
stack trace so we can see which function this is in?

> 
> Same happens with other projects where I have coded and tried to code sign.
> 
> Please help.
> 
> Thanks,
> Navneet
> ___
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/saagar%40saagarjha.com
> 
> This email sent to saa...@saagarjha.com

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


bare bones app crashing, is it a code signing issue?

2017-10-12 Thread Navneet Kumar
Hi,
I have MacOS High Sierra and Xcode 9.
When I start a new project without any development team, choosing Obj-c, and 
adding nothing to the code, the app starts and shows the window.

Now I added my Apple ID in Xcode accounts preferences, a cert is created and a 
personal team is created bearing my name.
I am not part of Developer Program.

Now if I create a new project, this time choosing the personal team and adding 
nothing to the code, the app crashes.
The only warning when compiling is about unable to build chain to self signed 
root.
I have set the cert to “Always trust” for all in keychain access. 

Main Thread-> EXC_BAD_INSTRUCTION at instruction ud2.

Same happens with other projects where I have coded and tried to code sign.

Please help.

Thanks,
Navneet
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com