美文网首页
Print: Entry, ":CFBundleIdentifi

Print: Entry, ":CFBundleIdentifi

作者: 云顶天宫写代码 | 来源:发表于2019-08-21 10:37 被阅读0次

    运行react-native run-ios 报错,类似这样的错误
    `
    clang: error: no such file or directory: '/Users/me/projects/myProject/ios/build/Build/Products/Debug-iphonesimulator/libRCTWebSocket.a'

    clang: error: no such file or directory: '/Users/me/projects/myProject/ios/build/Build/Products/Debug-iphonesimulator/libRCTBlob.a'

    clang: error

    : no such file or directory: '/Users/me/projects/myProject/ios/build/Build/Products/Debug-iphonesimulator/libRCTAnimation.a'

    clang: error

    : no such file or directory: '/Users/me/projects/myProject/ios/build/Build/Products/Debug-iphonesimulator/libRCTActionSheet.a'

    clang: error

    : no such file or directory: '/Users/me/projects/myProject/ios/build/Build/Products/Debug-iphonesimulator/libRCTGeolocation.a'

    clang: error

    :

    no such file or directory: '/Users/me/projects/myProject/ios/build/Build/Products/Debug-iphonesimulator/libRCTImage.a'

    clang: error:

    no such file or directory: '/Users/me/projects/myProject/ios/build/Build/Products/Debug-iphonesimulator/libRCTLinking.a'

    clang: error

    : no such file or directory: '/Users/me/projects/myProject/ios/build/Build/Products/Debug-iphonesimulator/libRCTNetwork.a'

    clang:

    error: no such file or directory: '/Users/me/projects/myProject/ios/build/Build/Products/Debug-iphonesimulator/libRCTSettings.a'

    clang: error: no such file or directory: '/Users/me/projects/myProject/ios/build/Build/Products/Debug-iphonesimulator/libRCTText.a'

    clang: error

    : no such file or directory: '/Users/me/projects/myProject/ios/build/Build/Products/Debug-iphonesimulator/libRCTVibration.a'
    `

    打开Xcode ,选中项目target,在 Build Settings 中找打 Build Active Architecture Only 修改为yes


    image.png

    相关文章

      网友评论

          本文标题:Print: Entry, ":CFBundleIdentifi

          本文链接:https://www.haomeiwen.com/subject/nkfbsctx.html