2017-10-18 4 views
0

Authorize.net Accept SDKをプラグインすると、プロジェクトを実行できません。私は、ライブラリを引っ張ってcocoapodsを使用任意の提案をいただければ幸い、私は先週Authorize.net @開発者サポートに手を伸ばしたが、まだのような応答を受け取っていない:ここではAuthorize.net Accept SDKがテストに実行されない

は誤りです:

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 

更新: OKはこれと戦っており、ポッドファイルに明示的に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 

答えて

0

このための修正(upworkの紳士を雇うのおかげで)cocoaPodからSDKを削除することでした、そして常に含めるをオンにし迅速なライブラリをビルド設定で使用できます。 SDKをココアポッドに再インストールし、プロジェクトをクリーンアップします。それから、魔法のすべてが働いた。

関連する問題