日期:2014-05-20  浏览次数:21044 次

framework框架制作成功,但是不能成功在真机上运行?
4.2制作 framework框架成功,现在把它基于设备编译,被添加到主项目后,然后在真机上调试运行程序会crash掉!
我前面基于模拟器运行是能够成功的!哪位兄弟知道基于真机运行还需要哪些设置问题要改变呢?
在真机上运行,报错信息如下:

2011-11-21 11:25:06.016 Validation[3367:f07] Could not load framework at “file://localhost/Developer/Applications/Utilities/Application%20Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/” (err = Error Domain=NSCocoaErrorDomain Code=3587 "The bundle “ITunesSoftwareService” couldn’t be loaded because it is damaged or missing necessary resources." (dlopen_preflight(/Developer/Applications/Utilities/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/ITunesSoftwareService): Library not loaded: @rpath/ITunesConnectFoundation.framework/Versions/A/ITunesConnectFoundation
  Referenced from: /Developer/Applications/Utilities/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/ITunesSoftwareService
  Reason: image not found) UserInfo=0x40011ad20 {NSLocalizedFailureReason=The bundle is damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Developer/Applications/Utilities/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/ITunesSoftwareService, NSDebugDescription=dlopen_preflight(/Developer/Applications/Utilities/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/ITunesSoftwareService): Library not loaded: @rpath/ITunesConnectFoundation.framework/Versions/A/ITunesConnectFoundation
  Referenced from: /Developer/Applications/Utilities/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/ITunesSoftwareService
  Reason: image not found, NSBundlePath=/Developer/Applications/Utilities/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework, NSLocalizedDescription=The bundle “ITunesSoftwareService” couldn’t be loaded because it is damaged or missing necessary resources.})
warning: Application validation was skipped.

1 楼 lvff1314 7 小时前  
手机上我们最终放弃了hessian,使用的jsonrpc