• 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
synthesized property 'xx' must either be named the same as a compatible ivar or must explicitly name an ivar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

synthesized property 'xx' must either be named the same as a compatible ivar or must explicitly name an ivar


  • Subject: synthesized property 'xx' must either be named the same as a compatible ivar or must explicitly name an ivar
  • From: Roland King <email@hidden>
  • Date: Fri, 24 Dec 2010 19:35:15 +0800

I have an XCode project which has both an iOS target and a command line one, I use the command line target for testing. This project started as an iOS one and I added the command-line target later.

When I build the command-line one I get the 'synthesized property must be ..' error, which means to me that the target is not being built for the 2.0 / 64bit runtime which supports them. I've looked at every flag I can find in the build and can't find one to change which will make this work.

Some of the flags I have at the target level are

	Base SDK 			- 	Mac OS 10.6
	Architectures 			-	 I've tried 64 bit intel, standard (32/64 bit universal), x86_64, no success
	Valid Architectures	-  	that's currently set to x86_64 but I've tried a few variants there as well

I've tried all the compilers, GCC and LLVM, same error. Deployment target is also 10.6.

One oddity, the 'Active Architecture' in the dropdown box says i386, whatever I do. There is no other option for this at all, I can't get it to say x86_64, that's not available, not on any menu item, the only one is i386. Is that possibly the problem? I wonder if this is because the project started life as iOS and my architecture settings in the target are being ignored.

Is there a setting I have overlooked here? What causes code to be compiled for the modern runtime?

Thanks

Roland _______________________________________________
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: synthesized property 'xx' must either be named the same as a compatible ivar or must explicitly name an ivar
      • From: Hamish Allan <email@hidden>
  • Prev by Date: Re: Can the symbols popup be made to show structs and enums?
  • Next by Date: Re: synthesized property 'xx' must either be named the same as a compatible ivar or must explicitly name an ivar
  • Previous by thread: Re: Can the symbols popup be made to show structs and enums?
  • Next by thread: Re: synthesized property 'xx' must either be named the same as a compatible ivar or must explicitly name an ivar
  • Index(es):
    • Date
    • Thread