Updated to iOS 4.2 and now errors
I updated my SDk to iOS 4.2 and now my frameworks has 开发者_StackOverflowa red-font and I have this error:
* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[NSURL initFileURLWithPath:]: nil string parameter'
What's wrong?
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
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?
精彩评论