iOS Problems, Causes and Solutions

Skip to end of metadata
Go to start of metadata

Valid Signing Identity not found error

Problem

  • In Organizer, Provisioning Profiles, the application status is 'Valid Signing Identity not found error'

Cause

  • This can mean two things:

A) You need to update the application provisioning profile to include you:

B) You need to export your .p12 certificate.

Solution

A) Provisioning > Development > YOUR APP, Edit > Modify
Certificates, click to select your certificate
Click submit
Download new provisioning profile

B) http://www.anujgakhar.com/2012/02/14/xcode-valid-signing-identity-not-found-warning/

Getting svn to ignore build directory, .mode1v3 and .pbxuser files

Problem

  • The build directory should not be checked into source control.
  • The 2 xcode user files ending in .mode1v3 and .pbxuser should not be checked into source control.
  • The Subversion functionality in Xcode to ignore the directory and files are not clear / available (as of 2009-12-14).

Cause

  • Gap in Xcode functionality?

Solution

  • Launch terminal, cd to project directory:

'Expected specifier-qualifier-list before 'NSManagedObjectModel''

Problem

  • Adding CoreData to and existing project, had added framework correctly.
  • Possible that this could occur adding other frameworks to existing projects.
  • During build or compile the error 'Expected specifier-qualifier-list before 'NSManagedObjectModel'' occurs.

Cause

  • Missing reference to CoreData in the *_Prefix.pch file.

Solution

  • Add the following to your *_Prefix.pch file



'+entityForName: could not locate an NSManagedObjectModel for entity name

Problem

  • Adding CoreData to and existing project, had added framework correctly.
  • Data model had been created correctly and corresponding Core Data boiler plate code added.
  • During access of cellForRowAtIndexPath an error occurs:

Cause

  • The managed object model wasn't loaded or configured properly.

Solution

  • Many possible causes.
  • One cause is in the FollowUpAppDelegate.m, applicationDidFinishLaunching the rootViewController must have the managedObjectContext set.



"_CGRectZero"

Problem

Cause

  • Missing CoreGraphics Framework in the project.

Solution

  • Copy the CoreGraphics Framework into the project.
Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.