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

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

Open
uewill opened this issue Jul 7, 2021 · 0 comments
Open

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

uewill opened this issue Jul 7, 2021 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@uewill
Copy link

uewill commented Jul 7, 2021

新建项目引用插件项目,运行找不到: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

@uewill uewill added the help wanted Extra attention is needed label Jul 7, 2021
@uewill uewill changed the title [Need Help] error: 'PMLogUtils.h' file not found Jul 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant