美文网首页
2022-06-09 warning: None of the

2022-06-09 warning: None of the

作者: 我是小胡胡分胡 | 来源:发表于2022-06-09 21:30 被阅读0次

    warning: None of the architectures in ARCHS (arm64, armv7) are valid. Consider setting ARCHS to $(ARCHS_STANDARD) or updating it to include at least one value from VALID_ARCHS (x86_64). (in target 'Runner' from project 'Runner')

      s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64'}
    
      s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64','EXCLUDED_ARCHS[sdk=iphonesimulator*]' => '$(inherited) arm64 i386' }
    

    最后的配置如下:

      s.dependency 'Flutter'
      s.platform = :ios, '9.0'
    
      s.pod_target_xcconfig = {'DEFINES_MODULE' => 'YES', 'OTHER_LDFLAGS' => '-lObjC', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => '$(inherited) arm64 i386'}
      
      s.frameworks = ["SystemConfiguration", "CoreTelephony","WebKit","CFNetwork","Security","SafariServices","CoreGraphics"]
      s.libraries = ["z","c++"]
      s.vendored_libraries = "Classes/paymentcontrolMini/libs/libPaymentControlMini.a"
    

    在插件example 还一直是报错
    集成到flutter app项目。没问题
    所以什么原因?

    相关文章

      网友评论

          本文标题:2022-06-09 warning: None of the

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