2016-12-12 1 views
0

Je fais un pod dans Swift 3 et quand je tente de charpie mon projet, j'ai quelques erreurs avec la construction. J'utilise Xcode 8.2 (beta) et macOS Sierra.Pod lib lint échoue - Auto-Linking fourni ... fichier a été construit pour x86_64 qui n'est pas l'architecture étant liée (i386)

Voici l'erreur que je suis:

 .................. 

     ld: symbol(s) not found for architecture i386 
     clang: error: linker command failed with exit code 1 (use -v to see invocation) 

    ** BUILD FAILED ** 

    The following build commands failed: 
    Ld /Users/Me/Library/Developer/Xcode/DerivedData/App-bfgilsvmbnmybfcdfnlsszcgntbe/Build/Intermediates/Pods.build/Release-iphonesimulator/LocalPusher.build/Objects-normal/i386/LocalPusher normal i386 
    (1 failure) 
    -> LocalPusher (1.0.0) 

    [!] LocalPusher did not pass validation, due to 1 error. 
    You can use the `--no-clean` option to inspect any issue. 

    - ERROR | [iOS] xcodebuild: Returned an unsuccessful exit code. You can use `--verbose` for more information. 
    - NOTE | xcodebuild: warning: target specifies SWIFT_VERSION = '3.0', but it is overridden by TOOLCHAINS = 'swift' 
    - NOTE | [iOS] xcodebuild: ld: warning: Auto-Linking supplied '/Library/Developer/Toolchains/swift-3.0-RELEASE.xctoolchain/usr/lib/swift/iphonesimulator/libswiftFoundation.dylib', file was built for x86_64 which is not the architecture being linked (i386): /Library/Developer/Toolchains/swift-3.0-RELEASE.xctoolchain/usr/lib/swift/iphonesimulator/libswiftFoundation.dylib 
    - NOTE | [iOS] xcodebuild: ld: warning: Auto-Linking supplied '/Library/Developer/Toolchains/swift-3.0-RELEASE.xctoolchain/usr/lib/swift/iphonesimulator/libswiftObjectiveC.dylib', file was built for x86_64 which is not the architecture being linked (i386): /Library/Developer/Toolchains/swift-3.0-RELEASE.xctoolchain/usr/lib/swift/iphonesimulator/libswiftObjectiveC.dylib 
    - NOTE | [iOS] xcodebuild: ld: warning: Auto-Linking supplied '/Library/Developer/Toolchains/swift-3.0-RELEASE.xctoolchain/usr/lib/swift/iphonesimulator/libswiftDispatch.dylib', file was built for x86_64 which is not the architecture being linked (i386): /Library/Developer/Toolchains/swift-3.0-RELEASE.xctoolchain/usr/lib/swift/iphonesimulator/libswiftDispatch.dylib 
    - NOTE | [iOS] xcodebuild: ld: warning: Auto-Linking supplied '/Library/Developer/Toolchains/swift-3.0-RELEASE.xctoolchain/usr/lib/swift/iphonesimulator/libswiftCore.dylib', file was built for x86_64 which is not the architecture being linked (i386): /Library/Developer/Toolchains/swift-3.0-RELEASE.xctoolchain/usr/lib/swift/iphonesimulator/libswiftCore.dylib 
    - NOTE | [iOS] xcodebuild: ld: warning: Auto-Linking supplied '/Library/Developer/Toolchains/swift-3.0-RELEASE.xctoolchain/usr/lib/swift/iphonesimulator/libswiftCoreGraphics.dylib', file was built for x86_64 which is not the architecture being linked (i386): /Library/Developer/Toolchains/swift-3.0-RELEASE.xctoolchain/usr/lib/swift/iphonesimulator/libswiftCoreGraphics.dylib 
    - NOTE | [iOS] xcodebuild: ld: warning: Auto-Linking supplied '/Library/Developer/Toolchains/swift-3.0-RELEASE.xctoolchain/usr/lib/swift/iphonesimulator/libswiftUIKit.dylib', file was built for x86_64 which is not the architecture being linked (i386): /Library/Developer/Toolchains/swift-3.0-RELEASE.xctoolchain/usr/lib/swift/iphonesimulator/libswiftUIKit.dylib 
    - NOTE | [iOS] xcodebuild: ld: warning: Auto-Linking supplied '/Library/Developer/Toolchains/swift-3.0-RELEASE.xctoolchain/usr/lib/swift/iphonesimulator/libswiftDarwin.dylib', file was built for x86_64 which is not the architecture being linked (i386): /Library/Developer/Toolchains/swift-3.0-RELEASE.xctoolchain/usr/lib/swift/iphonesimulator/libswiftDarwin.dylib 
    - NOTE | [iOS] xcodebuild: ld: warning: Auto-Linking supplied '/Library/Developer/Toolchains/swift-3.0-RELEASE.xctoolchain/usr/lib/swift/iphonesimulator/libswiftCoreImage.dylib', file was built for x86_64 which is not the architecture being linked (i386): /Library/Developer/Toolchains/swift-3.0-RELEASE.xctoolchain/usr/lib/swift/iphonesimulator/libswiftCoreImage.dylib 
    - NOTE | [iOS] xcodebuild: clang: error: linker command failed with exit code 1 (use -v to see invocation) 

    [!] LocalPusher did not pass validation, due to 1 error. 
    You can use the `--no-clean` option to inspect any issue. 

Répondre

0

Désolé, je n'ai pas le représentant d'ajouter cela comme un commentaire.

L'erreur que vous avez reçue mentionne l'utilisation de --verbose pour plus d'informations. Vous devez réexécuter votre commande en ajoutant --verbose (et partager cette sortie si cela ne vous indique pas clairement le problème). Cela fournira plus de détails dans l'erreur qui se produit.

+0

J'ai mis à jour l'erreur – TheAbstractDev