Skip to content
This repository was archived by the owner on Sep 23, 2021. It is now read-only.

error: 'PMLogUtils.h' file not found #154

@uewill

Description

@uewill

新建项目引用插件项目,运行找不到:PMLogUtils.h
看了pub目录确实也没有 是什么原因呢?

Error output from Xcode build:

2021-07-08 00:53:51.422 XCBBuildService[29013:1396731] Failed to remove: /Users/hello/Library/Developer/Xcode/DerivedData/Runner-hkqwhdmlksmxbugxhlcccjiqpatm/Build/Intermediates.noindex/XCBuildData/c7d0f3a8ccb88ddf929da29ca68f8a39-desc.xcbuild: unlink(/Users/hello/Library/Developer/Xcode/DerivedData/Runner-hkqwhdmlksmxbugxhlcccjiqpatm/Build/Intermediates.noindex/XCBuildData/c7d0f3a8ccb88ddf929da29ca68f8a39-desc.xcbuild): No such file or directory (2)
** BUILD FAILED **

Xcode's output:

/Users/hello/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/photo_manager-0.4.8/ios/Classes/core/PMPlugin.m:9:9: fatal error: 'PMLogUtils.h' file not found
#import "PMLogUtils.h"
^~~~~~~~~~~~~~
1 error generated.
/Users/hello/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/photo_manager-0.4.8/ios/Classes/core/PMManager.m:6:9: fatal error: 'PHAsset+PHAsset_checkType.h' file not found
#import "PHAsset+PHAsset_checkType.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/Users/hello/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/photo_manager-0.4.8/ios/Classes/core/PHAsset+PHAsset_getTitle.m:9:9: fatal error: 'PHAsset+PHAsset_checkType.h' file not found
#import "PHAsset+PHAsset_checkType.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/Users/hello/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/photo_manager-0.4.8/ios/Classes/ImageScannerPlugin.m:5:9: fatal error: 'PMPlugin.h' file not found
#import "PMPlugin.h"
^~~~~~~~~~~~
1 error generated.
/Users/hello/sdk/flutter/.pub-cache/hosted/pub.dartlang.org/photo_manager-0.4.8/ios/Classes/core/ConvertUtils.m:6:9: fatal error: 'PHAsset+PHAsset_checkType.h' file not found
#import "PHAsset+PHAsset_checkType.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions