XCode 2.4 Universal Build issue
XCode 2.4 Universal Build issue
- Subject: XCode 2.4 Universal Build issue
- From: Niels Meersschaert <email@hidden>
- Date: Sun, 20 Aug 2006 01:23:33 -0400
There appears to be a difference between how Intel vs Universal builds under 2.4 handle Fetch Requests in Core Data. I have a few Fetch Requests configured in the Core Data model. I call them with code:
FetchRequest *myRequest = [managedObjectModel fetchRequestTemplateForName:@"templateOne"];I then call [myRequest setEntity:myEntity]; //I know this probably isn't correct since I'm modifying the fetch request, but it was there before I had a template in the model & forgot to remove it.
Building it on an Intel iMac targeting just i386 it launches and executes directly, hopping over the fetch request modification without error. Adding in ppc architecture results in a Can't modify a named fetch request in an immutable model. error on execution. Why isn't the error brought up on an Intel only build? I had the same setEntity code when building under 2.3 & never noticed that error popup on universal builds before. Doing a ppc only build also executes without an error (running in Rosetta), so this seems to only crop on on Universal builds.
Is this an XCode bug for Universal builds?
Thanks for listening,
Niels |
_______________________________________________
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