【问题标题】:Authorize.net Accept SDK will not run to testAuthorize.net Accept SDK 不会运行测试
【发布时间】:2018-03-30 15:57:06
【问题描述】:

插入 Authorize.net Accept SDK,我无法让项目运行。我使用 cocoapods 拉入库。任何建议都将不胜感激,我上周联系了 Developer Support @ Authorize.net,但尚未收到回复:

这是错误:

2017-10-15 09:35:43.555 uploadDSYM[40249:839157] Fabric.framework/run 1.4.1 (160)
2017-10-15 09:35:43.559 uploadDSYM[40249:839157] Launched uploader in validation mode
BUILT_PRODUCTS_DIR:     /Users/useruser/Library/Developer/Xcode/DerivedData/Unrapp-aiudzaxphrytyggfkouevyvzcbrb/Build/Products/Debug-iphonesimulator
FRAMEWORKS_FOLDER_PATH: ****.app/Frameworks
VALID_ARCHS: i386 x86_64
EXPANDED_CODE_SIGN_IDENTITY: -
Stripping frameworks
CFBundleSupportedPlatforms for ./AcceptSDK.framework/Info.plist
    Bundle Info: Array {
       iPhoneOS
}
Removing CFBundleSupportedPlatforms from framework plist: ./AcceptSDK.framework/Info.plist
Current architectures for file: ./AcceptSDK.framework/AcceptSDK
Architectures in the fat file: ./AcceptSDK.framework/AcceptSDK are: i386 x86_64 
Stripped ./AcceptSDK.framework/AcceptSDK of architectures:
Code Signing ./AcceptSDK.framework/AcceptSDK with Identity -
/usr/bin/codesign --force --sign - --preserve-   metadata=identifier,entitlements ./AcceptSDK.framework/AcceptSDK
./AcceptSDK.framework/AcceptSDK: replacing existing signature
CFBundleSupportedPlatforms for   ./AcceptSDK.framework/Frameworks/Info.plist
Bundle Info: File Doesn't Exist, Will Create: ./AcceptSDK.framework/Frameworks/Info.plist
Delete: Entry, ":CFBundleSupportedPlatforms", Does Not Exist
File Doesn't Exist, Will Create:  ./AcceptSDK.framework/Frameworks/Info.plist
Removing CFBundleSupportedPlatforms from framework plist: ./AcceptSDK.framework/Frameworks/Info.plist
Current architectures for file: ./AcceptSDK.framework/Frameworks/libswiftCore.dylib
Architectures in the fat file: ./AcceptSDK.framework/Frameworks/libswiftCore.dylib are: armv7 armv7s arm64 
fatal error: lipo: -remove's specified would result in an empty fat file
BUILT_PRODUCTS_DIR: /Users/useruser/Library/Developer/Xcode/DerivedData/****-aiudzaxphrytyggfkouevyvzcbrb/Build/Products/Debug-iphonesimulator
FRAMEWORKS_FOLDER_PATH: *****.app/Frameworks
VALID_ARCHS: i386 x86_64
EXPANDED_CODE_SIGN_IDENTITY: -
Stripping frameworks
CFBundleSupportedPlatforms for ./AcceptSDK.framework/Info.plist
Bundle Info: 
Current architectures for file: ./AcceptSDK.framework/AcceptSDK
Architectures in the fat file: ./AcceptSDK.framework/AcceptSDK are: i386 x86_64 
CFBundleSupportedPlatforms for ./AcceptSDK.framework/Frameworks/Info.plist
Bundle Info: 
Current architectures for file:   ./AcceptSDK.framework/Frameworks/libswiftCore.dylib
Architectures in the fat file: ./AcceptSDK.framework/Frameworks/libswiftCore.dylib are: arm64 
fatal error: lipo: -remove's specified would result in an empty fat file

更新: 好的,一直在努力解决这个问题,我能够通过在 pod 文件中明确说明 IOS 来构建项目。但是现在,一旦它启动到手机上,我就会收到以下错误:

dyld: Library not loaded: @rpath/libswiftCore.dylib Referenced from: /Users/useruser/Library/Developer/CoreSimulator/Devices/008A‌​128C-8CDD-4BE5-BC15-‌​3C082CF03B73/data/Co‌​ntainers/Bundle/Appl‌​ication/E8C5A9DE-FDC‌​2-4C3E-A213-44F5842C‌​C9F6/*.app/Framework‌​s/AcceptSDK.framewor‌​k/AcceptSDK 
Reason: no suitable image found. Did find: /Users/useruser/Library/Developer/CoreSimulator/Devices/...‌​/data/Containers/Bun‌​dle/Application/E8C5‌​A9DE-FDC2-4C3E-A213-‌​44F5842CC9F6/*.app/F‌​rameworks/AcceptSDK.‌​framework/Frameworks‌​/libswiftCore.dylib: no matching architecture in universal wrapper

【问题讨论】:

    标签: ios iphone ios11 authorize.net xcode9


    【解决方案1】:

    解决此问题的方法(感谢聘请了一位绅士的工作)是从 cocoaPod 中删除 SDK,然后在构建设置中打开始终包含 swift 库。使用 cocoa pod 重新安装 SDK 并清理项目。然后神奇地全部起作用了。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-05-11
      • 2012-10-13
      • 2012-06-19
      • 1970-01-01
      • 2017-01-01
      • 2014-07-26
      • 2015-02-04
      • 1970-01-01
      相关资源
      最近更新 更多