使用 Alamofire 在 XCode 中创建存档时出错
Error when create Archive in XCode with Alamofire
当我尝试创建我的 iOS 应用程序的存档时,我在 iPad 上安装后收到以下错误消息:
Dyld Error Message:
Library not loaded: @rpath/Alamofire.framework/Alamofire
Referenced from: /private/var/mobile/Containers/Bundle/Application/88C8DA30-F2C6-4311-B892-AB5571D5061F/mobilecap.app/assekuranz
Reason: no suitable image found. Did find:
/private/var/mobile/Containers/Bundle/Application/88C8DA30-F2C6-4311-B892-AB5571D5061F/assekuranz.app/Frameworks/Alamofire.framework/Alamofire: mmap() error 1 at address=0x005D7000, size=0x00070000 segment=__TEXT in Segment::map() mapping /private/var/mobile/Containers/Bundle/Application/88C8DA30-F2C6-4311-B892-AB5571D5061F/mobilecap.app/Frameworks/Alamofire.framework/Alamofire
Dyld Version: 353.6
Binary Images:
0x1fe43000 - 0x1fe66fff dyld armv7 <9ccfe28fdc823833b1927a781832605e> /usr/lib/dyld
当我为设备/模拟器构建应用程序时,一切正常。
有什么想法吗?我们将不胜感激。
好的,问题解决了。我撤销了我的开发人员证书并创建了一个新的 .ipa 文件,一切正常。
当我尝试创建我的 iOS 应用程序的存档时,我在 iPad 上安装后收到以下错误消息:
Dyld Error Message:
Library not loaded: @rpath/Alamofire.framework/Alamofire
Referenced from: /private/var/mobile/Containers/Bundle/Application/88C8DA30-F2C6-4311-B892-AB5571D5061F/mobilecap.app/assekuranz
Reason: no suitable image found. Did find:
/private/var/mobile/Containers/Bundle/Application/88C8DA30-F2C6-4311-B892-AB5571D5061F/assekuranz.app/Frameworks/Alamofire.framework/Alamofire: mmap() error 1 at address=0x005D7000, size=0x00070000 segment=__TEXT in Segment::map() mapping /private/var/mobile/Containers/Bundle/Application/88C8DA30-F2C6-4311-B892-AB5571D5061F/mobilecap.app/Frameworks/Alamofire.framework/Alamofire
Dyld Version: 353.6
Binary Images:
0x1fe43000 - 0x1fe66fff dyld armv7 <9ccfe28fdc823833b1927a781832605e> /usr/lib/dyld
当我为设备/模拟器构建应用程序时,一切正常。
有什么想法吗?我们将不胜感激。
好的,问题解决了。我撤销了我的开发人员证书并创建了一个新的 .ipa 文件,一切正常。