0

I updated my SDk to iOS 4.2 and now my frameworks has a red-font and I have this error:

* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[NSURL initFileURLWithPath:]: nil string parameter'

What's wrong?

KingofBliss
  • 15,055
  • 6
  • 50
  • 72
Christian 'fuzi' Orgler
  • 1,682
  • 8
  • 27
  • 51

2 Answers2

1

Your frameworks are in red-font because you haven't change you base-SDK to latest one. Go into your target/getInfo/build and change it to 4.2, then close/open xcode and it will be solved

JonLOo
  • 4,929
  • 1
  • 19
  • 27
0

You're passing in nil to initFileURLWithPath: and it's expecting a string.

Can you show some code where you create the path (and the stack trace if you have it) so we can give a more useful answer?

deanWombourne
  • 38,189
  • 13
  • 98
  • 110