소스 검색

设置 VALID_ARCHS

jsonwang 3 년 전
부모
커밋
090030da9e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      BFFramework.podspec

+ 1 - 1
BFFramework.podspec

@@ -41,7 +41,7 @@ TODO: Add long description of the pod here.
                   'OTHER_SWIFT_FLAGS' => "$(inherited) -DGLES",
                    'VALIDATE_WORKSPACE_SKIPPED_SDK_FRAMEWORKS' => "OpenGLES"
                  }
-   s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-all_load' }
+   s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-all_load', 'VALID_ARCHS' => 'arm64 armv7' }
    s.public_header_files = 'BFFramework/Classes/**/*.h'
    # s.private_header_files = 'BFFramework/Classes/SupportFiles/AliyunOSSiOSAK_umbrella.h'
    # s.preserve_paths = ['BFFramework/Classes/BFFrameworkPodHeader.h']