Updated to iOS 4.2 and now errors

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?

Upvotes: 0

Views: 177

Answers (2)

JonLOo
JonLOo

Reputation: 4939

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

Upvotes: 1

deanWombourne
deanWombourne

Reputation: 38475

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?

Upvotes: 0

Related Questions