离子iOS构建错误

时间:2017-02-03 21:20:56

标签: ios ionic-framework xcode8 ios10

我正在尝试使用XCode 8和iOS10在iOS中构建此Ionic 1.x项目。我已正确安装了所有内容 重新安装了平台和插件几次。我在构建应用程序时不断显示以下错误信息。这是 我第一次看到这个错误,谷歌的搜索结果是空的。有没有人有任何见解或可能 解决方案吗?

Ld /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Products/Debug-iphonesimulator/DATINGAPP.app/DATINGAPP normal x86_64
    cd /Users/ryanminor/Code/golf-ionic/platforms/ios
    export IPHONEOS_DEPLOYMENT_TARGET=10.0
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.2.sdk -L/Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Products/Debug-iphonesimulator -F/Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Products/Debug-iphonesimulator -filelist /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Intermediates/DATINGAPP.build/Debug-iphonesimulator/DATINGAPP.build/Objects-normal/x86_64/DATINGAPP.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=10.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Intermediates/DATINGAPP.build/Debug-iphonesimulator/DATINGAPP.build/Objects-normal/x86_64/DATINGAPP_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -ObjC -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Intermediates/DATINGAPP.build/Debug-iphonesimulator/DATINGAPP.build/DATINGAPP.app.xcent /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Products/Debug-iphonesimulator/libCordova.a -weak_framework ImageIO -framework CoreLocation -framework AVFoundation -Xlinker -dependency_info -Xlinker /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Intermediates/DATINGAPP.build/Debug-iphonesimulator/DATINGAPP.build/Objects-normal/x86_64/DATINGAPP_dependency_info.dat -o /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Products/Debug-iphonesimulator/DATINGAPP.app/DATINGAPP

duplicate symbol _kCDVAssetsLibraryPrefix in:
    /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Intermediates/DATINGAPP.build/Debug-iphonesimulator/DATINGAPP.build/Objects-normal/x86_64/CDVFileTransfer.o
    /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Intermediates/DATINGAPP.build/Debug-iphonesimulator/DATINGAPP.build/Objects-normal/x86_64/CDVCapture.o
duplicate symbol _kCDVFilesystemURLPrefix in:
    /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Intermediates/DATINGAPP.build/Debug-iphonesimulator/DATINGAPP.build/Objects-normal/x86_64/CDVFileTransfer.o
    /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Intermediates/DATINGAPP.build/Debug-iphonesimulator/DATINGAPP.build/Objects-normal/x86_64/CDVCapture.o
duplicate symbol _kCDVAssetsLibraryPrefix in:
    /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Intermediates/DATINGAPP.build/Debug-iphonesimulator/DATINGAPP.build/Objects-normal/x86_64/CDVFileTransfer.o
    /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Intermediates/DATINGAPP.build/Debug-iphonesimulator/DATINGAPP.build/Objects-normal/x86_64/CDVFile.o
duplicate symbol _kCDVFilesystemURLPrefix in:
    /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Intermediates/DATINGAPP.build/Debug-iphonesimulator/DATINGAPP.build/Objects-normal/x86_64/CDVFileTransfer.o
    /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Intermediates/DATINGAPP.build/Debug-iphonesimulator/DATINGAPP.build/Objects-normal/x86_64/CDVFile.o
duplicate symbol _kCDVAssetsLibraryPrefix in:
    /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Intermediates/DATINGAPP.build/Debug-iphonesimulator/DATINGAPP.build/Objects-normal/x86_64/CDVFileTransfer.o
    /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Intermediates/DATINGAPP.build/Debug-iphonesimulator/DATINGAPP.build/Objects-normal/x86_64/CDVLocalFilesystem.o
duplicate symbol _kCDVFilesystemURLPrefix in:
    /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Intermediates/DATINGAPP.build/Debug-iphonesimulator/DATINGAPP.build/Objects-normal/x86_64/CDVFileTransfer.o
    /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Intermediates/DATINGAPP.build/Debug-iphonesimulator/DATINGAPP.build/Objects-normal/x86_64/CDVLocalFilesystem.o
duplicate symbol _kCDVAssetsLibraryPrefix in:
    /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Intermediates/DATINGAPP.build/Debug-iphonesimulator/DATINGAPP.build/Objects-normal/x86_64/CDVFileTransfer.o
    /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Intermediates/DATINGAPP.build/Debug-iphonesimulator/DATINGAPP.build/Objects-normal/x86_64/CDVAssetLibraryFilesystem.o
duplicate symbol _kCDVFilesystemURLPrefix in:
    /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Intermediates/DATINGAPP.build/Debug-iphonesimulator/DATINGAPP.build/Objects-normal/x86_64/CDVFileTransfer.o
    /Users/ryanminor/Library/Developer/Xcode/DerivedData/DATINGAPP-bpfxnegwyinbazfokzwmcdqoeqic/Build/Intermediates/DATINGAPP.build/Debug-iphonesimulator/DATINGAPP.build/Objects-normal/x86_64/CDVAssetLibraryFilesystem.o
ld: 8 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

更新

以下是编译源的两个屏幕截图以及链接器标志区域。我删除了Obj-C链接器标志并重建,但它仍然失败,出现与上面相同的错误。 enter image description here enter image description here

0 个答案:

没有答案