开发者

Updated to iOS 4.2 and now errors

开发者 https://www.devze.com 2023-01-29 17:39 出处:网络
I updated my SDk to iOS 4.2 and now my frameworks has 开发者_StackOverflowa red-font and I have this error:

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消