Skip to content

Skip Package.swift when validating in flutter/packages #147548

@vashworth

Description

@vashworth

Validation of podspec fails even if Package.swift is the only swift file:

https://ci.chromium.org/ui/p/flutter/builders/try/Mac_x64%20check_podspecs/12524/overview

iOS Swift code found, checking for search paths settings...
 ios/image_picker_ios.podspec is missing seach path configuration. Any iOS plugin implementation that contains Swift implementation code needs to contain the following:
   s.xcconfig = {
     'LIBRARY_SEARCH_PATHS' => '$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift',
     'LD_RUNPATH_SEARCH_PATHS' => '/usr/lib/swift',
   }

The only Swift files is the Package.swift, which is not an included source file in the podspec.


Missing license check fails for Package.swift:

https://ci.chromium.org/ui/p/flutter/builders/try/Linux%20repo_checks/7732/overview

The license block for these files is missing or incorrect:
   /b/s/w/ir/x/w/packages/packages/image_picker/image_picker_ios/ios/image_picker_ios/Package.swift

Metadata

Metadata

Assignees

Labels

platform-iosiOS applications specificallyteam-ecosystemOwned by Ecosystem team

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions