`
hhb19900618
  • 浏览: 1488 次
  • 性别: Icon_minigender_1
  • 来自: 湖南
文章分类
社区版块
存档分类
最新评论

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.

分享到:
评论
2 楼 hhb19900618 2012-09-28  
lvff1314 写道
手机上我们最终放弃了hessian,使用的jsonrpc

为什么放弃hessian呢?
1 楼 lvff1314 2012-09-19  
手机上我们最终放弃了hessian,使用的jsonrpc

相关推荐

    IOS应用源码之【应用】-iOS framework 制作教程【非静态包】.rar

    以下是关于iOS框架制作的详细步骤和相关知识点: 1. **了解框架类型**: - 静态库(Static Library):编译时链接到目标应用中,形成一个完整的可执行文件。 - 动态库(Dynamic Library):运行时通过动态链接器...

    iOS制作framework静态库图文教程

    为了确保静态库能在真机和模拟器上运行,你需要分别在“Generic iOS Device”和最新的iPhone模拟器(例如“iPhone 6s Plus”)下编译一次。编译完成后,工程的“Products”文件夹下的`.framework`文件会从红色变为...

    IOS 出现错误reason: image not found的解决方案

    也就是在真机运行是没有找到对应的framework包,在网上找的一些办法将框架引用从Required 变为Optional ,根本就是治标不治本,等到运行到这个framework的代码是也会崩溃,我们需要做的是将这个framework拷贝到项目...

    ionicmeetup:在 Ionic Framework Meetup 期间制作的测试应用程序

    在 Ionic Framework Meetup 上创建的应用程序是为开发者们提供一个实践和展示 Ionic 框架能力的平台。Ionic 是一个开源的移动应用开发框架,它基于 Angular 和 Web 技术(如 HTML、CSS 和 JavaScript),使开发者...

Global site tag (gtag.js) - Google Analytics