• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
App crashes when built via xcodebuild, doesn't when building normally
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

App crashes when built via xcodebuild, doesn't when building normally


  • Subject: App crashes when built via xcodebuild, doesn't when building normally
  • From: Eyal Redler <email@hidden>
  • Date: Mon, 23 Sep 2013 01:31:44 +0300

If I build my app using xcodebuild My App crashes right upon launch with the following (some details were changed to protect the innocent)
	*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSDictionary mySuperWonderfulMethod:]: unrecognized selector sent to class 0xaccb648c'
Building via xcode works just fine.

mySuperWonderfulMethod is a class method for NSDictionary that I'm defining in a category that resides in a static libarary with is part of the project.

I have already the all_load and ObjC linker flags (and at any rate - it compiles manually)

I'm using xcode 5 but this happend also under xcode 4

My xcodebuild invocation looks like this
xcodebuild -target MySuperWonderfulApp -configuration Release

What could be causing this?

Any clues would be greatly appreciated.

Eyal Redler
------------------------------------------------------------------------------------------------
"If Uri Geller bends spoons with divine powers, then he's doing it the hard way."
--James Randi
www.eyalredler.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: App crashes when built via xcodebuild, doesn't when building normally
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: iAd banner
  • Next by Date: Xcode 5, supported SDKs
  • Previous by thread: Re: iOS 7 update error 3
  • Next by thread: Re: App crashes when built via xcodebuild, doesn't when building normally
  • Index(es):
    • Date
    • Thread